Enum Class ESIUnitType
- All Implemented Interfaces:
Serializable,Comparable<ESIUnitType>,Constable,org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'ESI Unit Type',
and utility methods for working with them.
- See Also:
- Generated:
- Model:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 'Ampere' literal object.The 'Candela' literal object.The 'Gram' literal object.The 'Joul' literal object.The 'Kelvin' literal object.The 'Meter' literal object.The 'Mole' literal object.The 'Pascal' literal object.The 'Second' literal object.The 'Ton' literal object. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe 'Ampere' literal value.static final intThe 'Candela' literal value.static final intThe 'Gram' literal value.static final intThe 'Joul' literal value.static final intThe 'Kelvin' literal value.static final intThe 'Meter' literal value.static final intThe 'Mole' literal value.static final intThe 'Pascal' literal value.static final intThe 'Second' literal value.static final intThe 'Ton' literal value.static final List<ESIUnitType>A public read-only list of all the 'ESI Unit Type' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic ESIUnitTypeget(int value) Returns the 'ESI Unit Type' literal with the specified integer value.static ESIUnitTypeReturns the 'ESI Unit Type' literal with the specified literal value.static ESIUnitTypeReturns the 'ESI Unit Type' literal with the specified name.getName()intgetValue()toString()Returns the literal value of the enumerator, which is its string representation.static ESIUnitTypeReturns the enum constant of this class with the specified name.static ESIUnitType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
METER
The 'Meter' literal object.- See Also:
- Generated:
- Ordered:
-
GRAM
The 'Gram' literal object.- See Also:
- Generated:
- Ordered:
-
TON
The 'Ton' literal object.- See Also:
- Generated:
- Ordered:
-
SECOND
The 'Second' literal object.- See Also:
- Generated:
- Ordered:
-
AMPERE
The 'Ampere' literal object.- See Also:
- Generated:
- Ordered:
-
KELVIN
The 'Kelvin' literal object.- See Also:
- Generated:
- Ordered:
-
MOLE
The 'Mole' literal object.- See Also:
- Generated:
- Ordered:
-
CANDELA
The 'Candela' literal object.- See Also:
- Generated:
- Ordered:
-
PASCAL
The 'Pascal' literal object.- See Also:
- Generated:
- Ordered:
-
JOUL
The 'Joul' literal object.- See Also:
- Generated:
- Ordered:
-
-
Field Details
-
METER_VALUE
public static final int METER_VALUEThe 'Meter' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="meter" literal="m"
-
GRAM_VALUE
public static final int GRAM_VALUEThe 'Gram' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="gram" literal="g"
-
TON_VALUE
public static final int TON_VALUEThe 'Ton' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="ton"
-
SECOND_VALUE
public static final int SECOND_VALUEThe 'Second' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="second" literal="s"
-
AMPERE_VALUE
public static final int AMPERE_VALUEThe 'Ampere' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="ampere" literal="A"
-
KELVIN_VALUE
public static final int KELVIN_VALUEThe 'Kelvin' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="kelvin" literal="K"
-
MOLE_VALUE
public static final int MOLE_VALUEThe 'Mole' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="mole" literal="mol"
-
CANDELA_VALUE
public static final int CANDELA_VALUEThe 'Candela' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="candela" literal="ca"
-
PASCAL_VALUE
public static final int PASCAL_VALUEThe 'Pascal' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="pascal" literal="Pa"
-
JOUL_VALUE
public static final int JOUL_VALUEThe 'Joul' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="Joul" literal="J"
-
VALUES
A public read-only list of all the 'ESI Unit Type' enumerators.- Generated:
-
-
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
-
get
Returns the 'ESI Unit Type' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null. - Generated:
-
getByName
Returns the 'ESI Unit Type' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null. - Generated:
-
get
Returns the 'ESI Unit Type' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null. - Generated:
-
getValue
public int getValue()- Specified by:
getValuein interfaceorg.eclipse.emf.common.util.Enumerator- Generated:
-
getName
- Specified by:
getNamein interfaceorg.eclipse.emf.common.util.Enumerator- Generated:
-
getLiteral
- Specified by:
getLiteralin interfaceorg.eclipse.emf.common.util.Enumerator- Generated:
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toStringin classEnum<ESIUnitType>- Generated:
-