UML.Semantic.BehavioralElements.Collaborations
Class Message

java.lang.Object
  |
  +--UML.Semantic.BehavioralElements.Collaborations.Message
All Implemented Interfaces:
ElementAtt, LinkAtt

public class Message
extends java.lang.Object
implements ElementAtt, LinkAtt

A message defines how a particular request is used in an interaction.

In the metamodel a Message defines a particular usage of a Request in an Interaction. It specifies the roles of the sender and receiver as well as the dispatching Action. Furthermore, it defines the relative sequencing of Messages within the Interaction.


Constructor Summary
Message()
           
 
Method Summary
 void add(Locator locator)
          Adds a locator to the set of locators.
 boolean check()
          Checks if well-formedness rules are respected in this model element.
 java.lang.String getElementType()
           
 java.lang.String getHref()
          Gets the element href.
 java.lang.String getId()
          Gets the element identifier.
 java.lang.String getIdref()
          Gets the element identifier reference.
 java.lang.String getLabel()
          Gets the element label.
 java.util.Vector getLocator()
          Gets the set of locators.
 java.lang.String getTitle()
          Gets the element reference title.
 java.lang.String getUuid()
          Gets the element unique identifier.
 java.lang.String getUuidref()
          Gets the element unique identifier reference.
 void setElementType(java.lang.String type)
           
 void setHref(java.lang.String href)
          Sets the element href reference to given value.
 void setId(java.lang.String id)
          Sets the element identifier to given value.
 void setIdref(java.lang.String idref)
          Sets the element identifier reference to given value.
 void setLabel(java.lang.String label)
          Sets the element label to given value.
 void setTitle(java.lang.String title)
          Sets the element reference title to given value.
 void setUuid(java.lang.String uuid)
          Sets the element unique identifier to given value.
 void setUuidref(java.lang.String uuidref)
          Sets the element unique identifier reference to given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message

public Message()
Method Detail

setId

public void setId(java.lang.String id)
Sets the element identifier to given value.

Specified by:
setId in interface ElementAtt

setLabel

public void setLabel(java.lang.String label)
Sets the element label to given value.

Specified by:
setLabel in interface ElementAtt

setUuid

public void setUuid(java.lang.String uuid)
Sets the element unique identifier to given value.

Specified by:
setUuid in interface ElementAtt

setHref

public void setHref(java.lang.String href)
Sets the element href reference to given value.

Specified by:
setHref in interface LinkAtt

setTitle

public void setTitle(java.lang.String title)
Sets the element reference title to given value.

Specified by:
setTitle in interface LinkAtt

add

public void add(Locator locator)
Adds a locator to the set of locators.


setIdref

public void setIdref(java.lang.String idref)
Sets the element identifier reference to given value.

Specified by:
setIdref in interface LinkAtt

setUuidref

public void setUuidref(java.lang.String uuidref)
Sets the element unique identifier reference to given value.

Specified by:
setUuidref in interface LinkAtt

getId

public java.lang.String getId()
Gets the element identifier.

Specified by:
getId in interface ElementAtt
Returns:
The identifier string.

getLabel

public java.lang.String getLabel()
Gets the element label.

Specified by:
getLabel in interface ElementAtt
Returns:
The label string.

getUuid

public java.lang.String getUuid()
Gets the element unique identifier.

Specified by:
getUuid in interface ElementAtt
Returns:
The unique identifier string.

getHref

public java.lang.String getHref()
Gets the element href.

Specified by:
getHref in interface LinkAtt
Returns:
The href string.

getTitle

public java.lang.String getTitle()
Gets the element reference title.

Returns:
The title string.

getLocator

public java.util.Vector getLocator()
Gets the set of locators.

Returns:
A set of locators.

getIdref

public java.lang.String getIdref()
Gets the element identifier reference.

Specified by:
getIdref in interface LinkAtt
Returns:
The identifier reference string.

getUuidref

public java.lang.String getUuidref()
Gets the element unique identifier reference.

Specified by:
getUuidref in interface LinkAtt
Returns:
The unique identifier reference string.

setElementType

public void setElementType(java.lang.String type)

getElementType

public java.lang.String getElementType()

check

public boolean check()
Checks if well-formedness rules are respected in this model element.

Returns:
True if check was successful, false otherwise.