|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Language>
org.eclipse.gmf.mappings.Language
public enum Language
A representation of the literals of the enumeration 'Language', and utility methods for working with them.
GMFMapPackage.getLanguage()
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<Language> |
VALUES
A public read-only list of all the 'Language' enumerators. |
Method Summary | |
---|---|
static Language |
get(int value)
Returns the 'Language' literal with the specified integer value. |
static Language |
get(String literal)
Returns the 'Language' literal with the specified literal value. |
static Language |
getByName(String name)
Returns the '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 Language |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Language[] |
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 Language OCL_LITERAL
OCL
public static final Language JAVA_LITERAL
JAVA
public static final Language REGEXP_LITERAL
REGEXP
public static final Language NREGEXP_LITERAL
NREGEXP
public static final Language 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<Language> VALUES
Method Detail |
---|
public static Language[] values()
for (Language c : Language.values()) System.out.println(c);
public static Language 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 Language get(String literal)
public static Language getByName(String name)
public static Language 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<Language>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |