freeforums
Class Message

java.lang.Object
  |
  +--freeforums.Message
All Implemented Interfaces:
java.io.Serializable

public class Message
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Message()
           
Message(int Messageid, java.lang.String inSubject, java.lang.String inMessageText, java.lang.String inUsername, int inReplyto, java.util.Date inDate)
           
 
Method Summary
 java.util.Date getMessageDate()
           
 int getMessageId()
           
 java.lang.String getMessageText()
           
 int getReplytoId()
           
 java.lang.String getSubject()
           
 java.lang.String getUsername()
           
 void setMessageDate(java.util.Date message_date)
           
 void setMessageId(int inMessageId)
           
 void setMessageText(java.lang.String message)
           
 void setReplytoId(int inId)
           
 void setSubject(java.lang.String subject)
           
 void setUsername(java.lang.String username)
           
 java.lang.String toHTML(boolean read, int depth)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Message

public Message()

Message

public Message(int Messageid,
               java.lang.String inSubject,
               java.lang.String inMessageText,
               java.lang.String inUsername,
               int inReplyto,
               java.util.Date inDate)
Method Detail

getMessageId

public int getMessageId()

getReplytoId

public int getReplytoId()

getSubject

public java.lang.String getSubject()

getMessageText

public java.lang.String getMessageText()

getUsername

public java.lang.String getUsername()

getMessageDate

public java.util.Date getMessageDate()

setMessageId

public void setMessageId(int inMessageId)

setReplytoId

public void setReplytoId(int inId)

setSubject

public void setSubject(java.lang.String subject)

setMessageText

public void setMessageText(java.lang.String message)

setUsername

public void setUsername(java.lang.String username)

setMessageDate

public void setMessageDate(java.util.Date message_date)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toHTML

public java.lang.String toHTML(boolean read,
                               int depth)