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

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

public interface AddToStmt
extends AddStmt

A representation of an ADD statement with a TO clause.

The following features are supported:

See Also:
COBOLPackage.getAddToStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.List getSumOf()
          Returns the value of the 'Sum Of' containment reference list.
 java.util.List getTo()
          Returns the value of the 'To' containment reference list.
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.AddStmt
isEndAddUsed, setEndAddUsed
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.ArithStmt
getNotOnSizeError, getOnSizeError
 
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

getSumOf

java.util.List getSumOf()
Returns the value of the 'Sum Of' containment reference list. The list contents are of type DataRefOrLiteral.

The list contains the data items or literals specified before the TO keyword.

Returns:
the value of the 'Sum Of' containment reference list.
See Also:
COBOLPackage.getAddToStmt_SumOf()

getTo

java.util.List getTo()
Returns the value of the 'To' containment reference list. The list contents are of type ArithOperand.

The list contains the data items specified after the TO keyword.

Returns:
the value of the 'To' containment reference list.
See Also:
COBOLPackage.getAddToStmt_To()