Package org.eclipse.m2m.atl.emftvm
Enum Class RuleMode
- All Implemented Interfaces:
Serializable
,Comparable<RuleMode>
,Constable
,org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Rule Mode',
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
Enum ConstantDescriptionThe 'Automatic Recursive' literal object.The 'Automatic Single' literal object.The 'Manual' literal object. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The 'Automatic Recursive' literal value.static final int
The 'Automatic Single' literal value.static final int
The 'Manual' literal value.A public read-only list of all the 'Rule Mode' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic RuleMode
get
(int value) Returns the 'Rule Mode' literal with the specified integer value.static RuleMode
Returns the 'Rule Mode' literal with the specified literal value.static RuleMode
Returns the 'Rule Mode' 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 RuleMode
Returns the enum constant of this class with the specified name.static RuleMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MANUAL
The 'Manual' literal object.- See Also:
-
AUTOMATIC_SINGLE
The 'Automatic Single' literal object.- See Also:
-
AUTOMATIC_RECURSIVE
The 'Automatic Recursive' literal object.- See Also:
-
-
Field Details
-
MANUAL_VALUE
public static final int MANUAL_VALUEThe 'Manual' literal value.If the meaning of 'Manual' literal object isn't clear, there really should be more of a description here...
- See Also:
-
AUTOMATIC_SINGLE_VALUE
public static final int AUTOMATIC_SINGLE_VALUEThe 'Automatic Single' literal value.If the meaning of 'Automatic Single' literal object isn't clear, there really should be more of a description here...
- See Also:
-
AUTOMATIC_RECURSIVE_VALUE
public static final int AUTOMATIC_RECURSIVE_VALUEThe 'Automatic Recursive' literal value.If the meaning of 'Automatic Recursive' 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 'Rule Mode' 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 'Rule Mode' literal with the specified literal value.- Parameters:
literal
- the literal string valueliteral
- the literal.- Returns:
- the 'Rule Mode' literal with the specified literal value.
-
getByName
Returns the 'Rule Mode' literal with the specified name.- Parameters:
name
- the literal namename
- the name.- Returns:
- the 'Rule Mode' literal with the specified name.
-
get
Returns the 'Rule Mode' literal with the specified integer value.- Parameters:
value
- the literal integer valuevalue
- the integer value.- Returns:
- the 'Rule Mode' 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.
-