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

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

public interface IndexSubscript
extends TableSubscript

A representation of a subscript that is an index variable.

The following features are supported:

See Also:
COBOLPackage.getIndexSubscript()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 IndexVariable getIndex()
          Returns the value of the 'Index' reference.
 int getOffset()
          Returns the value of the 'Offset' attribute.
 void setIndex(IndexVariable value)
          Sets the value of the 'Index' 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

getIndex

IndexVariable getIndex()
Returns the value of the 'Index' reference.

Returns:
the value of the 'Index' reference.
See Also:
setIndex(IndexVariable), COBOLPackage.getIndexSubscript_Index()

setIndex

void setIndex(IndexVariable value)
Sets the value of the 'Index' reference.

Parameters:
value - the new value of the 'Index' reference.
See Also:
getIndex()

getOffset

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

Returns:
the value of the 'Offset' attribute.
See Also:
setOffset(int), COBOLPackage.getIndexSubscript_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()