Interface Clause

    • Method Detail

      • getTests

        MDWEList<ExecutableNode> getTests()
        Returns the value of the 'Test' reference list. The list contents are of type ExecutableNode. A nested activity fragment with a designated output pin that specifies the result of the test.
        Returns:
        the value of the 'Test' reference list.
        See Also:
        UMLPackage.getClause_Test()
      • getTest

        ExecutableNode getTest​(String name,
                               boolean ignoreCase,
                               org.eclipse.emf.ecore.EClass eClass)
        Retrieves the first ExecutableNode with the specified 'Name' from the ' Test' reference list.
        Parameters:
        name - The 'Name' of the ExecutableNode to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        eClass - The Ecore class of the ExecutableNode to retrieve, or null.
        Returns:
        The first ExecutableNode with the specified 'Name', or null.
        See Also:
        getTests()
      • getBodies

        MDWEList<ExecutableNode> getBodies()
        Returns the value of the 'Body' reference list. The list contents are of type ExecutableNode. A nested activity fragment that is executed if the test evaluates to true and the clause is chosen over any concurrent clauses that also evaluate to true.
        Returns:
        the value of the 'Body' reference list.
        See Also:
        UMLPackage.getClause_Body()
      • getBody

        ExecutableNode getBody​(String name,
                               boolean ignoreCase,
                               org.eclipse.emf.ecore.EClass eClass)
        Retrieves the first ExecutableNode with the specified 'Name' from the ' Body' reference list.
        Parameters:
        name - The 'Name' of the ExecutableNode to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        eClass - The Ecore class of the ExecutableNode to retrieve, or null.
        Returns:
        The first ExecutableNode with the specified 'Name', or null.
        See Also:
        getBodies()
      • getDecider

        OutputPin getDecider()
        Returns the value of the 'Decider' reference. An output pin within the test fragment the value of which is examined after execution of the test to determine whether the body should be executed.
        Returns:
        the value of the 'Decider' reference.
        See Also:
        setDecider(OutputPin), UMLPackage.getClause_Decider()
      • setDecider

        void setDecider​(OutputPin value)
        Sets the value of the 'Decider' reference.
        Parameters:
        value - the new value of the 'Decider' reference.
        See Also:
        getDecider()
      • getBodyOutputs

        MDWEList<OutputPin> getBodyOutputs()
        Returns the value of the 'Body Output' reference list. The list contents are of type OutputPin. A list of output pins within the body fragment whose values are moved to the result pins of the containing conditional node after execution of the clause body.
        Returns:
        the value of the 'Body Output' reference list.
        See Also:
        UMLPackage.getClause_BodyOutput()
      • getBodyOutput

        OutputPin getBodyOutput​(String name,
                                Type type)
        Retrieves the first OutputPin with the specified 'Name', and 'Type' from the 'Body Output' 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:
        getBodyOutputs()
      • getBodyOutput

        OutputPin getBodyOutput​(String name,
                                Type type,
                                boolean ignoreCase)
        Retrieves the first OutputPin with the specified 'Name', and 'Type' from the 'Body Output' 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.
        Returns:
        The first OutputPin with the specified 'Name', and 'Type', or null.
        See Also:
        getBodyOutputs()
      • validateDeciderOutput

        boolean validateDeciderOutput​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                      Map context)
        The decider output pin must be for the test body or a node contained by the test body as a structured node. true
      • validateBodyOutputPins

        boolean validateBodyOutputPins​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map context)
        The bodyOutput pins are output pins on actions in the body of the clause. true