Package ome.xml.model.enums
Enum UnitsFrequency
- java.lang.Object
-
- java.lang.Enum<UnitsFrequency>
-
- ome.xml.model.enums.UnitsFrequency
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UnitsFrequency>,Enumeration
public enum UnitsFrequency extends java.lang.Enum<UnitsFrequency> implements Enumeration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTOHERTZattohertz unit.CENTIHERTZcentihertz unit.DECAHERTZdecahertz unit.DECIHERTZdecihertz unit.EXAHERTZexahertz unit.FEMTOHERTZfemtohertz unit.GIGAHERTZgigahertz unit.HECTOHERTZhectohertz unit.HERTZhertz unit.KILOHERTZkilohertz unit.MEGAHERTZmegahertz unit.MICROHERTZmicrohertz unit.MILLIHERTZmillihertz unit.NANOHERTZnanohertz unit.PETAHERTZpetahertz unit.PICOHERTZpicohertz unit.TERAHERTZterahertz unit.YOCTOHERTZyoctohertz unit.YOTTAHERTZyottahertz unit.ZEPTOHERTZzeptohertz unit.ZETTAHERTZzettahertz 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 UnitsFrequencyfromString(java.lang.String value)java.lang.StringgetValue()java.lang.StringtoString()static UnitsFrequencyvalueOf(java.lang.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(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
-
fromString
public static UnitsFrequency fromString(java.lang.String value) throws EnumerationException
- Throws:
EnumerationException
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<UnitsFrequency>
-
create
public static <T extends PrimitiveNumber> Frequency create(T newValue, UnitsFrequency newUnit)
-
create
public static <T extends java.lang.Number> Frequency create(T newValue, UnitsFrequency newUnit)
-
-