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

Interface SetAdjustIndicesStmt

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


    public interface SetAdjustIndicesStmt
    extends SetStmt
    A representation of SET statement for adjusting indices.

    The following features are supported:

    See Also:
    COBOLPackage.getSetAdjustIndicesStmt()
    • Method Detail

      • getIndices

        java.util.List getIndices()
        Returns the value of the 'Indices' reference list. The list contents are of type IndexVariable.

        The list contains the indices specified as receiving fields.

        Returns:
        the value of the 'Indices' reference list.
        See Also:
        COBOLPackage.getSetAdjustIndicesStmt_Indices()
      • isUp

        boolean isUp()
        Returns the value of the 'Up' attribute.

        The value is true if the UP keyword is present; false if the DOWN keyword is present.

        Returns:
        the value of the 'Up' attribute.
        See Also:
        setUp(boolean), COBOLPackage.getSetAdjustIndicesStmt_Up()
      • setUp

        void setUp(boolean value)
        Sets the value of the 'Up' attribute.
        Parameters:
        value - the new value of the 'Up' attribute.
        See Also:
        isUp()
      • getBy

        DataRefOrLiteral getBy()
        Returns the value of the 'By' containment reference.

        The value is the data item or literal after the BY keyword.

        Returns:
        the value of the 'By' containment reference.
        See Also:
        setBy(DataRefOrLiteral), COBOLPackage.getSetAdjustIndicesStmt_By()
      • setBy

        void setBy(DataRefOrLiteral value)
        Sets the value of the 'By' containment reference.
        Parameters:
        value - the new value of the 'By' containment reference.
        See Also:
        getBy()