public interface Parameter extends UserAttributeContainer, PluginDataContainer, LocalisedString
The object a parameter belongs to, e.g. an
Activity, will in the
following be referred to as the entity of the parameter.
ActivityConstants.AccessType.
Operation, you need to
specify the corresponding data access type when calling
Operation.getParameters(de.aristaflow.adept2.model.globals.ActivityConstants.AccessType)
. Identifier for further
information.
boolean return value that indicates whether a method has been
successful instead of throwing an exception. getConfiguration() and
Operation.getConfiguration().| Modifier and Type | Method and Description |
|---|---|
ActivityConfiguration |
getConfiguration()
Returns the configuration specific to this parameter and the corresponding
execution environment.
|
ProcessConstants.AdeptDataType |
getDataType()
Returns the ADEPT2 data type of the parameter.
|
java.lang.String |
getDefaultValue()
Gets the string representation of the default value for this (optional,
non-virtual input) parameter.
|
java.lang.String |
getDescription()
Returns the description of the parameter for the end user.
|
java.util.UUID |
getIdentifierID()
Returns the ID of the identifier which describes the type of the
parameter in detail, or the constant
ProcessConstants.UNIVERSAL_IDENTIFIER_ID. |
java.lang.String |
getName()
Returns the name of the parameter.
|
java.lang.String |
getUDTName()
Returns the name of the user-defined type, if the parameter
is of type user-defined (cf
getDataType()). |
boolean |
isFailure()
Gets whether this (optional, non-virtual output) parameter represents a
failure parameter.
|
boolean |
isOptional()
Returns true, if the parameter is optional.
|
boolean |
isVirtual()
Returns true, if the parameter is virtual.
|
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginstoLocalisedStringjava.lang.String getName()
The name of a parameter is unique within its data access scope (e.g. READ).
Uses:
java.lang.String getDescription()
Uses:
ProcessConstants.AdeptDataType getDataType()
Uses:
java.lang.String getUDTName()
getDataType()).
This value might be used to further describe the data type,
but will be interpreted by the corresponding runtime only.
If the parameter is not user-defined, the method will return null.
Uses:
UDTValue and
ProcessConstants.AdeptDataType.USERDEFINED.java.util.UUID getIdentifierID()
ProcessConstants.UNIVERSAL_IDENTIFIER_ID.
Uses:
The data type long allows to change the name of the
identifier. When importing/exporting the ID has to be mapped to the
corresponding name since the ID may be already in use by another identifier
on the target system. See
Identifier for further
detail.
See the class description for further information.
boolean isOptional()
In case the parameter is an input parameter, the activity does not
require the data of this parameter, but may use the data if it is
available.
In case of an output parameter, the activity might return the value, but is
not required to do so. If there is no data returned, the attached data
element will not be written.
Uses:
See the class description for further information.
boolean isVirtual()
Uses:
See the class description for further information.
boolean isFailure()
ActivityInstance.ActivityInstance provided to the
execution environment, the activity should not fail but provide the
necessary failure information as normal output value.java.lang.String getDefaultValue()
data type of this parameter.ActivityConfiguration getConfiguration()
int and the ADEPT2 data type INTEGER). In case of a node parameter this methods returns an empty configuration since a node does not have a special parameter configuration.
The configuration needs to corresponding to the configuration description
of the corresponding ActivityModelParameter. While an
ActivityModelParameter does not need to provide all
configuration values for the corresponding description, a
ProcessModelParameter does.
Uses: