public class PopulationStatisticsDensityClient extends AbstractClient
Client which handles population statistics density data fetching.
| Constructor and Description |
|---|
PopulationStatisticsDensityClient()
Default constructor.
|
PopulationStatisticsDensityClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResponseModel> |
getDensity()
Fetch all density data.
|
List<ResponseModel> |
getDensity(Collection<String> regions,
Collection<String> sexes,
Collection<Integer> years)
Fetch all density data which match the input constraints.
|
URLEndpoint |
getUrl()
Returns the URL endpoint which this client represents.
|
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocalepublic PopulationStatisticsDensityClient()
Default constructor.
public PopulationStatisticsDensityClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<ResponseModel> getDensity()
Fetch all density data.
ResponseModel
objectsgetDensity(Collection, Collection, Collection)public List<ResponseModel> getDensity(Collection<String> regions, Collection<String> sexes, Collection<Integer> years)
Fetch all density data which match the input constraints.
regions - the regions to fetch data forsexes - the sexes to fetch data foryears - the years to fetch data forResponseModel
objectspublic URLEndpoint getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2019. All rights reserved.