|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbackend.domainObjects.Message
public class Message
This class corresponds to the <message> tag in XML code. It contains a few fields pertaining to a message: the parent of the message, the message's ID, the poster, subject, and body of the mesage, as well as the ID of the board the message is on. It has no child-objects in this huge has-a tree... NOTE: If an ID is -1, then there was no ID written down for that message. That's not right!
| Constructor Summary | |
|---|---|
Message()
|
|
| Method Summary | |
|---|---|
void |
fromXML(org.kxml2.io.KXmlParser theParser)
This method, like most other fromXML methods in the domainObjects package, assumes that the KXmlParser you give it has just found a <message> tag. |
java.lang.String |
getBody()
returns the body of the message |
java.lang.Integer |
getID()
returns the ID |
java.lang.Integer |
getParent()
returns the parent message's ID |
java.lang.String |
getPoster()
returns the poster |
java.lang.String |
getTitle()
returns the subject |
java.lang.String |
toString()
returns the fields of the message formatted nicely. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Message()
| Method Detail |
|---|
public void fromXML(org.kxml2.io.KXmlParser theParser)
public java.lang.Integer getID()
public java.lang.Integer getParent()
public java.lang.String getTitle()
public java.lang.String getPoster()
public java.lang.String getBody()
public 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 | ||||||||