Interface ObjectFlow

    • Method Detail

      • isMulticast

        boolean isMulticast()
        Returns the value of the 'Is Multicast' attribute. The default value is "false". Tells whether the objects in the flow are passed by multicasting.
        Returns:
        the value of the 'Is Multicast' attribute.
        See Also:
        setIsMulticast(boolean), UMLPackage.getObjectFlow_IsMulticast()
      • setIsMulticast

        void setIsMulticast​(boolean value)
        Sets the value of the 'Is Multicast' attribute.
        Parameters:
        value - the new value of the 'Is Multicast' attribute.
        See Also:
        isMulticast()
      • isMultireceive

        boolean isMultireceive()
        Returns the value of the 'Is Multireceive' attribute. The default value is "false". Tells whether the objects in the flow are gathered from respondents to multicasting.
        Returns:
        the value of the 'Is Multireceive' attribute.
        See Also:
        setIsMultireceive(boolean), UMLPackage.getObjectFlow_IsMultireceive()
      • setIsMultireceive

        void setIsMultireceive​(boolean value)
        Sets the value of the 'Is Multireceive' attribute.
        Parameters:
        value - the new value of the 'Is Multireceive' attribute.
        See Also:
        isMultireceive()
      • setTransformation

        void setTransformation​(Behavior value)
        Sets the value of the 'Transformation' reference.
        Parameters:
        value - the new value of the 'Transformation' reference.
        See Also:
        getTransformation()
      • setSelection

        void setSelection​(Behavior value)
        Sets the value of the 'Selection' reference.
        Parameters:
        value - the new value of the 'Selection' reference.
        See Also:
        getSelection()
      • validateNoActions

        boolean validateNoActions​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                  Map context)
        Object flows may not have actions at either end. true
      • validateCompatibleTypes

        boolean validateCompatibleTypes​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map context)
        Object nodes connected by an object flow, with optionally intervening control nodes, must have compatible types. In particular, the downstream object node type must be the same or a supertype of the upstream object node type. true
      • validateSameUpperBounds

        boolean validateSameUpperBounds​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map context)
        Object nodes connected by an object flow, with optionally intervening control nodes, must have the same upper bounds. true
      • validateTarget

        boolean validateTarget​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                               Map context)
        An edge with constant weight may not target an object node, or lead to an object node downstream with no intervening actions, that has an upper bound less than the weight. true
      • validateTransformationBehaviour

        boolean validateTransformationBehaviour​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                Map context)
        A transformation behavior has one input parameter and one output parameter. The input parameter must be the same as or a supertype of the type of object token coming from the source end. The output parameter must be the same or a subtype of the type of object token expected downstream. The behavior cannot have side effects. true
      • validateSelectionBehaviour

        boolean validateSelectionBehaviour​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map context)
        An object flow may have a selection behavior only if has an object node as a source. true
      • validateInputAndOutputParameter

        boolean validateInputAndOutputParameter​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                Map context)
        A selection behavior has one input parameter and one output parameter. The input parameter must be a bag of elements of the same as or a supertype of the type of source object node. The output parameter must be the same or a subtype of the type of source object node. The behavior cannot have side effects. true
      • validateIsMulticastOrIsMultireceive

        boolean validateIsMulticastOrIsMultireceive​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                    Map context)
        isMulticast and isMultireceive cannot both be true. true