com.ibm.ram.client
Class RAMComment

java.lang.Object
  extended by com.ibm.ram.client.RAMComment

public class RAMComment
extends java.lang.Object

Represents a comment that is added to the state history of an asset

Since:
7.2.0.2

Constructor Summary
RAMComment()
          Default constructor
 
Method Summary
 java.lang.String getBody()
          Returns the body of the comment
protected  Comment getInternalComment()
           
 RAMStateHistory getStateHistory()
           
 RAMUser getUser()
           
 void setBody(java.lang.String body)
          Set the body of the comment
protected  void setInternalComment(Comment comment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RAMComment

public RAMComment()
Default constructor

Since:
7.2.0.2
Method Detail

getInternalComment

protected Comment getInternalComment()
Returns:
Returns the fComment.
Since:
7.2.0.2

setInternalComment

protected void setInternalComment(Comment comment)
Parameters:
comment - The fComment to set.
Since:
7.2.0.2

getBody

public java.lang.String getBody()
Returns the body of the comment

Since:
7.2.0.2

setBody

public void setBody(java.lang.String body)
Set the body of the comment

Since:
7.2.0.2

getStateHistory

public RAMStateHistory getStateHistory()
Returns:
Returns the fStateHistory.
Since:
7.2.0.2

getUser

public RAMUser getUser()
Returns:
Returns the user that made the comment or null if not set
Since:
7.2.0.2