|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StateType>
de.cau.cs.kieler.synccharts.StateType
public enum StateType
A representation of the literals of the enumeration 'State Type', and utility methods for working with them. A type for a State to specify some special properties.
SyncchartsPackage.getStateType()
Enum Constant Summary | |
---|---|
CONDITIONAL
The 'CONDITIONAL' literal object. |
|
NORMAL
The 'NORMAL' literal object. |
|
REFERENCE
The 'REFERENCE' literal object. |
|
TEXTUAL
The 'TEXTUAL' literal object. |
Field Summary | |
---|---|
static int |
CONDITIONAL_VALUE
The 'CONDITIONAL' literal value. |
static String |
copyright
|
static int |
NORMAL_VALUE
The 'NORMAL' literal value. |
static int |
REFERENCE_VALUE
The 'REFERENCE' literal value. |
static int |
TEXTUAL_VALUE
The 'TEXTUAL' literal value. |
static List<StateType> |
VALUES
A public read-only list of all the 'State Type' enumerators. |
Method Summary | |
---|---|
static StateType |
get(int value)
Returns the 'State Type' literal with the specified integer value. |
static StateType |
get(String literal)
Returns the 'State Type' literal with the specified literal value. |
static StateType |
getByName(String name)
Returns the 'State Type' literal with the specified name. |
String |
getLiteral()
|
String |
getName()
|
int |
getValue()
|
String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static StateType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StateType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final StateType NORMAL
NORMAL_VALUE
public static final StateType CONDITIONAL
CONDITIONAL_VALUE
public static final StateType REFERENCE
REFERENCE_VALUE
public static final StateType TEXTUAL
TEXTUAL_VALUE
Field Detail |
---|
public static final String copyright
public static final int NORMAL_VALUE
NORMAL
,
Constant Field Valuespublic static final int CONDITIONAL_VALUE
CONDITIONAL
,
Constant Field Valuespublic static final int REFERENCE_VALUE
Substitution
objects.
REFERENCE
,
Constant Field Valuespublic static final int TEXTUAL_VALUE
TEXTUAL
,
Constant Field Valuespublic static final List<StateType> VALUES
Method Detail |
---|
public static StateType[] values()
for (StateType c : StateType.values()) System.out.println(c);
public static StateType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static StateType get(String literal)
public static StateType getByName(String name)
public static StateType get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<StateType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |