com.ibm.ram.common.data
Class Topic

java.lang.Object
  extended by com.ibm.ram.common.data.DiscussionObject
      extended by com.ibm.ram.common.data.Topic
Direct Known Subclasses:
RAMTopic

public class Topic
extends DiscussionObject

Represents a discussion topic

Since:
7.1

Constructor Summary
Topic()
           
 
Method Summary
 Attachment getAttachment()
           
 int getForumID()
           
 int getId()
           
 Post[] getPosts()
           
 void setAttachment(Attachment attachment)
           
 void setForumID(int forumID)
           
 void setId(int id)
           
 void setPosts(Post[] posts)
           
 
Methods inherited from class com.ibm.ram.common.data.DiscussionObject
getDescription, getLastUpdatedDate, getState, getSubmissionDate, getSubmitter, getTitle, setDescription, setLastUpdatedDate, setState, setSubmissionDate, setSubmitter, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Topic

public Topic()
Method Detail

getId

public int getId()
Returns:
The database id for the topic
Since:
7.1

setId

public void setId(int id)
Parameters:
id - The database id for the topic.
Since:
7.1

getForumID

public int getForumID()
Returns:
Returns the forumID.
Since:
7.1

setForumID

public void setForumID(int forumID)
Parameters:
forumID - The forumID to set.
Since:
7.1

getAttachment

public Attachment getAttachment()
Returns:
Returns the attachment.
Since:
7.1

setAttachment

public void setAttachment(Attachment attachment)
Parameters:
attachment - The attachment to set.
Since:
7.1

getPosts

public Post[] getPosts()
Returns:
Returns the posts.
Since:
7.1

setPosts

public void setPosts(Post[] posts)
Parameters:
posts - The posts to set.
Since:
7.1