Class DefaultEdge
java.lang.Object
de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultGraphElement
de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultEdge
- All Implemented Interfaces:
IvmlGraphMapper.IvmlGraphEdge,IvmlGraphMapper.IvmlGraphElement
- Direct Known Subclasses:
ServiceMeshEdge
Default graph edge implementation.
DefaultGraphElement.getName() is bound against the nested variable
DefaultGraphElement.getNameVarName(). Shall serve for a more generic mapping, to be part of EASY-Producer, thus, customizable.- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IvmlGraphMapper.IvmlGraphNodeprivate IvmlGraphMapper.IvmlGraphNodeFields inherited from class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultGraphElement
INVALID_POSITION, INVALID_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionDefaultEdge(net.ssehub.easy.varModel.confModel.IDecisionVariable var, IvmlGraphMapper.IvmlGraphNode start, IvmlGraphMapper.IvmlGraphNode end) Creates an edge. -
Method Summary
Methods inherited from class de.iip_ecosphere.platform.configuration.easyProducer.ivml.DefaultGraphElement
getIntValue, getName, getNameVarName, getStringValue, getVariable, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper.IvmlGraphElement
getName, getVariable, setName
-
Field Details
-
start
-
end
-
-
Constructor Details
-
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 Details
-
getStart
Description copied from interface:IvmlGraphMapper.IvmlGraphEdgeReturns the start node.- Specified by:
getStartin interfaceIvmlGraphMapper.IvmlGraphEdge- Returns:
- the start node
-
getEnd
Description copied from interface:IvmlGraphMapper.IvmlGraphEdgeReturns the end node.- Specified by:
getEndin interfaceIvmlGraphMapper.IvmlGraphEdge- Returns:
- the end node
-