com.softwarereality.forum
Class MessageBean

java.lang.Object
  extended byAbstractBean
      extended bycom.softwarereality.forum.MessageBean
All Implemented Interfaces:
java.lang.Cloneable, Message
Direct Known Subclasses:
LazyMessageBean

public class MessageBean
extends AbstractBean
implements Message

THIS FILE IS CODE GENERATED. MessageBean.java

See Also:
Message, Serialized Form

Field Summary
protected  java.util.Date createDateTime
           
protected  Forum forum
           
protected  java.lang.String forumUser
           
protected  java.lang.String ip
           
protected  java.lang.String location
           
protected  java.lang.String msgBody
           
protected  java.lang.Integer msgID
           
protected  java.lang.String msgTitle
           
protected  MessageValidator validator
           
 
Constructor Summary
MessageBean()
          Construct an unqualified qualified MessageBean.
 
Method Summary
 void _postCommit()
          Sort any of the foreign relationship lists where the foreign beans sort has been set to true.
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 java.util.Date getCreateDateTime()
          Get the Create Date Time.
 Forum getForum()
          Get the Forum.
 java.lang.String getForumUser()
          Get the Forum User.
 java.lang.Class getInterface()
           
 java.lang.String getIp()
          Get the Ip.
 java.lang.String getLocation()
          Get the Location.
protected  MessageValidator getMessageValidator()
           
 java.lang.String getMsgBody()
          Get the Msg Body.
 java.lang.Integer getMsgID()
          Get the Msg I D.
 java.lang.String getMsgTitle()
          Get the Msg Title.
 java.lang.Object getPrimaryKey()
          Get the Primary Key.
 boolean listRelations(java.util.List list, int type)
          List the related beans.
 void setCreateDateTime(java.util.Date createDateTime)
          Set the Create Date Time.
 void setForum(Forum forum)
          Set the Forum.
 void setForumUser(java.lang.String forumUser)
          Set the Forum User.
 void setIp(java.lang.String ip)
          Set the Ip.
 void setLocation(java.lang.String location)
          Set the Location.
 void setMsgBody(java.lang.String msgBody)
          Set the Msg Body.
 void setMsgID(java.lang.Integer msgID)
          Set the Msg I D.
 void setMsgTitle(java.lang.String msgTitle)
          Set the Msg Title.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

msgID

protected java.lang.Integer msgID

forum

protected transient Forum forum

forumUser

protected java.lang.String forumUser

location

protected java.lang.String location

msgTitle

protected java.lang.String msgTitle

msgBody

protected java.lang.String msgBody

ip

protected java.lang.String ip

createDateTime

protected java.util.Date createDateTime

validator

protected transient MessageValidator validator
Constructor Detail

MessageBean

public MessageBean()
Construct an unqualified qualified MessageBean.

Method Detail

getPrimaryKey

public java.lang.Object getPrimaryKey()
Get the Primary Key.


getInterface

public java.lang.Class getInterface()
See Also:
com.javelin.beans.Bean.getInterface()

getMsgID

public java.lang.Integer getMsgID()
Description copied from interface: Message
Get the Msg I D.

Specified by:
getMsgID in interface Message
Returns:
Integer or null if it has not been set.
See Also:
Message.getMsgID()

setMsgID

public void setMsgID(java.lang.Integer msgID)
              throws ValidationException
Description copied from interface: Message
Set the Msg I D.

Specified by:
setMsgID in interface Message
Parameters:
msgID - The value to set.
Throws:
ValidationException
See Also:
Message.setMsgID( java.lang.Integer msgID )

getForum

public Forum getForum()
Description copied from interface: Message
Get the Forum.

Specified by:
getForum in interface Message
Returns:
Forum or a default value of null if it has not been set.
See Also:
Message.getForum()

setForum

public void setForum(Forum forum)
              throws ValidationException
Description copied from interface: Message
Set the Forum.

Specified by:
setForum in interface Message
Parameters:
forum - The value to set.
Throws:
ValidationException
See Also:
Message.setForum( Forum forum )

getForumUser

public java.lang.String getForumUser()
Description copied from interface: Message
Get the Forum User.

Specified by:
getForumUser in interface Message
Returns:
String or null if it has not been set.
See Also:
Message.getForumUser()

setForumUser

public void setForumUser(java.lang.String forumUser)
                  throws ValidationException
Description copied from interface: Message
Set the Forum User.

Specified by:
setForumUser in interface Message
Parameters:
forumUser - The value to set.
Throws:
ValidationException
See Also:
Message.setForumUser( java.lang.String forumUser )

getLocation

public java.lang.String getLocation()
Description copied from interface: Message
Get the Location.

Specified by:
getLocation in interface Message
Returns:
String or null if it has not been set.
See Also:
Message.getLocation()

setLocation

public void setLocation(java.lang.String location)
                 throws ValidationException
Description copied from interface: Message
Set the Location.

Specified by:
setLocation in interface Message
Parameters:
location - The value to set.
Throws:
ValidationException
See Also:
Message.setLocation( java.lang.String location )

getMsgTitle

public java.lang.String getMsgTitle()
Description copied from interface: Message
Get the Msg Title.

Specified by:
getMsgTitle in interface Message
Returns:
String or null if it has not been set.
See Also:
Message.getMsgTitle()

setMsgTitle

public void setMsgTitle(java.lang.String msgTitle)
                 throws ValidationException
Description copied from interface: Message
Set the Msg Title.

Specified by:
setMsgTitle in interface Message
Parameters:
msgTitle - The value to set.
Throws:
ValidationException
See Also:
Message.setMsgTitle( java.lang.String msgTitle )

getMsgBody

public java.lang.String getMsgBody()
Description copied from interface: Message
Get the Msg Body.

Specified by:
getMsgBody in interface Message
Returns:
String or null if it has not been set.
See Also:
Message.getMsgBody()

setMsgBody

public void setMsgBody(java.lang.String msgBody)
                throws ValidationException
Description copied from interface: Message
Set the Msg Body.

Specified by:
setMsgBody in interface Message
Parameters:
msgBody - The value to set.
Throws:
ValidationException
See Also:
Message.setMsgBody( java.lang.String msgBody )

getIp

public java.lang.String getIp()
Description copied from interface: Message
Get the Ip.

Specified by:
getIp in interface Message
Returns:
String or null if it has not been set.
See Also:
Message.getIp()

setIp

public void setIp(java.lang.String ip)
           throws ValidationException
Description copied from interface: Message
Set the Ip.

Specified by:
setIp in interface Message
Parameters:
ip - The value to set.
Throws:
ValidationException
See Also:
Message.setIp( java.lang.String ip )

getCreateDateTime

public java.util.Date getCreateDateTime()
Description copied from interface: Message
Get the Create Date Time.

Specified by:
getCreateDateTime in interface Message
Returns:
java.util.Date or a default value of new Date() if it has not been set.
See Also:
Message.getCreateDateTime()

setCreateDateTime

public void setCreateDateTime(java.util.Date createDateTime)
                       throws ValidationException
Description copied from interface: Message
Set the Create Date Time.

Specified by:
setCreateDateTime in interface Message
Parameters:
createDateTime - The value to set.
Throws:
ValidationException
See Also:
Message.setCreateDateTime( java.util.Date createDateTime )

getMessageValidator

protected MessageValidator getMessageValidator()

toString

public java.lang.String toString()
See Also:
Object.toString()

listRelations

public boolean listRelations(java.util.List list,
                             int type)
                      throws ValidationException
List the related beans.

Throws:
ValidationException

detach

public void detach()
            throws ValidationException
Throws:
ValidationException
See Also:
com.javelin.beans.Bean#detach()

_postCommit

public void _postCommit()
                 throws ValidationException
Sort any of the foreign relationship lists where the foreign beans sort has been set to true.

Throws:
ValidationException

clone

public java.lang.Object clone()
Clone dependent beans.

Specified by:
clone in interface Message