|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GenLanguage>
org.eclipse.gmf.codegen.gmfgen.GenLanguage
public enum GenLanguage
A representation of the literals of the enumeration 'Gen Language', and utility methods for working with them.
GMFGenPackage.getGenLanguage()
Enum Constant Summary | |
---|---|
JAVA_LITERAL
The 'Java' literal object. |
|
LITERAL_LITERAL
The 'Literal' literal object. |
|
NREGEXP_LITERAL
The 'Nregexp' literal object. |
|
OCL_LITERAL
The 'Ocl' literal object. |
|
REGEXP_LITERAL
The 'Regexp' literal object. |
Field Summary | |
---|---|
static int |
JAVA
The 'Java' literal value. |
static int |
LITERAL
The 'Literal' literal value. |
static int |
NREGEXP
The 'Nregexp' literal value. |
static int |
OCL
The 'Ocl' literal value. |
static int |
REGEXP
The 'Regexp' literal value. |
static List<GenLanguage> |
VALUES
A public read-only list of all the 'Gen Language' enumerators. |
Method Summary | |
---|---|
static GenLanguage |
get(int value)
Returns the 'Gen Language' literal with the specified integer value. |
static GenLanguage |
get(String literal)
Returns the 'Gen Language' literal with the specified literal value. |
static GenLanguage |
getByName(String name)
Returns the 'Gen Language' 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 GenLanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GenLanguage[] |
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 GenLanguage OCL_LITERAL
OCL
public static final GenLanguage JAVA_LITERAL
JAVA
public static final GenLanguage REGEXP_LITERAL
REGEXP
public static final GenLanguage NREGEXP_LITERAL
NREGEXP
public static final GenLanguage LITERAL_LITERAL
LITERAL
Field Detail |
---|
public static final int OCL
If the meaning of 'Ocl' literal object isn't clear, there really should be more of a description here...
OCL_LITERAL
,
Constant Field Valuespublic static final int JAVA
If the meaning of 'Java' literal object isn't clear, there really should be more of a description here...
JAVA_LITERAL
,
Constant Field Valuespublic static final int REGEXP
If the meaning of 'Regexp' literal object isn't clear, there really should be more of a description here...
REGEXP_LITERAL
,
Constant Field Valuespublic static final int NREGEXP
If the meaning of 'Nregexp' literal object isn't clear, there really should be more of a description here...
NREGEXP_LITERAL
,
Constant Field Valuespublic static final int LITERAL
If the meaning of 'Literal' literal object isn't clear, there really should be more of a description here...
LITERAL_LITERAL
,
Constant Field Valuespublic static final List<GenLanguage> VALUES
Method Detail |
---|
public static GenLanguage[] values()
for (GenLanguage c : GenLanguage.values()) System.out.println(c);
public static GenLanguage 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 GenLanguage get(String literal)
public static GenLanguage getByName(String name)
public static GenLanguage get(int value)
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<GenLanguage>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |