|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.util.AbstractEnumerator
com.ibm.etools.cobol.application.model.cobol.MemorySizeUnit
public final class MemorySizeUnit
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.
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 |
|---|
public static final java.lang.String copyright
public static final int MSU_WORD
The WORDS keyword in the MEMORY SIZE clause.
MSU_WORD_LITERAL,
Constant Field Valuespublic static final int MSU_CHARACTER
The CHARACTERS keyword in the MEMORY SIZE clause.
MSU_CHARACTER_LITERAL,
Constant Field Valuespublic static final int MSU_MODULE
The MODULES keyword in the MEMORY SIZE clause.
MSU_MODULE_LITERAL,
Constant Field Valuespublic static final MemorySizeUnit MSU_WORD_LITERAL
MSU_WORDpublic static final MemorySizeUnit MSU_CHARACTER_LITERAL
MSU_CHARACTERpublic static final MemorySizeUnit MSU_MODULE_LITERAL
MSU_MODULEpublic static final java.util.List VALUES
| Method Detail |
|---|
public static MemorySizeUnit get(java.lang.String literal)
public static MemorySizeUnit getByName(java.lang.String name)
public static MemorySizeUnit get(int value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||