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

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

public interface DataSubscript
extends TableSubscript

A representation of a data item used as a table subscript.

The following features are supported:

See Also:
COBOLPackage.getDataSubscript()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 AbstractDataItem getDataItem()
          Deprecated. Use getDataRef().

 DataRef getDataRef()
          Returns the value of the 'Data Ref' containment reference.
 int getOffset()
          Returns the value of the 'Offset' attribute.
 void setDataItem(AbstractDataItem value)
          Deprecated. Use setDataRef(DataRef).
 void setDataRef(DataRef value)
          Sets the value of the 'Data Ref' containment reference.
 void setOffset(int value)
          Sets the value of the 'Offset' 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

getDataItem

AbstractDataItem getDataItem()
Deprecated. Use getDataRef().

Returns the value of the 'Data Item' reference.

Returns:
the value of the 'Data Item' reference.
See Also:
setDataItem(AbstractDataItem), COBOLPackage.getDataSubscript_DataItem()

setDataItem

void setDataItem(AbstractDataItem value)
Deprecated. Use setDataRef(DataRef).

Sets the value of the 'Data Item' reference.

Parameters:
value - the new value of the 'Data Item' reference.
See Also:
getDataItem()

getOffset

int getOffset()
Returns the value of the 'Offset' attribute.

Returns:
the value of the 'Offset' attribute.
See Also:
setOffset(int), COBOLPackage.getDataSubscript_Offset()

setOffset

void setOffset(int value)
Sets the value of the 'Offset' attribute.

Parameters:
value - the new value of the 'Offset' attribute.
See Also:
getOffset()

getDataRef

DataRef getDataRef()
Returns the value of the 'Data Ref' containment reference.

The value is a representation of the reference to a data item.

Returns:
the value of the 'Data Ref' containment reference.
See Also:
setDataRef(DataRef), COBOLPackage.getDataSubscript_DataRef()

setDataRef

void setDataRef(DataRef value)
Sets the value of the 'Data Ref' containment reference.

Parameters:
value - the new value of the 'Data Ref' containment reference.
See Also:
getDataRef()