Class IDWrappingTemplate
java.lang.Object
de.aristaflow.adept2.model.processmodel.AbstractWrappingTemplate
de.aristaflow.adept2.model.processmodel.IDWrappingTemplate
- All Implemented Interfaces:
LocalisedString,PluginDataContainer,UserAttributeContainer,Template,Serializable
This class wraps an embedded template, so that
Template.getID()
returns the ID of the embedded process instead of the ID the original
template had.- Author:
- Marco Waimer
- See Also:
-
Field Summary
Fields inherited from class de.aristaflow.adept2.model.processmodel.AbstractWrappingTemplate
template -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetID()Returns the ID of the template.voidsetTemplateID(UUID templateID) Update the template ID.Methods inherited from class de.aristaflow.adept2.model.processmodel.AbstractWrappingTemplate
getConfiguration, getConfigurationDescription, getConnector, getDataEdge, getDataEdgeStructure, getDataElement, getDataElement, getDataElements, getDataElementsForNode, getDeltaLayer, getDescription, getDisabledConnectors, getEdge, getEdgeStructure, getEndNode, getInstanceNameTemplate, getMinBlock, getName, getNode, getNodeBranchID, getNodeCorrespondingBlockNodeID, getNodeIDForTopologicalID, getNodeIDsInArea, getNodeIDsWithActivityTemplate, getNodes, getNodesForDataElement, getNodeSplitNodeID, getNodeTopologicalID, getNodeType, getParameters, getPluginData, getPluginDatas, getPredByEdgeType, getProcessType, getStartNode, getSuccByEdgeType, getSupervisorAgent, getSupportedPlugins, getTestConfiguration, getUnconnectedConnectors, getUserAttributes, getUserAttributeValue, getVersion, isTransPredOf, removeUserAttributeValue, setUserAttributeValue, toLocalisedString
-
Constructor Details
-
IDWrappingTemplate
- Parameters:
template- The template that should be wrapped.templateID- The ID of the wrapped template.
-
-
Method Details
-
setTemplateID
Update the template ID.- Parameters:
templateID-
-
getID
Description copied from interface:TemplateReturns the ID of the template. The ID is system-wide unique.- Specified by:
getIDin interfaceTemplate- Overrides:
getIDin classAbstractWrappingTemplate- Returns:
- The template id.
-