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

All Superinterfaces:
AbstractDataItem, ASTNode, org.eclipse.emf.ecore.EObject, NamedElement, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
AddressingItem, AlphabeticItem, AlphaNumericEditedItem, AlphaNumericItem, DBCSItem, ElementaryDataItem, FixedTableDataItem, FuncPtrItem, GroupDataItem, NumericEditedItem, NumericItem, ObjectReferenceItem, PointerItem, ProcPtrItem, TableDataItem, UnicodeEditedItem, UnicodeItem, VariableTableDataItem

public interface DataItem
extends AbstractDataItem

A representation of a data description entry in the data division. For FILLER data items, the name is null.

The following features are supported:

See Also:
COBOLPackage.getDataItem()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.List getConditions()
          Returns the value of the 'Conditions' containment reference list.
 com.ibm.etools.cobol.application.model.cobol.CopybookItem getCopiedFrom()
           
 java.lang.String getCopiedFromUniqueID()
           
 LiteralTypedValue getInitialValue()
          Returns the value of the 'Initial Value' containment reference.
 int getLevel()
          Returns the value of the 'Level' attribute.
 int getMaxOffsetWithinParent()
           
 int getMaxSize()
           
 DataItem getRedefines()
          Returns the value of the 'Redefines' reference.
 boolean isIsFiller()
          Returns the value of the 'Is Filler' attribute.
 void setCopiedFrom(com.ibm.etools.cobol.application.model.cobol.CopybookItem value)
           
 void setCopiedFromUniqueID(java.lang.String value)
           
 void setInitialValue(LiteralTypedValue value)
          Sets the value of the 'Initial Value' containment reference.
 void setIsFiller(boolean value)
          Sets the value of the 'Is Filler' attribute.
 void setLevel(int value)
          Sets the value of the 'Level' attribute.
 void setMaxOffsetWithinParent(int value)
           
 void setMaxSize(int value)
           
 void setRedefines(DataItem value)
          Sets the value of the 'Redefines' reference.
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.NamedElement
getName, setName
 
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

getLevel

int getLevel()
Returns the value of the 'Level' attribute.

Returns:
the value of the 'Level' attribute.
See Also:
setLevel(int), COBOLPackage.getDataItem_Level()

setLevel

void setLevel(int value)
Sets the value of the 'Level' attribute.

Parameters:
value - the new value of the 'Level' attribute.
See Also:
getLevel()

isIsFiller

boolean isIsFiller()
Returns the value of the 'Is Filler' attribute.

The value is true if FILLER is the name of the data item; false otherwise.

Returns:
the value of the 'Is Filler' attribute.
See Also:
setIsFiller(boolean), COBOLPackage.getDataItem_IsFiller()

setIsFiller

void setIsFiller(boolean value)
Sets the value of the 'Is Filler' attribute.

Parameters:
value - the new value of the 'Is Filler' attribute.
See Also:
isIsFiller()

getRedefines

DataItem getRedefines()
Returns the value of the 'Redefines' reference.

The value is the data item specified in the REDEFINES clause.

Returns:
the value of the 'Redefines' reference.
See Also:
setRedefines(DataItem), COBOLPackage.getDataItem_Redefines()

setRedefines

void setRedefines(DataItem value)
Sets the value of the 'Redefines' reference.

Parameters:
value - the new value of the 'Redefines' reference.
See Also:
getRedefines()

getConditions

java.util.List getConditions()
Returns the value of the 'Conditions' containment reference list. The list contents are of type Level88Item.

The list contents are the level 88 data items subordinate to this data item.

Returns:
the value of the 'Conditions' containment reference list.
See Also:
COBOLPackage.getDataItem_Conditions()

getInitialValue

LiteralTypedValue getInitialValue()
Returns the value of the 'Initial Value' containment reference.

The value is the literal specified in the VALUE clause.

Returns:
the value of the 'Initial Value' containment reference.
See Also:
setInitialValue(LiteralTypedValue), COBOLPackage.getDataItem_InitialValue()

setInitialValue

void setInitialValue(LiteralTypedValue value)
Sets the value of the 'Initial Value' containment reference.

Parameters:
value - the new value of the 'Initial Value' containment reference.
See Also:
getInitialValue()

getCopiedFrom

com.ibm.etools.cobol.application.model.cobol.CopybookItem getCopiedFrom()

setCopiedFrom

void setCopiedFrom(com.ibm.etools.cobol.application.model.cobol.CopybookItem value)

getCopiedFromUniqueID

java.lang.String getCopiedFromUniqueID()

setCopiedFromUniqueID

void setCopiedFromUniqueID(java.lang.String value)

getMaxSize

int getMaxSize()

setMaxSize

void setMaxSize(int value)

getMaxOffsetWithinParent

int getMaxOffsetWithinParent()

setMaxOffsetWithinParent

void setMaxOffsetWithinParent(int value)