Table of Contents

Interface IAddStructuralFeatureValueAction

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

The public interface for AddStructuralFeatureValueAction

[DefaultImplementationType(typeof(AddStructuralFeatureValueAction))]
[XmlDefaultImplementationType(typeof(AddStructuralFeatureValueAction))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//AddStructuralFeatureValueAction")]
public interface IAddStructuralFeatureValueAction : IWriteStructuralFeatureAction, IStructuralFeatureAction, IAction, IExecutableNode, IActivityNode, IActivityContent, IRedefinableElement, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

InsertAt

The InputPin that gives the position at which to insert the value in an ordered StructuralFeature. The type of the insertAt InputPin is UnlimitedNatural, but the value cannot be zero. It is omitted for unordered StructuralFeatures. <p>From package UML::Actions.</p>

[Browsable(false)]
[XmlElementName("insertAt")]
[XmlAttribute(false)]
[Containment]
IInputPin InsertAt { get; set; }

Property Value

IInputPin

IsReplaceAll

Specifies whether existing values of the StructuralFeature should be removed before adding the new value. <p>From package UML::Actions.</p>

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

Property Value

bool

Methods

InsertAt_pin(object, object)

AddStructuralFeatureActions adding a value to ordered StructuralFeatures must have a single InputPin for the insertion point with type UnlimitedNatural and multiplicity of 1..1 if isReplaceAll=false, and must have no Input Pin for the insertion point when the StructuralFeature is unordered. if not structuralFeature.isOrdered then insertAt = null else not isReplaceAll implies insertAt<>null and insertAt->forAll(type=UnlimitedNatural and is(1,1.oclAsType(UnlimitedNatural))) endif

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

Required_value(object, object)

A value InputPin is required. value<>null

bool Required_value(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