public interface ReduceAction extends Action
A ReduceAction is an Action that reduces a collection to a single value by repeatedly combining the elements of the collection using a reducer Behavior.
The following features are supported:
UMLPackage.getReduceAction()| Modifier and Type | Method and Description |
|---|---|
InputPin |
getCollection()
Returns the value of the 'Collection' containment reference.
|
Behavior |
getReducer()
Returns the value of the 'Reducer' reference.
|
OutputPin |
getResult()
Returns the value of the 'Result' containment reference.
|
boolean |
isOrdered()
Returns the value of the 'Ordered' attribute.
|
void |
setCollection(InputPin value)
Sets the value of the '
Collection' containment reference. |
void |
setOrdered(boolean value)
Sets the value of the '
Ordered' attribute. |
void |
setReducer(Behavior value)
Sets the value of the '
Reducer' reference. |
void |
setResult(OutputPin value)
Sets the value of the '
Result' containment reference. |
get_actionExecutionSpecificationOfAction, get_actionInputPinOfFromAction, get_interactionOfAction, getContext, getInput, getLocalPostcondition, getLocalPrecondition, getOutput, has_actionExecutionSpecificationOfAction, hasInput, hasLocalPostcondition, hasLocalPrecondition, hasOutput, isLocallyReentrant, set_actionInputPinOfFromAction, set_interactionOfAction, setLocallyReentrantget_clauseOfBody, get_clauseOfTest, get_exceptionHandlerOfHandlerBody, get_loopNodeOfBodyPart, get_loopNodeOfSetupPart, get_loopNodeOfTest, get_sequenceNodeOfExecutableNode, getHandler, has_exceptionHandlerOfHandlerBody, hasHandler, set_clauseOfBody, set_clauseOfTest, set_loopNodeOfBodyPart, set_loopNodeOfSetupPart, set_loopNodeOfTest, set_sequenceNodeOfExecutableNodeget_activityNodeOfRedefinedNode, getActivity, getIncoming, getInGroup, getInInterruptibleRegion, getInPartition, getInStructuredNode, getOutgoing, getRedefinedNode, has_activityNodeOfRedefinedNode, hasIncoming, hasInGroup, hasInInterruptibleRegion, hasInPartition, hasOutgoing, hasRedefinedNode, setActivity, setInStructuredNodeget_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeafget_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibilityget_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElementget_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalIDgetID, getMDExtension, getMdExtensions, setIDeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliveraccept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetIDrefClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite@CheckForNull Behavior getReducer()
reduce Action Of Reducer'.
A Behavior that is repreatedly applied to two elements of the input collection to produce a value that is of the same type as elements of the collection.
setReducer(Behavior),
UMLPackage.getReduceAction_Reducer(),
Behavior.get_reduceActionOfReducer()void setReducer(@CheckForNull
Behavior value)
Reducer' reference.
value - the new value of the 'Reducer' reference.getReducer()@CheckForNull OutputPin getResult()
reduce Action Of Result'.
The output pin on which the result value is placed.
setResult(OutputPin),
UMLPackage.getReduceAction_Result(),
OutputPin.get_reduceActionOfResult()void setResult(@CheckForNull
OutputPin value)
Result' containment reference.
value - the new value of the 'Result' containment reference.getResult()@CheckForNull InputPin getCollection()
reduce Action Of Collection'.
The InputPin that provides the collection to be reduced.
setCollection(InputPin),
UMLPackage.getReduceAction_Collection(),
InputPin.get_reduceActionOfCollection()void setCollection(@CheckForNull
InputPin value)
Collection' containment reference.
value - the new value of the 'Collection' containment reference.getCollection()boolean isOrdered()
"false".
Indicates whether the order of the input collection should determine the order in which the reducer Behavior is applied to its elements.
setOrdered(boolean),
UMLPackage.getReduceAction_Ordered()void setOrdered(boolean value)
Ordered' attribute.
value - the new value of the 'Ordered' attribute.isOrdered()