org.gbanga.api
Class Award

java.lang.Object
  extended by org.gbanga.api.Award

public class Award
extends java.lang.Object

An award is an accomplishment won by a player.

Details about JSON serialization

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.

Author:
Matthias

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

image

public int image
The image id for this award.


name

@PrimaryKey
public java.lang.String name
The screenname of the award.


t

public long t
The timestamp when the owner has won it.

Constructor Detail

Award

public Award()