uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.ReadWriteActions
Interface AddAttributeValueAction

All Superinterfaces:
Action, AttributeAction, Element, ExtObject, ModelElement, PrimitiveAction, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, WriteAttributeAction
All Known Implementing Classes:
AddAttributeValueAction_Impl

public interface AddAttributeValueAction
extends WriteAttributeAction

This action adds values to attributes. Attributes 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 attribute. The semantics is undefined for adding a new value for an attribute with changeability frozen after initialization of the owning object. Adding values to ordered attributes 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 attributes. Reinserting an existing value at a new position moves the value to that position.


Method Summary
 InputPin getInsertAt()
           
 boolean getIsReplaceAll()
           
 void setInsertAt(InputPin insertAt)
          Setter for atomic property insertAt)
 void setIsReplaceAll(boolean isReplaceAll)
          Setter for atomic property isReplaceAll)
 
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.ReadWriteActions.WriteAttributeAction
getValue, setValue
 
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.ReadWriteActions.AttributeAction
getAttribute, getIsSynchronous, getObject, setAttribute, setIsSynchronous, setObject
 
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 uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObject
extAddObjectListener, extDeepCopy, extDeepCopy, extEquals, extRemoveObjectListener, extValueHash, extVisit
 
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
 

Method Detail

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