ConnectorEnd Class

A ConnectorEnd contains information about a single end of a connector. A ConnectorEnd is accessed from the connector as either the ClientEnd or SupplierEnd.

Associated table in .EAP file: derived from t_connector

ConnectorEnd Attributes

Attribute

Type

Notes

See Also

Aggregation

Long

Read/Write. Aggregation as it applies to this end. Valid values are:

    0 = None
1 = Shared
2 = Composite.

 

Alias

String

Read/Write. An optional alias for this connector end.

 

AllowDuplicates

Boolean

Read/Write. For multiplicities greater than 1, indicates that duplicate entries are possible.

 

Cardinality

String

Read/Write. Cardinality associated with this end.

 

Constraint

String

Read/Write. A constraint that can be applied to this connector end.

 

Containment

String

Read/Write. Containment type applied to this connector end.

 

Derived

Boolean

Read/Write. Indicates that the value of this end is derived.

 

DerivedUnion

Boolean

Read/Write. Indicates the value of this role derived from the union of all roles that subset this.

 

End

String

Read only. The end this ConnectorEnd object applies to: Client or Supplier.

 

IsChangeable

String

Read/Write. Flag indicating whether this end is changeable or not.

Values: frozen, addOnly or none.

 

IsNavigable

Boolean

Read/Write. Flag indicating this end is navigable from the other end.

 

Navigable

String

Read/Write. Indicates whether this role of an association is navigable from the opposite classifier. Three values are valid: Navigable, Non-Navigable and Unspecified.

 

ObjectType

ObjectType

Read only. Distinguishes objects referenced through a Dispatch interface.

 

Ordering

Long

Read/Write. Ordering for this connector end.

 

OwnedByClassifier

Boolean

Read/Write. Indicates this Association end corresponds to an attribute on the opposite end of the Association.

 

Qualifier

String

Read/Write. A qualifier that can apply to connector end.

 

Role

String

Read/Write. The connector end role.

 

RoleNote

String

Read/Write. Notes associated with the role of this connector end.

 

RoleType

String

Read/Write. The role type applied to this end of the connector.

 

Stereotype

String

Read/Write. Sets or gets the stereotype for this connector end.

 

StereotypeEx

String

Read/Write. All the applied stereotypes of the connector end in a comma-separated list.

 

TaggedValues

Private

Read only. Collection of RoleTag objects.

RoleTag Class

Visibility

String

Read/Write. Scope associated with this connector end. Valid types are: Public, Private, Protected and Package.

 

ConnectorEnd 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 ConnectorEnd object after modification or appending a new item. If false is returned, check the GetLastError function for more information.