Prev Next

TemplateParameter Class

A TemplateParameter for a template signature specifies a formal parameter that will be substituted by an actual parameter (or the default) in a TemplateBinding relationship on a Class element.

Associated table in .EAP file

t_xref

TemplateParameter Attributes

Attribute

Remarks

See also

Constraint

String

Notes: Read/Write

The name of the Classifier that acts as the constraint value.

Default

String

Notes: Read/Write

The name of the Classifier that acts as the default value.

Name

String

Notes: Read/Write

The name of the Template Parameter.

ObjectType

ObjectType

Notes: Read Only

Distinguishes objects referenced through a Dispatch interface.

TemplateParameterID

String

Notes: Read Only

The Enterprise Architect Globally Unique ID (GUID) of the current Template Parameter, in the XrefID column of t_xref.

Type

String

Notes: Read/Write

The Template Parameter type.

TemplateParameter Methods

Method

Remarks

See also

GetLastError()

String

Notes: Returns a string value describing the most recent error that occurred in relation to this object.

Update()

Boolean

Notes: Updates the current TemplateParameter object after modifying or appending a new item.

If False is returned, check the 'GetLastError()' function for more information.

Learn more