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

All Superinterfaces:
ArithStmt, ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, Stmt
All Known Subinterfaces:
DivideByGivingRemainderStmt, DivideByGivingSimpleStmt, DivideByGivingStmt, DivideIntoGivingRemainderStmt, DivideIntoGivingSimpleStmt, DivideIntoGivingStmt, DivideIntoSimpleStmt

public interface DivideStmt
extends ArithStmt

A representation of a DIVIDE statement in the PROCEDURE division.

The following features are supported:

See Also:
COBOLPackage.getDivideStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 DataRefOrLiteral getDivide()
          Returns the value of the 'Divide' containment reference.
 boolean isEndDivideUsed()
          Returns the value of the 'End Divide Used' attribute.
 void setDivide(DataRefOrLiteral value)
          Sets the value of the 'Divide' containment reference.
 void setEndDivideUsed(boolean value)
          Sets the value of the 'End Divide Used' attribute.
 
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

getDivide

DataRefOrLiteral getDivide()
Returns the value of the 'Divide' containment reference.

The value is the data item or literal specified before the INTO or BY keyword.

Returns:
the value of the 'Divide' containment reference.
See Also:
setDivide(DataRefOrLiteral), COBOLPackage.getDivideStmt_Divide()

setDivide

void setDivide(DataRefOrLiteral value)
Sets the value of the 'Divide' containment reference.

Parameters:
value - the new value of the 'Divide' containment reference.
See Also:
getDivide()

isEndDivideUsed

boolean isEndDivideUsed()
Returns the value of the 'End Divide Used' attribute.

The value is true if END-DIVIDE is present; false otherwise.

Returns:
the value of the 'End Divide Used' attribute.
See Also:
setEndDivideUsed(boolean), COBOLPackage.getDivideStmt_EndDivideUsed()

setEndDivideUsed

void setEndDivideUsed(boolean value)
Sets the value of the 'End Divide Used' attribute.

Parameters:
value - the new value of the 'End Divide Used' attribute.
See Also:
isEndDivideUsed()