com.ibm.etools.cobol.application.model.cobol

Interface RewriteStmt

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


    public interface RewriteStmt
    extends Stmt
    A representation of a REWRITE statement in the PROCEDURE division.

    The following features are supported:

    See Also:
    COBOLPackage.getRewriteStmt()
    • Method Detail

      • getRecord

        DataItem getRecord()
        Returns the value of the 'Record' reference.

        Returns:
        the value of the 'Record' reference.
        See Also:
        setRecord(DataItem), COBOLPackage.getRewriteStmt_Record()
      • setRecord

        void setRecord(DataItem value)
        Sets the value of the 'Record' reference.
        Parameters:
        value - the new value of the 'Record' reference.
        See Also:
        getRecord()
      • getFrom

        DataRef getFrom()
        Returns the value of the 'From' containment reference.

        Returns:
        the value of the 'From' containment reference.
        See Also:
        setFrom(DataRef), COBOLPackage.getRewriteStmt_From()
      • setFrom

        void setFrom(DataRef value)
        Sets the value of the 'From' containment reference.
        Parameters:
        value - the new value of the 'From' containment reference.
        See Also:
        getFrom()
      • getInvalidKey

        java.util.List getInvalidKey()
        Returns the value of the 'Invalid Key' containment reference list. The list contents are of type Stmt.

        The list contains the statements in the INVALID KEY phrase.

        Returns:
        the value of the 'Invalid Key' containment reference list.
        See Also:
        COBOLPackage.getRewriteStmt_InvalidKey()
      • getNotInvalidKey

        java.util.List getNotInvalidKey()
        Returns the value of the 'Not Invalid Key' containment reference list. The list contents are of type Stmt.

        The list contains the statements in the NOT INVALID KEY phrase.

        Returns:
        the value of the 'Not Invalid Key' containment reference list.
        See Also:
        COBOLPackage.getRewriteStmt_NotInvalidKey()
      • isEndRewriteUsed

        boolean isEndRewriteUsed()
        Returns the value of the 'End Rewrite Used' attribute.

        The value is true if END-REWRITE is used; false otherwise.

        Returns:
        the value of the 'End Rewrite Used' attribute.
        See Also:
        setEndRewriteUsed(boolean), COBOLPackage.getRewriteStmt_EndRewriteUsed()
      • setEndRewriteUsed

        void setEndRewriteUsed(boolean value)
        Sets the value of the 'End Rewrite Used' attribute.
        Parameters:
        value - the new value of the 'End Rewrite Used' attribute.
        See Also:
        isEndRewriteUsed()