Table of Contents

Interface IConnectorEnd

Namespace
NMF.Interop.Uml
Assembly
NMF.UMLInterop.dll

The public interface for ConnectorEnd

[DefaultImplementationType(typeof(ConnectorEnd))]
[XmlDefaultImplementationType(typeof(ConnectorEnd))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//ConnectorEnd")]
public interface IConnectorEnd : IMultiplicityElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

PartWithPort

Indicates the role of the internal structure of a Classifier with the Port to which the ConnectorEnd is attached. <p>From package UML::StructuredClassifiers.</p>

[XmlElementName("partWithPort")]
[XmlAttribute(true)]
IProperty PartWithPort { get; set; }

Property Value

IProperty

Role

The ConnectableElement attached at this ConnectorEnd. When an instance of the containing Classifier is created, a link may (depending on the multiplicities) be created to an instance of the Classifier that types this ConnectableElement. <p>From package UML::StructuredClassifiers.</p>

[XmlElementName("role")]
[XmlAttribute(true)]
IConnectableElement Role { get; set; }

Property Value

IConnectableElement

Methods

GetDefiningEnd()

Derivation for ConnectorEnd::/definingEnd : Property result = (if connector.type = null then null else let index : Integer = connector.end->indexOf(self) in connector.type.memberEnd->at(index) endif) <p>From package UML::StructuredClassifiers.</p>

IProperty GetDefiningEnd()

Returns

IProperty

Multiplicity(object, object)

The multiplicity of the ConnectorEnd may not be more general than the multiplicity of the corresponding end of the Association typing the owning Connector, if any. self.compatibleWith(definingEnd)

bool Multiplicity(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool

Part_with_port_empty(object, object)

If a ConnectorEnd is attached to a Port of the containing Classifier, partWithPort will be empty. (role.oclIsKindOf(Port) and role.owner = connector.owner) implies partWithPort->isEmpty()

bool Part_with_port_empty(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool

Role_and_part_with_port(object, object)

If a ConnectorEnd references a partWithPort, then the role must be a Port that is defined or inherited by the type of the partWithPort. partWithPort->notEmpty() implies (role.oclIsKindOf(Port) and partWithPort.type.oclAsType(Namespace).member->includes(role))

bool Role_and_part_with_port(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool

Self_part_with_port(object, object)

The Property held in self.partWithPort must not be a Port. partWithPort->notEmpty() implies not partWithPort.oclIsKindOf(Port)

bool Self_part_with_port(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool