Package com.powsybl.sld.model
Class AbstractBaseGraph
- java.lang.Object
-
- com.powsybl.sld.model.AbstractGraph
-
- com.powsybl.sld.model.AbstractLineGraph
-
- com.powsybl.sld.model.AbstractBaseGraph
-
- Direct Known Subclasses:
SubstationGraph
,VoltageLevelGraph
public abstract class AbstractBaseGraph extends AbstractLineGraph implements BaseGraph
- Author:
- Slimane Amar
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Node>
multiTermNodes
protected List<BranchEdge>
twtEdges
-
Constructor Summary
Constructors Constructor Description AbstractBaseGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMultiTermNode(Node node)
BranchEdge
addTwtEdge(FeederTwtLegNode legNode, MiddleTwtNode twtNode)
List<Node>
getMultiTermNodes()
List<BranchEdge>
getTwtEdges()
void
handleMultiTermsNodeRotation()
protected void
writeBranchFields(com.fasterxml.jackson.core.JsonGenerator generator)
-
Methods inherited from class com.powsybl.sld.model.AbstractLineGraph
addLineEdge, getLineEdges
-
Methods inherited from class com.powsybl.sld.model.AbstractGraph
getHeight, getWidth, isGenerateCoordsInJson, setGenerateCoordsInJson, setSize, writeJson, writeJson, writeJson
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.sld.model.Graph
getHeight, getId, getVLGraph, getWidth, isGenerateCoordsInJson, setGenerateCoordsInJson, writeJson, writeJson
-
Methods inherited from interface com.powsybl.sld.model.LineGraph
addLineEdge, getLineEdges
-
-
-
-
Field Detail
-
twtEdges
protected List<BranchEdge> twtEdges
-
-
Method Detail
-
getTwtEdges
public List<BranchEdge> getTwtEdges()
- Specified by:
getTwtEdges
in interfaceBaseGraph
-
getMultiTermNodes
public List<Node> getMultiTermNodes()
- Specified by:
getMultiTermNodes
in interfaceBaseGraph
-
addTwtEdge
public BranchEdge addTwtEdge(FeederTwtLegNode legNode, MiddleTwtNode twtNode)
- Specified by:
addTwtEdge
in interfaceBaseGraph
-
addMultiTermNode
public void addMultiTermNode(Node node)
- Specified by:
addMultiTermNode
in interfaceBaseGraph
-
writeBranchFields
protected void writeBranchFields(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
- Throws:
IOException
-
handleMultiTermsNodeRotation
public void handleMultiTermsNodeRotation()
-
-