com.ibm.etools.cobol.application.model.cobol
Class ControlOption

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by com.ibm.etools.cobol.application.model.cobol.ControlOption
All Implemented Interfaces:
java.io.Serializable, org.eclipse.emf.common.util.Enumerator

public final class ControlOption
extends org.eclipse.emf.common.util.AbstractEnumerator

A representation of the options in a *CONTROL (*CBL) compiler-directing statement. This includes the literals of the enumeration 'Control Option', and utility methods for working with them.

See Also:
COBOLPackage.getControlOption(), Serialized Form

Field Summary
static int CO_LIST
          The 'CO LIST' literal value.
static ControlOption CO_LIST_LITERAL
          The 'CO LIST' literal object.
static int CO_MAP
          The 'CO MAP' literal value.
static ControlOption CO_MAP_LITERAL
          The 'CO MAP' literal object.
static int CO_NOLIST
          The 'CO NOLIST' literal value.
static ControlOption CO_NOLIST_LITERAL
          The 'CO NOLIST' literal object.
static int CO_NOMAP
          The 'CO NOMAP' literal value.
static ControlOption CO_NOMAP_LITERAL
          The 'CO NOMAP' literal object.
static int CO_NOSOURCE
          The 'CO NOSOURCE' literal value.
static ControlOption CO_NOSOURCE_LITERAL
          The 'CO NOSOURCE' literal object.
static int CO_SOURCE
          The 'CO SOURCE' literal value.
static ControlOption CO_SOURCE_LITERAL
          The 'CO SOURCE' literal object.
static java.lang.String copyright
           
static java.util.List VALUES
          A public read-only list of all the 'Control Option' enumerators.
 
Method Summary
static ControlOption get(int value)
          Returns the 'Control Option' literal with the specified integer value.
static ControlOption get(java.lang.String literal)
          Returns the 'Control Option' literal with the specified literal value.
static ControlOption getByName(java.lang.String name)
          Returns the 'Control Option' 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

CO_SOURCE

public static final int CO_SOURCE
The 'CO SOURCE' literal value.

SOURCE

See Also:
CO_SOURCE_LITERAL, Constant Field Values

CO_NOSOURCE

public static final int CO_NOSOURCE
The 'CO NOSOURCE' literal value.

NOSOURCE

See Also:
CO_NOSOURCE_LITERAL, Constant Field Values

CO_LIST

public static final int CO_LIST
The 'CO LIST' literal value.

LIST

See Also:
CO_LIST_LITERAL, Constant Field Values

CO_NOLIST

public static final int CO_NOLIST
The 'CO NOLIST' literal value.

NOLIST

See Also:
CO_NOLIST_LITERAL, Constant Field Values

CO_MAP

public static final int CO_MAP
The 'CO MAP' literal value.

MAP

See Also:
CO_MAP_LITERAL, Constant Field Values

CO_NOMAP

public static final int CO_NOMAP
The 'CO NOMAP' literal value.

NOMAP

See Also:
CO_NOMAP_LITERAL, Constant Field Values

CO_SOURCE_LITERAL

public static final ControlOption CO_SOURCE_LITERAL
The 'CO SOURCE' literal object.

See Also:
CO_SOURCE

CO_NOSOURCE_LITERAL

public static final ControlOption CO_NOSOURCE_LITERAL
The 'CO NOSOURCE' literal object.

See Also:
CO_NOSOURCE

CO_LIST_LITERAL

public static final ControlOption CO_LIST_LITERAL
The 'CO LIST' literal object.

See Also:
CO_LIST

CO_NOLIST_LITERAL

public static final ControlOption CO_NOLIST_LITERAL
The 'CO NOLIST' literal object.

See Also:
CO_NOLIST

CO_MAP_LITERAL

public static final ControlOption CO_MAP_LITERAL
The 'CO MAP' literal object.

See Also:
CO_MAP

CO_NOMAP_LITERAL

public static final ControlOption CO_NOMAP_LITERAL
The 'CO NOMAP' literal object.

See Also:
CO_NOMAP

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Control Option' enumerators.

Method Detail

get

public static ControlOption get(java.lang.String literal)
Returns the 'Control Option' literal with the specified literal value.


getByName

public static ControlOption getByName(java.lang.String name)
Returns the 'Control Option' literal with the specified name.


get

public static ControlOption get(int value)
Returns the 'Control Option' literal with the specified integer value.