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

Class MemorySizeUnit

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


    public final class MemorySizeUnit
    extends org.eclipse.emf.common.util.AbstractEnumerator
    A representation of the possible values for the memory size unit in the MEMORY SIZE clause of the object computer paragraph in the environment division. The possible values are CHARACTERS, MODULES, and WORDS. This includes the literals of the enumeration 'Memory Size Unit', and utility methods for working with them.
    See Also:
    COBOLPackage.getMemorySizeUnit(), Serialized Form
    • Method Summary

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

      • MSU_WORD_LITERAL

        public static final MemorySizeUnit MSU_WORD_LITERAL
        The 'MSU WORD' literal object.
        See Also:
        MSU_WORD
      • MSU_CHARACTER_LITERAL

        public static final MemorySizeUnit MSU_CHARACTER_LITERAL
        The 'MSU CHARACTER' literal object.
        See Also:
        MSU_CHARACTER
      • MSU_MODULE_LITERAL

        public static final MemorySizeUnit MSU_MODULE_LITERAL
        The 'MSU MODULE' literal object.
        See Also:
        MSU_MODULE
      • VALUES

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

      • get

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

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

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