Package ome.xml.model.enums
Enum UnitsElectricPotential
java.lang.Object
java.lang.Enum<UnitsElectricPotential>
ome.xml.model.enums.UnitsElectricPotential
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UnitsElectricPotential>
,java.lang.constant.Constable
,Enumeration
public enum UnitsElectricPotential extends java.lang.Enum<UnitsElectricPotential> implements Enumeration
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTOVOLT
attovolt unit.CENTIVOLT
centivolt unit.DECAVOLT
decavolt unit.DECIVOLT
decivolt unit.EXAVOLT
exavolt unit.FEMTOVOLT
femtovolt unit.GIGAVOLT
gigavolt unit.HECTOVOLT
hectovolt unit.KILOVOLT
kilovolt unit.MEGAVOLT
megavolt unit.MICROVOLT
microvolt unit.MILLIVOLT
millivolt unit.NANOVOLT
nanovolt unit.PETAVOLT
petavolt unit.PICOVOLT
picovolt unit.TERAVOLT
teravolt unit.VOLT
volt unit.YOCTOVOLT
yoctovolt unit.YOTTAVOLT
yottavolt unit.ZEPTOVOLT
zeptovolt unit.ZETTAVOLT
zettavolt unit. -
Method Summary
Modifier and Type Method Description static <T extends PrimitiveNumber>
ElectricPotentialcreate(T newValue, UnitsElectricPotential newUnit)
static UnitsElectricPotential
fromString(java.lang.String value)
java.lang.String
getValue()
java.lang.String
toString()
static UnitsElectricPotential
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UnitsElectricPotential[]
values()
Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 UnitsElectricPotential fromString(java.lang.String value) throws EnumerationException- Throws:
EnumerationException
-
getValue
public java.lang.String getValue() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Enum<UnitsElectricPotential>
-
create
public static <T extends PrimitiveNumber> ElectricPotential create(T newValue, UnitsElectricPotential newUnit) -
create
public static <T extends java.lang.Number> ElectricPotential create(T newValue, UnitsElectricPotential newUnit)
-