|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v2.domain.WsComment
public class WsComment
This object represents a Contour comment.
| Constructor Summary | |
|---|---|
WsComment()
Creates an empty WsComment object. |
|
WsComment(java.lang.String commentText,
java.lang.Integer refId)
Creates a new WsComment object with the given comment text and reference id values. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCommentText()
Gets the text of the comment. |
java.util.Calendar |
getEntryDate()
Gets the date the comment was made. |
java.lang.Long |
getId()
Gets the comment's id. |
java.lang.Integer |
getRefId()
Gets the comment's reference id. |
java.lang.Integer |
getScope()
Gets the comment's scope. |
WsUser |
getUser()
Gets the user who made the comment. |
void |
setCommentText(java.lang.String commentText)
Sets the text of the comment. |
void |
setEntryDate(java.util.Calendar entryDate)
Sets the date the comment was made. |
void |
setId(java.lang.Long id)
Sets the comment's id. |
void |
setRefId(java.lang.Integer refId)
Sets the comment's reference id. |
void |
setScope(java.lang.Integer scope)
Sets the comment's scope. |
void |
setUser(WsUser user)
Sets the user who made the comment. |
java.lang.String |
toString()
Gets a string representation of this comment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WsComment()
public WsComment(java.lang.String commentText,
java.lang.Integer refId)
commentText - text of the commentrefId - id of the document associated with the comment| Method Detail |
|---|
public java.lang.Long getId()
public void setId(java.lang.Long id)
id - the id to setpublic java.lang.String getCommentText()
public void setCommentText(java.lang.String commentText)
commentText - the comment to setpublic WsUser getUser()
public void setUser(WsUser user)
user - the user to setpublic java.lang.Integer getScope()
WsScopepublic void setScope(java.lang.Integer scope)
scope - the scope to setWsScopepublic java.lang.Integer getRefId()
public void setRefId(java.lang.Integer refId)
refId - the reference id to setpublic java.util.Calendar getEntryDate()
public void setEntryDate(java.util.Calendar entryDate)
entryDate - date of the commentpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||