14.8.1.10 ParameterTemplate

Topic Version1Published09/11/2015
For StandardRESQML v2.0.1
Stereotype:«XSDcomplexType»

Description of one parameter that participates in one type of activity.

Table 14.8.1.10-1 Attributes

Name

Type

Notes

AllowedKind

ParameterKind

If no allowed type is given, then all kinds of datatypes are allowed.

Constraint

string

Textual description of additional constraint associated with the parameter. (Note that it is better to have a formal description of the constraint)

DataObjectContentType

string

When a parameter is limited to data objects of given types, describe the allowed types. Used only when ParameterType is dataObject

IsInput

boolean

Indicates if the parameter is an input of the activity.

If the parameter is a data object and is also an output of the activity, it is strongly advised to use two parameters: one for input and one for output. The reason is so you can give two different versions of the string for the input and output data object, which each has the same UUID.

IsOutput

boolean

Indicates if the parameter is an output of the activity.

If the parameter is a data object and is also an input of the activity, it is strongly advised to use two parameters: one for input and one for output. The reason is so you can give two different versions of the string for the input and output data object which each has the same UUID.

KeyConstraint

string

Allows you to indicate that, in the same activity, this parameter template must be associated to another parameter template identified by its title.

MaxOccurs

long

Maximum number of parameters of this type allowed in the activity.

MinOccurs

long

Minimum number of parameters of this type required by the activity.

Title

string

Name of the parameter in the activity. Key to identify a parameter.

XmlConstraint

string

A formal constraint given by convention, which allows a software reader to process validation.

It is only used to validate XML files (not HDF files).

It possibly validates an XML attribute in a referenced XML document, starting from the document that contains the object referenced by this template parameter.

Table 14.8.1.10-2 Associations

Association

Notes

From: ParameterTemplate. 0..*To: AbstractActivityParameter.DefaultValue

Association

 

From: ActivityTemplate. 1..*To: ParameterTemplate.Parameter

Association