Enum ESIUnitType
java.lang.Object
java.lang.Enum<ESIUnitType>
kieker.model.analysismodel.statistics.ESIUnitType
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ESIUnitType>
,java.lang.constant.Constable
,org.eclipse.emf.common.util.Enumerator
public enum ESIUnitType extends java.lang.Enum<ESIUnitType> implements 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:
StatisticsPackage.getESIUnitType()
- Generated:
- Model:
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AMPERE
The 'Ampere' literal object.CANDELA
The 'Candela' literal object.GRAM
The 'Gram' literal object.JOUL
The 'Joul' literal object.KELVIN
The 'Kelvin' literal object.METER
The 'Meter' literal object.MOLE
The 'Mole' literal object.PASCAL
The 'Pascal' literal object.SECOND
The 'Second' literal object.TON
The 'Ton' literal object. -
Field Summary
Fields Modifier and Type Field Description static int
AMPERE_VALUE
The 'Ampere' literal value.static int
CANDELA_VALUE
The 'Candela' literal value.static int
GRAM_VALUE
The 'Gram' literal value.static int
JOUL_VALUE
The 'Joul' literal value.static int
KELVIN_VALUE
The 'Kelvin' literal value.static int
METER_VALUE
The 'Meter' literal value.static int
MOLE_VALUE
The 'Mole' literal value.static int
PASCAL_VALUE
The 'Pascal' literal value.static int
SECOND_VALUE
The 'Second' literal value.static int
TON_VALUE
The 'Ton' literal value.static java.util.List<ESIUnitType>
VALUES
A public read-only list of all the 'ESI Unit Type' enumerators. -
Method Summary
Modifier and Type Method Description static ESIUnitType
get(int value)
Returns the 'ESI Unit Type' literal with the specified integer value.static ESIUnitType
get(java.lang.String literal)
Returns the 'ESI Unit Type' literal with the specified literal value.static ESIUnitType
getByName(java.lang.String name)
Returns the 'ESI Unit Type' literal with the specified name.java.lang.String
getLiteral()
java.lang.String
getName()
int
getValue()
java.lang.String
toString()
Returns the literal value of the enumerator, which is its string representation.static ESIUnitType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ESIUnitType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
METER
The 'Meter' literal object.- See Also:
METER_VALUE
- Generated:
- Ordered:
-
GRAM
The 'Gram' literal object.- See Also:
GRAM_VALUE
- Generated:
- Ordered:
-
TON
The 'Ton' literal object.- See Also:
TON_VALUE
- Generated:
- Ordered:
-
SECOND
The 'Second' literal object.- See Also:
SECOND_VALUE
- Generated:
- Ordered:
-
AMPERE
The 'Ampere' literal object.- See Also:
AMPERE_VALUE
- Generated:
- Ordered:
-
KELVIN
The 'Kelvin' literal object.- See Also:
KELVIN_VALUE
- Generated:
- Ordered:
-
MOLE
The 'Mole' literal object.- See Also:
MOLE_VALUE
- Generated:
- Ordered:
-
CANDELA
The 'Candela' literal object.- See Also:
CANDELA_VALUE
- Generated:
- Ordered:
-
PASCAL
The 'Pascal' literal object.- See Also:
PASCAL_VALUE
- Generated:
- Ordered:
-
JOUL
The 'Joul' literal object.- See Also:
JOUL_VALUE
- Generated:
- Ordered:
-
-
Field Details
-
METER_VALUE
public static final int METER_VALUEThe 'Meter' literal value.- See Also:
METER
, Constant Field Values- Generated:
- Ordered:
- Model:
- name="meter" literal="m"
-
GRAM_VALUE
public static final int GRAM_VALUEThe 'Gram' literal value.- See Also:
GRAM
, Constant Field Values- Generated:
- Ordered:
- Model:
- name="gram" literal="g"
-
TON_VALUE
public static final int TON_VALUEThe 'Ton' literal value.- See Also:
TON
, Constant Field Values- Generated:
- Ordered:
- Model:
- name="ton"
-
SECOND_VALUE
public static final int SECOND_VALUEThe 'Second' literal value.- See Also:
SECOND
, Constant Field Values- Generated:
- Ordered:
- Model:
- name="second" literal="s"
-
AMPERE_VALUE
public static final int AMPERE_VALUEThe 'Ampere' literal value.- See Also:
AMPERE
, Constant Field Values- Generated:
- Ordered:
- Model:
- name="ampere" literal="A"
-
KELVIN_VALUE
public static final int KELVIN_VALUEThe 'Kelvin' literal value.- See Also:
KELVIN
, Constant Field Values- Generated:
- Ordered:
- Model:
- name="kelvin" literal="K"
-
MOLE_VALUE
public static final int MOLE_VALUEThe 'Mole' literal value.- See Also:
MOLE
, Constant Field Values- Generated:
- Ordered:
- Model:
- name="mole" literal="mol"
-
CANDELA_VALUE
public static final int CANDELA_VALUEThe 'Candela' literal value.- See Also:
CANDELA
, Constant Field Values- Generated:
- Ordered:
- Model:
- name="candela" literal="ca"
-
PASCAL_VALUE
public static final int PASCAL_VALUEThe 'Pascal' literal value.- See Also:
PASCAL
, Constant Field Values- Generated:
- Ordered:
- Model:
- name="pascal" literal="Pa"
-
JOUL_VALUE
public static final int JOUL_VALUEThe 'Joul' literal value.- See Also:
JOUL
, Constant Field Values- 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 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
-
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:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
- Generated:
-
getName
public java.lang.String getName()- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
- Generated:
-
getLiteral
public java.lang.String getLiteral()- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
- Generated:
-
toString
public java.lang.String toString()Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classjava.lang.Enum<ESIUnitType>
- Generated:
-