public enum ParameterModifier extends Enum<ParameterModifier> implements Enumerator
RepositoryPackage.getParameterModifier()| Enum Constant and Description |
|---|
IN
The 'In' literal object.
|
INOUT
The 'Inout' literal object.
|
NONE
The 'None' literal object.
|
OUT
The 'Out' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
copyright |
static int |
IN_VALUE
The 'In' literal value.
|
static int |
INOUT_VALUE
The 'Inout' literal value.
|
static int |
NONE_VALUE
The 'None' literal value.
|
static int |
OUT_VALUE
The 'Out' literal value.
|
static List<ParameterModifier> |
VALUES
A public read-only list of all the 'Parameter Modifier' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static ParameterModifier |
get(int value)
Returns the 'Parameter Modifier' literal with the specified integer value.
|
static ParameterModifier |
get(String literal)
Returns the 'Parameter Modifier' literal with the specified literal value.
|
static ParameterModifier |
getByName(String name)
Returns the 'Parameter 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 ParameterModifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterModifier NONE
NONE_VALUEpublic static final ParameterModifier IN
IN_VALUEpublic static final ParameterModifier OUT
OUT_VALUEpublic static final ParameterModifier INOUT
INOUT_VALUEpublic static final String copyright
public static final int NONE_VALUE
NONE,
Constant Field Valuespublic static final int IN_VALUE
IN,
Constant Field Valuespublic static final int OUT_VALUE
OUT,
Constant Field Valuespublic static final int INOUT_VALUE
INOUT,
Constant Field Valuespublic static final List<ParameterModifier> VALUES
public static ParameterModifier[] values()
for (ParameterModifier c : ParameterModifier.values()) System.out.println(c);
public static ParameterModifier 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 ParameterModifier get(String literal)
literal - the literal.null.public static ParameterModifier getByName(String name)
name - the name.null.public static ParameterModifier get(int value)
value - the integer value.null.public int getValue()
getValue in interface Enumeratorpublic String getName()
getName in interface Enumeratorpublic String getLiteral()
getLiteral in interface Enumeratorpublic String toString()
toString in class Enum<ParameterModifier>