org.eclipse.emf.codegen.ecore.genmodel
Class GenResourceKind

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended byorg.eclipse.emf.codegen.ecore.genmodel.GenResourceKind
All Implemented Interfaces:
Enumerator

public final class GenResourceKind
extends AbstractEnumerator

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

See Also:
GenModelPackage.getGenResourceKind()

Field Summary
static int BASIC
          The 'Basic' literal value
static GenResourceKind BASIC_LITERAL
          The 'Basic' literal object
static int NONE
          The 'None' literal value
static GenResourceKind NONE_LITERAL
          The 'None' literal object
static List VALUES
          A public read-only list of all the 'Gen Resource Kind' enumerators
static int XMI
          The 'XMI' literal value
static GenResourceKind XMI_LITERAL
          The 'XMI' literal object
static int XML
          The 'XML' literal value
static GenResourceKind XML_LITERAL
          The 'XML' literal object
 
Method Summary
static GenResourceKind get(int value)
          Returns the 'Gen Resource Kind' literal with the specified integer value
static GenResourceKind get(String literal)
          Returns the 'Gen Resource Kind' literal with the specified literal value
static GenResourceKind getByName(String name)
          Returns the 'Gen Resource Kind' literal with the specified name
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
The 'None' literal value.

See Also:
NONE_LITERAL, Constant Field Values

BASIC

public static final int BASIC
The 'Basic' literal value.

See Also:
BASIC_LITERAL, Constant Field Values

XMI

public static final int XMI
The 'XMI' literal value.

See Also:
XMI_LITERAL, Constant Field Values

XML

public static final int XML
The 'XML' literal value.

See Also:
XML_LITERAL, Constant Field Values

NONE_LITERAL

public static final GenResourceKind NONE_LITERAL
The 'None' literal object.

If the meaning of 'None' literal object isn't clear, there really should be more of a description here...

See Also:
NONE

BASIC_LITERAL

public static final GenResourceKind BASIC_LITERAL
The 'Basic' literal object.

If the meaning of 'Basic' literal object isn't clear, there really should be more of a description here...

See Also:
BASIC

XMI_LITERAL

public static final GenResourceKind XMI_LITERAL
The 'XMI' literal object.

If the meaning of 'XMI' literal object isn't clear, there really should be more of a description here...

See Also:
XMI

XML_LITERAL

public static final GenResourceKind XML_LITERAL
The 'XML' literal object.

If the meaning of 'XML' literal object isn't clear, there really should be more of a description here...

See Also:
XML

VALUES

public static final List VALUES
A public read-only list of all the 'Gen Resource Kind' enumerators.

Method Detail

get

public static GenResourceKind get(String literal)
Returns the 'Gen Resource Kind' literal with the specified literal value.


getByName

public static GenResourceKind getByName(String name)
Returns the 'Gen Resource Kind' literal with the specified name.


get

public static GenResourceKind get(int value)
Returns the 'Gen Resource Kind' literal with the specified integer value.


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