|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.evdb.javaapi.data.Comment
public class Comment
Comment Object
| Constructor Summary | |
|---|---|
Comment()
Create a new comment |
|
Comment(java.lang.String text)
Create a comment with the given text |
|
| Method Summary | |
|---|---|
int |
getId()
Return comment ID |
java.lang.String |
getText()
Return comment text |
java.util.Date |
getTime()
Get the time the comment was made |
java.lang.String |
getUsername()
Username that made the comment |
void |
setId(int id)
Set comment ID |
void |
setText(java.lang.String text)
Set comment text |
void |
setTime(java.util.Date time)
Set the comment time |
void |
setUsername(java.lang.String username)
Set the name of the user making the comment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Comment()
public Comment(java.lang.String text)
text - | Method Detail |
|---|
public int getId()
public void setId(int id)
id - the id to setpublic java.lang.String getText()
public void setText(java.lang.String text)
text - the text to setpublic java.util.Date getTime()
public void setTime(java.util.Date time)
time - the time to setpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username - the username to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||