Package com.powsybl.sld.model.nodes
Class BusNode
- java.lang.Object
-
- com.powsybl.sld.model.nodes.AbstractNode
-
- com.powsybl.sld.model.nodes.EquipmentNode
-
- com.powsybl.sld.model.nodes.BusNode
-
- All Implemented Interfaces:
Node
public class BusNode extends EquipmentNode
- Author:
- Benoit Jeanson
, Nicolas Duchene, Geoffroy Jamgotchian , Franck Lecuyer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.sld.model.nodes.Node
Node.NodeType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Orientation
defaultOrientation()
int
getBusbarIndex()
Position
getPosition()
double
getPxWidth()
int
getSectionIndex()
void
setBusbarIndex(int busbarIndex)
void
setBusBarIndexSectionIndex(int busbarIndex, int sectionIndex)
void
setPosition(Position position)
void
setPxWidth(double widthBus)
void
setSectionIndex(int sectionIndex)
protected void
writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator, boolean includeCoordinates)
-
Methods inherited from class com.powsybl.sld.model.nodes.EquipmentNode
getEquipmentId, getName, toString
-
Methods inherited from class com.powsybl.sld.model.nodes.AbstractNode
addAdjacentEdge, checkNodeSimilarity, getAdjacentEdges, getAdjacentNodes, getCardinality, getComponentType, getCoordinates, getDirection, getId, getLabel, getOrder, getOrientation, getType, getX, getY, isFictitious, removeAdjacentEdge, removeOrder, setCoordinates, setCoordinates, setDirection, setLabel, setOrder, setOrientation, setType, setX, setY, similarToAFeederNode, writeJson
-
-
-
-
Method Detail
-
defaultOrientation
protected Orientation defaultOrientation()
- Overrides:
defaultOrientation
in classAbstractNode
-
getPxWidth
public double getPxWidth()
-
setPxWidth
public void setPxWidth(double widthBus)
-
getPosition
public Position getPosition()
-
setPosition
public void setPosition(Position position)
-
setBusBarIndexSectionIndex
public void setBusBarIndexSectionIndex(int busbarIndex, int sectionIndex)
-
getBusbarIndex
public int getBusbarIndex()
-
setBusbarIndex
public void setBusbarIndex(int busbarIndex)
-
getSectionIndex
public int getSectionIndex()
-
setSectionIndex
public void setSectionIndex(int sectionIndex)
-
writeJsonContent
protected void writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator, boolean includeCoordinates) throws IOException
- Overrides:
writeJsonContent
in classEquipmentNode
- Throws:
IOException
-
-