The <connectorParam> Element

Definition and Usage

The <connectorParam> element is used to parameterize connector attribute values. Any attribute defined by a <causalConnector> element or by its descendent elements can have its value specified as a parameter whose value is defined by the relationship that refers to the connector, using <linkParam> or <bindParam> elements.

In a <connectorParam> element the name attribute defines the parameter name and the type attribute the parameter type.

In order to specify that an attribute defined by the <causalConnector> element or by its descendent elements receivesthe parameter value,it is sufficient to defined the attribute value as the parameter name preceded by the “$” symbol. For instance, in order to parameterize the delay attribute of a <simpleAction> element, a parameter called actionDelay is defined and the value “$actionDelay” is used in the attribute (delay=“$actionDelay”).

Syntax

Element Attributes Content Parent
<connectorParam> name, type <causalConnector>

Attributes

Name Value Description
name It may receive any string value that begins with a letter or an underscore and that only contains letters, digits, “.”, and “_”. The name attribute uniquely identifies the parameter within a <causalConnector> element.
type String. The type defines a type for the parameter.
Back to top