ix.ichat
Class ChatMessage
java.lang.Object
ix.icore.AbstractAnnotatedObject
ix.ichat.ChatMessage
- All Implemented Interfaces:
- Annotated, Sendable, java.io.Serializable, java.lang.Cloneable
public class ChatMessage
- extends AbstractAnnotatedObject
- implements java.io.Serializable, java.lang.Cloneable, Sendable
An object to send when conducting chat dialogues.
- See Also:
- Serialized Form
Methods inherited from class ix.icore.AbstractAnnotatedObject |
addAnnotationListener, annMap, clearAnnotations, fireSetAnnotation, getAnnotation, getAnnotations, getComments, makeAnnMap, removeAnnotation, setAnnotation, setAnnotations, setComments, takeAnnotations |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
text
protected java.lang.String text
senderId
protected Name senderId
ChatMessage
public ChatMessage()
ChatMessage
public ChatMessage(java.lang.String text,
java.lang.String senderId)
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)
getSenderId
public Name getSenderId()
- Specified by:
getSenderId
in interface Sendable
setSenderId
public void setSenderId(Name id)
- Specified by:
setSenderId
in interface Sendable
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface Sendable
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object