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

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

public interface PerformStmt
extends Stmt

A representation of a PERFORM statement in the PROCEDURE division.

The following features are supported:

See Also:
COBOLPackage.getPerformStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 PerformBody getBody()
          Returns the value of the 'Body' containment reference.
 PerformIterationController getController()
          Returns the value of the 'Controller' containment reference.
 boolean isEndPerformUsed()
          Returns the value of the 'End Perform Used' attribute.
 void setBody(PerformBody value)
          Sets the value of the 'Body' containment reference.
 void setController(PerformIterationController value)
          Sets the value of the 'Controller' containment reference.
 void setEndPerformUsed(boolean value)
          Sets the value of the 'End Perform 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

getBody

PerformBody getBody()
Returns the value of the 'Body' containment reference.

The value is a representation of either the procedures or the imperative statements to be executed.

Returns:
the value of the 'Body' containment reference.
See Also:
setBody(PerformBody), COBOLPackage.getPerformStmt_Body()

setBody

void setBody(PerformBody value)
Sets the value of the 'Body' containment reference.

Parameters:
value - the new value of the 'Body' containment reference.
See Also:
getBody()

getController

PerformIterationController getController()
Returns the value of the 'Controller' containment reference.

Returns a representation of the part of a PERFORM statement that controls the execution.

Returns:
the value of the 'Controller' containment reference.
See Also:
setController(PerformIterationController), COBOLPackage.getPerformStmt_Controller()

setController

void setController(PerformIterationController value)
Sets the value of the 'Controller' containment reference.

Parameters:
value - the new value of the 'Controller' containment reference.
See Also:
getController()

isEndPerformUsed

boolean isEndPerformUsed()
Returns the value of the 'End Perform Used' attribute.

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

Returns:
the value of the 'End Perform Used' attribute.
See Also:
setEndPerformUsed(boolean), COBOLPackage.getPerformStmt_EndPerformUsed()

setEndPerformUsed

void setEndPerformUsed(boolean value)
Sets the value of the 'End Perform Used' attribute.

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