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

Interface UPSISwitch

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


    public interface UPSISwitch
    extends ASTNode
    A representation of a UPSI switch specified in the SPECIAL-NAMES paragraph.

    The following features are supported:

    See Also:
    COBOLPackage.getUPSISwitch()
    • Method Detail

      • getBit

        UPSISwitchBit getBit()
        Returns the value of the 'Bit' attribute. The literals are from the enumeration UPSISwitchBit.

        The value is a representation of the environment name of the switch.

        Returns:
        the value of the 'Bit' attribute.
        See Also:
        UPSISwitchBit, setBit(UPSISwitchBit), COBOLPackage.getUPSISwitch_Bit()
      • getName

        java.lang.String getName()
        Returns the value of the 'Name' attribute.

        The value is the mnemonic name of the switch.

        Returns:
        the value of the 'Name' attribute.
        See Also:
        setName(String), COBOLPackage.getUPSISwitch_Name()
      • setName

        void setName(java.lang.String value)
        Sets the value of the 'Name' attribute.
        Parameters:
        value - the new value of the 'Name' attribute.
        See Also:
        getName()
      • getOnCondition

        SwitchStatusCondition getOnCondition()
        Returns the value of the 'On Condition' containment reference.

        The value is a representation of the name of the ON STATUS condition.

        Returns:
        the value of the 'On Condition' containment reference.
        See Also:
        setOnCondition(SwitchStatusCondition), COBOLPackage.getUPSISwitch_OnCondition()
      • getOffCondition

        SwitchStatusCondition getOffCondition()
        Returns the value of the 'Off Condition' containment reference.

        The value is a representation of the name of the OFF STATUS condition.

        Returns:
        the value of the 'Off Condition' containment reference.
        See Also:
        setOffCondition(SwitchStatusCondition), COBOLPackage.getUPSISwitch_OffCondition()