public interface Message extends NamedElement
A Message defines a particular communication between Lifelines of an Interaction.
The following features are supported:
UMLPackage.getMessage()| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<InformationFlow> |
get_informationFlowOfRealizingMessage()
Returns the value of the 'information Flow Of Realizing Message' reference list.
|
java.util.Collection<MessageEnd> |
get_messageEndOfMessage()
Returns the value of the 'message End Of Message' reference list.
|
java.util.Collection<Message> |
get_messageOfReplyMessage()
Returns the value of the 'message Of Reply Message' reference list.
|
java.util.List<ValueSpecification> |
getArgument()
Returns the value of the 'Argument' containment reference list.
|
Connector |
getConnector()
Returns the value of the 'Connector' reference.
|
Constraint |
getGuard()
Returns the value of the 'Guard' containment 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.
|
MessageEnd |
getReceiveEvent()
Returns the value of the 'Receive Event' reference.
|
Message |
getReplyMessage()
Returns the value of the 'Reply Message' reference.
|
MessageEnd |
getSendEvent()
Returns the value of the 'Send Event' reference.
|
NamedElement |
getSignature()
Returns the value of the 'Signature' reference.
|
ValueSpecification |
getTarget()
Returns the value of the 'Target' containment reference.
|
boolean |
has_informationFlowOfRealizingMessage() |
boolean |
has_messageEndOfMessage() |
boolean |
has_messageOfReplyMessage() |
boolean |
hasArgument() |
void |
setConnector(Connector value)
Sets the value of the '
Connector' reference. |
void |
setGuard(Constraint value)
Sets the value of the '
Guard' containment 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 |
setReplyMessage(Message value)
Sets the value of the '
Reply Message' reference. |
void |
setSendEvent(MessageEnd value)
Sets the value of the '
Send Event' reference. |
void |
setSignature(NamedElement value)
Sets the value of the '
Signature' reference. |
void |
setTarget(ValueSpecification value)
Sets the value of the '
Target' containment reference. |
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibilityget_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElementget_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalIDgetID, getMDExtension, getMdExtensions, setIDeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliveraccept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetIDrefClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite@CheckForNull MessageKind getMessageKind()
MessageKind.
The derived kind of the Message (complete, lost, found, or unknown).
MessageKind,
UMLPackage.getMessage_MessageKind()@CheckForNull MessageSort getMessageSort()
"synchCall".
The literals are from the enumeration MessageSort.
The sort of communication reflected by the Message.
MessageSort,
setMessageSort(MessageSort),
UMLPackage.getMessage_MessageSort()void setMessageSort(@CheckForNull
MessageSort value)
Message Sort' attribute.
value - the new value of the 'Message Sort' attribute.MessageSort,
getMessageSort()@CheckForNull MessageEnd getReceiveEvent()
message Of Receive Event'.
References the Receiving of the Message.
setReceiveEvent(MessageEnd),
UMLPackage.getMessage_ReceiveEvent(),
MessageEnd.get_messageOfReceiveEvent()void setReceiveEvent(@CheckForNull
MessageEnd value)
Receive Event' reference.
value - the new value of the 'Receive Event' reference.getReceiveEvent()java.util.Collection<MessageEnd> get_messageEndOfMessage()
MessageEnd.
It is bidirectional and its opposite is 'Message'.
If the meaning of the 'message End Of Message' reference list isn't clear, there really should be more of a description here...
UMLPackage.getMessage__messageEndOfMessage(),
MessageEnd.getMessage()@CheckForNull MessageEnd getSendEvent()
message Of Send Event'.
References the Sending of the Message.
setSendEvent(MessageEnd),
UMLPackage.getMessage_SendEvent(),
MessageEnd.get_messageOfSendEvent()void setSendEvent(@CheckForNull
MessageEnd value)
Send Event' reference.
value - the new value of the 'Send Event' reference.getSendEvent()@CheckForNull Connector getConnector()
message Of Connector'.
The Connector on which this Message is sent.
setConnector(Connector),
UMLPackage.getMessage_Connector(),
Connector.get_messageOfConnector()void setConnector(@CheckForNull
Connector value)
Connector' reference.
value - the new value of the 'Connector' reference.getConnector()java.util.List<ValueSpecification> getArgument()
ValueSpecification.
It is bidirectional and its opposite is
'message Of Argument'.
The arguments of the Message.
UMLPackage.getMessage_Argument(),
ValueSpecification.get_messageOfArgument()@CheckForNull NamedElement getSignature()
message Of Signature'.
The signature of the Message is the specification of its content. It refers either an Operation or a Signal.
setSignature(NamedElement),
UMLPackage.getMessage_Signature(),
NamedElement.get_messageOfSignature()void setSignature(@CheckForNull
NamedElement value)
Signature' reference.
value - the new value of the 'Signature' reference.getSignature()java.util.Collection<InformationFlow> get_informationFlowOfRealizingMessage()
InformationFlow.
It is bidirectional and its opposite is
'Realizing Message'.
If the meaning of the 'information Flow Of Realizing Message' reference list isn't clear, there really should be more of a description here...
UMLPackage.getMessage__informationFlowOfRealizingMessage(),
InformationFlow.getRealizingMessage()@CheckForNull Message getReplyMessage()
message Of Reply Message'.
If the meaning of the 'Reply Message' reference isn't clear, there really should be more of a description here...
setReplyMessage(Message),
UMLPackage.getMessage_ReplyMessage(),
get_messageOfReplyMessage()void setReplyMessage(@CheckForNull
Message value)
Reply Message' reference.
value - the new value of the 'Reply Message' reference.getReplyMessage()java.util.Collection<Message> get_messageOfReplyMessage()
Message.
It is bidirectional and its opposite is 'Reply Message'.
If the meaning of the 'message Of Reply Message' reference list isn't clear, there really should be more of a description here...
UMLPackage.getMessage__messageOfReplyMessage(),
getReplyMessage()@CheckForNull Constraint getGuard()
message Of Guard'.
If the meaning of the 'Guard' containment reference isn't clear, there really should be more of a description here...
setGuard(Constraint),
UMLPackage.getMessage_Guard(),
Constraint.get_messageOfGuard()void setGuard(@CheckForNull
Constraint value)
Guard' containment reference.
value - the new value of the 'Guard' containment reference.getGuard()@CheckForNull ValueSpecification getTarget()
message Of Target'.
If the meaning of the 'Target' containment reference isn't clear, there really should be more of a description here...
setTarget(ValueSpecification),
UMLPackage.getMessage_Target(),
ValueSpecification.get_messageOfTarget()void setTarget(@CheckForNull
ValueSpecification value)
Target' containment reference.
value - the new value of the 'Target' containment reference.getTarget()@CheckForNull Interaction getInteraction()
Message'.
The enclosing Interaction owning the Message.
setInteraction(Interaction),
UMLPackage.getMessage_Interaction(),
Interaction.getMessage()void setInteraction(@CheckForNull
Interaction value)
Interaction' container reference.
value - the new value of the 'Interaction' container reference.getInteraction()boolean has_messageEndOfMessage()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasArgument()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean has_messageOfReplyMessage()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean has_informationFlowOfRealizingMessage()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException