public class WeatherSearchLocation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Modifier | Constructor and Description |
---|---|
|
WeatherSearchLocation() |
protected |
WeatherSearchLocation(Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getCity()
获取城市名称
|
java.lang.String |
getCountry()
获取国家名称
|
java.lang.String |
getDistrictID()
获取区县id
|
java.lang.String |
getDistrictName()
获取区县名称
|
java.lang.String |
getProvince()
获取省份名称
|
void |
setCity(java.lang.String city)
设置城市名称
|
void |
setCountry(java.lang.String country)
设置国家名称
|
void |
setDistrictID(java.lang.String districtID)
设置区县id
|
void |
setDistrictName(java.lang.String districtName)
设置区县名称
|
void |
setProvince(java.lang.String province)
设置省份名称
|
void |
writeToParcel(Parcel dest,
int flags) |
public WeatherSearchLocation()
protected WeatherSearchLocation(Parcel in)
public void writeToParcel(Parcel dest, int flags)
public int describeContents()
public java.lang.String getCountry()
public void setCountry(java.lang.String country)
public java.lang.String getProvince()
public void setProvince(java.lang.String province)
public java.lang.String getCity()
public void setCity(java.lang.String city)
public java.lang.String getDistrictName()
public void setDistrictName(java.lang.String districtName)
public java.lang.String getDistrictID()
public void setDistrictID(java.lang.String districtID)