com.gisgraphy.stats
Class StatsUsage
java.lang.Object
com.gisgraphy.stats.StatsUsage
public class StatsUsage
- extends Object
Represent the usage of a StatsUsageType
- Author:
- David Masclet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatsUsage
protected StatsUsage()
- Default constructor
StatsUsage
public StatsUsage(StatsUsageType statsUsageType)
- Constructor to init statsUsageType
- Parameters:
statsUsageType
- statsUsageType
getId
public Long getId()
- Returns:
- the id
setId
public void setId(Long id)
- Parameters:
id
- the id to set
getStatsUsageType
public StatsUsageType getStatsUsageType()
- Returns:
- the usageType
setStatsUsageType
public void setStatsUsageType(StatsUsageType statsUsageType)
- Parameters:
statsUsageType
-
getUsage
public Long getUsage()
- Returns:
- the usage
setUsage
public void setUsage(Long usage)
- Parameters:
usage
- the usage to set
increaseUsage
public void increaseUsage()
Copyright © 2012. All Rights Reserved.