com.ibm.ram.client
Class RAMPost

java.lang.Object
  extended by com.ibm.ram.common.data.DiscussionObject
      extended by com.ibm.ram.common.data.Post
          extended by com.ibm.ram.client.RAMPost

public class RAMPost
extends Post

Represents a discussion post in a Rational Asset Manager discussion forum

Since:
7.1
Author:
kbauer

Method Summary
 RAMAsset getAsset()
           
 Attachment getAttachment()
           
 java.lang.String getDescription()
           
 long getId()
           
 long getLastUpdatedDate()
           
 Post[] getReplies()
           
 long getReplyToPostID()
           
 java.lang.String getState()
           
 long getSubmissionDate()
           
 UserInformation getSubmitter()
           
 java.lang.String getTitle()
           
 RAMTopic getTopic()
          The topic this post belongs to.
 int getTopicID()
           
 void setAttachment(Attachment attachment)
           
 void setDescription(java.lang.String description)
           
 void setId(long id)
           
 void setLastUpdatedDate(long lastUpdatedDate)
           
 void setReplies(Post[] replies)
           
 void setReplyToPostID(long replyToPostID)
           
 void setState(java.lang.String state)
           
 void setSubmissionDate(long submissionDate)
           
 void setSubmitter(UserInformation submitter)
           
 void setTitle(java.lang.String title)
           
 void setTopicID(int topicID)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getAttachment

public Attachment getAttachment()
Overrides:
getAttachment in class Post
Returns:
Returns the attachment.

getId

public long getId()
Overrides:
getId in class Post
Returns:
Returns the id.

getReplies

public Post[] getReplies()
Overrides:
getReplies in class Post
Returns:
Returns the replies.

getReplyToPostID

public long getReplyToPostID()
Overrides:
getReplyToPostID in class Post
Returns:
Returns the replyToPostID.

getTopicID

public int getTopicID()
Overrides:
getTopicID in class Post
Returns:
Returns the topicID.

getTopic

public RAMTopic getTopic()
The topic this post belongs to.

Since:
7.1

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class DiscussionObject
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Overrides:
setDescription in class DiscussionObject
Parameters:
description - The description to set.

getLastUpdatedDate

public long getLastUpdatedDate()
Overrides:
getLastUpdatedDate in class DiscussionObject
Returns:
Returns the lastUpdatedDate.

getState

public java.lang.String getState()
Overrides:
getState in class DiscussionObject
Returns:
Returns the state.

getSubmissionDate

public long getSubmissionDate()
Overrides:
getSubmissionDate in class DiscussionObject
Returns:
Returns the submissionDate.

setAttachment

public void setAttachment(Attachment attachment)
Overrides:
setAttachment in class Post
Parameters:
attachment - The attachment to set.

setId

public void setId(long id)
Overrides:
setId in class Post
Parameters:
id - The id to set.

setReplies

public void setReplies(Post[] replies)
Overrides:
setReplies in class Post
Parameters:
replies - The replies to set.

setReplyToPostID

public void setReplyToPostID(long replyToPostID)
Overrides:
setReplyToPostID in class Post
Parameters:
replyToPostID - The replyToPostID to set.

setTopicID

public void setTopicID(int topicID)
Overrides:
setTopicID in class Post
Parameters:
topicID - The topicID to set.

setLastUpdatedDate

public void setLastUpdatedDate(long lastUpdatedDate)
Overrides:
setLastUpdatedDate in class DiscussionObject
Parameters:
lastUpdatedDate - The lastUpdatedDate to set.

setState

public void setState(java.lang.String state)
Overrides:
setState in class DiscussionObject
Parameters:
state - The state to set.

setSubmissionDate

public void setSubmissionDate(long submissionDate)
Overrides:
setSubmissionDate in class DiscussionObject
Parameters:
submissionDate - The submissionDate to set.

setSubmitter

public void setSubmitter(UserInformation submitter)
Overrides:
setSubmitter in class DiscussionObject
Parameters:
submitter - The submitter to set.

getSubmitter

public UserInformation getSubmitter()
Overrides:
getSubmitter in class DiscussionObject
Returns:
Returns the submitter.

getTitle

public java.lang.String getTitle()
Overrides:
getTitle in class DiscussionObject
Returns:
Returns the title.

setTitle

public void setTitle(java.lang.String title)
Overrides:
setTitle in class DiscussionObject
Parameters:
title - The title to set.

getAsset

public RAMAsset getAsset()