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

Class OpenMode

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

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