com.softwarereality.forum
Class ForumBean

java.lang.Object
  extended byAbstractBean
      extended bycom.softwarereality.forum.ForumBean
All Implemented Interfaces:
java.lang.Cloneable, Forum
Direct Known Subclasses:
LazyForumBean

public class ForumBean
extends AbstractBean
implements Forum

THIS FILE IS CODE GENERATED. ForumBean.java

See Also:
Forum, Serialized Form

Field Summary
protected  java.util.Date createDateTime
           
protected  java.lang.String forumDescription
           
protected  java.lang.Integer forumID
           
protected  java.lang.String forumName
           
protected  java.lang.String forumSection
           
protected  LatestMessageForum latestMessageForum
           
protected  java.util.Vector messages
           
protected  java.lang.String url
           
protected  ForumValidator validator
           
 
Constructor Summary
ForumBean()
          Construct an unqualified qualified ForumBean.
 
Method Summary
 void _postCommit()
          Sort any of the foreign relationship lists where the foreign beans sort has been set to true.
 void addMessage(Message message)
          Add the Message dependent on this table.
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 java.util.Date getCreateDateTime()
          Get the Create Date Time.
 java.lang.String getForumDescription()
          Get the Forum Description.
 java.lang.Integer getForumID()
          Get the Forum I D.
 java.lang.String getForumName()
          Get the Forum Name.
 java.lang.String getForumSection()
          Get the Forum Section.
protected  ForumValidator getForumValidator()
           
 java.lang.Class getInterface()
           
 LatestMessageForum getLatestMessageForum()
          Get the LatestMessageForum associated with this table.
 java.util.Iterator getMessages()
          Get the Set of Messages dependent on this table.
 java.lang.Object getPrimaryKey()
          Get the Primary Key.
 java.lang.String getUrl()
          Get the Url.
 boolean listRelations(java.util.List list, int type)
          List the related beans.
 void removeMessage(Message message)
          Remove the Message dependent on this table.
 void removeMessages()
          Remove all the Messages
 void setCreateDateTime(java.util.Date createDateTime)
          Set the Create Date Time.
 void setForumDescription(java.lang.String forumDescription)
          Set the Forum Description.
 void setForumID(java.lang.Integer forumID)
          Set the Forum I D.
 void setForumName(java.lang.String forumName)
          Set the Forum Name.
 void setForumSection(java.lang.String forumSection)
          Set the Forum Section.
 void setLatestMessageForum(LatestMessageForum latestMessageForum)
          Set the LatestMessageForum associated with this table.
 void setMessages(java.util.Iterator messages)
          Set the Set of Messages dependent on this table.
 void setUrl(java.lang.String url)
          Set the Url.
 java.lang.String toPrimaryName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

forumID

protected java.lang.Integer forumID

forumName

protected java.lang.String forumName

forumSection

protected java.lang.String forumSection

forumDescription

protected java.lang.String forumDescription

url

protected java.lang.String url

createDateTime

protected java.util.Date createDateTime

messages

protected transient java.util.Vector messages

latestMessageForum

protected transient LatestMessageForum latestMessageForum

validator

protected transient ForumValidator validator
Constructor Detail

ForumBean

public ForumBean()
Construct an unqualified qualified ForumBean.

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()

getMessages

public java.util.Iterator getMessages()
                               throws ValidationException
Description copied from interface: Forum
Get the Set of Messages dependent on this table.

Specified by:
getMessages in interface Forum
Returns:
Iterator A list of Messages.
Throws:
ValidationException
See Also:
Forum.getMessages()

setMessages

public void setMessages(java.util.Iterator messages)
                 throws ValidationException
Description copied from interface: Forum
Set the Set of Messages dependent on this table.

Specified by:
setMessages in interface Forum
Throws:
ValidationException
See Also:
com.softwarereality.forum.Forum#setMessages()

addMessage

public void addMessage(Message message)
                throws ValidationException
Description copied from interface: Forum
Add the Message dependent on this table.

Specified by:
addMessage in interface Forum
Throws:
ValidationException
See Also:
Forum.addMessage( com.softwarereality.forum.Message )

removeMessage

public void removeMessage(Message message)
                   throws ValidationException
Description copied from interface: Forum
Remove the Message dependent on this table.

Specified by:
removeMessage in interface Forum
Throws:
ValidationException
See Also:
Forum.removeMessage( com.softwarereality.forum.Message )

removeMessages

public void removeMessages()
                    throws ValidationException
Description copied from interface: Forum
Remove all the Messages

Specified by:
removeMessages in interface Forum
Throws:
ValidationException
See Also:
Forum.removeMessages()

getLatestMessageForum

public LatestMessageForum getLatestMessageForum()
                                         throws ValidationException
Description copied from interface: Forum
Get the LatestMessageForum associated with this table.

Specified by:
getLatestMessageForum in interface Forum
Returns:
LatestMessageForum.
Throws:
ValidationException
See Also:
Forum.getLatestMessageForum()

setLatestMessageForum

public void setLatestMessageForum(LatestMessageForum latestMessageForum)
                           throws ValidationException
Description copied from interface: Forum
Set the LatestMessageForum associated with this table.

Specified by:
setLatestMessageForum in interface Forum
Throws:
ValidationException
See Also:
com.softwarereality.forum.Forum#setLatestMessageForum()

getForumID

public java.lang.Integer getForumID()
Description copied from interface: Forum
Get the Forum I D.

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

setForumID

public void setForumID(java.lang.Integer forumID)
                throws ValidationException
Description copied from interface: Forum
Set the Forum I D.

Specified by:
setForumID in interface Forum
Parameters:
forumID - The value to set.
Throws:
ValidationException
See Also:
Forum.setForumID( java.lang.Integer forumID )

getForumName

public java.lang.String getForumName()
Description copied from interface: Forum
Get the Forum Name.

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

setForumName

public void setForumName(java.lang.String forumName)
                  throws ValidationException
Description copied from interface: Forum
Set the Forum Name.

Specified by:
setForumName in interface Forum
Parameters:
forumName - The value to set.
Throws:
ValidationException
See Also:
Forum.setForumName( java.lang.String forumName )

getForumSection

public java.lang.String getForumSection()
Description copied from interface: Forum
Get the Forum Section.

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

setForumSection

public void setForumSection(java.lang.String forumSection)
                     throws ValidationException
Description copied from interface: Forum
Set the Forum Section.

Specified by:
setForumSection in interface Forum
Parameters:
forumSection - The value to set.
Throws:
ValidationException
See Also:
Forum.setForumSection( java.lang.String forumSection )

getForumDescription

public java.lang.String getForumDescription()
Description copied from interface: Forum
Get the Forum Description.

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

setForumDescription

public void setForumDescription(java.lang.String forumDescription)
                         throws ValidationException
Description copied from interface: Forum
Set the Forum Description.

Specified by:
setForumDescription in interface Forum
Parameters:
forumDescription - The value to set.
Throws:
ValidationException
See Also:
Forum.setForumDescription( java.lang.String forumDescription )

getUrl

public java.lang.String getUrl()
Description copied from interface: Forum
Get the Url.

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

setUrl

public void setUrl(java.lang.String url)
            throws ValidationException
Description copied from interface: Forum
Set the Url.

Specified by:
setUrl in interface Forum
Parameters:
url - The value to set.
Throws:
ValidationException
See Also:
Forum.setUrl( java.lang.String url )

getCreateDateTime

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

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

setCreateDateTime

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

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

getForumValidator

protected ForumValidator getForumValidator()

toPrimaryName

public java.lang.String toPrimaryName()
See Also:
com.javelin.beans.Bean#toPrimaryName()

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 Forum