Interface InteractionUse

    • Method Detail

      • setRefersTo

        void setRefersTo​(Interaction value)
        Sets the value of the 'Refers To' reference.
        Parameters:
        value - the new value of the 'Refers To' reference.
        See Also:
        getRefersTo()
      • getActualGates

        MDWEList<Gate> getActualGates()
        Returns the value of the 'Actual Gate' containment reference list. The list contents are of type Gate. The actual gates of the InteractionUse
        Returns:
        the value of the 'Actual Gate' containment reference list.
        See Also:
        UMLPackage.getInteractionUse_ActualGate()
      • createActualGate

        Gate createActualGate​(String name)
        Creates a new Gate, with the specified 'Name', and appends it to the ' Actual Gate' containment reference list.
        Parameters:
        name - The 'Name' for the new Gate, or null.
        Returns:
        The new Gate.
        See Also:
        getActualGates()
      • getActualGate

        Gate getActualGate​(String name)
        Retrieves the first Gate with the specified 'Name' from the 'Actual Gate ' containment reference list.
        Parameters:
        name - The 'Name' of the Gate to retrieve, or null.
        Returns:
        The first Gate with the specified 'Name', or null.
        See Also:
        getActualGates()
      • getActualGate

        Gate getActualGate​(String name,
                           boolean ignoreCase,
                           boolean createOnDemand)
        Retrieves the first Gate with the specified 'Name' from the 'Actual Gate ' containment reference list.
        Parameters:
        name - The 'Name' of the Gate to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        createOnDemand - Whether to create a Gate on demand if not found.
        Returns:
        The first Gate with the specified 'Name', or null.
        See Also:
        getActualGates()
      • getArguments

        MDWEList<Action> getArguments()
        Returns the value of the 'Argument' containment reference list. The list contents are of type Action. The actual arguments of the Interaction
        Returns:
        the value of the 'Argument' containment reference list.
        See Also:
        UMLPackage.getInteractionUse_Argument()
      • createArgument

        Action createArgument​(String name,
                              org.eclipse.emf.ecore.EClass eClass)
        Creates a new Action, with the specified 'Name', and appends it to the ' Argument' containment reference list.
        Parameters:
        name - The 'Name' for the new Action, or null.
        eClass - The Ecore class of the Action to create.
        Returns:
        The new Action.
        See Also:
        getArguments()
      • getArgument

        Action getArgument​(String name)
        Retrieves the first Action with the specified 'Name' from the 'Argument' containment reference list.
        Parameters:
        name - The 'Name' of the Action to retrieve, or null.
        Returns:
        The first Action with the specified 'Name', or null.
        See Also:
        getArguments()
      • getArgument

        Action getArgument​(String name,
                           boolean ignoreCase,
                           org.eclipse.emf.ecore.EClass eClass,
                           boolean createOnDemand)
        Retrieves the first Action with the specified 'Name' from the 'Argument' containment reference list.
        Parameters:
        name - The 'Name' of the Action to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        eClass - The Ecore class of the Action to retrieve, or null.
        createOnDemand - Whether to create a Action on demand if not found.
        Returns:
        The first Action with the specified 'Name', or null.
        See Also:
        getArguments()
      • validateGatesMatch

        boolean validateGatesMatch​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                   Map context)
        Actual Gates of the InteractionUse must match Formal Gates of the referred Interaction. Gates match when their names are equal. true
      • validateAllLifelines

        boolean validateAllLifelines​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map context)
        The InteractionUse must cover all Lifelines of the enclosing Interaction which appear within the referred Interaction. true
      • validateArgumentsCorrespondToParameters

        boolean validateArgumentsCorrespondToParameters​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                        Map context)
        The arguments of the InteractionUse must correspond to parameters of the referred Interaction true
      • validateArgumentsAreConstants

        boolean validateArgumentsAreConstants​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                              Map context)
        The arguments must only be constants, parameters of the enclosing Interaction or attributes of the classifier owning the enclosing Interaction. true