|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gbanga.api.Award
public class Award
An award is an accomplishment won by a player.
For the JSON object serialization, the field names are used. Eg.
{
name: "some value",
image: 75,
t: 1142982000000
}
Fields annotated with PrimaryKey are used, if not the whole object is sent. HideIfNull indicates that the field is not sent at all, if the value is not set.
| Field Summary | |
|---|---|
int |
image
The image id for this award. |
java.lang.String |
name
The screenname of the award. |
long |
t
The timestamp when the owner has won it. |
| Constructor Summary | |
|---|---|
Award()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int image
@PrimaryKey public java.lang.String name
public long t
| Constructor Detail |
|---|
public Award()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||