|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Lifeline'. 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. Lifeline is a specialization of NamedElement. If the referenced ConnectableElement 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.
The following features are supported:
UML2Package.getLifeline()
Field Summary | |
static String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
SEPARATOR |
Method Summary | |
OpaqueExpression |
createSelector(EClass eClass)
Creates a OpaqueExpression and sets the 'Selector' containment reference |
InteractionFragment |
getCoveredBy(String unqualifiedName)
Retrieves the InteractionFragment with the specified name from the 'Covered By' reference list |
EList |
getCoveredBys()
Returns the value of the 'Covered By' reference list. |
PartDecomposition |
getDecomposedAs()
Returns the value of the 'Decomposed As' reference |
Interaction |
getInteraction()
Returns the value of the 'Interaction' container reference. |
Namespace |
getNamespace()
|
EList |
getOwnedElements()
|
ConnectableElement |
getRepresents()
Returns the value of the 'Represents' reference |
OpaqueExpression |
getSelector()
Returns the value of the 'Selector' containment reference |
void |
setDecomposedAs(PartDecomposition value)
Sets the value of the ' Decomposed As ' reference |
void |
setInteraction(Interaction value)
Sets the value of the ' Interaction ' container reference |
void |
setRepresents(ConnectableElement value)
Sets the value of the ' Represents ' reference |
void |
setSelector(OpaqueExpression value)
Sets the value of the ' Selector ' containment reference |
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.TemplateableElement |
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Field Detail |
public static final String copyright
Method Detail |
public EList getCoveredBys()
InteractionFragment
.
It is bidirectional and its opposite is 'Covered
'.
If the meaning of the 'Covered By' reference list isn't clear, there really should be more of a description here...
UML2Package.getLifeline_CoveredBy()
,
InteractionFragment.getCovereds()
public InteractionFragment getCoveredBy(String unqualifiedName)
InteractionFragment
with the specified name from the 'Covered By' reference list.
unqualifiedName
- The unqualified name of the InteractionFragment
to retrieve.
InteractionFragment
with the specified name, or null
.getCoveredBys()
public ConnectableElement getRepresents()
If the meaning of the 'Represents' reference isn't clear, there really should be more of a description here...
the ConnectableElement within the classifier that contains the enclosing interaction.
setRepresents(ConnectableElement)
,
UML2Package.getLifeline_Represents()
public void setRepresents(ConnectableElement value)
Represents
' reference.
value
- the new value of the 'Represents' reference.getRepresents()
public Interaction getInteraction()
Lifeline
'.
If the meaning of the 'Interaction' container reference isn't clear, there really should be more of a description here...
References the Interaction enclosing this Lifeline.
setInteraction(Interaction)
,
UML2Package.getLifeline_Interaction()
,
Interaction.getLifelines()
public void setInteraction(Interaction value)
Interaction
' container reference.
value
- the new value of the 'Interaction' container reference.getInteraction()
public OpaqueExpression getSelector()
If the meaning of the 'Selector' containment reference isn't clear, there really should be more of a description here...
If the referenced ConnectableElement is multivalued, then this specifies the specific individual part within that set.
setSelector(OpaqueExpression)
,
UML2Package.getLifeline_Selector()
public void setSelector(OpaqueExpression value)
Selector
' containment reference.
value
- the new value of the 'Selector' containment reference.getSelector()
public OpaqueExpression createSelector(EClass eClass)
OpaqueExpression
and sets the 'Selector' containment reference.
eClass
- The Ecore class of the OpaqueExpression
to create.
OpaqueExpression
.getSelector()
public PartDecomposition getDecomposedAs()
If the meaning of the 'Decomposed As' reference isn't clear, there really should be more of a description here...
setDecomposedAs(PartDecomposition)
,
UML2Package.getLifeline_DecomposedAs()
public void setDecomposedAs(PartDecomposition value)
Decomposed As
' reference.
value
- the new value of the 'Decomposed As' reference.getDecomposedAs()
public Namespace getNamespace()
getNamespace
in interface NamedElement
public EList getOwnedElements()
getOwnedElements
in interface NamedElement
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |