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> |
getFertilityAssumption()
Fetch all fertility assumption data.
|
List<ResponseModel> |
getFertilityAssumption(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, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, 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> getFertilityAssumption()
Fetch all fertility assumption data.
ResponseModel
objectsgetFertilityAssumption(Collection)
public List<ResponseModel> getFertilityAssumption(Collection<Integer> years)
Fetch all fertility assumption data which match the input constraints.
years
- the yearsResponseModel
objectspublic URLEndpoint getUrl()
AbstractClient
Returns the URL endpoint which this client represents.
getUrl
in class AbstractClient
Copyright © 2018. All rights reserved.