Enum Class ConstantTag
- All Implemented Interfaces:
Serializable
,Comparable<ConstantTag>
,Constable
,org.eclipse.emf.common.util.Enumerator
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe 'Byte' literal object.The 'Character' literal object.The 'Double' literal object.The 'Enum Literal' literal object.The 'Float' literal object.The 'Integer' literal object.The 'Long' literal object.The 'Null' literal object.The 'Short' literal object.The 'String' literal object. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The 'Byte' literal value.static final int
The 'Character' literal value.static final int
The 'Double' literal value.static final int
The 'Enum Literal' literal value.static final int
The 'Float' literal value.static final int
The 'Integer' literal value.static final int
The 'Long' literal value.static final int
The 'Null' literal value.static final int
The 'Short' literal value.static final int
The 'String' literal value.static final List<ConstantTag>
A public read-only list of all the 'Constant Tag' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConstantTag
get
(int value) Returns the 'Constant Tag' literal with the specified integer value.static ConstantTag
Returns the 'Constant Tag' literal with the specified literal value.static ConstantTag
Returns the 'Constant Tag' literal with the specified name.Returns the 'Constant Tag' literal string value.getName()
Returns the 'Constant Tag' literal name.int
getValue()
Returns the 'Constant Tag' literal integer value.toString()
Returns the literal value of the enumerator, which is its string representation.static ConstantTag
Returns the enum constant of this class with the specified name.static ConstantTag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRING
The 'String' literal object.- See Also:
-
INTEGER
The 'Integer' literal object.- See Also:
-
DOUBLE
The 'Double' literal object.- See Also:
-
BYTE
The 'Byte' literal object.- See Also:
-
CHARACTER
The 'Character' literal object.- See Also:
-
FLOAT
The 'Float' literal object.- See Also:
-
SHORT
The 'Short' literal object.- See Also:
-
LONG
The 'Long' literal object.- See Also:
-
ENUM_LITERAL
The 'Enum Literal' literal object.- See Also:
-
NULL
The 'Null' literal object.- See Also:
-
-
Field Details
-
STRING_VALUE
public static final int STRING_VALUEThe 'String' literal value.If the meaning of 'String' literal object isn't clear, there really should be more of a description here...
- See Also:
-
INTEGER_VALUE
public static final int INTEGER_VALUEThe 'Integer' literal value.If the meaning of 'Integer' literal object isn't clear, there really should be more of a description here...
- See Also:
-
DOUBLE_VALUE
public static final int DOUBLE_VALUEThe 'Double' literal value.If the meaning of 'Double' literal object isn't clear, there really should be more of a description here...
- See Also:
-
BYTE_VALUE
public static final int BYTE_VALUEThe 'Byte' literal value.If the meaning of 'Byte' literal object isn't clear, there really should be more of a description here...
- See Also:
-
CHARACTER_VALUE
public static final int CHARACTER_VALUEThe 'Character' literal value.If the meaning of 'Character' literal object isn't clear, there really should be more of a description here...
- See Also:
-
FLOAT_VALUE
public static final int FLOAT_VALUEThe 'Float' literal value.If the meaning of 'Float' literal object isn't clear, there really should be more of a description here...
- See Also:
-
SHORT_VALUE
public static final int SHORT_VALUEThe 'Short' literal value.If the meaning of 'Short' literal object isn't clear, there really should be more of a description here...
- See Also:
-
LONG_VALUE
public static final int LONG_VALUEThe 'Long' literal value.If the meaning of 'Long' literal object isn't clear, there really should be more of a description here...
- See Also:
-
ENUM_LITERAL_VALUE
public static final int ENUM_LITERAL_VALUEThe 'Enum Literal' literal value.If the meaning of 'Enum Literal' literal object isn't clear, there really should be more of a description here...
- See Also:
-
NULL_VALUE
public static final int NULL_VALUEThe 'Null' literal value.If the meaning of 'Null' literal object isn't clear, there really should be more of a description here...
- See Also:
-
VALUES
A public read-only list of all the 'Constant Tag' enumerators.
-
-
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 'Constant Tag' literal with the specified literal value.- Parameters:
literal
- the literal string valueliteral
- the literal.- Returns:
- the 'Constant Tag' literal with the specified literal value.
-
getByName
Returns the 'Constant Tag' literal with the specified name.- Parameters:
name
- the literal namename
- the name.- Returns:
- the 'Constant Tag' literal with the specified name.
-
get
Returns the 'Constant Tag' literal with the specified integer value.- Parameters:
value
- the literal integer valuevalue
- the integer value.- Returns:
- the 'Constant Tag' literal with the specified integer value.
-
getValue
public int getValue()Returns the 'Constant Tag' literal integer value.- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
- Returns:
- the 'Constant Tag' literal integer value.
-
getName
Returns the 'Constant Tag' literal name.- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
- Returns:
- the 'Constant Tag' literal name.
-
getLiteral
Returns the 'Constant Tag' literal string value.- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
- Returns:
- the 'Constant Tag' literal string value.
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<ConstantTag>
- Returns:
- the literal value of the enumerator, which is its string representation.
-