Package com.powsybl.sld.model
Interface Cell
-
- All Known Subinterfaces:
BusCell
- All Known Implementing Classes:
AbstractBusCell
,AbstractCell
,ExternCell
,InternCell
,ShuntCell
public interface Cell
- Author:
- Benoit Jeanson
, Nicolas Duchene, Geoffroy Jamgotchian , Franck Lecuyer
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Cell.CellType
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
addNodes(List<Node> nodesToAdd)
default void
blockSizing()
void
calculateCoord(LayoutParameters layoutParam)
double
calculateHeight(LayoutParameters layoutParam)
String
getFullId()
VoltageLevelGraph
getGraph()
String
getId()
List<Node>
getNodes()
int
getNumber()
Block
getRootBlock()
Cell.CellType
getType()
void
removeAllNodes(List<Node> nodeToRemove)
void
setNodes(List<Node> nodes)
void
setRootBlock(Block rootBlock)
void
setType(Cell.CellType type)
void
writeJson(com.fasterxml.jackson.core.JsonGenerator generator)
-
-
-
Method Detail
-
setType
void setType(Cell.CellType type)
-
getType
Cell.CellType getType()
-
getRootBlock
Block getRootBlock()
-
blockSizing
default void blockSizing()
-
setRootBlock
void setRootBlock(Block rootBlock)
-
getNumber
int getNumber()
-
calculateCoord
void calculateCoord(LayoutParameters layoutParam)
-
calculateHeight
double calculateHeight(LayoutParameters layoutParam)
-
writeJson
void writeJson(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
- Throws:
IOException
-
getId
String getId()
-
getFullId
String getFullId()
-
getGraph
VoltageLevelGraph getGraph()
-
-