public enum MethodProtectionTypes extends java.lang.Enum<MethodProtectionTypes> implements org.eclipse.emf.common.util.Enumerator
GuigenPackage.getMethodProtectionTypes()| Enum Constant and Description |
|---|
ALLOW_ALL
The 'ALLOW ALL' literal object
|
REJECT_ALL
The 'REJECT ALL' literal object
|
REJECT_SAME
The 'REJECT SAME' literal object
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_ALL_VALUE
The 'ALLOW ALL' literal value
|
static int |
REJECT_ALL_VALUE
The 'REJECT ALL' literal value
|
static int |
REJECT_SAME_VALUE
The 'REJECT SAME' literal value
|
static java.util.List<MethodProtectionTypes> |
VALUES
A public read-only list of all the 'Method Protection Types' enumerators
|
| Modifier and Type | Method and Description |
|---|---|
static MethodProtectionTypes |
get(int value)
Returns the 'Method Protection Types' literal with the specified integer value
|
static MethodProtectionTypes |
get(java.lang.String literal)
Returns the 'Method Protection Types' literal with the specified literal value
|
static MethodProtectionTypes |
getByName(java.lang.String name)
Returns the 'Method Protection Types' 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 MethodProtectionTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MethodProtectionTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodProtectionTypes REJECT_SAME
REJECT_SAME_VALUEpublic static final MethodProtectionTypes ALLOW_ALL
ALLOW_ALL_VALUEpublic static final MethodProtectionTypes REJECT_ALL
REJECT_ALL_VALUEpublic static final int REJECT_SAME_VALUE
If the meaning of 'REJECT SAME' literal object isn't clear, there really should be more of a description here...
REJECT_SAME,
Constant Field Valuespublic static final int ALLOW_ALL_VALUE
If the meaning of 'ALLOW ALL' literal object isn't clear, there really should be more of a description here...
ALLOW_ALL,
Constant Field Valuespublic static final int REJECT_ALL_VALUE
If the meaning of 'REJECT ALL' literal object isn't clear, there really should be more of a description here...
REJECT_ALL,
Constant Field Valuespublic static final java.util.List<MethodProtectionTypes> VALUES
public static MethodProtectionTypes[] values()
for (MethodProtectionTypes c : MethodProtectionTypes.values()) System.out.println(c);
public static MethodProtectionTypes 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 namejava.lang.NullPointerException - if the argument is nullpublic static MethodProtectionTypes get(java.lang.String literal)
literal - the literal.null.public static MethodProtectionTypes getByName(java.lang.String name)
name - the name.null.public static MethodProtectionTypes get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<MethodProtectionTypes>