public class PopulationProjectionsLatestProjectionsClient extends AbstractClient
Client which handles population projections latest projections data fetching.
Constructor and Description |
---|
PopulationProjectionsLatestProjectionsClient()
Default constructor.
|
PopulationProjectionsLatestProjectionsClient(Locale locale)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ResponseModel> |
getLifeExpectancy()
Fetch all life expectancy data.
|
List<ResponseModel> |
getLifeExpectancy(Collection<Integer> sexes,
Collection<String> ages,
Collection<Integer> years)
Fetch all life expectancy data which match the input constraints.
|
List<ResponseModel> |
getNumberOfBirths()
Fetch all number of births data.
|
List<ResponseModel> |
getNumberOfBirths(Collection<String> countries,
Collection<String> ages,
Collection<Integer> years)
Fetch all number of births data which match the input constraints.
|
List<ResponseModel> |
getPopulation()
Fetch all population data.
|
List<ResponseModel> |
getPopulation(Collection<String> ages,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all population data which match the input constraints.
|
List<ResponseModel> |
getPopulationChanges()
Fetch all population changes data.
|
List<ResponseModel> |
getPopulationChanges(Collection<String> countries,
Collection<Integer> sexes,
Collection<String> ages,
Collection<Integer> years)
Fetch all population changes data which match the input constraints.
|
List<ResponseModel> |
getPopulationChangesOverview()
Fetch all population changes overview data.
|
List<ResponseModel> |
getPopulationChangesOverview(Collection<Integer> years)
Fetch all population changes overview 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 PopulationProjectionsLatestProjectionsClient()
Default constructor.
public PopulationProjectionsLatestProjectionsClient(Locale locale)
Overloaded constructor.
locale
- the Locale
for this clientpublic List<ResponseModel> getPopulation()
Fetch all population data.
ResponseModel
objectsgetPopulation(Collection, Collection, Collection)
public List<ResponseModel> getPopulation(Collection<String> ages, Collection<Integer> sexes, Collection<Integer> years)
Fetch all population data which match the input constraints.
ages
- the agessexes
- the sexesyears
- the yearsResponseModel
objectspublic List<ResponseModel> getPopulationChanges()
Fetch all population changes data.
ResponseModel
objectsgetPopulationChanges(Collection, Collection, Collection, Collection)
public List<ResponseModel> getPopulationChanges(Collection<String> countries, Collection<Integer> sexes, Collection<String> ages, Collection<Integer> years)
Fetch all population changes data which match the input constraints.
countries
- the countriessexes
- the sexesages
- the agesyears
- the yearsResponseModel
objectspublic List<ResponseModel> getPopulationChangesOverview()
Fetch all population changes overview data.
ResponseModel
objectsgetPopulationChangesOverview(Collection)
public List<ResponseModel> getPopulationChangesOverview(Collection<Integer> years)
Fetch all population changes overview data which match the input constraints.
years
- the yearsResponseModel
objectspublic List<ResponseModel> getNumberOfBirths()
Fetch all number of births data.
ResponseModel
objectsgetNumberOfBirths(Collection, Collection, Collection)
public List<ResponseModel> getNumberOfBirths(Collection<String> countries, Collection<String> ages, Collection<Integer> years)
Fetch all number of births data which match the input constraints.
countries
- the countriesages
- the agesyears
- the yearsResponseModel
objectspublic List<ResponseModel> getLifeExpectancy()
Fetch all life expectancy data.
ResponseModel
objectsgetLifeExpectancy(Collection, Collection, Collection)
public List<ResponseModel> getLifeExpectancy(Collection<Integer> sexes, Collection<String> ages, Collection<Integer> years)
Fetch all life expectancy data which match the input constraints.
sexes
- the sexesages
- 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.