public interface Switch extends Identifiable<Switch>
Modifier and Type | Method and Description |
---|---|
SwitchKind |
getKind()
Get the kind of switch.
|
VoltageLevel |
getVoltageLevel()
Get the parent voltage level.
|
boolean |
isOpen()
Get the open status of the switch.
|
boolean |
isRetained()
Get the retain status of the switch.
|
void |
setOpen(boolean open)
Change the switch status.
|
void |
setRetained(boolean retained)
Change the retain status of the switch.
|
addAlias, addAlias, getAliases, getAliasFromType, getAliasType, getId, getName, getNameOrId, getNetwork, getOptionalName, getProperties, getProperty, getProperty, getPropertyNames, hasAliases, hasProperty, hasProperty, isFictitious, removeAlias, setFictitious, setProperty
addExtension, getExtension, getExtensionByName, getExtensions, getImplementationName, newExtension, removeExtension
VoltageLevel getVoltageLevel()
SwitchKind getKind()
boolean isOpen()
Depends on the working variant.
VariantManager
void setOpen(boolean open)
Depends on the working variant.
open
- the new switch statusVariantManager
boolean isRetained()
void setRetained(boolean retained)
retained
- the retain status of the switchCopyright © 2020. All rights reserved.