org.eclipse.gmt.modisco.omg.kdm.code
Enum ParameterKind

java.lang.Object
  extended by java.lang.Enum<ParameterKind>
      extended by org.eclipse.gmt.modisco.omg.kdm.code.ParameterKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ParameterKind>

public enum ParameterKind
extends java.lang.Enum<ParameterKind>

A representation of the literals of the enumeration 'Parameter Kind', and utility methods for working with them.

See Also:
CodePackage.getParameterKind()
Generated:
Model:

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

BY_VALUE

public static final ParameterKind BY_VALUE
The 'By Value' literal object.

See Also:
BY_VALUE_VALUE
Generated:
Ordered:

BY_NAME

public static final ParameterKind BY_NAME
The 'By Name' literal object.

See Also:
BY_NAME_VALUE
Generated:
Ordered:

BY_REFERENCE

public static final ParameterKind BY_REFERENCE
The 'By Reference' literal object.

See Also:
BY_REFERENCE_VALUE
Generated:
Ordered:

VARIADIC

public static final ParameterKind VARIADIC
The 'Variadic' literal object.

See Also:
VARIADIC_VALUE
Generated:
Ordered:

RETURN

public static final ParameterKind RETURN
The 'Return' literal object.

See Also:
RETURN_VALUE
Generated:
Ordered:

THROWS

public static final ParameterKind THROWS
The 'Throws' literal object.

See Also:
THROWS_VALUE
Generated:
Ordered:

EXCEPTION

public static final ParameterKind EXCEPTION
The 'Exception' literal object.

See Also:
EXCEPTION_VALUE
Generated:
Ordered:

CATCHALL

public static final ParameterKind CATCHALL
The 'Catchall' literal object.

See Also:
CATCHALL_VALUE
Generated:
Ordered:

UNKNOWN

public static final ParameterKind UNKNOWN
The 'Unknown' literal object.

See Also:
UNKNOWN_VALUE
Generated:
Ordered:
Field Detail

BY_VALUE_VALUE

public static final int BY_VALUE_VALUE
The 'By Value' literal value.

If the meaning of 'By Value' literal object isn't clear, there really should be more of a description here...

See Also:
BY_VALUE, Constant Field Values
Generated:
Model:
name="byValue"
Ordered:

BY_NAME_VALUE

public static final int BY_NAME_VALUE
The 'By Name' literal value.

If the meaning of 'By Name' literal object isn't clear, there really should be more of a description here...

See Also:
BY_NAME, Constant Field Values
Generated:
Model:
name="byName"
Ordered:

BY_REFERENCE_VALUE

public static final int BY_REFERENCE_VALUE
The 'By Reference' literal value.

If the meaning of 'By Reference' literal object isn't clear, there really should be more of a description here...

See Also:
BY_REFERENCE, Constant Field Values
Generated:
Model:
name="byReference"
Ordered:

VARIADIC_VALUE

public static final int VARIADIC_VALUE
The 'Variadic' literal value.

If the meaning of 'Variadic' literal object isn't clear, there really should be more of a description here...

See Also:
VARIADIC, Constant Field Values
Generated:
Model:
name="variadic"
Ordered:

RETURN_VALUE

public static final int RETURN_VALUE
The 'Return' literal value.

If the meaning of 'Return' literal object isn't clear, there really should be more of a description here...

See Also:
RETURN, Constant Field Values
Generated:
Model:
name="return"
Ordered:

THROWS_VALUE

public static final int THROWS_VALUE
The 'Throws' literal value.

If the meaning of 'Throws' literal object isn't clear, there really should be more of a description here...

See Also:
THROWS, Constant Field Values
Generated:
Model:
name="throws"
Ordered:

EXCEPTION_VALUE

public static final int EXCEPTION_VALUE
The 'Exception' literal value.

If the meaning of 'Exception' literal object isn't clear, there really should be more of a description here...

See Also:
EXCEPTION, Constant Field Values
Generated:
Model:
name="exception"
Ordered:

CATCHALL_VALUE

public static final int CATCHALL_VALUE
The 'Catchall' literal value.

If the meaning of 'Catchall' literal object isn't clear, there really should be more of a description here...

See Also:
CATCHALL, Constant Field Values
Generated:
Model:
name="catchall"
Ordered:

UNKNOWN_VALUE

public static final int UNKNOWN_VALUE
The 'Unknown' literal value.

If the meaning of 'Unknown' literal object isn't clear, there really should be more of a description here...

See Also:
UNKNOWN, Constant Field Values
Generated:
Model:
name="unknown"
Ordered:

VALUES

public static final java.util.List<ParameterKind> VALUES
A public read-only list of all the 'Parameter Kind' enumerators.

Generated:
Method Detail

values

public static final ParameterKind[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ParameterKind c : ParameterKind.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ParameterKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static ParameterKind get(java.lang.String literal)
Returns the 'Parameter Kind' literal with the specified literal value.

Generated:

getByName

public static ParameterKind getByName(java.lang.String name)
Returns the 'Parameter Kind' literal with the specified name.

Generated:

get

public static ParameterKind get(int value)
Returns the 'Parameter Kind' literal with the specified integer value.

Generated:

getValue

public int getValue()

Generated:

getName

public java.lang.String getName()

Generated:

getLiteral

public java.lang.String getLiteral()

Generated:

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<ParameterKind>
Generated: