org.eclipse.emf.codegen.ecore.genmodel
Enum GenRuntimePlatform

java.lang.Object
  extended by java.lang.Enum<GenRuntimePlatform>
      extended by org.eclipse.emf.codegen.ecore.genmodel.GenRuntimePlatform
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GenRuntimePlatform>, Enumerator

public enum GenRuntimePlatform
extends java.lang.Enum<GenRuntimePlatform>
implements Enumerator

A representation of the literals of the enumeration 'Gen Runtime Platform', and utility methods for working with them.

See Also:
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

IDE

public static final GenRuntimePlatform IDE
The 'IDE' literal object.

See Also:
IDE_VALUE

RCP

public static final GenRuntimePlatform RCP
The 'RCP' literal object.

See Also:
RCP_VALUE

RAP

public static final GenRuntimePlatform RAP
The 'RAP' literal object.

See Also:
RAP_VALUE

GWT

public static final GenRuntimePlatform GWT
The 'GWT' literal object.

See Also:
GWT_VALUE
Field Detail

IDE_VALUE

public static final int IDE_VALUE
The 'IDE' literal value.

Target Eclipse's IDE.

See Also:
IDE, Constant Field Values

RCP_VALUE

public static final int RCP_VALUE
The 'RCP' literal value.

Target Eclipse's Rich Client Platform.

See Also:
RCP, Constant Field Values

RAP_VALUE

public static final int RAP_VALUE
The 'RAP' literal value.

Target Eclipse's Rich Ajax Platform.

See Also:
RAP, Constant Field Values

GWT_VALUE

public static final int GWT_VALUE
The 'GWT' literal value.

Target Google Widget Toolkit.

See Also:
GWT, Constant Field Values

VALUES

public static final java.util.List<GenRuntimePlatform> VALUES
A public read-only list of all the 'Gen Runtime Platform' enumerators.

Method Detail

values

public static final GenRuntimePlatform[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(GenRuntimePlatform c : GenRuntimePlatform.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static GenRuntimePlatform valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static GenRuntimePlatform get(java.lang.String literal)
Returns the 'Gen Runtime Platform' literal with the specified literal value.


getByName

public static GenRuntimePlatform getByName(java.lang.String name)
Returns the 'Gen Runtime Platform' literal with the specified name.


get

public static GenRuntimePlatform get(int value)
Returns the 'Gen Runtime Platform' literal with the specified integer value.


getValue

public int getValue()

Specified by:
getValue in interface Enumerator
Returns:
the value.

getName

public java.lang.String getName()

Specified by:
getName in interface Enumerator
Returns:
the name.

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface Enumerator
Returns:
the literal.

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<GenRuntimePlatform>

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.