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()
    • 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()
      • 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()