com.metamatrix.api.core.message
Class DefaultMessage

java.lang.Object
  extended by com.metamatrix.api.core.message.DefaultMessage
All Implemented Interfaces:
Message, MessageTypes

public class DefaultMessage
extends java.lang.Object
implements Message, MessageTypes

The default implementation of Message. The presence of each of the three properties (text, type, or target) is optional. A few pre-defined message types have been defined for which messages can be created using one of several static create methods. In addition, a "null" message may be created that does not allow for any associated text or target. Attempts to set either the text or a target on a null message will throw an IllegalStateException.

Warnings: