com.ibm.etools.cobol.application.model.cobol

Class ReadDirection

  • java.lang.Object
    • org.eclipse.emf.common.util.AbstractEnumerator
      • 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
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      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

      • 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_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.