org.biomage.Measurement
Class MassUnit.UnitNameCV
java.lang.Object
org.biomage.Measurement.MassUnit.UnitNameCV
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- MassUnit
public class MassUnit.UnitNameCV
- extends java.lang.Object
- implements java.io.Serializable
Inner class for the enumeration values that the attribute
unitNameCV can assume.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
kg
public final int kg
- See Also:
- Constant Field Values
g
public final int g
- See Also:
- Constant Field Values
mg
public final int mg
- See Also:
- Constant Field Values
ug
public final int ug
- See Also:
- Constant Field Values
ng
public final int ng
- See Also:
- Constant Field Values
pg
public final int pg
- See Also:
- Constant Field Values
fg
public final int fg
- See Also:
- Constant Field Values
other
public final int other
- See Also:
- Constant Field Values
setValueByName
public int setValueByName(java.lang.String name)
getValueByName
public int getValueByName(java.lang.String name)
setNameByValue
public java.lang.String setNameByValue(int val)
getNameByValue
public java.lang.String getNameByValue(int val)
getValue
public int getValue()
getName
public java.lang.String getName()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object