Interface ActivityModelParameter
-
- All Superinterfaces:
AbstractActivityModelParameter
,PluginDataContainer
,UserAttributeContainer
public interface ActivityModelParameter extends AbstractActivityModelParameter
AnActivityModelParameter
resembles aParameter
by additional information needed in the activity model. Additionally, they are subject of inheritance, that is, oneActivityModelParameter
may override the attributes of the correspondingActivityModelParameter
of a parent entity (theOperation
in case of anActivityTemplateDefinition
). Parameters are identified by theirname
, overriding also takes place by the parameter name.
Since they are part of the activity model, not all configuration entries from theconfiguration description
need to have values yet. They may be provided when modelling a process.Note the restrictions that apply when setting some of the attributes, for instance failure, default value and virtual.
Since an
ActivityModelParameter
is subject of inheritance and only used in the activity model, it is separated from theParameter
-class-hierarchy.- Author:
- Ulrich Kreher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InheritedActivityConfiguration
getConfiguration()
Gets the configuration of this activity model parameter that corresponds to theconfiguration description
of this activity model parameter.InheritedConfigurationDescription
getConfigurationDescription()
Gets the configuration description for this activity model parameter which is needed to provide a valid and completeconfiguration
when modelling a process.void
setConfiguration(InheritedActivityConfiguration configuration)
Sets the configuration for this activity model parameter.void
setConfigurationDescription(InheritedConfigurationDescription description)
Sets the configuration description for this activity model parameter.-
Methods inherited from interface de.aristaflow.adept2.model.activitymodel.AbstractActivityModelParameter
getDataType, getDefaultValue, getDescription, getDeveloperDescription, getIdentifierID, getName, getUDTName, isDataTypeInherited, isDefaultValueInherited, isDescriptionInherited, isDeveloperDescriptionInherited, isFailure, isFailureInherited, isIdentifierIDInherited, isOptional, isOptionalInherited, isVirtual, isVirtualInherited, removeOwnDataType, removeOwnDefaultValue, removeOwnDescription, removeOwnDeveloperDescription, removeOwnFailure, removeOwnIdentifierID, removeOwnOptional, removeOwnVirtual, setDataType, setDefaultValue, setDescription, setDeveloperDescription, setFailure, setIdentifierID, setName, setOptional, setVirtual
-
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
-
-
-
-
Method Detail
-
getConfigurationDescription
InheritedConfigurationDescription getConfigurationDescription()
Gets the configuration description for this activity model parameter which is needed to provide a valid and completeconfiguration
when modelling a process. This configuration description is merged with the configuration description of the parent activity model parameter (which depends on the entity this parameter is retrieved from).- Returns:
- The description for all configuration values of this activity model parameter, that is, the name of the configuration entries, their type and whether they are mandatory. These are all configuration entries provided by this parameter as well as the corresponding parent entities (if they exist).
-
getConfiguration
InheritedActivityConfiguration getConfiguration()
Gets the configuration of this activity model parameter that corresponds to theconfiguration description
of this activity model parameter. These configuration values may be overridden (unless fixed) and not all configuration values need to be provided yet. Configuration values may also be provided via an input parameter (which has to exist for this operation then) or from a process configuration (which is needed when modelling).This configuration is merged with the configuration of the parent activity model parameter (which depends on the entity this parameter is retrieved from).
- Returns:
- The configuration values set for this activity model parameter based on the configuration description. These are all configuration values provided by this parameter as well as the corresponding parent entities (if they exist).
-
setConfigurationDescription
void setConfigurationDescription(InheritedConfigurationDescription description)
Sets the configuration description for this activity model parameter. This may change the configuration description of the corresponding parent parameter by overriding its values.
The configuration description has to be set as a whole; to add or modify single entries, retrieve the complete inherited description from this activity model parameter, add or modify the entry and provide the complete inherited description again to this method.This configuration description is merged with the configuration description of the parent activity model parameter (which depends on the entity this parameter is retrieved from).
- Parameters:
description
- The description for all configuration values of this activity model parameter, that is, the name of the configuration entries, their type and whether they are mandatory. These are all configuration entries provided by this parameter as well as the corresponding parent entities (if they exist).
-
setConfiguration
void setConfiguration(InheritedActivityConfiguration configuration)
Sets the configuration for this activity model parameter. The provided configuration has to correspond to the configuration description of this activity model parameter and its parents (if existing), that is the values have to have appropriate configuration entries. Not all configuration entries need to have a value yet except the fixed ones. The values may also be retrieved from process parameters or the process configuration (determined when modelling).This configuration is merged with the configuration of the parent activity model parameter (which depends on the entity this parameter is retrieved from).
- Parameters:
configuration
- The configuration values set for this activity model parameter based on the configuration description. These are all configuration values provided by this parameter as well as the corresponding parent entities (if they exist).
-
-