Package com.powsybl.sld.model.cells
Class ExternCell
- java.lang.Object
-
- com.powsybl.sld.model.cells.AbstractCell
-
- com.powsybl.sld.model.cells.AbstractBusCell
-
- com.powsybl.sld.model.cells.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.cells.Cell
Cell.CellType
-
-
Field Summary
-
Fields inherited from class com.powsybl.sld.model.cells.AbstractCell
nodes
-
-
Constructor Summary
Constructors Constructor Description ExternCell(int cellNumber, Collection<Node> nodes, List<ShuntCell> shuntCells)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(CellVisitor cellVisitor)
void
addShuntCell(ShuntCell shuntCell)
List<ShuntCell>
getShuntCells()
boolean
isShunted()
int
newHPosition(int hPosition)
void
organizeBlockDirections()
void
setDirection(Direction direction)
String
toString()
-
Methods inherited from class com.powsybl.sld.model.cells.AbstractBusCell
blocksSetting, getBusNodes, getDirection, getLegPrimaryBlocks, getOrder, removeOrder, setOrder, writeJsonContent
-
Methods inherited from class com.powsybl.sld.model.cells.AbstractCell
getFullId, getId, getNodes, getNumber, getRootBlock, getType, 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.cells.Cell
blockSizing, getFullId, getId, getNodes, getNumber, getRootBlock, getType, setRootBlock, setType, writeJson
-
-
-
-
Constructor Detail
-
ExternCell
public ExternCell(int cellNumber, Collection<Node> nodes, List<ShuntCell> shuntCells)
-
-
Method Detail
-
organizeBlockDirections
public void organizeBlockDirections()
-
accept
public void accept(CellVisitor cellVisitor)
-
newHPosition
public int newHPosition(int hPosition)
-
isShunted
public boolean isShunted()
-
addShuntCell
public void addShuntCell(ShuntCell shuntCell)
-
toString
public String toString()
- Overrides:
toString
in classAbstractBusCell
-
setDirection
public void setDirection(Direction direction)
- Specified by:
setDirection
in interfaceBusCell
- Overrides:
setDirection
in classAbstractBusCell
-
-