|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TermOperations>
de.uka.ipd.sdq.stoex.TermOperations
public enum TermOperations
A representation of the literals of the enumeration 'Term Operations', and utility methods for working with them.
StoexPackage.getTermOperations()
Enum Constant Summary | |
---|---|
ADD
The 'ADD' literal object. |
|
SUB
The 'SUB' literal object. |
Field Summary | |
---|---|
static int |
ADD_VALUE
The 'ADD' literal value. |
static String |
copyright
|
static int |
SUB_VALUE
The 'SUB' literal value. |
static List<TermOperations> |
VALUES
A public read-only list of all the 'Term Operations' enumerators. |
Method Summary | |
---|---|
static TermOperations |
get(int value)
Returns the 'Term Operations' literal with the specified integer value. |
static TermOperations |
get(String literal)
Returns the 'Term Operations' literal with the specified literal value. |
static TermOperations |
getByName(String name)
Returns the 'Term Operations' 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 TermOperations |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TermOperations[] |
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 TermOperations ADD
ADD_VALUE
public static final TermOperations SUB
SUB_VALUE
Field Detail |
---|
public static final String copyright
public static final int ADD_VALUE
If the meaning of 'ADD' literal object isn't clear, there really should be more of a description here...
ADD
,
Constant Field Valuespublic static final int SUB_VALUE
If the meaning of 'SUB' literal object isn't clear, there really should be more of a description here...
SUB
,
Constant Field Valuespublic static final List<TermOperations> VALUES
Method Detail |
---|
public static TermOperations[] values()
for (TermOperations c : TermOperations.values()) System.out.println(c);
public static TermOperations 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 TermOperations get(String literal)
public static TermOperations getByName(String name)
public static TermOperations get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<TermOperations>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |