uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.ReadWriteActions
Interface AddVariableValueAction
- All Superinterfaces:
- Action, Element, ExtObject, ModelElement, PrimitiveAction, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, VariableAction, WriteVariableAction
- All Known Implementing Classes:
- AddVariableValueAction_Impl
public interface AddVariableValueAction
- extends WriteVariableAction
This action adds values to variables. Variables are potentially
multi-valued. It also supports the removal of existing values of
the attribute before the new value is added. If the new value
already exists, then it is not removed under this option.
Otherwise, adding an existing value has no effect.
The semantics is undefined for adding a value that violates the
upper multiplicity of the variable.
Adding values to ordered variables requires an insertion point
for a new value using the insertAt input pin. The pin is of type
UnlimitedInteger. A positive integer less than or equal to the
current number of values means to insert the new value at that
position in the sequence of existing values, with the integer
one meaning the new value will be first in the sequence. A value
of unlimited for insertAt means to insert the new value at the
end of the sequence. The semantics is undefined for a value of
zero or an integer greater than the number of existing values.
The insertAt input pin does not exist for unordered variables.
Reinserting an existing value at a new position moves the value
to that position.
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.ActionFoundation.Action |
getAntecedent, getAvailableInput, getAvailableOutput, getConsequent, getGroup, getInputPin, getIsReadOnly, getJumpHandler, getOutputPin, setGroup, setIsReadOnly |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement |
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility |
Methods inherited from interface javax.jmi.reflect.RefObject |
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
Methods inherited from interface javax.jmi.reflect.RefFeatured |
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
Methods inherited from interface javax.jmi.reflect.RefBaseObject |
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
getIsReplaceAll
boolean getIsReplaceAll()
throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
setIsReplaceAll
void setIsReplaceAll(boolean isReplaceAll)
throws javax.jmi.reflect.JmiException
- Setter for atomic property isReplaceAll)
- Throws:
javax.jmi.reflect.JmiException
getInsertAt
InputPin getInsertAt()
throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
setInsertAt
void setInsertAt(InputPin insertAt)
throws javax.jmi.reflect.JmiException
- Setter for atomic property insertAt)
- Throws:
javax.jmi.reflect.JmiException