Interface IRemoveVariableValueAction
The public interface for RemoveVariableValueAction
[DefaultImplementationType(typeof(RemoveVariableValueAction))]
[XmlDefaultImplementationType(typeof(RemoveVariableValueAction))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//RemoveVariableValueAction")]
public interface IRemoveVariableValueAction : IWriteVariableAction, IVariableAction, 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 Variables. <p>From package UML::Actions.</p>
[TypeConverter(typeof(LowercaseBooleanConverter))]
[XmlElementName("isRemoveDuplicates")]
[XmlAttribute(true)]
bool IsRemoveDuplicates { get; set; }
Property Value
RemoveAt
An InputPin that provides the position of an existing value to remove in ordered, nonunique Variables. 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
Methods
RemoveAt_and_value(object, object)
ReadVariableActions removing a value from ordered, non-unique Variables 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 variable.isOrdered and not variable.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
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.