public class WSComment extends Object
Constructor and Description |
---|
WSComment() |
Modifier and Type | Method and Description |
---|---|
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
|
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)
Copyright © 2024 WSO2. All Rights Reserved.