public class PopulationProjectionsLatestAssumptionsClient extends AbstractClient
Client which handles population projections latest assumptions data fetching.
Constructor and Description |
---|
PopulationProjectionsLatestAssumptionsClient()
Default constructor.
|
PopulationProjectionsLatestAssumptionsClient(Locale locale)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ResponseModel> |
getDeathRate()
Fetch all death rate data.
|
List<ResponseModel> |
getDeathRate(Collection<Integer> sexes,
Collection<String> ages,
Collection<Integer> years)
Fetch all death rate data which match the input constraints.
|
List<ResponseModel> |
getEmigrationRateAssumption()
Fetch all emigration rate assumption data.
|
List<ResponseModel> |
getEmigrationRateAssumption(Collection<String> regionOfBirths,
Collection<Integer> sexes,
Collection<String> ages,
Collection<Integer> years)
Fetch all emigration rate assumption data which match the input constraints.
|
List<ResponseModel> |
getFertilityAssumption()
Fetch all fertility assumption data.
|
List<ResponseModel> |
getFertilityAssumption(Collection<String> mothersRegionOfBirths,
Collection<String> ages,
Collection<Integer> years)
Fetch all fertility assumption 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 PopulationProjectionsLatestAssumptionsClient()
Default constructor.
public PopulationProjectionsLatestAssumptionsClient(Locale locale)
Overloaded constructor.
locale
- the Locale
for this clientpublic List<ResponseModel> getDeathRate()
Fetch all death rate data.
ResponseModel
objectsgetDeathRate(Collection, Collection, Collection)
public List<ResponseModel> getDeathRate(Collection<Integer> sexes, Collection<String> ages, Collection<Integer> years)
Fetch all death rate data which match the input constraints.
sexes
- the sexesages
- the agesyears
- the yearsResponseModel
objectspublic List<ResponseModel> getEmigrationRateAssumption()
Fetch all emigration rate assumption data.
ResponseModel
objectsgetEmigrationRateAssumption(Collection, Collection, Collection, Collection)
public List<ResponseModel> getEmigrationRateAssumption(Collection<String> regionOfBirths, Collection<Integer> sexes, Collection<String> ages, Collection<Integer> years)
Fetch all emigration rate assumption data which match the input constraints.
regionOfBirths
- the region of birthssexes
- the sexesages
- the agesyears
- the yearsResponseModel
objectspublic List<ResponseModel> getFertilityAssumption()
Fetch all fertility assumption data.
ResponseModel
objectsgetFertilityAssumption(Collection, Collection, Collection)
public List<ResponseModel> getFertilityAssumption(Collection<String> mothersRegionOfBirths, Collection<String> ages, Collection<Integer> years)
Fetch all fertility assumption data which match the input constraints.
mothersRegionOfBirths
- the mother“s region of birthages
- the agesyears
- the yearsResponseModel
objectspublic URLEndpoint getUrl()
AbstractClient
Returns the URL endpoint which this client represents.
getUrl
in class AbstractClient
Copyright © 2018. All rights reserved.