Package com.powsybl.sld.model.nodes
Class EquipmentNode
- java.lang.Object
-
- com.powsybl.sld.model.nodes.AbstractNode
-
- com.powsybl.sld.model.nodes.EquipmentNode
-
- All Implemented Interfaces:
Node
- Direct Known Subclasses:
BusNode
,FeederNode
,Internal2WTNode
,MiddleTwtNode
,SwitchNode
public class EquipmentNode extends AbstractNode
- Author:
- Florian Dupuy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.sld.model.nodes.Node
Node.NodeType
-
-
Constructor Summary
Constructors Constructor Description EquipmentNode(Node.NodeType type, String id, String name, String equipmentId, String componentTypeName, boolean fictitious)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEquipmentId()
String
getName()
String
toString()
protected void
writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator, boolean includeCoordinates)
-
Methods inherited from class com.powsybl.sld.model.nodes.AbstractNode
addAdjacentEdge, checkNodeSimilarity, defaultOrientation, getAdjacentEdges, getAdjacentNodes, getCardinality, getComponentType, getCoordinates, getDirection, getId, getLabel, getOrder, getOrientation, getType, getX, getY, isFictitious, removeAdjacentEdge, removeOrder, setCoordinates, setCoordinates, setDirection, setLabel, setOrder, setOrientation, setOrientationFromBlock, setType, setX, setY, similarToAFeederNode, writeJson
-
-
-
-
Constructor Detail
-
EquipmentNode
public EquipmentNode(Node.NodeType type, String id, String name, String equipmentId, String componentTypeName, boolean fictitious)
-
-
Method Detail
-
writeJsonContent
protected void writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator, boolean includeCoordinates) throws IOException
- Overrides:
writeJsonContent
in classAbstractNode
- Throws:
IOException
-
getName
public String getName()
-
getEquipmentId
public String getEquipmentId()
-
toString
public String toString()
- Overrides:
toString
in classAbstractNode
-
-