Interface ReduceAction

  • All Superinterfaces:
    Action, ActivityNode, BaseElement, java.lang.Cloneable, java.lang.Comparable, Element, org.eclipse.emf.ecore.EObject, ExecutableNode, MDObject, com.dassault_systemes.modeler.foundation.model.ModelElement, ModelObject, NamedElement, org.eclipse.emf.common.notify.Notifier, RedefinableElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject

    public interface ReduceAction
    extends Action
    A representation of the model object 'Reduce 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:

    See Also:
    UMLPackage.getReduceAction()
    Model:
    annotation="MOF package='actions.mdcompleteactions'"
    Generated:
    • Method Detail

      • setReducer

        void setReducer​(@CheckForNull
                        Behavior value)
        Sets the value of the 'Reducer' reference.
        Parameters:
        value - the new value of the 'Reducer' reference.
        See Also:
        getReducer()
        Generated:
      • setResult

        void setResult​(@CheckForNull
                       OutputPin value)
        Sets the value of the 'Result' containment reference.
        Parameters:
        value - the new value of the 'Result' containment reference.
        See Also:
        getResult()
        Generated:
      • setCollection

        void setCollection​(@CheckForNull
                           InputPin value)
        Sets the value of the 'Collection' containment reference.
        Parameters:
        value - the new value of the 'Collection' containment reference.
        See Also:
        getCollection()
        Generated:
      • isOrdered

        boolean isOrdered()
        Returns the value of the 'Ordered' attribute. The default value is "false". Indicates whether the order of the input collection should determine the order in which the reducer Behavior is applied to its elements.
        Returns:
        the value of the 'Ordered' attribute.
        See Also:
        setOrdered(boolean), com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getReduceAction_Ordered()
        Model:
        default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
        Generated:
      • setOrdered

        void setOrdered​(boolean value)
        Sets the value of the 'Ordered' attribute.
        Parameters:
        value - the new value of the 'Ordered' attribute.
        See Also:
        isOrdered()
        Generated: