|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GenRuntimePlatform>
org.eclipse.emf.codegen.ecore.genmodel.GenRuntimePlatform
public enum GenRuntimePlatform
A representation of the literals of the enumeration 'Gen Runtime Platform', and utility methods for working with them.
GenModelPackage.getGenRuntimePlatform()
Enum Constant Summary | |
---|---|
GWT
The 'GWT' literal object |
|
IDE
The 'IDE' literal object |
|
RAP
The 'RAP' literal object |
|
RCP
The 'RCP' literal object |
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
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'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 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
Field Detail |
---|
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
Method Detail |
---|
public static final 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 namepublic 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>
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |