com.ibm.etools.cobol.application.model.cobol
Class MemorySizeUnit

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by 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

Field Summary
static java.lang.String copyright
           
static int MSU_CHARACTER
          The 'MSU CHARACTER' literal value.
static MemorySizeUnit MSU_CHARACTER_LITERAL
          The 'MSU CHARACTER' literal object.
static int MSU_MODULE
          The 'MSU MODULE' literal value.
static MemorySizeUnit MSU_MODULE_LITERAL
          The 'MSU MODULE' literal object.
static int MSU_WORD
          The 'MSU WORD' literal value.
static MemorySizeUnit MSU_WORD_LITERAL
          The 'MSU WORD' literal object.
static java.util.List VALUES
          A public read-only list of all the 'Memory Size Unit' enumerators.
 
Method Summary
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

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

MSU_WORD

public static final int MSU_WORD
The 'MSU WORD' literal value.

The WORDS keyword in the MEMORY SIZE clause.

See Also:
MSU_WORD_LITERAL, Constant Field Values

MSU_CHARACTER

public static final int MSU_CHARACTER
The 'MSU CHARACTER' literal value.

The CHARACTERS keyword in the MEMORY SIZE clause.

See Also:
MSU_CHARACTER_LITERAL, Constant Field Values

MSU_MODULE

public static final int MSU_MODULE
The 'MSU MODULE' literal value.

The MODULES keyword in the MEMORY SIZE clause.

See Also:
MSU_MODULE_LITERAL, Constant Field Values

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.