|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gbanga.api.Entity
org.gbanga.api.Tag
public class Tag
A Gbanga tag is everything from a playing card, a graffiti, a post-it and a hint.
For the JSON object serialization, the field names are used. Eg.
{
id: 82340,
content: "some text",
int: 3843,
creator: { name: "some name" }
}
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 | |
|---|---|
short |
aero
The amount of Aero |
short |
aqui
The amount of Aqui |
java.lang.String |
content
The descrptive content to it |
Player |
creator
The creating Player (if any) |
long |
id
The unique id of this Tag |
int |
image
An id of the representing image |
float |
rating
The current rating |
short |
sola
The amount of Sola |
short |
terra
The amount of Terra |
int |
tileIndex
The location within the containing cell. |
int |
views
The number of times a Player has looked at it (DETAIL Dialog/close-up views) |
java.lang.String |
visualCode
The visual code for it |
| Constructor Summary | |
|---|---|
Tag()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public short aero
public short aqui
@HideIfNull public java.lang.String content
@HideIfNull public Player creator
Player (if any)
@PrimaryKey public long id
Tag
public int image
public float rating
public short sola
public short terra
@HideIfEqualsInt(value=-2147483648) public int tileIndex
public int views
public java.lang.String visualCode
| Constructor Detail |
|---|
public Tag()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||