Interface IAddVariableValueAction
The public interface for AddVariableValueAction
[DefaultImplementationType(typeof(AddVariableValueAction))]
[XmlDefaultImplementationType(typeof(AddVariableValueAction))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//AddVariableValueAction")]
public interface IAddVariableValueAction : IWriteVariableAction, IVariableAction, 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 a new value or move an existing value in ordered Variables. The type of the insertAt InputPin is UnlimitedNatural, but the value cannot be zero. It is omitted for unordered Variables. <p>From package UML::Actions.</p>
[Browsable(false)]
[XmlElementName("insertAt")]
[XmlAttribute(false)]
[Containment]
IInputPin InsertAt { get; set; }
Property Value
IsReplaceAll
Specifies whether existing values of the Variable 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
Methods
InsertAt_pin(object, object)
AddVariableValueActions for ordered Variables must have a single InputPin for the insertion point with type UnlimtedNatural and multiplicity of 1..1 if isReplaceAll=false, otherwise the Action has no InputPin for the insertion point. if not variable.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
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Required_value(object, object)
A value InputPin is required. value <> null
bool Required_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.