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

public class IDWrappingTemplate extends AbstractWrappingTemplate
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:
  • Constructor Details

    • IDWrappingTemplate

      public IDWrappingTemplate(Template template, UUID templateID)
      Parameters:
      template - The template that should be wrapped.
      templateID - The ID of the wrapped template.
  • Method Details

    • setTemplateID

      public void setTemplateID(UUID templateID)
      Update the template ID.
      Parameters:
      templateID -
    • getID

      public UUID getID()
      Description copied from interface: Template
      Returns the ID of the template. The ID is system-wide unique.
      Specified by:
      getID in interface Template
      Overrides:
      getID in class AbstractWrappingTemplate
      Returns:
      The template id.