|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opnworks.timesheet.domain.Comment
| Constructor Summary | |
Comment()
|
|
Comment(IPersistent subject,
IPerson author,
java.lang.String note)
|
|
| Method Summary | |
void |
append(java.lang.String string)
Append the string to the note |
boolean |
equals(java.lang.Object other)
Description of the Method |
java.lang.String |
formattedString()
|
IPerson |
getAuthor()
|
java.lang.Long |
getId()
Gets the Id attribute of the IPersistent object |
java.lang.String |
getNote()
|
IPersistent |
getSubject()
|
java.sql.Timestamp |
getTimestamp()
|
int |
getVersion()
Gets the Version attribute of the Comment object |
int |
hashCode()
Description of the Method |
void |
prepend(java.lang.String string)
Add the string to the beginning of the note |
void |
setAuthor(IPerson author)
|
void |
setId(java.lang.Long id)
Sets the Id attribute of the IPersistent object |
void |
setNote(java.lang.String string)
|
void |
setSubject(IPersistent subject)
|
void |
setVersion(int version)
Sets the Version attribute of the Comment object |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Comment(IPersistent subject,
IPerson author,
java.lang.String note)
subject - Subject of the commentauthor - Author of commentnote - Text of the commentpublic Comment()
| Method Detail |
public void setNote(java.lang.String string)
string - public void setId(java.lang.Long id)
IPersistent
setId in interface IPersistentid - The new Id valuepublic void setAuthor(IPerson author)
author - The new Author valuepublic void setSubject(IPersistent subject)
subject - The new Subject valuepublic void setVersion(int version)
setVersion in interface IPersistentversion - The new Version valuepublic java.sql.Timestamp getTimestamp()
public java.lang.String getNote()
public IPerson getAuthor()
public java.lang.Long getId()
IPersistent
getId in interface IPersistentpublic IPersistent getSubject()
public int getVersion()
getVersion in interface IPersistentpublic java.lang.String formattedString()
public void prepend(java.lang.String string)
string - public void append(java.lang.String string)
string - public boolean equals(java.lang.Object other)
other - Description of Parameter
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||