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

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

public interface SubtractFromGivingStmt
extends SubtractStmt

A representation of a SUBTRACT statement with FROM and GIVING clauses.

The following features are supported:

See Also:
COBOLPackage.getSubtractFromGivingStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 DataRefOrLiteral getFrom()
          Returns the value of the 'From' containment reference.
 java.util.List getGiving()
          Returns the value of the 'Giving' containment reference list.
 java.util.List getSumOf()
          Returns the value of the 'Sum Of' containment reference list.
 void setFrom(DataRefOrLiteral value)
          Sets the value of the 'From' containment reference.
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.SubtractStmt
isEndSubtractUsed, setEndSubtractUsed
 
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 FROM keyword.

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

getFrom

DataRefOrLiteral getFrom()
Returns the value of the 'From' containment reference.

The value is the data item or literal specified after the FROM keyword.

Returns:
the value of the 'From' containment reference.
See Also:
setFrom(DataRefOrLiteral), COBOLPackage.getSubtractFromGivingStmt_From()

setFrom

void setFrom(DataRefOrLiteral value)
Sets the value of the 'From' containment reference.

Parameters:
value - the new value of the 'From' containment reference.
See Also:
getFrom()

getGiving

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

The list contains the data items specified in the GIVING clause.

Returns:
the value of the 'Giving' containment reference list.
See Also:
COBOLPackage.getSubtractFromGivingStmt_Giving()