Package ome.model.enums
Enum UnitsLength
- java.lang.Object
-
- java.lang.Enum<UnitsLength>
-
- ome.model.enums.UnitsLength
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UnitsLength>
,UnitEnum
public enum UnitsLength extends java.lang.Enum<UnitsLength> implements UnitEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANGSTROM
ASTRONOMICALUNIT
ATTOMETER
CENTIMETER
DECAMETER
DECIMETER
EXAMETER
FEMTOMETER
FOOT
GIGAMETER
HECTOMETER
INCH
KILOMETER
LIGHTYEAR
LINE
MEGAMETER
METER
MICROMETER
MILE
MILLIMETER
NANOMETER
PARSEC
PETAMETER
PICOMETER
PIXEL
POINT
REFERENCEFRAME
TERAMETER
THOU
YARD
YOCTOMETER
YOTTAMETER
ZEPTOMETER
ZETTAMETER
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
symbol
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnitsLength
bySymbol(java.lang.String symbol)
java.lang.String
getSymbol()
static UnitsLength
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UnitsLength[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YOTTAMETER
public static final UnitsLength YOTTAMETER
-
ZETTAMETER
public static final UnitsLength ZETTAMETER
-
EXAMETER
public static final UnitsLength EXAMETER
-
PETAMETER
public static final UnitsLength PETAMETER
-
TERAMETER
public static final UnitsLength TERAMETER
-
GIGAMETER
public static final UnitsLength GIGAMETER
-
MEGAMETER
public static final UnitsLength MEGAMETER
-
KILOMETER
public static final UnitsLength KILOMETER
-
HECTOMETER
public static final UnitsLength HECTOMETER
-
DECAMETER
public static final UnitsLength DECAMETER
-
METER
public static final UnitsLength METER
-
DECIMETER
public static final UnitsLength DECIMETER
-
CENTIMETER
public static final UnitsLength CENTIMETER
-
MILLIMETER
public static final UnitsLength MILLIMETER
-
MICROMETER
public static final UnitsLength MICROMETER
-
NANOMETER
public static final UnitsLength NANOMETER
-
PICOMETER
public static final UnitsLength PICOMETER
-
FEMTOMETER
public static final UnitsLength FEMTOMETER
-
ATTOMETER
public static final UnitsLength ATTOMETER
-
ZEPTOMETER
public static final UnitsLength ZEPTOMETER
-
YOCTOMETER
public static final UnitsLength YOCTOMETER
-
ANGSTROM
public static final UnitsLength ANGSTROM
-
ASTRONOMICALUNIT
public static final UnitsLength ASTRONOMICALUNIT
-
LIGHTYEAR
public static final UnitsLength LIGHTYEAR
-
PARSEC
public static final UnitsLength PARSEC
-
THOU
public static final UnitsLength THOU
-
LINE
public static final UnitsLength LINE
-
INCH
public static final UnitsLength INCH
-
FOOT
public static final UnitsLength FOOT
-
YARD
public static final UnitsLength YARD
-
MILE
public static final UnitsLength MILE
-
POINT
public static final UnitsLength POINT
-
PIXEL
public static final UnitsLength PIXEL
-
REFERENCEFRAME
public static final UnitsLength REFERENCEFRAME
-
-
Method Detail
-
values
public static UnitsLength[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UnitsLength c : UnitsLength.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnitsLength valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
bySymbol
public static UnitsLength bySymbol(java.lang.String symbol)
-
-