Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

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

Type

Notes

Constraint

String

Read/Write

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

 

Default

String

Read/Write

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

 

Name

String

Read/Write

The name of the Template Parameter.

 

ObjectType

ObjectType

Read Only

Distinguishes objects referenced through a Dispatch interface.

 

TemplateParameterID

String

Read Only

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

 

Type

String

Read/Write

The Template Parameter type.

 

TemplateParameter Methods

Method

Type

Notes

GetLastError ()

String

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

 

Update ()

Boolean

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