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

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

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

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

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

Enum Constant Summary
ABSTRACT
          The 'Abstract' literal object.
CONSTRUCTOR
          The 'Constructor' literal object.
DESTRUCTOR
          The 'Destructor' literal object.
METHOD
          The 'Method' literal object.
OPERATOR
          The 'Operator' literal object.
UNKNOWN
          The 'Unknown' literal object.
VIRTUAL
          The 'Virtual' literal object.
 
Field Summary
static int ABSTRACT_VALUE
          The 'Abstract' literal value.
static int CONSTRUCTOR_VALUE
          The 'Constructor' literal value.
static int DESTRUCTOR_VALUE
          The 'Destructor' literal value.
static int METHOD_VALUE
          The 'Method' literal value.
static int OPERATOR_VALUE
          The 'Operator' literal value.
static int UNKNOWN_VALUE
          The 'Unknown' literal value.
static java.util.List<MethodKind> VALUES
          A public read-only list of all the 'Method Kind' enumerators.
static int VIRTUAL_VALUE
          The 'Virtual' literal value.
 
Method Summary
static MethodKind get(int value)
          Returns the 'Method Kind' literal with the specified integer value.
static MethodKind get(java.lang.String literal)
          Returns the 'Method Kind' literal with the specified literal value.
static MethodKind getByName(java.lang.String name)
          Returns the 'Method 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 MethodKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MethodKind[] 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

METHOD

public static final MethodKind METHOD
The 'Method' literal object.

See Also:
METHOD_VALUE
Generated:
Ordered:

CONSTRUCTOR

public static final MethodKind CONSTRUCTOR
The 'Constructor' literal object.

See Also:
CONSTRUCTOR_VALUE
Generated:
Ordered:

DESTRUCTOR

public static final MethodKind DESTRUCTOR
The 'Destructor' literal object.

See Also:
DESTRUCTOR_VALUE
Generated:
Ordered:

OPERATOR

public static final MethodKind OPERATOR
The 'Operator' literal object.

See Also:
OPERATOR_VALUE
Generated:
Ordered:

VIRTUAL

public static final MethodKind VIRTUAL
The 'Virtual' literal object.

See Also:
VIRTUAL_VALUE
Generated:
Ordered:

ABSTRACT

public static final MethodKind ABSTRACT
The 'Abstract' literal object.

See Also:
ABSTRACT_VALUE
Generated:
Ordered:

UNKNOWN

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

See Also:
UNKNOWN_VALUE
Generated:
Ordered:
Field Detail

METHOD_VALUE

public static final int METHOD_VALUE
The 'Method' literal value.

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

See Also:
METHOD, Constant Field Values
Generated:
Model:
name="method"
Ordered:

CONSTRUCTOR_VALUE

public static final int CONSTRUCTOR_VALUE
The 'Constructor' literal value.

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

See Also:
CONSTRUCTOR, Constant Field Values
Generated:
Model:
name="constructor"
Ordered:

DESTRUCTOR_VALUE

public static final int DESTRUCTOR_VALUE
The 'Destructor' literal value.

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

See Also:
DESTRUCTOR, Constant Field Values
Generated:
Model:
name="destructor"
Ordered:

OPERATOR_VALUE

public static final int OPERATOR_VALUE
The 'Operator' literal value.

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

See Also:
OPERATOR, Constant Field Values
Generated:
Model:
name="operator"
Ordered:

VIRTUAL_VALUE

public static final int VIRTUAL_VALUE
The 'Virtual' literal value.

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

See Also:
VIRTUAL, Constant Field Values
Generated:
Model:
name="virtual"
Ordered:

ABSTRACT_VALUE

public static final int ABSTRACT_VALUE
The 'Abstract' literal value.

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

See Also:
ABSTRACT, Constant Field Values
Generated:
Model:
name="abstract"
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<MethodKind> VALUES
A public read-only list of all the 'Method Kind' enumerators.

Generated:
Method Detail

values

public static final MethodKind[] 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(MethodKind c : MethodKind.values())
        System.out.println(c);

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

valueOf

public static MethodKind 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 MethodKind get(java.lang.String literal)
Returns the 'Method Kind' literal with the specified literal value.

Generated:

getByName

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

Generated:

get

public static MethodKind get(int value)
Returns the 'Method 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<MethodKind>
Generated: