Package org.eclipse.m2m.atl.emftvm
Enum Class ModelDeclarationTag
- All Implemented Interfaces:
Serializable
,Comparable<ModelDeclarationTag>
,Constable
,org.eclipse.emf.common.util.Enumerator
public enum ModelDeclarationTag
extends Enum<ModelDeclarationTag>
implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Model Declaration Tag',
and utility methods for working with them.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The 'Inout' literal value.static final int
The 'Input' literal value.static final int
The 'Output' literal value.static final List<ModelDeclarationTag>
A public read-only list of all the 'Model Declaration Tag' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelDeclarationTag
get
(int value) Returns the 'Model Declaration Tag' literal with the specified integer value.static ModelDeclarationTag
Returns the 'Model Declaration Tag' literal with the specified literal value.static ModelDeclarationTag
Returns the 'Model Declaration Tag' literal with the specified name.Returns the literal string value.getName()
Returns the literal name.int
getValue()
Returns the literal integer value.toString()
Returns the literal value of the enumerator, which is its string representation.static ModelDeclarationTag
Returns the enum constant of this class with the specified name.static ModelDeclarationTag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INPUT
The 'Input' literal object.- See Also:
-
INOUT
The 'Inout' literal object.- See Also:
-
OUTPUT
The 'Output' literal object.- See Also:
-
-
Field Details
-
INPUT_VALUE
public static final int INPUT_VALUEThe 'Input' literal value.If the meaning of 'Input' literal object isn't clear, there really should be more of a description here...
- See Also:
-
INOUT_VALUE
public static final int INOUT_VALUEThe 'Inout' literal value.If the meaning of 'Inout' literal object isn't clear, there really should be more of a description here...
- See Also:
-
OUTPUT_VALUE
public static final int OUTPUT_VALUEThe 'Output' literal value.If the meaning of 'Output' 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 'Model Declaration 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 'Model Declaration Tag' literal with the specified literal value.- Parameters:
literal
- the literal string valueliteral
- the literal.- Returns:
- the 'Model Declaration Tag' literal with the specified literal value.
-
getByName
Returns the 'Model Declaration Tag' literal with the specified name.- Parameters:
name
- the literal namename
- the name.- Returns:
- the 'Model Declaration Tag' literal with the specified name.
-
get
Returns the 'Model Declaration Tag' literal with the specified integer value.- Parameters:
value
- the literal integer valuevalue
- the integer value.- Returns:
- the 'Model Declaration Tag' literal with the specified integer value.
-
getValue
public int getValue()Returns the literal integer value.- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
- Returns:
- the literal integer value.
-
getName
Returns the literal name.- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
- Returns:
- the literal name.
-
getLiteral
Returns the literal string value.- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
- Returns:
- the literal string value.
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<ModelDeclarationTag>
- Returns:
- the literal value of the enumerator, which is its string representation.
-