Class WSComment

java.lang.Object
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 Details

    • WSComment

      public WSComment()
  • Method Details

    • 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)