public class Stat
extends java.lang.Object
implements java.lang.Comparable
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o)
compare the current object to the given object returning -1 if o is less
than the current object, 0 if they are the same, and +1 if o is greater
than the current object.
|
java.lang.String |
getKey()
get the key (text describing) the statistic
|
java.lang.String |
getReference()
get the reference to related statistic information
|
java.lang.String |
getUnits()
get the unts that this statistic is measured in
|
int |
getValue()
get the value of the statistic
|
void |
setKey(java.lang.String key)
set the reference information
|
void |
setReference(java.lang.String reference)
set the reference information
|
void |
setUnits(java.lang.String unit)
set the units of this statistic
|
public void setUnits(java.lang.String unit)
unit - the units that this statistic is measured inpublic java.lang.String getUnits()
public int getValue()
public java.lang.String getKey()
public java.lang.String getReference()
public void setKey(java.lang.String key)
key - the key for this statisticpublic void setReference(java.lang.String reference)
reference - the reference for this statisticpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - the object to compare to the current oneCopyright © 2013 DuraSpace. All Rights Reserved.