public class Stat extends Object implements Comparable
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(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.
|
String |
getKey()
get the key (text describing) the statistic
|
String |
getReference()
get the reference to related statistic information
|
String |
getUnits()
get the unts that this statistic is measured in
|
int |
getValue()
get the value of the statistic
|
void |
setKey(String key)
set the reference information
|
void |
setReference(String reference)
set the reference information
|
void |
setUnits(String unit)
set the units of this statistic
|
public void setUnits(String unit)
unit - the units that this statistic is measured inpublic String getUnits()
public int getValue()
public String getKey()
public String getReference()
public void setKey(String key)
key - the key for this statisticpublic void setReference(String reference)
reference - the reference for this statisticpublic int compareTo(Object o)
compareTo in interface Comparableo - the object to compare to the current oneCopyright © 2016 DuraSpace. All rights reserved.