org.biomage.Measurement
Class DistanceUnit.UnitNameCV

java.lang.Object
  extended by org.biomage.Measurement.DistanceUnit.UnitNameCV
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
DistanceUnit

public class DistanceUnit.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 A
           
 int cm
           
 int m
           
 int mm
           
 int nm
           
 int other
           
 int um
           
 
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

nm

public final int nm
See Also:
Constant Field Values

um

public final int um
See Also:
Constant Field Values

mm

public final int mm
See Also:
Constant Field Values

cm

public final int cm
See Also:
Constant Field Values

m

public final int m
See Also:
Constant Field Values

A

public final int A
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