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

Class FileAccessMode

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

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