uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.CollectionActions
Interface MapAction

All Superinterfaces:
Action, CollectionAction, Element, ExtObject, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
All Known Implementing Classes:
MapAction_Impl

public interface MapAction
extends CollectionAction

The map action applies a subaction to each input slice. If the subaction has output pins, then the map action has that same number of outputs, each of which is a collection with the same size as the input collections. Any values produced on the suboutput pins are formed into collections, each containing one value from each execution. The subaction is executed concurrently, once for each input slice. If executions of the subaction conflict (because they write shared objects), then the result is indeterminate. The map action has zero or more output pins, each of which holds a collection. The output collections from the map action have the same size as the input collections, and each output value occupies the corresponding position in its collection, but the types of the collections may differ from each other and the input collections. The number of output collections need not equal the number of input collections. The subaction may access available scalar inputs from outside the map action, but no output pin of the subaction is available outside the map action.


Method Summary
 List getArgument()
           
 List getResult()
           
 List getSubinput()
           
 List getSuboutput()
           
 
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.BehavioralElements.Actions.CollectionActions.CollectionAction
getSubaction, setSubaction
 
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

getSuboutput

List getSuboutput()
                  throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

getSubinput

List getSubinput()
                 throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

getResult

List getResult()
               throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

getArgument

List getArgument()
                 throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException