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

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

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

A representation of the modes in an OPEN statement or EXCEPTION declarative. This includes the literals of the enumeration 'Open Mode', and utility methods for working with them.

See Also:
COBOLPackage.getOpenMode(), Serialized Form

Field Summary
static java.lang.String copyright
           
static int OPENMODE_EXTEND
          The 'OPENMODE EXTEND' literal value.
static OpenMode OPENMODE_EXTEND_LITERAL
          The 'OPENMODE EXTEND' literal object.
static int OPENMODE_INPUT
          The 'OPENMODE INPUT' literal value.
static OpenMode OPENMODE_INPUT_LITERAL
          The 'OPENMODE INPUT' literal object.
static int OPENMODE_IO
          The 'OPENMODE IO' literal value.
static OpenMode OPENMODE_IO_LITERAL
          The 'OPENMODE IO' literal object.
static int OPENMODE_OUTPUT
          The 'OPENMODE OUTPUT' literal value.
static OpenMode OPENMODE_OUTPUT_LITERAL
          The 'OPENMODE OUTPUT' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Open Mode' enumerators.
 
Method Summary
static OpenMode get(int value)
          Returns the 'Open Mode' literal with the specified integer value.
static OpenMode get(java.lang.String literal)
          Returns the 'Open Mode' literal with the specified literal value.
static OpenMode getByName(java.lang.String name)
          Returns the 'Open Mode' 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

OPENMODE_INPUT

public static final int OPENMODE_INPUT
The 'OPENMODE INPUT' literal value.

Representation of INPUT

See Also:
OPENMODE_INPUT_LITERAL, Constant Field Values

OPENMODE_OUTPUT

public static final int OPENMODE_OUTPUT
The 'OPENMODE OUTPUT' literal value.

Representation of OUTPUT

See Also:
OPENMODE_OUTPUT_LITERAL, Constant Field Values

OPENMODE_IO

public static final int OPENMODE_IO
The 'OPENMODE IO' literal value.

Representation of I-O

See Also:
OPENMODE_IO_LITERAL, Constant Field Values

OPENMODE_EXTEND

public static final int OPENMODE_EXTEND
The 'OPENMODE EXTEND' literal value.

Representation of EXTEND

See Also:
OPENMODE_EXTEND_LITERAL, Constant Field Values

OPENMODE_INPUT_LITERAL

public static final OpenMode OPENMODE_INPUT_LITERAL
The 'OPENMODE INPUT' literal object.

See Also:
OPENMODE_INPUT

OPENMODE_OUTPUT_LITERAL

public static final OpenMode OPENMODE_OUTPUT_LITERAL
The 'OPENMODE OUTPUT' literal object.

See Also:
OPENMODE_OUTPUT

OPENMODE_IO_LITERAL

public static final OpenMode OPENMODE_IO_LITERAL
The 'OPENMODE IO' literal object.

See Also:
OPENMODE_IO

OPENMODE_EXTEND_LITERAL

public static final OpenMode OPENMODE_EXTEND_LITERAL
The 'OPENMODE EXTEND' literal object.

See Also:
OPENMODE_EXTEND

VALUES

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

Method Detail

get

public static OpenMode get(java.lang.String literal)
Returns the 'Open Mode' literal with the specified literal value.


getByName

public static OpenMode getByName(java.lang.String name)
Returns the 'Open Mode' literal with the specified name.


get

public static OpenMode get(int value)
Returns the 'Open Mode' literal with the specified integer value.