|
Generation Framework | |||||||||
| 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 |
|
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 |
NREGEXP
The 'Nregexp' literal value |
static int |
OCL
The 'Ocl' literal value |
static int |
REGEXP
The 'Regexp' literal value |
static java.util.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(java.lang.String literal)
Returns the 'Gen Language' literal with the specified literal value |
static GenLanguage |
getByName(java.lang.String name)
Returns the 'Gen Language' 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 GenLanguage |
valueOf(java.lang.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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GenLanguage OCL_LITERAL
OCLpublic static final GenLanguage JAVA_LITERAL
JAVApublic static final GenLanguage REGEXP_LITERAL
REGEXPpublic static final GenLanguage NREGEXP_LITERAL
NREGEXP| 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 java.util.List<GenLanguage> VALUES
| Method Detail |
|---|
public static final GenLanguage[] values()
for(GenLanguage c : GenLanguage.values())
System.out.println(c);
public static GenLanguage 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 namepublic static GenLanguage get(java.lang.String literal)
public static GenLanguage getByName(java.lang.String name)
public static GenLanguage get(int value)
public int getValue()
getValue in interface Enumeratorpublic java.lang.String getName()
getName in interface Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<GenLanguage>
|
Generation Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.