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

ConnectorConstraint Class

A ConnectorConstraint holds information about special conditions that apply to a connector. It is accessed through the Connector Constraints collection.

Associated table in .EAP file: t_connectorconstraints

ConnectorConstraint Attributes

Attribute

Type

Notes

ConnectorID

Long

Read/Write. A local ID value (long) - system generated.

Name

String

Read/Write. The constraint name.

Notes

String

Read/Write. Notes about this constraint.

ObjectType

ObjectType

Read only. Distinguishes objects referenced through a Dispatch interface.

Type

String

Read/Write. The constraint type.

ConnectorConstraint Methods

Method

Type

Notes

GetLastError ()

String

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

This function is rarely used as an exception is thrown when an error occurs.

Update ()

Boolean

Update the current ConnectorConstraint object after modification or appending a new item. If false is returned, check the GetLastError function for more information.