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

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

public interface ArithOperand
extends ASTNode

A representation of a data item used in an arithmetic statement, optionally followed by the ROUNDED keyword.

The following features are supported:

See Also:
COBOLPackage.getArithOperand()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 DataRef getRef()
          Returns the value of the 'Ref' containment reference.
 boolean isRounded()
          Returns the value of the 'Rounded' attribute.
 void setRef(DataRef value)
          Sets the value of the 'Ref' containment reference.
 void setRounded(boolean value)
          Sets the value of the 'Rounded' 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

getRef

DataRef getRef()
Returns the value of the 'Ref' containment reference.

The value is a reference to a data item in an arithmetic statement.

Returns:
the value of the 'Ref' containment reference.
See Also:
setRef(DataRef), COBOLPackage.getArithOperand_Ref()

setRef

void setRef(DataRef value)
Sets the value of the 'Ref' containment reference.

Parameters:
value - the new value of the 'Ref' containment reference.
See Also:
getRef()

isRounded

boolean isRounded()
Returns the value of the 'Rounded' attribute.

The value is true if the ROUNDED keyword is present; false otherwise.

Returns:
the value of the 'Rounded' attribute.
See Also:
setRounded(boolean), COBOLPackage.getArithOperand_Rounded()

setRounded

void setRounded(boolean value)
Sets the value of the 'Rounded' attribute.

Parameters:
value - the new value of the 'Rounded' attribute.
See Also:
isRounded()