Interface CallAction

    • Method Detail

      • isSynchronous

        boolean isSynchronous()
        Returns the value of the 'Is Synchronous' attribute. The default value is "true". If true, the call is synchronous and the caller waits for completion of the invoked behavior. If false, the call is asynchronous and the caller proceeds immediately and does not expect a return values.
        Returns:
        the value of the 'Is Synchronous' attribute.
        See Also:
        setIsSynchronous(boolean), UMLPackage.getCallAction_IsSynchronous()
      • setIsSynchronous

        void setIsSynchronous​(boolean value)
        Sets the value of the 'Is Synchronous' attribute.
        Parameters:
        value - the new value of the 'Is Synchronous' attribute.
        See Also:
        isSynchronous()
      • getResults

        MDWEList<OutputPin> getResults()
        Returns the value of the 'Result' containment reference list. The list contents are of type OutputPin. A list of output pins where the results of performing the invocation are placed.
        Returns:
        the value of the 'Result' containment reference list.
        See Also:
        UMLPackage.getCallAction_Result()
      • createResult

        OutputPin createResult​(String name,
                               Type type)
        Creates a new OutputPin, with the specified 'Name', and 'Type', and appends it to the 'Result' containment reference list.
        Parameters:
        name - The 'Name' for the new OutputPin, or null.
        type - The 'Type' for the new OutputPin, or null.
        Returns:
        The new OutputPin.
        See Also:
        getResults()
      • getResult

        OutputPin getResult​(String name,
                            Type type)
        Retrieves the first OutputPin with the specified 'Name', and 'Type' from the 'Result' containment reference list.
        Parameters:
        name - The 'Name' of the OutputPin to retrieve, or null.
        type - The 'Type' of the OutputPin to retrieve, or null.
        Returns:
        The first OutputPin with the specified 'Name', and 'Type', or null.
        See Also:
        getResults()
      • getResult

        OutputPin getResult​(String name,
                            Type type,
                            boolean ignoreCase,
                            boolean createOnDemand)
        Retrieves the first OutputPin with the specified 'Name', and 'Type' from the 'Result' containment reference list.
        Parameters:
        name - The 'Name' of the OutputPin to retrieve, or null.
        type - The 'Type' of the OutputPin to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        createOnDemand - Whether to create a OutputPin on demand if not found.
        Returns:
        The first OutputPin with the specified 'Name', and 'Type', or null.
        See Also:
        getResults()
      • validateSynchronousCall

        boolean validateSynchronousCall​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map context)
        Only synchronous call actions can have result pins. true
      • validateNumberAndOrder

        boolean validateNumberAndOrder​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map context)
        The number and order of argument pins must be the same as the number and order of parameters of the invoked behavior or behavioral feature. Pins are matched to parameters by order. true
      • validateTypeOrderingMultiplicity

        boolean validateTypeOrderingMultiplicity​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                 Map context)
        The type, ordering, and multiplicity of an argument pin must be the same as the corresponding parameter of the behavior or behavioral feature. true