org.gbanga.api.geojson
Class FeatureProperties

java.lang.Object
  extended by org.gbanga.api.geojson.FeatureProperties

public class FeatureProperties
extends java.lang.Object

Detailed properties corresponding to a Feature.

A feature object must have a member with the name "properties". The value of the properties member is an object (any JSON object or a JSON null value).

Author:
Matthias
See Also:
GeoJSON.org, feature objects

Field Summary
 float arcRadius
          The radius in arc degrees of the Feature
static int CELL
          Type if the Feature corresponds to a Cell.
 java.lang.String color
          The color of the Feature.
 java.lang.String description
          A verbose description of this Feature.
static int GBANGOO
          Type if the Feature corresponds to a Gbangoo.
 int img
          The image id of the Feature.
static int IP_ADDRESS
          Type if the Feature corresponds to a Point where an IP address is registered.
static int NEWS
          Type if the Feature corresponds to News.
 java.lang.String owner
          The name of the don that owns this Feature
static int PHYSICAL_ADDRESS
          Type if the Feature corresponds to a Point where a physical address is registered.
static int PLAYER
          Type if the Feature corresponds to a Player.
static int POINT_OF_INTEREST
          Type if the Feature corresponds to a Point where a point of interest is recorded.
static int QUEST
          Type if the Feature corresponds to a Quest.
 int radius
          The radial size of the Feature.
static int TOWN
          Type if the Feature corresponds to a Point where a city/town/village is recorded.
 int type
          The type of the Feature.
 
Constructor Summary
FeatureProperties()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

arcRadius

public float arcRadius
The radius in arc degrees of the Feature


CELL

public static final int CELL
Type if the Feature corresponds to a Cell.

See Also:
Constant Field Values

color

@HideIfNull
public java.lang.String color
The color of the Feature. For instance, the major color of a Cell.


description

@HideIfNull
public java.lang.String description
A verbose description of this Feature.


GBANGOO

public static final int GBANGOO
Type if the Feature corresponds to a Gbangoo.

See Also:
Constant Field Values

img

public int img
The image id of the Feature. For instance, a flag for a Cell.


IP_ADDRESS

public static final int IP_ADDRESS
Type if the Feature corresponds to a Point where an IP address is registered.

See Also:
Constant Field Values

NEWS

public static final int NEWS
Type if the Feature corresponds to News.

See Also:
Constant Field Values

owner

@HideIfNull
public java.lang.String owner
The name of the don that owns this Feature


PHYSICAL_ADDRESS

public static final int PHYSICAL_ADDRESS
Type if the Feature corresponds to a Point where a physical address is registered.

See Also:
Constant Field Values

PLAYER

public static final int PLAYER
Type if the Feature corresponds to a Player.

See Also:
Constant Field Values

POINT_OF_INTEREST

public static final int POINT_OF_INTEREST
Type if the Feature corresponds to a Point where a point of interest is recorded.

See Also:
Constant Field Values

QUEST

public static final int QUEST
Type if the Feature corresponds to a Quest.

See Also:
Constant Field Values

radius

public int radius
The radial size of the Feature.


TOWN

public static final int TOWN
Type if the Feature corresponds to a Point where a city/town/village is recorded.

See Also:
Constant Field Values

type

public int type
The type of the Feature.

Constructor Detail

FeatureProperties

public FeatureProperties()