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

TemplateBinding Class

A TemplateBinding defines the connector between a binding Class and a parameterized Class, and the binding expression on that connector.

TemplateBinding Attributes

Attribute

Type

Notes

See also

ActualGUID

String

Read/Write

The GUID of the element classifier set as the Actual Template Binding parameter.

If the Actual Template Binding parameter is set as a string expression only, this will be an empty string.

Assigning a GUID value will automatically change the ActualName attribute after Update() has been called.

 

 

ActualName

String

Read/Write

The name of the Actual Template Binding parameter.

Assigning a new value will clear any current ActualGUID value.

 

 

BindingExpression

String

Read only

The Binding Expression as shown in Enterprise Architect.

 

 

ConnectorGUID

String

Read only

The Globally Unique ID of the associated connector.

 

 

ConnectorType

String

Read only

The type of the associated connector.

 

 

FormalName

String

Read/Write

The name of the Formal Template Binding parameter.

 

 

ObjectType

ObjectType

Read only

Distinguishes objects referenced through a Dispatch Interface.

 

ObjectType

Pos

String

Read only

The position of the Template Binding in the list (as on the Bindings page of the connector Properties dialog).

 

 

TemplateBindingID

String

Read only

The Globally Unique ID of the current Template Binding.

 

 

TemplateBinding Methods

Method

Type

Notes

GetLastError ()

String

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

 

Update ()

Boolean

Update the current TemplateBinding object after modification or appending a new item.

If false is returned, check the GetLastError function for more information.

 

Learn more