|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.document.modules.comment.business.DocumentComment
public class DocumentComment
This class defines the Document Commen' business object.
Constructor Summary | |
---|---|
DocumentComment()
|
Method Summary | |
---|---|
java.lang.String |
getComment()
Returns the comment |
int |
getCommentId()
Returns the identifier of the object |
java.sql.Timestamp |
getDateComment()
Returns the date of the comment |
int |
getDocumentId()
Returns the identifier of the Document |
java.lang.String |
getEmail()
Returns the email of the user |
java.lang.String |
getIpAddress()
Returns the IP address of the user |
java.lang.String |
getName()
Returns the name of the user |
int |
getStatus()
Returns the status of the comment |
void |
setComment(java.lang.String strComment)
Sets the comment |
void |
setCommentId(int nCommentId)
Sets the identifier of the object |
void |
setDateComment(java.sql.Timestamp dateComment)
Sets the date of the comment |
void |
setDocumentId(int nDocumentId)
Sets the identifier of the Document |
void |
setEmail(java.lang.String strEmail)
Sets the email of the user |
void |
setIpAddress(java.lang.String strIpAddress)
Sets the IP address of the user |
void |
setName(java.lang.String strName)
Sets the name of the user |
void |
setStatus(int nStatus)
Sets the status of the comment |
java.lang.String |
toString()
Creates a String representation of the object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DocumentComment()
Method Detail |
---|
public int getDocumentId()
public void setDocumentId(int nDocumentId)
nDocumentId
- the new identifierpublic java.sql.Timestamp getDateComment()
public void setDateComment(java.sql.Timestamp dateComment)
dateComment
- the new datepublic int getCommentId()
public void setCommentId(int nCommentId)
nCommentId
- the new identifierpublic int getStatus()
public void setStatus(int nStatus)
nStatus
- the new status (0 = unpublished, 1 = published)public java.lang.String getComment()
public void setComment(java.lang.String strComment)
strComment
- the new commentpublic java.lang.String getEmail()
public void setEmail(java.lang.String strEmail)
strEmail
- the new emailpublic java.lang.String getIpAddress()
public void setIpAddress(java.lang.String strIpAddress)
strIpAddress
- the new IP addresspublic java.lang.String getName()
public void setName(java.lang.String strName)
strName
- the new namepublic 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 |