Interface Switch

All Superinterfaces:
Extendable<Switch>, Identifiable<Switch>

public interface Switch extends Identifiable<Switch>
A switch to connect equipments in a substation.
Author:
Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
  • Method Details

    • 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:
    • setOpen

      void setOpen(boolean open)
      Change the switch status.

      Depends on the working variant.

      Parameters:
      open - the new switch status
      See Also:
    • 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
    • getType

      default IdentifiableType getType()
      Description copied from interface: Identifiable
      Get identifiable type.
      Specified by:
      getType in interface Identifiable<Switch>
      Returns:
      the identifiable type