Table of Contents

Interface IRemoveStructuralFeatureValueAction

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

The public interface for RemoveStructuralFeatureValueAction

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

Properties

IsRemoveDuplicates

Specifies whether to remove duplicates of the value in nonunique StructuralFeatures. <p>From package UML::Actions.</p>

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

Property Value

bool

RemoveAt

An InputPin that provides the position of an existing value to remove in ordered, nonunique structural features. The type of the removeAt InputPin is UnlimitedNatural, but the value cannot be zero or unlimited. <p>From package UML::Actions.</p>

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

Property Value

IInputPin

Methods

RemoveAt_and_value(object, object)

RemoveStructuralFeatureValueActions removing a value from ordered, non-unique StructuralFeatures must have a single removeAt InputPin and no value InputPin, if isRemoveDuplicates is false. The removeAt InputPin must be of type Unlimited Natural with multiplicity 1..1. Otherwise, the Action has a value InputPin and no removeAt InputPin. if structuralFeature.isOrdered and not structuralFeature.isUnique and not isRemoveDuplicates then value = null and removeAt <> null and removeAt.type = UnlimitedNatural and removeAt.is(1,1) else removeAt = null and value <> null endif

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