Class UML 2.4.1::Lifeline
Description:
A lifeline represents an individual participant in the interaction. While
parts and structural features may have multiplicity greater than 1, lifelines
represent only one interacting entity.
Direct Superclasses: NamedElementDirect Subclasses: Class Precedence List: Lifeline,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
coveredBy :
InteractionFragment (0 *); -- source
Lifeline![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
decomposedAs :
PartDecomposition (0 1); -- source
Lifeline![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
interaction :
Interaction (1 1); -- source
Lifeline![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
represents :
ConnectableElement (0 1); -- source
Lifeline![](/se-interop/image/right-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
selector :
ValueSpecification (0 1); -- source
LifelineIf the referenced ConnectableElement is multivalued, then this specifies
the specific individual part within that set.
{
composite}
Subsets: Element.ownedElement
![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=12173%3A9405A0C3E4EDA2BA9785617D8B6F00F3)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: selector_specified() : Boolean;
Description: The selector for a Lifeline must only be specified if the referenced Part
is multivalued.
Expression: (self.selector->isEmpty() implies not self.represents.isMultivalued()) or (not self.selector->isEmpty() implies self.represents.isMultivalued())
Signature: same_classifier() : Boolean;
Description: The classifier containing the referenced ConnectableElement must be the
same classifier, or an ancestor, of the classifier that contains the interaction
enclosing this lifeline.
The OCL used here is not normative.Editor's notes: Added endif, else false endif, removed a close paren.
Expression: if (represents->notEmpty()) then
if selector->notEmpty() then represents.isMultivalued() else not represents.isMultivalued()
endif else false endif
Original: if (represents->notEmpty()) then (if selector->notEmpty() then represents.isMultivalued() else not represents.isMultivalued())
Signature: interaction_uses_share_lifeline() : Boolean;
Description: 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.
Expression: true
Operations:
No additional operations.
Send questions or comments to
[email protected].