public enum ParameterDirectionKind extends java.lang.Enum<ParameterDirectionKind> implements org.eclipse.emf.common.util.Enumerator
From package UML::Classification.
UMLPackage.getParameterDirectionKind()| Enum Constant and Description |
|---|
IN_LITERAL
The 'In' literal object
|
INOUT_LITERAL
The 'Inout' literal object
|
OUT_LITERAL
The 'Out' literal object
|
RETURN_LITERAL
The 'Return' literal object
|
| Modifier and Type | Field and Description |
|---|---|
static int |
IN
The 'In' literal value
|
static int |
INOUT
The 'Inout' literal value
|
static int |
OUT
The 'Out' literal value
|
static int |
RETURN
The 'Return' literal value
|
static java.util.List<ParameterDirectionKind> |
VALUES
A public read-only list of all the 'Parameter Direction Kind' enumerators
|
| Modifier and Type | Method and Description |
|---|---|
static ParameterDirectionKind |
get(int value)
Returns the 'Parameter Direction Kind' literal with the specified integer value
|
static ParameterDirectionKind |
get(java.lang.String literal)
Returns the 'Parameter Direction Kind' literal with the specified literal value
|
static ParameterDirectionKind |
getByName(java.lang.String name)
Returns the 'Parameter Direction Kind' 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 ParameterDirectionKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParameterDirectionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterDirectionKind IN_LITERAL
INpublic static final ParameterDirectionKind INOUT_LITERAL
INOUTpublic static final ParameterDirectionKind OUT_LITERAL
OUTpublic static final ParameterDirectionKind RETURN_LITERAL
RETURNpublic static final int IN
IN_LITERAL,
Constant Field Valuespublic static final int INOUT
INOUT_LITERAL,
Constant Field Valuespublic static final int OUT
OUT_LITERAL,
Constant Field Valuespublic static final int RETURN
RETURN_LITERAL,
Constant Field Valuespublic static final java.util.List<ParameterDirectionKind> VALUES
public static ParameterDirectionKind[] values()
for (ParameterDirectionKind c : ParameterDirectionKind.values()) System.out.println(c);
public static ParameterDirectionKind 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 ParameterDirectionKind get(java.lang.String literal)
literal - the literal.null.public static ParameterDirectionKind getByName(java.lang.String name)
name - the name.null.public static ParameterDirectionKind 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<ParameterDirectionKind>