Class DefaultEdge
- java.lang.Object
-
- de.iip_ecosphere.platform.configuration.ivml.DefaultGraphElement
-
- de.iip_ecosphere.platform.configuration.ivml.DefaultEdge
-
- All Implemented Interfaces:
IvmlGraphMapper.IvmlGraphEdge,IvmlGraphMapper.IvmlGraphElement
- Direct Known Subclasses:
ConfigurationAas.IipEdge
public class DefaultEdge extends DefaultGraphElement implements IvmlGraphMapper.IvmlGraphEdge
Default graph edge implementation.DefaultGraphElement.getName()is bound against the nested variableDefaultGraphElement.getNameVarName(). Shall serve for a more generic mapping, to be part of EASY-Producer, thus, customizable.- Author:
- Holger Eichelberger, SSE
-
-
Field Summary
Fields Modifier and Type Field Description private IvmlGraphMapper.IvmlGraphNodeendprivate IvmlGraphMapper.IvmlGraphNodestart-
Fields inherited from class de.iip_ecosphere.platform.configuration.ivml.DefaultGraphElement
INVALID_POSITION, INVALID_SIZE
-
-
Constructor Summary
Constructors Constructor Description DefaultEdge(net.ssehub.easy.varModel.confModel.IDecisionVariable var, IvmlGraphMapper.IvmlGraphNode start, IvmlGraphMapper.IvmlGraphNode end)Creates an edge.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IvmlGraphMapper.IvmlGraphNodegetEnd()Returns the end node.IvmlGraphMapper.IvmlGraphNodegetStart()Returns the start node.-
Methods inherited from class de.iip_ecosphere.platform.configuration.ivml.DefaultGraphElement
getIntValue, getName, getNameVarName, getStringValue, getVariable, setName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.iip_ecosphere.platform.configuration.ivml.IvmlGraphMapper.IvmlGraphElement
getName, getVariable, setName
-
-
-
-
Field Detail
-
start
private IvmlGraphMapper.IvmlGraphNode start
-
end
private IvmlGraphMapper.IvmlGraphNode end
-
-
Constructor Detail
-
DefaultEdge
public DefaultEdge(net.ssehub.easy.varModel.confModel.IDecisionVariable var, IvmlGraphMapper.IvmlGraphNode start, IvmlGraphMapper.IvmlGraphNode end)Creates an edge.- Parameters:
var- the underlying variablestart- the start nodeend- the end node
-
-
Method Detail
-
getStart
public IvmlGraphMapper.IvmlGraphNode getStart()
Description copied from interface:IvmlGraphMapper.IvmlGraphEdgeReturns the start node.- Specified by:
getStartin interfaceIvmlGraphMapper.IvmlGraphEdge- Returns:
- the start node
-
getEnd
public IvmlGraphMapper.IvmlGraphNode getEnd()
Description copied from interface:IvmlGraphMapper.IvmlGraphEdgeReturns the end node.- Specified by:
getEndin interfaceIvmlGraphMapper.IvmlGraphEdge- Returns:
- the end node
-
-