org.gbanga.api
Class Placemark

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

Deprecated.

@Deprecated
public class Placemark
extends java.lang.Object

A placemark is a location (on the screen) annotated with a description.

Details about JSON serialization

For the JSON object serialization, the field names are used. Eg.

 { id: "violetLacuno",
   x: 338,
   y: 185,
   color: -16752694,
   type: 0,
   img: 0,
   size: 1,
   description: "some place",
   longitude: 0.0,
   latitude: 0.0 
 }
 

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
static int CELL
          Deprecated.  
 java.lang.String color
          Deprecated.  
 java.lang.String description
          Deprecated.  
static int GBANGOO
          Deprecated.  
 java.lang.String id
          Deprecated.  
 int img
          Deprecated.  
static int IP_ADDRESS
          Deprecated.  
 float latitude
          Deprecated.  
 float longitude
          Deprecated.  
static int NEWS
          Deprecated.  
static int PHYSICAL_ADDRESS
          Deprecated.  
static int PLAYER
          Deprecated.  
static int POINT_OF_INTEREST
          Deprecated.  
static int QUEST
          Deprecated.  
 int size
          Deprecated.  
static int TOWN
          Deprecated.  
 int type
          Deprecated.  
 int x
          Deprecated.  
 int y
          Deprecated.  
 
Constructor Summary
Placemark()
          Deprecated.  
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CELL

public static final int CELL
Deprecated. 
See Also:
Constant Field Values

color

@HideIfNull
public java.lang.String color
Deprecated. 

description

@HideIfNull
public java.lang.String description
Deprecated. 

GBANGOO

public static final int GBANGOO
Deprecated. 
See Also:
Constant Field Values

id

@PrimaryKey
public java.lang.String id
Deprecated. 

img

@HideIfNull
public int img
Deprecated. 

IP_ADDRESS

public static final int IP_ADDRESS
Deprecated. 
See Also:
Constant Field Values

latitude

@HideIfNull
public float latitude
Deprecated. 

longitude

@HideIfNull
public float longitude
Deprecated. 

NEWS

public static final int NEWS
Deprecated. 
See Also:
Constant Field Values

PHYSICAL_ADDRESS

public static final int PHYSICAL_ADDRESS
Deprecated. 
See Also:
Constant Field Values

PLAYER

public static final int PLAYER
Deprecated. 
See Also:
Constant Field Values

POINT_OF_INTEREST

public static final int POINT_OF_INTEREST
Deprecated. 
See Also:
Constant Field Values

QUEST

public static final int QUEST
Deprecated. 
See Also:
Constant Field Values

size

@HideIfNull
public int size
Deprecated. 

TOWN

public static final int TOWN
Deprecated. 
See Also:
Constant Field Values

type

@HideIfNull
public int type
Deprecated. 

x

public int x
Deprecated. 

y

public int y
Deprecated. 
Constructor Detail

Placemark

public Placemark()
Deprecated.