public enum VariableModifier extends Enum<VariableModifier> implements Enumerator
VariablesPackage.getVariableModifier()
Enum Constant and Description |
---|
CONSTANT
The 'CONSTANT' literal object.
|
NON_RETAIN
The 'NON RETAIN' literal object.
|
NONE
The 'NONE' literal object.
|
RETAIN
The 'RETAIN' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
CONSTANT_VALUE
The 'CONSTANT' literal value.
|
static int |
NON_RETAIN_VALUE
The 'NON RETAIN' literal value.
|
static int |
NONE_VALUE
The 'NONE' literal value.
|
static int |
RETAIN_VALUE
The 'RETAIN' literal value.
|
static List<VariableModifier> |
VALUES
A public read-only list of all the 'Variable Modifier' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static VariableModifier |
get(int value)
Returns the 'Variable Modifier' literal with the specified integer value.
|
static VariableModifier |
get(String literal)
Returns the 'Variable Modifier' literal with the specified literal value.
|
static VariableModifier |
getByName(String name)
Returns the 'Variable Modifier' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static VariableModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariableModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableModifier NONE
NONE_VALUE
public static final VariableModifier RETAIN
RETAIN_VALUE
public static final VariableModifier NON_RETAIN
NON_RETAIN_VALUE
public static final VariableModifier CONSTANT
CONSTANT_VALUE
public static final int NONE_VALUE
If the meaning of 'NONE' literal object isn't clear, there really should be more of a description here...
NONE
,
Constant Field Valuespublic static final int RETAIN_VALUE
If the meaning of 'RETAIN' literal object isn't clear, there really should be more of a description here...
RETAIN
,
Constant Field Valuespublic static final int NON_RETAIN_VALUE
If the meaning of 'NON RETAIN' literal object isn't clear, there really should be more of a description here...
NON_RETAIN
,
Constant Field Valuespublic static final int CONSTANT_VALUE
If the meaning of 'CONSTANT' literal object isn't clear, there really should be more of a description here...
CONSTANT
,
Constant Field Valuespublic static final List<VariableModifier> VALUES
public static VariableModifier[] values()
for (VariableModifier c : VariableModifier.values()) System.out.println(c);
public static VariableModifier valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static VariableModifier get(String literal)
literal
- the literal.null
.public static VariableModifier getByName(String name)
name
- the name.null
.public static VariableModifier get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<VariableModifier>