Interface ATDReference
-
- All Superinterfaces:
PluginDataContainer,Serializable,UserAttributeContainer
public interface ATDReference extends UserAttributeContainer, PluginDataContainer, Serializable
The lightweight representation of anActivityTemplateDefinitionfor usage in the activity repository. This reference allows to return just the data necessary to display theActivityTemplateDefinitionto the user.References are not subject of inheritance; all attributes are the result of merging the corresponding attributes of all parent entities. Therefore when changing an entity, always refresh the corresponding reference and all references of the children.
- Author:
- Ulrich Kreher
- See Also:
ActivityTemplateDefinition
-
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUIDGenerated ID for serialisation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetBranch()Gets the branch of the activity template definition of this reference.StringgetConfigurationSetName()Gets the name of the configuration set or null if theActivityTemplateDefinitionof this reference does not have a configuration set.StringgetDescription()Gets a description for theActivityTemplateDefinitionof this reference for usage in the process model.StringgetDeveloperDescription()Gets a description of theActivityTemplateDefinitionof this reference for the developer and the administrator of the activity model.StringgetExecutableComponentName()Gets the system-wide unique name of theExecutableComponentDescriptionof theActivityTemplateDefinitionof this reference.UUIDgetIconID()Gets the ID of the icon to use for process steps and worklist items for the operation of this reference.UUIDgetID()Gets the (world-wide) unique ID of theActivityTemplateDefinitionof this reference.StringgetName()Gets the name of theActivityTemplateDefinitionof this reference.StringgetOperationName()Gets the name of the operation (unique with respect to theExecutableComponentDescription) of theActivityTemplateDefinitionof this reference.longgetRevision()Gets the (base) revision of the activity template definition of this reference which allows to track changes.StategetState()Gets the current deployment state of theActivityTemplateDefinitionof this reference that is whether it is currently modified, it can be used or it may not be used any more.-
Methods inherited from interface de.aristaflow.adept2.model.common.PluginDataContainer
getPluginData, getPluginDatas, getSupportedPlugins
-
Methods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
Generated ID for serialisation.- See Also:
- Constant Field Values
-
-
Method Detail
-
getID
UUID getID()
Gets the (world-wide) unique ID of theActivityTemplateDefinitionof this reference.- Returns:
- The (world-wide) unique ID of the
ActivityTemplateDefinitionof this reference. - See Also:
AbstractActivityTemplateDefinition.getID()
-
getExecutableComponentName
String getExecutableComponentName()
Gets the system-wide unique name of theExecutableComponentDescriptionof theActivityTemplateDefinitionof this reference.- Returns:
- The system-wide unique name of the
ExecutableComponentDescriptionof theActivityTemplateDefinitionof this reference.
-
getOperationName
String getOperationName()
Gets the name of the operation (unique with respect to theExecutableComponentDescription) of theActivityTemplateDefinitionof this reference.- Returns:
- The name of the operation (unique with respect to the
ExecutableComponentDescription) of theActivityTemplateDefinitionof this reference. - See Also:
ActivityTemplateDefinition.getOperation()
-
getConfigurationSetName
String getConfigurationSetName()
Gets the name of the configuration set or null if theActivityTemplateDefinitionof this reference does not have a configuration set.- Returns:
- The name of the configuration set or null if the
ActivityTemplateDefinitionof this reference does not have a configuration set. - See Also:
ActivityTemplateDefinition.getConfigurationSet()
-
getName
String getName()
Gets the name of theActivityTemplateDefinitionof this reference.- Returns:
- The name of the
ActivityTemplateDefinitionof this reference. - See Also:
AbstractActivityTemplateDefinition.getName()
-
getDescription
String getDescription()
Gets a description for theActivityTemplateDefinitionof this reference for usage in the process model.- Returns:
- A description for the
ActivityTemplateDefinitionof this reference for usage in the process model that may be displayed in worklists. - See Also:
AbstractActivityTemplateDefinition.getDescription()
-
getDeveloperDescription
String getDeveloperDescription()
Gets a description of theActivityTemplateDefinitionof this reference for the developer and the administrator of the activity model.- Returns:
- A description of the
ActivityTemplateDefinitionof this reference for the developer and the administrator of the activity model. - See Also:
AbstractActivityTemplateDefinition.getDeveloperDescription()
-
getRevision
long getRevision()
Gets the (base) revision of the activity template definition of this reference which allows to track changes. In case of an activity template definition of a production version the corresponding revision will be returned, for an activity template definition of a development version this will be the base revision of the appropriate branch.- Returns:
- The (base) revision of this activity template definition which allows to track changes.
- See Also:
AbstractActivityTemplateDefinition.getRevision()
-
getState
State getState()
Gets the current deployment state of theActivityTemplateDefinitionof this reference that is whether it is currently modified, it can be used or it may not be used any more.- Returns:
- The current deployment state of the
ActivityTemplateDefinitionof this reference that may be kind of overridden by its parent entities. - See Also:
AbstractActivityTemplateDefinition.getState()
-
getBranch
long getBranch()
Gets the branch of the activity template definition of this reference. In case of an activity template definition of a production version a negative value will be returned, for an activity template definition of a development version this will be the used branch.- Returns:
- The branch of this activity template definition or a negative value in case this activity template definition is a production version.
-
getIconID
UUID getIconID()
Gets the ID of the icon to use for process steps and worklist items for the operation of this reference.- Returns:
- The ID of the icon to use for process steps and worklist items.
- See Also:
AbstractActivityTemplateDefinition.getIconID()
-
-