Package ome.xml.model.enums
Enum UnitsFrequency
- java.lang.Object
-
- java.lang.Enum<UnitsFrequency>
-
- ome.xml.model.enums.UnitsFrequency
-
- All Implemented Interfaces:
Serializable
,Comparable<UnitsFrequency>
,Enumeration
public enum UnitsFrequency extends Enum<UnitsFrequency> implements Enumeration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTOHERTZ
attohertz unit.CENTIHERTZ
centihertz unit.DECAHERTZ
decahertz unit.DECIHERTZ
decihertz unit.EXAHERTZ
exahertz unit.FEMTOHERTZ
femtohertz unit.GIGAHERTZ
gigahertz unit.HECTOHERTZ
hectohertz unit.HERTZ
hertz unit.KILOHERTZ
kilohertz unit.MEGAHERTZ
megahertz unit.MICROHERTZ
microhertz unit.MILLIHERTZ
millihertz unit.NANOHERTZ
nanohertz unit.PETAHERTZ
petahertz unit.PICOHERTZ
picohertz unit.TERAHERTZ
terahertz unit.YOCTOHERTZ
yoctohertz unit.YOTTAHERTZ
yottahertz unit.ZEPTOHERTZ
zeptohertz unit.ZETTAHERTZ
zettahertz unit.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends PrimitiveNumber>
Frequencycreate(T newValue, UnitsFrequency newUnit)
static UnitsFrequency
fromString(String value)
String
getValue()
String
toString()
static UnitsFrequency
valueOf(String name)
Returns the enum constant of this type with the specified name.static UnitsFrequency[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YOTTAHERTZ
public static final UnitsFrequency YOTTAHERTZ
yottahertz unit.
-
ZETTAHERTZ
public static final UnitsFrequency ZETTAHERTZ
zettahertz unit.
-
EXAHERTZ
public static final UnitsFrequency EXAHERTZ
exahertz unit.
-
PETAHERTZ
public static final UnitsFrequency PETAHERTZ
petahertz unit.
-
TERAHERTZ
public static final UnitsFrequency TERAHERTZ
terahertz unit.
-
GIGAHERTZ
public static final UnitsFrequency GIGAHERTZ
gigahertz unit.
-
MEGAHERTZ
public static final UnitsFrequency MEGAHERTZ
megahertz unit.
-
KILOHERTZ
public static final UnitsFrequency KILOHERTZ
kilohertz unit.
-
HECTOHERTZ
public static final UnitsFrequency HECTOHERTZ
hectohertz unit.
-
DECAHERTZ
public static final UnitsFrequency DECAHERTZ
decahertz unit.
-
HERTZ
public static final UnitsFrequency HERTZ
hertz unit.
-
DECIHERTZ
public static final UnitsFrequency DECIHERTZ
decihertz unit.
-
CENTIHERTZ
public static final UnitsFrequency CENTIHERTZ
centihertz unit.
-
MILLIHERTZ
public static final UnitsFrequency MILLIHERTZ
millihertz unit.
-
MICROHERTZ
public static final UnitsFrequency MICROHERTZ
microhertz unit.
-
NANOHERTZ
public static final UnitsFrequency NANOHERTZ
nanohertz unit.
-
PICOHERTZ
public static final UnitsFrequency PICOHERTZ
picohertz unit.
-
FEMTOHERTZ
public static final UnitsFrequency FEMTOHERTZ
femtohertz unit.
-
ATTOHERTZ
public static final UnitsFrequency ATTOHERTZ
attohertz unit.
-
ZEPTOHERTZ
public static final UnitsFrequency ZEPTOHERTZ
zeptohertz unit.
-
YOCTOHERTZ
public static final UnitsFrequency YOCTOHERTZ
yoctohertz unit.
-
-
Method Detail
-
values
public static UnitsFrequency[] 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 (UnitsFrequency c : UnitsFrequency.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnitsFrequency valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
public static UnitsFrequency fromString(String value) throws EnumerationException
- Throws:
EnumerationException
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<UnitsFrequency>
-
create
public static <T extends PrimitiveNumber> Frequency create(T newValue, UnitsFrequency newUnit)
-
create
public static <T extends Number> Frequency create(T newValue, UnitsFrequency newUnit)
-
-