Interface Switch

    • Method Detail

      • getVoltageLevel

        VoltageLevel getVoltageLevel()
        Get the parent voltage level.
        Returns:
        the parent voltage level
      • getKind

        SwitchKind getKind()
        Get the kind of switch.
      • isOpen

        boolean isOpen()
        Get the open status of the switch.

        Depends on the working variant.

        See Also:
        VariantManager
      • setOpen

        void setOpen​(boolean open)
        Change the switch status.

        Depends on the working variant.

        Parameters:
        open - the new switch status
        See Also:
        VariantManager
      • isRetained

        boolean isRetained()
        Get the retain status of the switch. A retained switch is a switch that will be part of the bus/breaker topology.
      • setRetained

        void setRetained​(boolean retained)
        Change the retain status of the switch. A retained switch is a switch that will be part of the bus/breaker topology.
        Parameters:
        retained - the retain status of the switch