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

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

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

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

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

Enum Constant Summary
EXTERNAL
          The 'External' literal object.
GLOBAL
          The 'Global' literal object.
LOCAL
          The 'Local' literal object.
REGISTER
          The 'Register' literal object.
STATIC
          The 'Static' literal object.
UNKNOWN
          The 'Unknown' literal object.
 
Field Summary
static int EXTERNAL_VALUE
          The 'External' literal value.
static int GLOBAL_VALUE
          The 'Global' literal value.
static int LOCAL_VALUE
          The 'Local' literal value.
static int REGISTER_VALUE
          The 'Register' literal value.
static int STATIC_VALUE
          The 'Static' literal value.
static int UNKNOWN_VALUE
          The 'Unknown' literal value.
static java.util.List<StorableKind> VALUES
          A public read-only list of all the 'Storable Kind' enumerators.
 
Method Summary
static StorableKind get(int value)
          Returns the 'Storable Kind' literal with the specified integer value.
static StorableKind get(java.lang.String literal)
          Returns the 'Storable Kind' literal with the specified literal value.
static StorableKind getByName(java.lang.String name)
          Returns the 'Storable 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 StorableKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StorableKind[] 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

GLOBAL

public static final StorableKind GLOBAL
The 'Global' literal object.

See Also:
GLOBAL_VALUE
Generated:
Ordered:

LOCAL

public static final StorableKind LOCAL
The 'Local' literal object.

See Also:
LOCAL_VALUE
Generated:
Ordered:

STATIC

public static final StorableKind STATIC
The 'Static' literal object.

See Also:
STATIC_VALUE
Generated:
Ordered:

EXTERNAL

public static final StorableKind EXTERNAL
The 'External' literal object.

See Also:
EXTERNAL_VALUE
Generated:
Ordered:

REGISTER

public static final StorableKind REGISTER
The 'Register' literal object.

See Also:
REGISTER_VALUE
Generated:
Ordered:

UNKNOWN

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

See Also:
UNKNOWN_VALUE
Generated:
Ordered:
Field Detail

GLOBAL_VALUE

public static final int GLOBAL_VALUE
The 'Global' literal value.

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

See Also:
GLOBAL, Constant Field Values
Generated:
Model:
name="global"
Ordered:

LOCAL_VALUE

public static final int LOCAL_VALUE
The 'Local' literal value.

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

See Also:
LOCAL, Constant Field Values
Generated:
Model:
name="local"
Ordered:

STATIC_VALUE

public static final int STATIC_VALUE
The 'Static' literal value.

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

See Also:
STATIC, Constant Field Values
Generated:
Model:
name="static"
Ordered:

EXTERNAL_VALUE

public static final int EXTERNAL_VALUE
The 'External' literal value.

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

See Also:
EXTERNAL, Constant Field Values
Generated:
Model:
name="external"
Ordered:

REGISTER_VALUE

public static final int REGISTER_VALUE
The 'Register' literal value.

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

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

Generated:
Method Detail

values

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

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

valueOf

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

Generated:

getByName

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

Generated:

get

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