org.biomage.Measurement
Class MassUnit.UnitNameCV

java.lang.Object
  extended by 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

Field Summary
 int fg
           
 int g
           
 int kg
           
 int mg
           
 int ng
           
 int other
           
 int pg
           
 int ug
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getNameByValue(int val)
           
 int getValue()
           
 int getValueByName(java.lang.String name)
           
 java.lang.String setNameByValue(int val)
           
 int setValueByName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Method Detail

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