com.ibm.ram.common.data
Class Post

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

public class Post
extends DiscussionObject

Represents a discussion post

Since:
7.1

Constructor Summary
Post()
           
 
Method Summary
 Attachment getAttachment()
           
 long getId()
           
 Post[] getReplies()
           
 long getReplyToPostID()
           
 int getTopicID()
           
 void setAttachment(Attachment attachment)
           
 void setId(long id)
           
 void setReplies(Post[] replies)
           
 void setReplyToPostID(long replyToPostID)
           
 void setTopicID(int topicID)
           
 
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

Post

public Post()
Method Detail

getId

public long getId()
Returns:
Returns the id.
Since:
7.1

setId

public void setId(long id)
Parameters:
id - The id to set.
Since:
7.1

getTopicID

public int getTopicID()
Returns:
Returns the topicID.
Since:
7.1

setTopicID

public void setTopicID(int topicID)
Parameters:
topicID - The topicID 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

getReplies

public Post[] getReplies()
Returns:
Returns the replies.
Since:
7.1

setReplies

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

getReplyToPostID

public long getReplyToPostID()
Returns:
Returns the replyToPostID.
Since:
7.1

setReplyToPostID

public void setReplyToPostID(long replyToPostID)
Parameters:
replyToPostID - The replyToPostID to set.
Since:
7.1