Package ome.xml.model.enums
Enum Class UnitsElectricPotential
- All Implemented Interfaces:
Serializable,Comparable<UnitsElectricPotential>,Constable,Enumeration
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionattovolt unit.centivolt unit.decavolt unit.decivolt unit.exavolt unit.femtovolt unit.gigavolt unit.hectovolt unit.kilovolt unit.megavolt unit.microvolt unit.millivolt unit.nanovolt unit.petavolt unit.picovolt unit.teravolt unit.volt unit.yoctovolt unit.yottavolt unit.zeptovolt unit.zettavolt unit. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends PrimitiveNumber>
ElectricPotentialcreate(T newValue, UnitsElectricPotential newUnit) static UnitsElectricPotentialfromString(String value) getValue()toString()static UnitsElectricPotentialReturns the enum constant of this class with the specified name.static UnitsElectricPotential[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
YOTTAVOLT
yottavolt unit. -
ZETTAVOLT
zettavolt unit. -
EXAVOLT
exavolt unit. -
PETAVOLT
petavolt unit. -
TERAVOLT
teravolt unit. -
GIGAVOLT
gigavolt unit. -
MEGAVOLT
megavolt unit. -
KILOVOLT
kilovolt unit. -
HECTOVOLT
hectovolt unit. -
DECAVOLT
decavolt unit. -
VOLT
volt unit. -
DECIVOLT
decivolt unit. -
CENTIVOLT
centivolt unit. -
MILLIVOLT
millivolt unit. -
MICROVOLT
microvolt unit. -
NANOVOLT
nanovolt unit. -
PICOVOLT
picovolt unit. -
FEMTOVOLT
femtovolt unit. -
ATTOVOLT
attovolt unit. -
ZEPTOVOLT
zeptovolt unit. -
YOCTOVOLT
yoctovolt unit.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
- Throws:
EnumerationException
-
getValue
-
toString
- Overrides:
toStringin classEnum<UnitsElectricPotential>
-
create
public static <T extends PrimitiveNumber> ElectricPotential create(T newValue, UnitsElectricPotential newUnit) -
create
public static <T extends Number> ElectricPotential create(T newValue, UnitsElectricPotential newUnit)
-