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

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

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

A representation of the file access mode in file control entries. This includes the literals of the enumeration 'File Access Mode', and utility methods for working with them.

See Also:
COBOLPackage.getFileAccessMode(), Serialized Form

Field Summary
static java.lang.String copyright
           
static int FAM_DYNAMIC
          The 'FAM DYNAMIC' literal value.
static FileAccessMode FAM_DYNAMIC_LITERAL
          The 'FAM DYNAMIC' literal object.
static int FAM_RANDOM
          The 'FAM RANDOM' literal value.
static FileAccessMode FAM_RANDOM_LITERAL
          The 'FAM RANDOM' literal object.
static int FAM_SEQUENTIAL
          The 'FAM SEQUENTIAL' literal value.
static FileAccessMode FAM_SEQUENTIAL_LITERAL
          The 'FAM SEQUENTIAL' literal object.
static java.util.List VALUES
          A public read-only list of all the 'File Access Mode' enumerators.
 
Method Summary
static FileAccessMode get(int value)
          Returns the 'File Access Mode' literal with the specified integer value.
static FileAccessMode get(java.lang.String literal)
          Returns the 'File Access Mode' literal with the specified literal value.
static FileAccessMode getByName(java.lang.String name)
          Returns the 'File Access 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

FAM_SEQUENTIAL

public static final int FAM_SEQUENTIAL
The 'FAM SEQUENTIAL' literal value.

Represents SEQUENTIAL access mode.

See Also:
FAM_SEQUENTIAL_LITERAL, Constant Field Values

FAM_RANDOM

public static final int FAM_RANDOM
The 'FAM RANDOM' literal value.

Represents RANDOM access mode.

See Also:
FAM_RANDOM_LITERAL, Constant Field Values

FAM_DYNAMIC

public static final int FAM_DYNAMIC
The 'FAM DYNAMIC' literal value.

Represents DYNAMIC access mode.

See Also:
FAM_DYNAMIC_LITERAL, Constant Field Values

FAM_SEQUENTIAL_LITERAL

public static final FileAccessMode FAM_SEQUENTIAL_LITERAL
The 'FAM SEQUENTIAL' literal object.

See Also:
FAM_SEQUENTIAL

FAM_RANDOM_LITERAL

public static final FileAccessMode FAM_RANDOM_LITERAL
The 'FAM RANDOM' literal object.

See Also:
FAM_RANDOM

FAM_DYNAMIC_LITERAL

public static final FileAccessMode FAM_DYNAMIC_LITERAL
The 'FAM DYNAMIC' literal object.

See Also:
FAM_DYNAMIC

VALUES

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

Method Detail

get

public static FileAccessMode get(java.lang.String literal)
Returns the 'File Access Mode' literal with the specified literal value.


getByName

public static FileAccessMode getByName(java.lang.String name)
Returns the 'File Access Mode' literal with the specified name.


get

public static FileAccessMode get(int value)
Returns the 'File Access Mode' literal with the specified integer value.