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

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

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

A representation of either NEXT or no direction specified in a READ statement. This includes the literals of the enumeration 'Read Direction', and utility methods for working with them.

See Also:
COBOLPackage.getReadDirection(), Serialized Form

Field Summary
static java.lang.String copyright
           
static int READSEQDIR_NEXT
          The 'READSEQDIR NEXT' literal value.
static ReadDirection READSEQDIR_NEXT_LITERAL
          The 'READSEQDIR NEXT' literal object.
static int READSEQDIR_NONE
          The 'READSEQDIR NONE' literal value.
static ReadDirection READSEQDIR_NONE_LITERAL
          The 'READSEQDIR NONE' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Read Direction' enumerators.
 
Method Summary
static ReadDirection get(int value)
          Returns the 'Read Direction' literal with the specified integer value.
static ReadDirection get(java.lang.String literal)
          Returns the 'Read Direction' literal with the specified literal value.
static ReadDirection getByName(java.lang.String name)
          Returns the 'Read Direction' 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

READSEQDIR_NONE

public static final int READSEQDIR_NONE
The 'READSEQDIR NONE' literal value.

This value can be used to indicate that no direction was specified in a read statement.

See Also:
READSEQDIR_NONE_LITERAL, Constant Field Values

READSEQDIR_NEXT

public static final int READSEQDIR_NEXT
The 'READSEQDIR NEXT' literal value.

Representation of NEXT.

See Also:
READSEQDIR_NEXT_LITERAL, Constant Field Values

READSEQDIR_NONE_LITERAL

public static final ReadDirection READSEQDIR_NONE_LITERAL
The 'READSEQDIR NONE' literal object.

See Also:
READSEQDIR_NONE

READSEQDIR_NEXT_LITERAL

public static final ReadDirection READSEQDIR_NEXT_LITERAL
The 'READSEQDIR NEXT' literal object.

See Also:
READSEQDIR_NEXT

VALUES

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

Method Detail

get

public static ReadDirection get(java.lang.String literal)
Returns the 'Read Direction' literal with the specified literal value.


getByName

public static ReadDirection getByName(java.lang.String name)
Returns the 'Read Direction' literal with the specified name.


get

public static ReadDirection get(int value)
Returns the 'Read Direction' literal with the specified integer value.