Interface IvmlGraphMapper.IvmlGraphNode
-
- All Superinterfaces:
IvmlGraphMapper.IvmlGraphElement
- All Known Implementing Classes:
ConfigurationAas.IipNode,DefaultNode
- Enclosing interface:
- IvmlGraphMapper
public static interface IvmlGraphMapper.IvmlGraphNode extends IvmlGraphMapper.IvmlGraphElement
Represents a graph node.- Author:
- Holger Eichelberger, SSE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddEdge(IvmlGraphMapper.IvmlGraphEdge edge)Adds an incoming/outgoing edge to this node.intgetHeight()Returns the height of the node.java.lang.StringgetImpl()Returns the configured name the implementing service.intgetInEdgesCount()Returns the number of edges ending at this node.intgetOutEdgesCount()Returns the number of edges starting at this node.intgetWidth()Returns the width of the node.intgetXPos()Returns the left position of the node.intgetYPos()Returns the top position of the node.java.lang.Iterable<? extends IvmlGraphMapper.IvmlGraphEdge>inEdges()Returns the edges ending at this node.java.lang.Iterable<? extends IvmlGraphMapper.IvmlGraphEdge>outEdges()Returns the edges starting at this node.voidsetHeight(int height)Changes the height of the node.voidsetImpl(java.lang.String impl)Changes the IVML variable name of the implementing service.voidsetWidth(int width)Changes the width of the node.voidsetXPos(int xPos)Changes the left position of the node.voidsetYPos(int yPos)Changes the top position of the node.-
Methods inherited from interface de.iip_ecosphere.platform.configuration.ivml.IvmlGraphMapper.IvmlGraphElement
getName, getVariable, setName
-
-
-
-
Method Detail
-
getXPos
int getXPos()
Returns the left position of the node. May be ignored by the graph reader/writer.- Returns:
- the left position, invalid if negative
-
getYPos
int getYPos()
Returns the top position of the node. May be ignored by the graph reader/writer.- Returns:
- the top position, invalid if negative
-
getWidth
int getWidth()
Returns the width of the node. May be ignored by the graph reader/writer.- Returns:
- the width, invalid if negative
-
getHeight
int getHeight()
Returns the height of the node. May be ignored by the graph reader/writer.- Returns:
- the height, invalid if negative
-
getImpl
java.lang.String getImpl()
Returns the configured name the implementing service. Fallback if not given isIvmlGraphMapper.IvmlGraphElement.getName().- Returns:
- the variable name
-
setXPos
void setXPos(int xPos)
Changes the left position of the node. May be ignored by the graph reader/writer.- Parameters:
xPos- the left position, invalid if negative
-
setYPos
void setYPos(int yPos)
Changes the top position of the node. May be ignored by the graph reader/writer.- Parameters:
yPos- the left position, invalid if negative
-
setWidth
void setWidth(int width)
Changes the width of the node. May be ignored by the graph reader/writer.- Parameters:
width- the width of the node, invalid if negative
-
setHeight
void setHeight(int height)
Changes the height of the node. May be ignored by the graph reader/writer.- Parameters:
height- the height of the node, invalid if negative
-
addEdge
void addEdge(IvmlGraphMapper.IvmlGraphEdge edge)
Adds an incoming/outgoing edge to this node.- Parameters:
edge- the edge
-
setImpl
void setImpl(java.lang.String impl)
Changes the IVML variable name of the implementing service.- Parameters:
impl- changes the variable name
-
inEdges
java.lang.Iterable<? extends IvmlGraphMapper.IvmlGraphEdge> inEdges()
Returns the edges ending at this node.- Returns:
- the edges
-
getInEdgesCount
int getInEdgesCount()
Returns the number of edges ending at this node.- Returns:
- the number of in-edges
-
outEdges
java.lang.Iterable<? extends IvmlGraphMapper.IvmlGraphEdge> outEdges()
Returns the edges starting at this node.- Returns:
- the edges
-
getOutEdgesCount
int getOutEdgesCount()
Returns the number of edges starting at this node.- Returns:
- the number of out-edges
-
-