org.wso2.carbon.registry.ws.api
Class WSComment

java.lang.Object
  extended by org.wso2.carbon.registry.ws.api.WSComment

public class WSComment
extends Object

The WSComment class is a web service compatible representation of the Comment class.


Constructor Summary
WSComment()
           
 
Method Summary
 long getCommentID()
          Get the ID of the comment
 String getCommentPath()
           
 String getPath()
           
 String getResourcePath()
          Get the path of the resource that this comment belongs to
 String getText()
          Returns the comment text
 long getTime()
          Get time the comment was made
 String getUser()
          Get the user who made this comment
 void setCommentID(long commentID)
          Set comment ID
 void setCommentPath(String commentPath)
           
 void setPath(String path)
           
 void setResourcePath(String resourcePath)
          Set the path of the resource that this comment belongs to
 void setText(String text)
          Sets the comment text
 void setTime(long time)
          Set time as a long integer value
 void setUser(String user)
          Set the user of this comment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSComment

public WSComment()
Method Detail

getCommentPath

public String getCommentPath()

setCommentPath

public void setCommentPath(String commentPath)

getText

public String getText()
Returns the comment text

Returns:
text

setText

public void setText(String text)
Sets the comment text

Parameters:
text -

getUser

public String getUser()
Get the user who made this comment

Returns:
user

setUser

public void setUser(String user)
Set the user of this comment

Parameters:
user -

getTime

public long getTime()
Get time the comment was made

Returns:
time as a long integer value

setTime

public void setTime(long time)
Set time as a long integer value

Parameters:
time -

getResourcePath

public String getResourcePath()
Get the path of the resource that this comment belongs to

Returns:
resource path

setResourcePath

public void setResourcePath(String resourcePath)
Set the path of the resource that this comment belongs to

Parameters:
resourcePath -

getCommentID

public long getCommentID()
Get the ID of the comment

Returns:
comment ID

setCommentID

public void setCommentID(long commentID)
Set comment ID

Parameters:
commentID -

getPath

public String getPath()

setPath

public void setPath(String path)


Copyright © 2012 WSO2 Inc. All Rights Reserved.