Interface CombinedFragment

    • Method Detail

      • getCfragmentGates

        MDWEList<Gate> getCfragmentGates()
        Returns the value of the 'Cfragment Gate' containment reference list. The list contents are of type Gate. Specifies the gates that form the interface between this CombinedFragment and its surroundings
        Returns:
        the value of the 'Cfragment Gate' containment reference list.
        See Also:
        UMLPackage.getCombinedFragment_CfragmentGate()
      • createCfragmentGate

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

        Gate getCfragmentGate​(String name)
        Retrieves the first Gate with the specified 'Name' from the ' Cfragment 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:
        getCfragmentGates()
      • getCfragmentGate

        Gate getCfragmentGate​(String name,
                              boolean ignoreCase,
                              boolean createOnDemand)
        Retrieves the first Gate with the specified 'Name' from the ' Cfragment 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:
        getCfragmentGates()
      • validateOptLoopBreakNeg

        boolean validateOptLoopBreakNeg​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map context)
        If the interactionOperator is opt, loop, break, or neg there must be exactly one operand true
      • validateMinintAndMaxint

        boolean validateMinintAndMaxint​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map context)
        The InteractionConstraint with minint and maxint only apply when attached to an InteractionOperand where the interactionOperator is loop. true
      • validateBreak

        boolean validateBreak​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                              Map context)
        If the interactionOperator is break, the corresponding InteractionOperand must cover all Lifelines within the enclosing InteractionFragment. true
      • validateConsiderAndIgnore

        boolean validateConsiderAndIgnore​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map context)
        The interaction operators 'consider' and 'ignore' can only be used for the CombineIgnoreFragment subtype of CombinedFragment ((interactionOperator = #consider) or (interactionOperator = #ignore)) implies oclsisTypeOf(CombineIgnoreFragment)