com.genesyslab.ail
Interface ChatMessage


public interface ChatMessage

A chat message is one message that is sent by one party.

See Also:
ChatParty, InteractionChat

Method Summary
 java.util.Date getDate()
          Returns the date of creation of this message.
 ChatParty getParty()
          Returns the author of this message.
 java.lang.String getText()
          Returns the body text of this message.
 boolean treatAsSystem()
          Returns true if this message was generated by the system.
 

Method Detail

getDate

java.util.Date getDate()
Returns the date of creation of this message.

Returns:
a date as Date.

treatAsSystem

boolean treatAsSystem()
Returns true if this message was generated by the system.


getText

java.lang.String getText()
Returns the body text of this message.

Returns:
a text as String.

getParty

ChatParty getParty()
Returns the author of this message.

Returns:
the party as ChatParty.