java.lang.Objectjava.lang.Enum<EnforcementMode>
org.eclipse.gmt.umlx.qvtcore.EnforcementMode
public enum EnforcementMode
A representation of the literals of the enumeration 'Enforcement Mode', and utility methods for working with them.
QvtcorePackage.getEnforcementMode()
Enum Constant Summary | |
---|---|
CREATION
The 'Creation' literal object. |
|
DELETION
The 'Deletion' literal object. |
Field Summary | |
---|---|
static int |
CREATION_VALUE
The 'Creation' literal value. |
static int |
DELETION_VALUE
The 'Deletion' literal value. |
static java.util.List<EnforcementMode> |
VALUES
A public read-only list of all the 'Enforcement Mode' enumerators. |
Method Summary | |
---|---|
static EnforcementMode |
get(int value)
Returns the 'Enforcement Mode' literal with the specified integer value. |
static EnforcementMode |
get(java.lang.String literal)
Returns the 'Enforcement Mode' literal with the specified literal value. |
static EnforcementMode |
getByName(java.lang.String name)
Returns the 'Enforcement Mode' 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 EnforcementMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EnforcementMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EnforcementMode CREATION
CREATION_VALUE
public static final EnforcementMode DELETION
DELETION_VALUE
Field Detail |
---|
public static final int CREATION_VALUE
If the meaning of 'Creation' literal object isn't clear, there really should be more of a description here...
CREATION
,
Constant Field Valuespublic static final int DELETION_VALUE
If the meaning of 'Deletion' literal object isn't clear, there really should be more of a description here...
DELETION
,
Constant Field Valuespublic static final java.util.List<EnforcementMode> VALUES
Method Detail |
---|
public static EnforcementMode[] values()
for (EnforcementMode c : EnforcementMode.values()) System.out.println(c);
public static EnforcementMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static EnforcementMode get(java.lang.String literal)
public static EnforcementMode getByName(java.lang.String name)
public static EnforcementMode get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<EnforcementMode>