Package com.powsybl.sld.model
Class ExternCell
- java.lang.Object
-
- com.powsybl.sld.model.AbstractCell
-
- com.powsybl.sld.model.AbstractBusCell
-
- com.powsybl.sld.model.ExternCell
-
public class ExternCell extends AbstractBusCell
- Author:
- Benoit Jeanson
, Nicolas Duchene, Geoffroy Jamgotchian
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.sld.model.BusCell
BusCell.Direction
-
Nested classes/interfaces inherited from interface com.powsybl.sld.model.Cell
Cell.CellType
-
-
Field Summary
-
Fields inherited from class com.powsybl.sld.model.AbstractCell
nodes
-
-
Constructor Summary
Constructors Constructor Description ExternCell(VoltageLevelGraph graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOrder()
ShuntCell
getShuntCell()
boolean
isShunted()
int
newHPosition(int hPosition)
void
orderFromFeederOrders()
void
organizeBlockDirections()
void
setDirection(BusCell.Direction direction)
void
setOrder(int order)
void
setShuntCell(ShuntCell shuntCell)
String
toString()
protected void
writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator)
-
Methods inherited from class com.powsybl.sld.model.AbstractBusCell
blocksSetting, calculateCoord, calculateHeight, getBusNodes, getDirection, getLegPrimaryBlocks
-
Methods inherited from class com.powsybl.sld.model.AbstractCell
addNodes, getFullId, getGraph, getId, getNodes, getNumber, getRootBlock, getType, removeAllNodes, setNodes, setRootBlock, setType, writeJson
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.powsybl.sld.model.Cell
addNodes, blockSizing, getFullId, getGraph, getId, getNodes, getNumber, getRootBlock, getType, removeAllNodes, setNodes, setRootBlock, setType, writeJson
-
-
-
-
Constructor Detail
-
ExternCell
public ExternCell(VoltageLevelGraph graph)
-
-
Method Detail
-
orderFromFeederOrders
public void orderFromFeederOrders()
-
organizeBlockDirections
public void organizeBlockDirections()
-
newHPosition
public int newHPosition(int hPosition)
-
isShunted
public boolean isShunted()
-
getShuntCell
public ShuntCell getShuntCell()
-
setShuntCell
public void setShuntCell(ShuntCell shuntCell)
-
getOrder
public int getOrder()
-
setOrder
public void setOrder(int order)
-
toString
public String toString()
- Overrides:
toString
in classAbstractBusCell
-
setDirection
public void setDirection(BusCell.Direction direction)
- Specified by:
setDirection
in interfaceBusCell
- Overrides:
setDirection
in classAbstractBusCell
-
writeJsonContent
protected void writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
- Overrides:
writeJsonContent
in classAbstractBusCell
- Throws:
IOException
-
-