Constructor and Description |
---|
MessageJig() |
Modifier and Type | Method and Description |
---|---|
String |
content()
The message content, or an extract or summary of the content.
|
int |
id() |
String |
location()
The URL of the message.
|
void |
serialize(com.google.gson.stream.JsonWriter out)
Serializes the fields of this object in JSON form, and clears them.
|
void |
setContent(String s)
Sets the content.
|
void |
setId(int _id)
Set id of the message in the db.
|
void |
setLocation(String s)
Set a url for the message.
|
public MessageJig()
public String content()
Message
public void setContent(String s)
public String location()
Message
public void setLocation(String s)
public int id()
public void setId(int _id)
public void serialize(com.google.gson.stream.JsonWriter out) throws IOException
SerialJig
serialize
in interface SerialJig
IOException