|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ParameterKind>
org.eclipse.gmt.modisco.omg.kdm.code.ParameterKind
public enum ParameterKind
A representation of the literals of the enumeration 'Parameter Kind', and utility methods for working with them.
CodePackage.getParameterKind()
Enum Constant Summary | |
---|---|
BY_NAME
The 'By Name' literal object. |
|
BY_REFERENCE
The 'By Reference' literal object. |
|
BY_VALUE
The 'By Value' literal object. |
|
CATCHALL
The 'Catchall' literal object. |
|
EXCEPTION
The 'Exception' literal object. |
|
RETURN
The 'Return' literal object. |
|
THROWS
The 'Throws' literal object. |
|
UNKNOWN
The 'Unknown' literal object. |
|
VARIADIC
The 'Variadic' literal object. |
Field Summary | |
---|---|
static int |
BY_NAME_VALUE
The 'By Name' literal value. |
static int |
BY_REFERENCE_VALUE
The 'By Reference' literal value. |
static int |
BY_VALUE_VALUE
The 'By Value' literal value. |
static int |
CATCHALL_VALUE
The 'Catchall' literal value. |
static int |
EXCEPTION_VALUE
The 'Exception' literal value. |
static int |
RETURN_VALUE
The 'Return' literal value. |
static int |
THROWS_VALUE
The 'Throws' literal value. |
static int |
UNKNOWN_VALUE
The 'Unknown' literal value. |
static java.util.List<ParameterKind> |
VALUES
A public read-only list of all the 'Parameter Kind' enumerators. |
static int |
VARIADIC_VALUE
The 'Variadic' literal value. |
Method Summary | |
---|---|
static ParameterKind |
get(int value)
Returns the 'Parameter Kind' literal with the specified integer value. |
static ParameterKind |
get(java.lang.String literal)
Returns the 'Parameter Kind' literal with the specified literal value. |
static ParameterKind |
getByName(java.lang.String name)
Returns the 'Parameter 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 ParameterKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ParameterKind[] |
values()
Returns an array containing the constants of this enum type, in the order they're 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 ParameterKind BY_VALUE
BY_VALUE_VALUE
public static final ParameterKind BY_NAME
BY_NAME_VALUE
public static final ParameterKind BY_REFERENCE
BY_REFERENCE_VALUE
public static final ParameterKind VARIADIC
VARIADIC_VALUE
public static final ParameterKind RETURN
RETURN_VALUE
public static final ParameterKind THROWS
THROWS_VALUE
public static final ParameterKind EXCEPTION
EXCEPTION_VALUE
public static final ParameterKind CATCHALL
CATCHALL_VALUE
public static final ParameterKind UNKNOWN
UNKNOWN_VALUE
Field Detail |
---|
public static final int BY_VALUE_VALUE
If the meaning of 'By Value' literal object isn't clear, there really should be more of a description here...
BY_VALUE
,
Constant Field Valuespublic static final int BY_NAME_VALUE
If the meaning of 'By Name' literal object isn't clear, there really should be more of a description here...
BY_NAME
,
Constant Field Valuespublic static final int BY_REFERENCE_VALUE
If the meaning of 'By Reference' literal object isn't clear, there really should be more of a description here...
BY_REFERENCE
,
Constant Field Valuespublic static final int VARIADIC_VALUE
If the meaning of 'Variadic' literal object isn't clear, there really should be more of a description here...
VARIADIC
,
Constant Field Valuespublic static final int RETURN_VALUE
If the meaning of 'Return' literal object isn't clear, there really should be more of a description here...
RETURN
,
Constant Field Valuespublic static final int THROWS_VALUE
If the meaning of 'Throws' literal object isn't clear, there really should be more of a description here...
THROWS
,
Constant Field Valuespublic static final int EXCEPTION_VALUE
If the meaning of 'Exception' literal object isn't clear, there really should be more of a description here...
EXCEPTION
,
Constant Field Valuespublic static final int CATCHALL_VALUE
If the meaning of 'Catchall' literal object isn't clear, there really should be more of a description here...
CATCHALL
,
Constant Field Valuespublic static final int UNKNOWN_VALUE
If the meaning of 'Unknown' literal object isn't clear, there really should be more of a description here...
UNKNOWN
,
Constant Field Valuespublic static final java.util.List<ParameterKind> VALUES
Method Detail |
---|
public static final ParameterKind[] values()
for(ParameterKind c : ParameterKind.values()) System.out.println(c);
public static ParameterKind 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 namepublic static ParameterKind get(java.lang.String literal)
public static ParameterKind getByName(java.lang.String name)
public static ParameterKind get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<ParameterKind>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |