|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.ws.api.WSComment
public class WSComment
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 |
---|
public WSComment()
Method Detail |
---|
public String getCommentPath()
public void setCommentPath(String commentPath)
public String getText()
public void setText(String text)
text
- public String getUser()
public void setUser(String user)
user
- public long getTime()
public void setTime(long time)
time
- public String getResourcePath()
public void setResourcePath(String resourcePath)
resourcePath
- public long getCommentID()
public void setCommentID(long commentID)
commentID
- public String getPath()
public void setPath(String path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |