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

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

public interface AddCorrStmt
extends AddStmt

A representation of an ADD statement with a CORRESPONDING phrase.

The following features are supported:

See Also:
COBOLPackage.getAddCorrStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 DataRef getAdd()
          Returns the value of the 'Add' containment reference.
 ArithOperand getTo()
          Returns the value of the 'To' containment reference.
 void setAdd(DataRef value)
          Sets the value of the 'Add' containment reference.
 void setTo(ArithOperand value)
          Sets the value of the 'To' containment reference.
 
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

getAdd

DataRef getAdd()
Returns the value of the 'Add' containment reference.

The value is the data item specified before the TO keyword.

Returns:
the value of the 'Add' containment reference.
See Also:
setAdd(DataRef), COBOLPackage.getAddCorrStmt_Add()

setAdd

void setAdd(DataRef value)
Sets the value of the 'Add' containment reference.

Parameters:
value - the new value of the 'Add' containment reference.
See Also:
getAdd()

getTo

ArithOperand getTo()
Returns the value of the 'To' containment reference.

The value is the data item specified after the TO keyword.

Returns:
the value of the 'To' containment reference.
See Also:
setTo(ArithOperand), COBOLPackage.getAddCorrStmt_To()

setTo

void setTo(ArithOperand value)
Sets the value of the 'To' containment reference.

Parameters:
value - the new value of the 'To' containment reference.
See Also:
getTo()