Class UML 2.3::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=34650%3A88E7E5B44C5D67677793331FA724872D)
coveredBy :
InteractionFragment (0 *); -- source
Lifeline![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
decomposedAs :
PartDecomposition (0 1); -- source
Lifeline![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
interaction :
Interaction (1 1); -- source
Lifeline![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
represents :
ConnectableElement (0 1); -- source
Lifeline![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
selector :
ValueSpecification (0 1); -- source
Lifeline![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=34650%3A88E7E5B44C5D67677793331FA724872D)
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].