|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gbanga.api.Puzzle
public class Puzzle
A puzzle consists of a collection of Tags in a given order with a precise overall height and width.
For the JSON object serialization, the field names are used. Eg.
{
puzzle: {
screenname: "hey",
width: 3,
height: 3,
tags: [
{ id: 2382, visualCode: "X123" },
{ id: 2343, visualCode: "Z3A5" }
]
}
}
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 |
height
The vertical dimension of this Puzzle |
java.lang.String |
screenname
A human-friendly name |
Tag[] |
tags
The list of Tags in order |
short |
width
The horizontal dimension of this Puzzle |
| Constructor Summary | |
|---|---|
Puzzle()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public short height
Puzzle
@PrimaryKey public java.lang.String screenname
@PrimaryKey public Tag[] tags
Tags in order
public short width
Puzzle
| Constructor Detail |
|---|
public Puzzle()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||