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

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

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

A representation of the recording modes specified in the RECORDING MODE clause of a file description entry. This includes a representation of the literals of the enumeration 'Recording Mode', and utility methods for working with them.

See Also:
COBOLPackage.getRecordingMode(), Serialized Form

Field Summary
static java.lang.String copyright
           
static int RM_F
          The 'RM F' literal value.
static RecordingMode RM_F_LITERAL
          The 'RM F' literal object.
static int RM_S
          The 'RM S' literal value.
static RecordingMode RM_S_LITERAL
          The 'RM S' literal object.
static int RM_U
          The 'RM U' literal value.
static RecordingMode RM_U_LITERAL
          The 'RM U' literal object.
static int RM_V
          The 'RM V' literal value.
static RecordingMode RM_V_LITERAL
          The 'RM V' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Recording Mode' enumerators.
 
Method Summary
static RecordingMode get(int value)
          Returns the 'Recording Mode' literal with the specified integer value.
static RecordingMode get(java.lang.String literal)
          Returns the 'Recording Mode' literal with the specified literal value.
static RecordingMode getByName(java.lang.String name)
          Returns the 'Recording 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

RM_F

public static final int RM_F
The 'RM F' literal value.

Recording mode F (fixed)

See Also:
RM_F_LITERAL, Constant Field Values

RM_V

public static final int RM_V
The 'RM V' literal value.

Recording mode V (variable)

See Also:
RM_V_LITERAL, Constant Field Values

RM_U

public static final int RM_U
The 'RM U' literal value.

Recording mode U (fixed or variable)

See Also:
RM_U_LITERAL, Constant Field Values

RM_S

public static final int RM_S
The 'RM S' literal value.

Recording mode S (spanned)

See Also:
RM_S_LITERAL, Constant Field Values

RM_F_LITERAL

public static final RecordingMode RM_F_LITERAL
The 'RM F' literal object.

See Also:
RM_F

RM_V_LITERAL

public static final RecordingMode RM_V_LITERAL
The 'RM V' literal object.

See Also:
RM_V

RM_U_LITERAL

public static final RecordingMode RM_U_LITERAL
The 'RM U' literal object.

See Also:
RM_U

RM_S_LITERAL

public static final RecordingMode RM_S_LITERAL
The 'RM S' literal object.

See Also:
RM_S

VALUES

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

Method Detail

get

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


getByName

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


get

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