Interface Lifeline

    • Method Detail

      • setInteraction

        void setInteraction​(Interaction value)
        Sets the value of the 'Interaction' container reference.
        Parameters:
        value - the new value of the 'Interaction' container reference.
        See Also:
        getInteraction()
      • setSelector

        void setSelector​(ValueSpecification value)
        Sets the value of the 'Selector' containment reference.
        Parameters:
        value - the new value of the 'Selector' containment reference.
        See Also:
        getSelector()
      • validateInteractionUsesShareLifeline

        boolean validateInteractionUsesShareLifeline​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                     Map context)
        If two (or more) InteractionUses within one Interaction, refer to Interactions with 'common Lifelines,' those Lifelines must also appear in the Interaction with the InteractionUses. By common Lifelines we mean Lifelines with the same selector and represents associations. true
      • validateSelectorSpecified

        boolean validateSelectorSpecified​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map context)
        The selector for a Lifeline must only be specified if the referenced Part is multivalued. (self.selector->isEmpty() implies not self.represents.isMultivalued()) or (not self.selector->isEmpty() implies self.represents.isMultivalued())
      • validateSameClassifier

        boolean validateSameClassifier​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map context)
        The classifier containing the referenced ConnectableElement must be the same classifier, or an ancestor, of the classifier that contains the interaction enclosing this lifeline. if (represents->notEmpty()) then (if selector->notEmpty() then represents.isMultivalued() else not represents.isMultivalued())