org.wso2.registry
Class Comment
java.lang.Object
org.wso2.registry.Comment
public class Comment
- extends java.lang.Object
Represents comments and its metadata. Note that only the Comment.text field needs to be filled
when adding new comments. All other attributes are ignored and they are filled with appropriate
values for the current context. Therefore, when contructing an instance of this class outside
the Regisrty impl, it is recommended to use new Comment("my comment text") constructor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Comment
public Comment()
Comment
public Comment(java.lang.String commentText)
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)
getUser
public java.lang.String getUser()
setUser
public void setUser(java.lang.String user)
getTime
public java.util.Date getTime()
setTime
public void setTime(java.util.Date time)
getResourcePath
public java.lang.String getResourcePath()
setResourcePath
public void setResourcePath(java.lang.String resourcePath)
getCommentPath
public java.lang.String getCommentPath()
setCommentPath
public void setCommentPath(java.lang.String commentPath)
Copyright © 2007 Apache Web Services Project. All Rights Reserved.