|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OperationKind>
edu.cmu.sei.aadl.aadl2.OperationKind
public enum OperationKind
A representation of the literals of the enumeration 'Operation Kind', and utility methods for working with them.
Aadl2Package.getOperationKind()
Enum Constant Summary | |
---|---|
AND
The 'And' literal object |
|
MINUS
The 'Minus' literal object |
|
NOT
The 'Not' literal object |
|
OR
The 'Or' literal object |
|
PLUS
The 'Plus' literal object |
Field Summary | |
---|---|
static int |
AND_VALUE
The 'And' literal value |
static int |
MINUS_VALUE
The 'Minus' literal value |
static int |
NOT_VALUE
The 'Not' literal value |
static int |
OR_VALUE
The 'Or' literal value |
static int |
PLUS_VALUE
The 'Plus' literal value |
static java.util.List<OperationKind> |
VALUES
A public read-only list of all the 'Operation Kind' enumerators |
Method Summary | |
---|---|
static OperationKind |
get(int value)
Returns the 'Operation Kind' literal with the specified integer value |
static OperationKind |
get(java.lang.String literal)
Returns the 'Operation Kind' literal with the specified literal value |
static OperationKind |
getByName(java.lang.String name)
Returns the 'Operation 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 OperationKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OperationKind[] |
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 OperationKind AND
AND_VALUE
public static final OperationKind OR
OR_VALUE
public static final OperationKind NOT
NOT_VALUE
public static final OperationKind PLUS
PLUS_VALUE
public static final OperationKind MINUS
MINUS_VALUE
Field Detail |
---|
public static final int AND_VALUE
If the meaning of 'AND' literal object isn't clear, there really should be more of a description here...
AND
,
Constant Field Valuespublic static final int OR_VALUE
If the meaning of 'OR' literal object isn't clear, there really should be more of a description here...
OR
,
Constant Field Valuespublic static final int NOT_VALUE
If the meaning of 'NOT' literal object isn't clear, there really should be more of a description here...
NOT
,
Constant Field Valuespublic static final int PLUS_VALUE
If the meaning of 'PLUS' literal object isn't clear, there really should be more of a description here...
PLUS
,
Constant Field Valuespublic static final int MINUS_VALUE
If the meaning of 'MINUS' literal object isn't clear, there really should be more of a description here...
MINUS
,
Constant Field Valuespublic static final java.util.List<OperationKind> VALUES
Method Detail |
---|
public static OperationKind[] values()
for (OperationKind c : OperationKind.values()) System.out.println(c);
public static OperationKind 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 name
java.lang.NullPointerException
- if the argument is nullpublic static OperationKind get(java.lang.String literal)
public static OperationKind getByName(java.lang.String name)
public static OperationKind get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<OperationKind>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |