Package com.powsybl.sld.model.nodes
Class SwitchNode
- java.lang.Object
-
- com.powsybl.sld.model.nodes.Node
-
- com.powsybl.sld.model.nodes.SwitchNode
-
public class SwitchNode extends Node
- Author:
- Benoit Jeanson
, Nicolas Duchene, Geoffroy Jamgotchian , Franck Lecuyer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SwitchNode.SwitchKind
-
Nested classes/interfaces inherited from class com.powsybl.sld.model.nodes.Node
Node.NodeType
-
-
Constructor Summary
Constructors Constructor Description SwitchNode(String id, String name, String componentType, boolean fictitious, SwitchNode.SwitchKind kind, boolean open)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SwitchNode.SwitchKind
getKind()
Node
getOtherAdjNode(Node adj)
protected void
writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator, boolean includeCoordinates)
-
Methods inherited from class com.powsybl.sld.model.nodes.Node
addAdjacentEdge, checkNodeSimilarity, defaultOrientation, getAdjacentEdges, getAdjacentNodes, getComponentType, getCoordinates, getDirection, getEquipmentId, getId, getLabel, getName, getOrder, getOrientation, getType, getX, getY, isFictitious, isOpen, removeAdjacentEdge, removeOrder, resetCoords, setCoordinates, setCoordinates, setDirection, setLabel, setOpen, setOrder, setOrientation, setType, setX, setY, shiftY, similarToAFeederNode, toString, writeJson
-
-
-
-
Constructor Detail
-
SwitchNode
public SwitchNode(String id, String name, String componentType, boolean fictitious, SwitchNode.SwitchKind kind, boolean open)
-
-
Method Detail
-
getKind
public SwitchNode.SwitchKind getKind()
-
writeJsonContent
protected void writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator, boolean includeCoordinates) throws IOException
- Overrides:
writeJsonContent
in classNode
- Throws:
IOException
-
-