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

Interface SetSwitchesClause

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


    public interface SetSwitchesClause
    extends ASTNode
    A representation of a clause in a SET statement.

    The following features are supported:

    See Also:
    COBOLPackage.getSetSwitchesClause()
    • Method Detail

      • getSwitches

        java.util.List getSwitches()
        Returns the value of the 'Switches' containment reference list. The list contents are of type UPSISwitchRef.

        The list contains references to UPSI switches.

        Returns:
        the value of the 'Switches' containment reference list.
        See Also:
        COBOLPackage.getSetSwitchesClause_Switches()
      • isOn

        boolean isOn()
        Returns the value of the 'On' attribute.

        The value is true if the ON keyword is present; false if the OFF keyword is present.

        Returns:
        the value of the 'On' attribute.
        See Also:
        setOn(boolean), COBOLPackage.getSetSwitchesClause_On()
      • setOn

        void setOn(boolean value)
        Sets the value of the 'On' attribute.
        Parameters:
        value - the new value of the 'On' attribute.
        See Also:
        isOn()