|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StorableKind>
org.eclipse.gmt.modisco.omg.kdm.code.StorableKind
public enum StorableKind
A representation of the literals of the enumeration 'Storable Kind', and utility methods for working with them.
CodePackage.getStorableKind()
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 |
---|
public static final StorableKind GLOBAL
GLOBAL_VALUE
public static final StorableKind LOCAL
LOCAL_VALUE
public static final StorableKind STATIC
STATIC_VALUE
public static final StorableKind EXTERNAL
EXTERNAL_VALUE
public static final StorableKind REGISTER
REGISTER_VALUE
public static final StorableKind UNKNOWN
UNKNOWN_VALUE
Field Detail |
---|
public static final int GLOBAL_VALUE
If the meaning of 'Global' literal object isn't clear, there really should be more of a description here...
GLOBAL
,
Constant Field Valuespublic static final int LOCAL_VALUE
If the meaning of 'Local' literal object isn't clear, there really should be more of a description here...
LOCAL
,
Constant Field Valuespublic static final int STATIC_VALUE
If the meaning of 'Static' literal object isn't clear, there really should be more of a description here...
STATIC
,
Constant Field Valuespublic static final int EXTERNAL_VALUE
If the meaning of 'External' literal object isn't clear, there really should be more of a description here...
EXTERNAL
,
Constant Field Valuespublic static final int REGISTER_VALUE
If the meaning of 'Register' literal object isn't clear, there really should be more of a description here...
REGISTER
,
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<StorableKind> VALUES
Method Detail |
---|
public static final StorableKind[] values()
for(StorableKind c : StorableKind.values()) System.out.println(c);
public static StorableKind 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 StorableKind get(java.lang.String literal)
public static StorableKind getByName(java.lang.String name)
public static StorableKind 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<StorableKind>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |