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