Software Disclaimer

Class UML 2.4.1::ReduceAction

Description:

A reduce action is an action that reduces a collection to a single value by combining the elements of the collection.

Direct Superclasses: Action

Direct Subclasses:

Class Precedence List: ReduceAction, Action, ExecutableNode, ActivityNode, RedefinableElement, NamedElement, Element

Properties:

collection : InputPin (1 1); -- source ReduceAction
isOrdered : Boolean (1 1); -- source ReduceAction
reducer : Behavior (1 1); -- source ReduceAction
result : OutputPin (1 1); -- source ReduceAction
context : Classifier (0 1); -- source Action
input : InputPin (0 *); -- source Action
isLocallyReentrant : Boolean (1 1); -- source Action
localPostcondition : Constraint (0 *); -- source Action
localPrecondition : Constraint (0 *); -- source Action
output : OutputPin (0 *); -- source Action
handler : ExceptionHandler (0 *); -- source ExecutableNode
activity : Activity (0 1); -- source ActivityNode
inGroup : ActivityGroup (0 *); -- source ActivityNode

Groups containing the node.
{readonly}
Derived union with sources: (inStructuredNode, inPartition, inInterruptibleRegion)
Opposite: ActivityGroup.containedNode

inInterruptibleRegion : InterruptibleActivityRegion (0 *); -- source ActivityNode
inPartition : ActivityPartition (0 *); -- source ActivityNode
inStructuredNode : StructuredActivityNode (0 1); -- source ActivityNode
incoming : ActivityEdge (0 *); -- source ActivityNode
outgoing : ActivityEdge (0 *); -- source ActivityNode
redefinedNode : ActivityNode (0 *); -- source ActivityNode
isLeaf : Boolean (1 1); -- source RedefinableElement
redefinedElement : RedefinableElement (0 *); -- source RedefinableElement
redefinitionContext : Classifier (0 *); -- source RedefinableElement
clientDependency : Dependency (0 *); -- source NamedElement
name : String (0 1); -- source NamedElement
nameExpression : StringExpression (0 1); -- source NamedElement
namespace : Namespace (0 1); -- source NamedElement
qualifiedName : String (0 1); -- source NamedElement
visibility : VisibilityKind (0 1); -- source NamedElement
ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element
owner : Element (0 1); -- source Element

Constraints:

Signature: reducer_inputs_output() : Boolean;
Description: The reducer behavior must have two input parameters and one output parameter, of types compatible with the types of elements of the input collection.
Expression: true

Signature: output_types_are_compatible() : Boolean;
Description: The type of the output must be compatible with the type of the output of the reducer behavior.
Expression: true

Signature: input_type_is_collection() : Boolean;
Description: The type of the input must be a collection.
Expression: true

Operations:

No additional operations.



Send questions or comments to xmi-interop@omg.org.