public class PopulationStatisticsMeanPopulationClient extends AbstractClient
Client which handles population statistics mean population data fetching.
Constructor and Description |
---|
PopulationStatisticsMeanPopulationClient()
Default constructor.
|
PopulationStatisticsMeanPopulationClient(Locale locale)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ResponseModel> |
getMeanPopulationByBirthYear()
Fetch all mean population by birth year data.
|
List<ResponseModel> |
getMeanPopulationByBirthYear(Collection<String> regions,
Collection<String> ages,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all mean population by birth year data which match the input
constraints.
|
List<ResponseModel> |
getMeanPopulationByCurrentAge()
Fetch all mean population by current age data.
|
List<ResponseModel> |
getMeanPopulationByCurrentAge(Collection<String> regions,
Collection<String> maritalStatuses,
Collection<String> ages,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all mean population by current age 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, setLocalizationLocale
public PopulationStatisticsMeanPopulationClient()
Default constructor.
public PopulationStatisticsMeanPopulationClient(Locale locale)
Overloaded constructor.
locale
- the Locale
for this clientpublic List<ResponseModel> getMeanPopulationByBirthYear()
Fetch all mean population by birth year data.
ResponseModel
objectsgetMeanPopulationByBirthYear(Collection, Collection, Collection, Collection)
public List<ResponseModel> getMeanPopulationByBirthYear(Collection<String> regions, Collection<String> ages, Collection<Integer> sexes, Collection<Integer> years)
Fetch all mean population by birth year data which match the input constraints.
regions
- the regions to fetch data forages
- the ages to fetch data forsexes
- the sexes to fetch data foryears
- the years to fetch data forResponseModel
objectspublic List<ResponseModel> getMeanPopulationByCurrentAge()
Fetch all mean population by current age data.
ResponseModel
objectsgetMeanPopulationByCurrentAge(Collection, Collection, Collection, Collection,
Collection)
public List<ResponseModel> getMeanPopulationByCurrentAge(Collection<String> regions, Collection<String> maritalStatuses, Collection<String> ages, Collection<Integer> sexes, Collection<Integer> years)
Fetch all mean population by current age data which match the input constraints.
regions
- the regions to fetch data formaritalStatuses
- the marital statuses to fetch data forages
- the ages to fetch data forsexes
- the sexes to fetch data foryears
- the years to fetch data forResponseModel
objectspublic URLEndpoint getUrl()
AbstractClient
Returns the URL endpoint which this client represents.
getUrl
in class AbstractClient
Copyright © 2018. All rights reserved.