Table of Contents

Interface ILinkEndDestructionData

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

The public interface for LinkEndDestructionData

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

Properties

DestroyAt

The InputPin that provides the position of an existing link to be destroyed in an ordered, nonunique Association end. The type of the destroyAt InputPin is UnlimitedNatural, but the value cannot be zero or unlimited. <p>From package UML::Actions.</p>

[XmlElementName("destroyAt")]
[XmlAttribute(true)]
IInputPin DestroyAt { get; set; }

Property Value

IInputPin

IsDestroyDuplicates

Specifies whether to destroy duplicates of the value in nonunique Association ends. <p>From package UML::Actions.</p>

[TypeConverter(typeof(LowercaseBooleanConverter))]
[XmlElementName("isDestroyDuplicates")]
[XmlAttribute(true)]
bool IsDestroyDuplicates { get; set; }

Property Value

bool

Methods

DestroyAt_pin(object, object)

LinkEndDestructionData for ordered, nonunique Association ends must have a single destroyAt InputPin if isDestroyDuplicates is false, which must be of type UnlimitedNatural and have a multiplicity of 1..1. Otherwise, the action has no destroyAt input pin. if not end.isOrdered or end.isUnique or isDestroyDuplicates then destroyAt = null else destroyAt <> null and destroyAt->forAll(type=UnlimitedNatural and is(1,1)) endif

bool DestroyAt_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