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

Class BlockSizeUnit

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


    public final class BlockSizeUnit
    extends org.eclipse.emf.common.util.AbstractEnumerator
    A representation of the block size unit in a BLOCK CONTAINS clause in a file description entry. This includes the literals of the enumeration 'Block Size Unit', and utility methods for working with them.
    See Also:
    COBOLPackage.getBlockSizeUnit(), Serialized Form
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static BlockSizeUnit get(int value)
      Returns the 'Block Size Unit' literal with the specified integer value.
      static BlockSizeUnit get(java.lang.String literal)
      Returns the 'Block Size Unit' literal with the specified literal value.
      static BlockSizeUnit getByName(java.lang.String name)
      Returns the 'Block Size Unit' 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

      • BSU_CHARACTERS_LITERAL

        public static final BlockSizeUnit BSU_CHARACTERS_LITERAL
        The 'BSU CHARACTERS' literal object.
        See Also:
        BSU_CHARACTERS
      • BSU_RECORDS_LITERAL

        public static final BlockSizeUnit BSU_RECORDS_LITERAL
        The 'BSU RECORDS' literal object.
        See Also:
        BSU_RECORDS
      • VALUES

        public static final java.util.List VALUES
        A public read-only list of all the 'Block Size Unit' enumerators.
    • Method Detail

      • get

        public static BlockSizeUnit get(java.lang.String literal)
        Returns the 'Block Size Unit' literal with the specified literal value.
      • getByName

        public static BlockSizeUnit getByName(java.lang.String name)
        Returns the 'Block Size Unit' literal with the specified name.
      • get

        public static BlockSizeUnit get(int value)
        Returns the 'Block Size Unit' literal with the specified integer value.