Package com.powsybl.sld.model.nodes
Interface Node
-
- All Known Implementing Classes:
AbstractNode
,BusNode
,ConnectivityNode
,EquipmentNode
,FeederNode
,Middle2WTNode
,Middle3WTNode
,MiddleTwtNode
,SwitchNode
public interface Node
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Node.NodeType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAdjacentEdge(Edge e)
boolean
checkNodeSimilarity(Node n)
List<Edge>
getAdjacentEdges()
List<Node>
getAdjacentNodes()
int
getCardinality(VoltageLevelGraph vlGraph)
String
getComponentType()
Point
getCoordinates()
Direction
getDirection()
String
getId()
Optional<String>
getLabel()
Optional<Integer>
getOrder()
Orientation
getOrientation()
Node.NodeType
getType()
double
getX()
double
getY()
boolean
isFictitious()
void
removeAdjacentEdge(Edge e)
void
removeOrder()
void
setCoordinates(double x, double y)
void
setCoordinates(Point coord)
void
setDirection(Direction direction)
void
setLabel(String label)
void
setOrder(int order)
void
setOrientation(Orientation orientation)
void
setType(Node.NodeType type)
void
setX(double x)
void
setY(double y)
boolean
similarToAFeederNode(Node n)
void
writeJson(com.fasterxml.jackson.core.JsonGenerator generator, boolean includeCoordinates)
-
-
-
Method Detail
-
getComponentType
String getComponentType()
-
isFictitious
boolean isFictitious()
-
setType
void setType(Node.NodeType type)
-
getId
String getId()
-
setLabel
void setLabel(String label)
-
addAdjacentEdge
void addAdjacentEdge(Edge e)
-
removeAdjacentEdge
void removeAdjacentEdge(Edge e)
-
getCoordinates
Point getCoordinates()
-
setCoordinates
void setCoordinates(Point coord)
-
setCoordinates
void setCoordinates(double x, double y)
-
getX
double getX()
-
getY
double getY()
-
setX
void setX(double x)
-
setY
void setY(double y)
-
getType
Node.NodeType getType()
-
setOrder
void setOrder(int order)
-
removeOrder
void removeOrder()
-
getDirection
Direction getDirection()
-
setDirection
void setDirection(Direction direction)
-
getOrientation
Orientation getOrientation()
-
setOrientation
void setOrientation(Orientation orientation)
-
checkNodeSimilarity
boolean checkNodeSimilarity(Node n)
-
similarToAFeederNode
boolean similarToAFeederNode(Node n)
-
getCardinality
int getCardinality(VoltageLevelGraph vlGraph)
-
writeJson
void writeJson(com.fasterxml.jackson.core.JsonGenerator generator, boolean includeCoordinates) throws IOException
- Throws:
IOException
-
-