Field

public class Field implements IJSONStore, Parcelable

A class to describe feature field

Fields

CREATOR

public static final Creator<Field> CREATOR

JSON_ALIAS_KEY

protected static final String JSON_ALIAS_KEY

mAlias

protected String mAlias

mName

protected String mName

mType

protected int mType

Constructors

Field

public Field()

Field

public Field(int type, String name, String alias)

Methods

describeContents

public int describeContents()

fromJSON

public void fromJSON(JSONObject jsonObject)

getAlias

public String getAlias()

getName

public String getName()

getType

public int getType()

setAlias

public void setAlias(String alias)

setName

public void setName(String name)

toJSON

public JSONObject toJSON()

writeToParcel

public void writeToParcel(Parcel parcel, int i)