public static class AbstractForecast.City
extends java.lang.Object
implements java.io.Serializable
Provides default behaviours for City
Modifier and Type | Class and Description |
---|---|
static class |
AbstractForecast.City.Coord |
Modifier and Type | Method and Description |
---|---|
long |
getCityCode() |
java.lang.String |
getCityName() |
long |
getCityPopulation() |
AbstractForecast.City.Coord |
getCoordInstance() |
java.lang.String |
getCountryCode() |
boolean |
hasCityCode() |
boolean |
hasCityName() |
boolean |
hasCityPopulation() |
boolean |
hasCoordInstance() |
boolean |
hasCountryCode() |
public boolean hasCityCode()
public boolean hasCityName()
public boolean hasCountryCode()
public boolean hasCityPopulation()
public boolean hasCoordInstance()
true
if Coord instance is available, otherwise false
.public long getCityCode()
public java.lang.String getCityName()
public java.lang.String getCountryCode()
public long getCityPopulation()
public AbstractForecast.City.Coord getCoordInstance()
null
.