com.ibm.etools.cobol.application.model.cobol
Interface MemorySize

All Superinterfaces:
ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier

public interface MemorySize
extends ASTNode

A representation of the MEMORY SIZE clause in the OBJECT-COMPUTER paragraph in the environment division.

The following features are supported:

See Also:
COBOLPackage.getMemorySize()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 int getSize()
          Returns the value of the 'Size' attribute.
 MemorySizeUnit getUnit()
          Returns the value of the 'Unit' attribute.
 void setSize(int value)
          Sets the value of the 'Size' attribute.
 void setUnit(MemorySizeUnit value)
          Sets the value of the 'Unit' attribute.
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.ASTNode
getBeginColumn, getBeginFile, getBeginLine, getEndColumn, getEndFile, getEndLine, getParent, getTag, setBeginColumn, setBeginFile, setBeginLine, setEndColumn, setEndFile, setEndLine, setParent, setTag
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getSize

int getSize()
Returns the value of the 'Size' attribute.

Returns:
the value of the 'Size' attribute.
See Also:
setSize(int), COBOLPackage.getMemorySize_Size()

setSize

void setSize(int value)
Sets the value of the 'Size' attribute.

Parameters:
value - the new value of the 'Size' attribute.
See Also:
getSize()

getUnit

MemorySizeUnit getUnit()
Returns the value of the 'Unit' attribute. The literals are from the enumeration MemorySizeUnit.

The value is either WORDS, CHARACTERS, or MODULES.

Returns:
the value of the 'Unit' attribute.
See Also:
MemorySizeUnit, setUnit(MemorySizeUnit), COBOLPackage.getMemorySize_Unit()

setUnit

void setUnit(MemorySizeUnit value)
Sets the value of the 'Unit' attribute.

Parameters:
value - the new value of the 'Unit' attribute.
See Also:
MemorySizeUnit, getUnit()