public enum GenRuntimePlatform extends java.lang.Enum<GenRuntimePlatform> implements Enumerator
GenModelPackage.getGenRuntimePlatform()
Enum Constant and Description |
---|
GWT
The 'GWT' literal object
|
IDE
The 'IDE' literal object
|
RAP
The 'RAP' literal object
|
RCP
The 'RCP' literal object
|
Modifier and Type | Field and Description |
---|---|
static int |
GWT_VALUE
The 'GWT' literal value
|
static int |
IDE_VALUE
The 'IDE' literal value
|
static int |
RAP_VALUE
The 'RAP' literal value
|
static int |
RCP_VALUE
The 'RCP' literal value
|
static java.util.List<GenRuntimePlatform> |
VALUES
A public read-only list of all the 'Gen Runtime Platform' enumerators
|
Modifier and Type | Method and Description |
---|---|
static GenRuntimePlatform |
get(int value)
Returns the 'Gen Runtime Platform' literal with the specified integer value
|
static GenRuntimePlatform |
get(java.lang.String literal)
Returns the 'Gen Runtime Platform' literal with the specified literal value
|
static GenRuntimePlatform |
getByName(java.lang.String name)
Returns the 'Gen Runtime Platform' 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 GenRuntimePlatform |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GenRuntimePlatform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenRuntimePlatform IDE
IDE_VALUE
public static final GenRuntimePlatform RCP
RCP_VALUE
public static final GenRuntimePlatform RAP
RAP_VALUE
public static final GenRuntimePlatform GWT
GWT_VALUE
public static final int IDE_VALUE
Target Eclipse's IDE.
IDE
,
Constant Field Valuespublic static final int RCP_VALUE
Target Eclipse's Rich Client Platform.
RCP
,
Constant Field Valuespublic static final int RAP_VALUE
Target Eclipse's Rich Ajax Platform.
RAP
,
Constant Field Valuespublic static final int GWT_VALUE
Target Google Widget Toolkit.
GWT
,
Constant Field Valuespublic static final java.util.List<GenRuntimePlatform> VALUES
public static GenRuntimePlatform[] values()
for (GenRuntimePlatform c : GenRuntimePlatform.values()) System.out.println(c);
public static GenRuntimePlatform 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 namejava.lang.NullPointerException
- if the argument is nullpublic static GenRuntimePlatform get(java.lang.String literal)
public static GenRuntimePlatform getByName(java.lang.String name)
public static GenRuntimePlatform get(int value)
public int getValue()
getValue
in interface Enumerator
public java.lang.String getName()
getName
in interface Enumerator
public java.lang.String getLiteral()
getLiteral
in interface Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<GenRuntimePlatform>