|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Message'. A Message defines a particular communication between Lifelines of an Interaction. A Message is a NamedElement that defines one specific kind of communication in an Interaction. A communication can be e.g. raising a signal, invoking an Operation, creating or destroying an Instance. The Message specifies not only the kind of communication given by the dispatching ExecutionOccurrence, but also the sender and the receiver. A Message associates normally two EventOccurrences - one sending EventOccurrence and one receiving EventOccurrence.
The following features are supported:
UML2Package.getMessage()
Field Summary | |
static String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
SEPARATOR |
Method Summary | |
ValueSpecification |
createArgument(EClass eClass)
Creates a ValueSpecification and appends it to the 'Argument' containment reference list |
ValueSpecification |
getArgument(String unqualifiedName)
Retrieves the ValueSpecification with the specified name from the 'Argument' containment reference list |
EList |
getArguments()
Returns the value of the 'Argument' containment reference list. |
Connector |
getConnector()
Returns the value of the 'Connector' reference |
Interaction |
getInteraction()
Returns the value of the 'Interaction' container reference. |
MessageKind |
getMessageKind()
Returns the value of the 'Message Kind' attribute. |
MessageSort |
getMessageSort()
Returns the value of the 'Message Sort' attribute. |
Namespace |
getNamespace()
|
EList |
getOwnedElements()
|
MessageEnd |
getReceiveEvent()
Returns the value of the 'Receive Event' reference. |
MessageEnd |
getSendEvent()
Returns the value of the 'Send Event' reference. |
NamedElement |
getSignature()
Returns the value of the 'Signature' reference |
void |
setConnector(Connector value)
Sets the value of the ' Connector ' reference |
void |
setInteraction(Interaction value)
Sets the value of the ' Interaction ' container reference |
void |
setMessageSort(MessageSort value)
Sets the value of the ' Message Sort ' attribute |
void |
setReceiveEvent(MessageEnd value)
Sets the value of the ' Receive Event ' reference |
void |
setSendEvent(MessageEnd value)
Sets the value of the ' Send Event ' reference |
void |
setSignature(NamedElement value)
Sets the value of the ' Signature ' 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 MessageKind getMessageKind()
MessageKind
.
If the meaning of the 'Message Kind' attribute isn't clear, there really should be more of a description here...
The derived kind of the Message (complete, lost, found or unknown) complete = sendEvent and receiveEvent are present lost = sendEvent present and receiveEvent absent found = sendEvent absent and receiveEvent present unknown = sendEvent and receiveEvent absent (should not appear)
MessageKind
,
UML2Package.getMessage_MessageKind()
public MessageSort getMessageSort()
MessageSort
.
If the meaning of the 'Message Sort' attribute isn't clear, there really should be more of a description here...
MessageSort
,
setMessageSort(MessageSort)
,
UML2Package.getMessage_MessageSort()
public void setMessageSort(MessageSort value)
Message Sort
' attribute.
value
- the new value of the 'Message Sort' attribute.MessageSort
,
getMessageSort()
public MessageEnd getReceiveEvent()
Receive Message
'.
If the meaning of the 'Receive Event' reference isn't clear, there really should be more of a description here...
the Receiving of the Message
setReceiveEvent(MessageEnd)
,
UML2Package.getMessage_ReceiveEvent()
,
MessageEnd.getReceiveMessage()
public void setReceiveEvent(MessageEnd value)
Receive Event
' reference.
value
- the new value of the 'Receive Event' reference.getReceiveEvent()
public MessageEnd getSendEvent()
Send Message
'.
If the meaning of the 'Send Event' reference isn't clear, there really should be more of a description here...
References the Sending of the Message.
setSendEvent(MessageEnd)
,
UML2Package.getMessage_SendEvent()
,
MessageEnd.getSendMessage()
public void setSendEvent(MessageEnd value)
Send Event
' reference.
value
- the new value of the 'Send Event' reference.getSendEvent()
public Connector getConnector()
If the meaning of the 'Connector' reference isn't clear, there really should be more of a description here...
The Connector on which this Message is sent.
setConnector(Connector)
,
UML2Package.getMessage_Connector()
public void setConnector(Connector value)
Connector
' reference.
value
- the new value of the 'Connector' reference.getConnector()
public Interaction getInteraction()
Message
'.
If the meaning of the 'Interaction' container reference isn't clear, there really should be more of a description here...
The enclosing Interaction owning the Message
setInteraction(Interaction)
,
UML2Package.getMessage_Interaction()
,
Interaction.getMessages()
public void setInteraction(Interaction value)
Interaction
' container reference.
value
- the new value of the 'Interaction' container reference.getInteraction()
public NamedElement getSignature()
If the meaning of the 'Signature' reference isn't clear, there really should be more of a description here...
The definition of the type or signature of the Message (depending on its kind)
setSignature(NamedElement)
,
UML2Package.getMessage_Signature()
public void setSignature(NamedElement value)
Signature
' reference.
value
- the new value of the 'Signature' reference.getSignature()
public EList getArguments()
ValueSpecification
.
If the meaning of the 'Argument' containment reference list isn't clear, there really should be more of a description here...
arguments of the Message
UML2Package.getMessage_Argument()
public ValueSpecification getArgument(String unqualifiedName)
ValueSpecification
with the specified name from the 'Argument' containment reference list.
unqualifiedName
- The unqualified name of the ValueSpecification
to retrieve.
ValueSpecification
with the specified name, or null
.getArguments()
public ValueSpecification createArgument(EClass eClass)
ValueSpecification
and appends it to the 'Argument' containment reference list.
eClass
- The Ecore class of the ValueSpecification
to create.
ValueSpecification
.getArguments()
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 |