Formal template parameter (automation interface)
Important: Modeler ensures that Actual Template Parameters on a bind Dependency match the Formal Template Parameters on an associated template Package. If you create Formal Template Parameters through the automation interface, you must ensure that they match any associated Actual Template Parameters.
A Formal Template Parameter specifies formal parameters for a template Package.
Note that when the Parameter Type is String, the value of the formal is derived from the Formal Template Parameter Name.
ATTRIBUTES:
Constraints
A textual property describing restrictions on the values that may be assumed.
Access is read/write.
Default Value
A textual property that specifies the value of the Formal Template Parameter default. This attribute is used only when the Parameter Type is String.
Access is read/write.
Description
A textual property that gives an overview of the dictionary item.
Access is read/write.
Parameter Type
A textual property which specifies whether the Formal Template Parameter is an Object or String:
• A value of String means that the Formal Template Parameter is a string, which is recorded through the Name attribute.
• A value of Object means that the Formal Template Parameter is an object, which is referenced through the Formal Type association.
Access is read/write.
ASSOCIATIONS:
Actual
Relationship to the Actual Template Parameter objects created for the Formal Template Parameter.
Multiplicity is 0+, Access is read-only.
Default Value
Relationship to the default Formal Template Parameter object. This attribute is used only when the Parameter Type is Object.
Multiplicity is 0-1, Access is read/write.
Formal Type
Relationship to the Formal Template Parameter object. This attribute is used only when the Parameter Type is Object.
Multiplicity is 0-1, Access is read/write.
Package
Relationship to the template Package that owns the Formal Template Parameter.
Multiplicity is 1, Access is read/write.