Class CommentModel
- java.lang.Object
-
- org.wso2.carbon.registry.rest.api.model.CommentModel
-
public class CommentModel extends Object
Class provides the getters and setters to model the comment to a resource
-
-
Constructor Summary
Constructors Constructor Description CommentModel()CommentModel(org.wso2.carbon.registry.core.Comment comment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthorUserName()longgetCommentID()StringgetCommentPath()StringgetCreatedTime()StringgetDescription()voidsetAuthorUserName(String authorUserName)voidsetCommentID(long commentID)voidsetCommentPath(String commentPath)voidsetCreatedTime(String createdTime)voidsetDescription(String description)
-
-
-
Method Detail
-
getAuthorUserName
public String getAuthorUserName()
-
getCommentID
public long getCommentID()
-
getCommentPath
public String getCommentPath()
-
getCreatedTime
public String getCreatedTime()
-
getDescription
public String getDescription()
-
setAuthorUserName
public void setAuthorUserName(String authorUserName)
-
setCommentID
public void setCommentID(long commentID)
-
setCommentPath
public void setCommentPath(String commentPath)
-
setCreatedTime
public void setCreatedTime(String createdTime)
-
setDescription
public void setDescription(String description)
-
-