|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mobi.voiceassistant.client.model.RemoteModel mobi.voiceassistant.client.model.Location mobi.voiceassistant.client.model.City
public class City
Created with IntelliJ IDEA. User: morfeusys Date: 31.01.13 Time: 13:31
Nested Class Summary | |
---|---|
static class |
City.Converter
|
Nested classes/interfaces inherited from interface android.os.Parcelable |
---|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T> |
Field Summary | |
---|---|
String |
countryCode
|
static Parcelable.Creator<City> |
CREATOR
|
int |
population
|
String |
timezone
|
static String |
TOKEN_CITY
|
static String |
TYPE_CITY
|
Fields inherited from class mobi.voiceassistant.client.model.Location |
---|
lat, lng, QUERY_PARAM_ADDRESS, QUERY_PARAM_LAT, QUERY_PARAM_LNG, TOKEN_POINT |
Fields inherited from class mobi.voiceassistant.client.model.RemoteModel |
---|
id, JSON_DATA, name |
Fields inherited from interface android.os.Parcelable |
---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
Constructor Summary | |
---|---|
protected |
City(Parcel parcel)
|
|
City(String id,
String name,
double lat,
double lng,
String timezone,
String countryCode,
int population)
|
Method Summary | |
---|---|
protected void |
appendJsonObject(JSONStringer stringer)
|
int |
compareTo(City city)
|
Token |
getToken()
|
void |
writeToParcel(Parcel parcel,
int i)
|
Methods inherited from class mobi.voiceassistant.client.model.Location |
---|
fromString, getLLString, toAndroidLocation |
Methods inherited from class mobi.voiceassistant.client.model.RemoteModel |
---|
describeContents, equals, hashCode, ids, toJson |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TOKEN_CITY
public static final String TYPE_CITY
public final String timezone
public final String countryCode
public final int population
public static final Parcelable.Creator<City> CREATOR
Constructor Detail |
---|
public City(String id, String name, double lat, double lng, String timezone, String countryCode, int population)
protected City(Parcel parcel)
Method Detail |
---|
public void writeToParcel(Parcel parcel, int i)
writeToParcel
in interface Parcelable
writeToParcel
in class Location
public int compareTo(City city)
compareTo
in interface Comparable<City>
public Token getToken()
getToken
in class Location
protected void appendJsonObject(JSONStringer stringer) throws JSONException
appendJsonObject
in class Location
JSONException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |