|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectData.AnnouncementData
| Constructor Summary | |
AnnouncementData()
Constructor for AnnouncementData.java |
|
AnnouncementData(java.lang.String from,
java.lang.String body,
java.lang.String subject,
java.sql.Timestamp time)
Constructor for AnnouncementData.java with parameters |
|
| Method Summary | |
java.lang.String |
getBody()
This method is being used to get the body of the announcement. |
java.lang.String |
getFrom()
This method is being used to get the Firstname and the lastname of the person who posted the announcement. |
java.lang.String |
getSubject()
This method is being used to get the subject of the announcement. |
java.sql.Timestamp |
getTime()
This method is being used to get the time the announcement was posted. |
void |
setBody(java.lang.String body)
This method is being used to set the body of the announcement |
void |
setFrom(java.lang.String from)
This method is being used set the Firstname and the lastname of the person who posted the announcement. |
void |
setSubject(java.lang.String subject)
This method is being used to set the subject of the announcement. |
void |
setTime(java.sql.Timestamp time)
This method is being used to set the time the announcement was posted. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AnnouncementData()
public AnnouncementData(java.lang.String from,
java.lang.String body,
java.lang.String subject,
java.sql.Timestamp time)
| Method Detail |
public java.lang.String getFrom()
public void setFrom(java.lang.String from)
from - the person who posted the announcement.
public java.lang.String getBody()
public void setBody(java.lang.String body)
body - Body of the announcement
public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
public java.sql.Timestamp getTime()
public void setTime(java.sql.Timestamp time)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||