public interface Lifeline extends UmlModelElement
A lifeline represents an individual participant in the Interaction. While Parts and StructuralFeatures may have multiplicity greater than 1, Lifelines represent only one interacting entity.
If the referenced Instance is multivalued (i.e, has a multiplicity > 1), then the Lifeline may have an expression (the "selector") that specifies which particular part is represented by this Lifeline. If the selector is omitted, this means that an arbitrary representative of the multivalued ConnectableElement is chosen.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MNAME
The metaclass simple name.
|
static java.lang.String |
MQNAME
The metaclass qualified name.
|
Modifier and Type | Method and Description |
---|---|
<any> |
getCoveredBy()
Getter for relation 'Lifeline->CoveredBy'
Metamodel description:
null
|
<T extends InteractionFragment> |
getCoveredBy(java.lang.Class<T> filterClass)
Filtered Getter for relation 'Lifeline->CoveredBy'
Metamodel description:
null
|
PartDecomposition |
getDecomposedAs()
Getter for relation 'Lifeline->DecomposedAs'
Metamodel description:
References the Interaction that represents the decomposition.
|
Interaction |
getOwner()
Getter for relation 'Lifeline->Owner'
Metamodel description:
null
|
Instance |
getRepresented()
Getter for relation 'Lifeline->Represented'
Metamodel description:
References the Instance the Lifeline represents.
|
java.lang.String |
getSelector()
Getter for attribute 'Lifeline.Selector'
Metamodel description:
If the referenced ConnectableElement is multivalued, then this specifies the specific individual part within that set.
|
void |
setDecomposedAs(PartDecomposition value)
Setter for relation 'Lifeline->DecomposedAs'
Metamodel description:
References the Interaction that represents the decomposition.
|
void |
setOwner(Interaction value)
Setter for relation 'Lifeline->Owner'
Metamodel description:
null
|
void |
setRepresented(Instance value)
Setter for relation 'Lifeline->Represented'
Metamodel description:
References the Instance the Lifeline represents.
|
void |
setSelector(java.lang.String value)
Setter for attribute 'Lifeline.Selector'
Metamodel description:
If the referenced ConnectableElement is multivalued, then this specifies the specific individual part within that set.
|
getConstraintDefinition, getConstraintDefinition, getDefaultParametering, getDefaultParametering, getManifesting, getManifesting, getOwnerTemplateParameter, getReceivedInfo, getReceivedInfo, getRepresentingConnector, getRepresentingConnector, getRepresentingEnd, getRepresentingEnd, getRepresentingInstance, getRepresentingInstance, getRepresentingPartition, getRepresentingPartition, getRepresents, getRepresents, getSentInfo, getSentInfo, getTemplateSubstitution, getTemplateSubstitution, getTypingParameter, getTypingParameter, setOwnerTemplateParameter
addStereotype, getAttached, getAttached, getDependsOnDependency, getDependsOnDependency, getDescriptor, getDescriptor, getExtension, getExtension, getImpactDependsOn, getImpactDependsOn, getImpactedDependency, getImpactedDependency, getImpactImpacted, getImpactImpacted, getLocalProperties, getLocalProperty, getMatrix, getMatrix, getName, getNote, getNote, getNote, getNoteContent, getNoteContent, getNoteContent, getProduct, getProduct, getProperties, getProperties, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getProperty, getStereotype, getTag, getTag, getTag, getTag, getTag, getTagValue, getTagValue, getTagValue, getTagValues, getTagValues, getTagValues, isStereotyped, isStereotyped, isTagged, isTagged, isTagged, putNoteContent, putNoteContent, putNoteContent, putTagValue, putTagValue, putTagValue, putTagValues, putTagValues, putTagValues, removeNotes, removeNotes, removeNotes, removeStereotypes, removeTags, removeTags, removeTags, setLocalProperties, setLocalProperty, setName, setProperty, setProperty, setProperty, setProperty
getAddedToQuery, getAddedToQuery, getCausedImpact, getCausedImpact, getDiagramElement, getDiagramElement
accept, delete, getCompositionChildren, getCompositionOwner, getMClass, getStatus, getUuid, isDeleted, isModifiable, isShell, isValid, mGet, mGet, mSet
static final java.lang.String MNAME
static final java.lang.String MQNAME
java.lang.String getSelector()
void setSelector(java.lang.String value)
<any> getCoveredBy()
<T extends InteractionFragment> java.util.List<T> getCoveredBy(java.lang.Class<T> filterClass)
PartDecomposition getDecomposedAs()
void setDecomposedAs(PartDecomposition value)
Interaction getOwner()
void setOwner(Interaction value)
Instance getRepresented()
void setRepresented(Instance value)