|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AdviceOperator>
org.eclipse.mofscript.MOFScriptModel.AdviceOperator
public enum AdviceOperator
A representation of the literals of the enumeration 'Advice Operator', and utility methods for working with them.
MOFScriptModelPackage.getAdviceOperator()
Enum Constant Summary | |
---|---|
AFTER_LITERAL
The 'AFTER' literal object |
|
AROUND_LITERAL
The 'AROUND' literal object |
|
BEFORE_LITERAL
The 'BEFORE' literal object |
Field Summary | |
---|---|
static int |
AFTER
The 'AFTER' literal value |
static int |
AROUND
The 'AROUND' literal value |
static int |
BEFORE
The 'BEFORE' literal value |
static java.lang.String |
copyright
|
static java.util.List<AdviceOperator> |
VALUES
A public read-only list of all the 'Advice Operator' enumerators |
Method Summary | |
---|---|
static AdviceOperator |
get(int value)
Returns the 'Advice Operator' literal with the specified integer value |
static AdviceOperator |
get(java.lang.String literal)
Returns the 'Advice Operator' literal with the specified literal value |
static AdviceOperator |
getByName(java.lang.String name)
Returns the 'Advice Operator' 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 AdviceOperator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AdviceOperator[] |
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 AdviceOperator BEFORE_LITERAL
BEFORE
public static final AdviceOperator AFTER_LITERAL
AFTER
public static final AdviceOperator AROUND_LITERAL
AROUND
Field Detail |
---|
public static final java.lang.String copyright
public static final int BEFORE
If the meaning of 'BEFORE' literal object isn't clear, there really should be more of a description here...
BEFORE_LITERAL
,
Constant Field Valuespublic static final int AFTER
If the meaning of 'AFTER' literal object isn't clear, there really should be more of a description here...
AFTER_LITERAL
,
Constant Field Valuespublic static final int AROUND
If the meaning of 'AROUND' literal object isn't clear, there really should be more of a description here...
AROUND_LITERAL
,
Constant Field Valuespublic static final java.util.List<AdviceOperator> VALUES
Method Detail |
---|
public static AdviceOperator[] values()
for (AdviceOperator c : AdviceOperator.values()) System.out.println(c);
public static AdviceOperator 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 AdviceOperator get(java.lang.String literal)
public static AdviceOperator getByName(java.lang.String name)
public static AdviceOperator 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<AdviceOperator>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |