com.softwarereality.forum.lazy
Class LazyMessageBean

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

public class LazyMessageBean
extends MessageBean

THIS FILE IS CODE GENERATED. LazyMessageBean.java

See Also:
Message, MessageBean, Serialized Form

Field Summary
 
Fields inherited from class com.softwarereality.forum.MessageBean
createDateTime, forum, forumUser, ip, location, msgBody, msgID, msgTitle, validator
 
Constructor Summary
LazyMessageBean()
           
 
Method Summary
 java.lang.Object _getForumID()
          Get the forumID.
 void _setForumID(java.lang.Object _forumID)
          Set the forumID.
 java.lang.Object clone()
          Clone the LazyMessageBean.
 Forum getForum()
          Get the Forum.
 boolean listRelations(java.util.List list, int type)
          List the related beans.
 void postCommit()
          Clear the beans from their _removed lists, if they have been saved
 void setForum(Forum forum)
          Set the Forum.
 
Methods inherited from class com.softwarereality.forum.MessageBean
_postCommit, detach, getCreateDateTime, getForumUser, getInterface, getIp, getLocation, getMessageValidator, getMsgBody, getMsgID, getMsgTitle, getPrimaryKey, setCreateDateTime, setForumUser, setIp, setLocation, setMsgBody, setMsgID, setMsgTitle, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LazyMessageBean

public LazyMessageBean()
Method Detail

_getForumID

public java.lang.Object _getForumID()
Get the forumID.


_setForumID

public void _setForumID(java.lang.Object _forumID)
                 throws ValidationException
Set the forumID. This will remove the (cached) bean out of this bean.

Throws:
ValidationException

getForum

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

Specified by:
getForum in interface Message
Overrides:
getForum in class MessageBean
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
Overrides:
setForum in class MessageBean
Throws:
ValidationException
See Also:
Message.setForum( Forum forum )

listRelations

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

Overrides:
listRelations in class MessageBean
Throws:
ValidationException

postCommit

public void postCommit()
Clear the beans from their _removed lists, if they have been saved


clone

public java.lang.Object clone()
Clone the LazyMessageBean.

Specified by:
clone in interface Message
Overrides:
clone in class MessageBean