Table of Contents

Class LinkEndData

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

LinkEndData is an Element that identifies on end of a link to be read or written by a LinkAction. As a link (that is not a link object) cannot be passed as a runtime value to or from an Action, it is instead identified by its end objects and qualifier values, if any. A LinkEndData instance provides these values for a single Association end. <p>From package UML::Actions.</p>

[XmlNamespace("http://www.eclipse.org/uml2/5.0.0/UML")]
[XmlNamespacePrefix("uml")]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//LinkEndData")]
public class LinkEndData : Element, ILinkEndData, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
LinkEndData
Implements
Derived
Inherited Members

Constructors

LinkEndData()

Creates a new instance

public LinkEndData()

Properties

Children

Gets the child model elements of this model element

public override IEnumerableExpression<IModelElement> Children { get; }

Property Value

IEnumerableExpression<IModelElement>

ClassInstance

Gets the Class model for this type

public static IClass ClassInstance { get; }

Property Value

IClass

End

The Association end for which this LinkEndData specifies values. <p>From package UML::Actions.</p>

[XmlElementName("end")]
[XmlAttribute(true)]
public IProperty End { get; set; }

Property Value

IProperty

Qualifier

A set of QualifierValues used to provide values for the qualifiers of the end. <p>From package UML::Actions.</p>

[Browsable(false)]
[XmlElementName("qualifier")]
[XmlAttribute(false)]
[Containment]
public IOrderedSetExpression<IQualifierValue> Qualifier { get; }

Property Value

IOrderedSetExpression<IQualifierValue>

ReferencedElements

Gets the referenced model elements of this model element

public override IEnumerableExpression<IModelElement> ReferencedElements { get; }

Property Value

IEnumerableExpression<IModelElement>

Value

The InputPin that provides the specified value for the given end. This InputPin is omitted if the LinkEndData specifies the "open" end for a ReadLinkAction. <p>From package UML::Actions.</p>

[XmlElementName("value")]
[XmlAttribute(true)]
public IInputPin Value { get; set; }

Property Value

IInputPin

Methods

AllPins()

Returns all the InputPins referenced by this LinkEndData. By default this includes the value and qualifier InputPins, but subclasses may override the operation to add other InputPins. result = (value->asBag()->union(qualifier.value)) <p>From package UML::Actions.</p>

public ICollectionExpression<IInputPin> AllPins()

Returns

ICollectionExpression<IInputPin>

End_object_input_pin(object, object)

The value InputPin is not also the qualifier value InputPin. value->excludesAll(qualifier.value)

public bool End_object_input_pin(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

GetClass()

Gets the Class for this model element

public override IClass GetClass()

Returns

IClass

GetCollectionForFeature(string)

Gets the Model element collection for the given feature

protected override IList GetCollectionForFeature(string feature)

Parameters

feature string

The requested feature

Returns

IList

A non-generic list of elements

GetCompositionName(object)

Gets the property name for the given container

protected override string GetCompositionName(object container)

Parameters

container object

The container object

Returns

string

The name of the respective container reference

GetExpressionForReference(string)

Gets the property expression for the given reference

protected override INotifyExpression<IModelElement> GetExpressionForReference(string reference)

Parameters

reference string

The requested reference in upper case

Returns

INotifyExpression<IModelElement>

An incremental property expression

GetModelElementForReference(string, int)

Resolves the given URI to a child model element

protected override IModelElement GetModelElementForReference(string reference, int index)

Parameters

reference string

The requested reference name

index int

The index of this reference

Returns

IModelElement

The model element or null if it could not be found

GetRelativePathForNonIdentifiedChild(IModelElement)

Gets the relative URI fragment for the given child model element

protected override string GetRelativePathForNonIdentifiedChild(IModelElement element)

Parameters

element IModelElement

The element that should be looked for

Returns

string

A fragment of the relative URI

Multiplicity(object, object)

The multiplicity of the value InputPin must be 1..1. value<>null implies value.is(1,1)

public 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

Property_is_association_end(object, object)

The Property must be an Association memberEnd. end.association <> null

public bool Property_is_association_end(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

Qualifiers(object, object)

The qualifiers must be qualifiers of the Association end. end.qualifier->includesAll(qualifier.qualifier)

public bool Qualifiers(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

Same_type(object, object)

The type of the value InputPin conforms to the type of the Association end. value<>null implies value.type.conformsTo(end.type)

public bool Same_type(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

SetFeature(string, object)

Sets a value to the given feature

protected override void SetFeature(string feature, object value)

Parameters

feature string

The requested feature

value object

The value that should be set to that feature