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<Integer> regionOfBirths,
Collection<String> ages,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all population data which match the input constraints.
|
List<ResponseModel> |
getPopulation(Collection<String> ages,
Collection<Integer> sexes,
Collection<Integer> years)
Deprecated.
|
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, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocalepublic 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, Collection)@Deprecated public List<ResponseModel> getPopulation(Collection<String> ages, Collection<Integer> sexes, Collection<Integer> years)
getPopulation(Collection, Collection, Collection, Collection)Fetch all population data which match the input constraints.
ages - the agessexes - the sexesyears - the yearsResponseModel
objectspublic List<ResponseModel> getPopulation(Collection<Integer> regionOfBirths, Collection<String> ages, Collection<Integer> sexes, Collection<Integer> years)
Fetch all population data which match the input constraints.
regionOfBirths - the region of birthsages - 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()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2018. All rights reserved.