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

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

public interface EvaluateStmt
extends Stmt

A representation of an EVALUATE statement in the PROCEDURE division. The END-EVALUATE keyword is not represented in the model.

The following features are supported:

See Also:
COBOLPackage.getEvaluateStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.List getSubjects()
          Returns the value of the 'Subjects' containment reference list.
 java.util.List getWhenBlocks()
          Returns the value of the 'When Blocks' containment reference list.
 java.util.List getWhenOther()
          Returns the value of the 'When Other' containment reference list.
 boolean isEndEvaluateUsed()
          Returns the value of the 'End Evaluate Used' attribute.
 void setEndEvaluateUsed(boolean value)
          Sets the value of the 'End Evaluate Used' 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

getSubjects

java.util.List getSubjects()
Returns the value of the 'Subjects' containment reference list. The list contents are of type Expr.

The list contains the expressions before the WHEN phrases.

Returns:
the value of the 'Subjects' containment reference list.
See Also:
COBOLPackage.getEvaluateStmt_Subjects()

getWhenBlocks

java.util.List getWhenBlocks()
Returns the value of the 'When Blocks' containment reference list. The list contents are of type EvaluateWhenBlock.

Returns:
the value of the 'When Blocks' containment reference list.
See Also:
COBOLPackage.getEvaluateStmt_WhenBlocks()

getWhenOther

java.util.List getWhenOther()
Returns the value of the 'When Other' containment reference list. The list contents are of type Stmt.

The list contains the statements in the WHEN OTHER phrase.

Returns:
the value of the 'When Other' containment reference list.
See Also:
COBOLPackage.getEvaluateStmt_WhenOther()

isEndEvaluateUsed

boolean isEndEvaluateUsed()
Returns the value of the 'End Evaluate Used' attribute.

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

Returns:
the value of the 'End Evaluate Used' attribute.
See Also:
setEndEvaluateUsed(boolean), COBOLPackage.getEvaluateStmt_EndEvaluateUsed()

setEndEvaluateUsed

void setEndEvaluateUsed(boolean value)
Sets the value of the 'End Evaluate Used' attribute.

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