public class PopulationStatisticsDeathsClient extends AbstractClient
Client which handles population statistics deaths data fetching.
Constructor and Description |
---|
PopulationStatisticsDeathsClient()
Default constructor.
|
PopulationStatisticsDeathsClient(Locale locale)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ResponseModel> |
getInfantMortality()
Fetch all infant mortality data.
|
List<ResponseModel> |
getInfantMortality(Collection<String> sexes,
Collection<String> infantMortalities,
Collection<Integer> years)
Fetch all infant mortality data which match the input constraints.
|
List<ResponseModel> |
getLifeExpectency()
Fetch all life expectancy data.
|
List<ResponseModel> |
getLifeExpectency(Collection<String> regions,
Collection<Integer> sexes,
Collection<String> years)
Fetch all life expectancy data which match the input constraints.
|
List<ResponseModel> |
getLifeTable()
Fetch all life table data.
|
List<ResponseModel> |
getLifeTable(Collection<Integer> sexes,
Collection<Integer> ages,
Collection<Integer> years)
Fetch all life table data which match the input constraints.
|
List<ResponseModel> |
getMortalityRate()
Fetch all mortality rate data.
|
List<ResponseModel> |
getMortalityRate(Collection<String> ages,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all mortality rate data which match the input constraints.
|
List<ResponseModel> |
getStillborn()
Fetch all stillborn data.
|
List<ResponseModel> |
getStillborn(Collection<String> regions,
Collection<String> motherAges,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all stillborn 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 PopulationStatisticsDeathsClient()
Default constructor.
public PopulationStatisticsDeathsClient(Locale locale)
Overloaded constructor.
locale
- the Locale
for this clientpublic List<ResponseModel> getMortalityRate()
Fetch all mortality rate data.
ResponseModel
objectsgetMortalityRate(Collection, Collection, Collection)
public List<ResponseModel> getMortalityRate(Collection<String> ages, Collection<Integer> sexes, Collection<Integer> years)
Fetch all mortality rate data which match the input constraints.
ages
- the agessexes
- the sexesyears
- the yearsResponseModel
objectspublic List<ResponseModel> getStillborn()
Fetch all stillborn data.
ResponseModel
objectsgetStillborn(Collection, Collection, Collection, Collection)
public List<ResponseModel> getStillborn(Collection<String> regions, Collection<String> motherAges, Collection<Integer> sexes, Collection<Integer> years)
Fetch all stillborn data which match the input constraints.
regions
- the regionsmotherAges
- the mothers' agessexes
- the sexesyears
- the yearsResponseModel
objectspublic List<ResponseModel> getLifeExpectency()
Fetch all life expectancy data.
ResponseModel
objectsgetLifeExpectency(Collection, Collection, Collection)
public List<ResponseModel> getLifeExpectency(Collection<String> regions, Collection<Integer> sexes, Collection<String> years)
Fetch all life expectancy data which match the input constraints.
regions
- the regionssexes
- the sexesyears
- the yearsResponseModel
objectspublic List<ResponseModel> getLifeTable()
Fetch all life table data.
ResponseModel
objectsgetLifeTable(Collection, Collection, Collection)
public List<ResponseModel> getLifeTable(Collection<Integer> sexes, Collection<Integer> ages, Collection<Integer> years)
Fetch all life table data which match the input constraints.
sexes
- the sexesages
- the agesyears
- the yearsResponseModel
objectspublic List<ResponseModel> getInfantMortality()
Fetch all infant mortality data.
ResponseModel
objectsgetInfantMortality(Collection, Collection, Collection)
public List<ResponseModel> getInfantMortality(Collection<String> sexes, Collection<String> infantMortalities, Collection<Integer> years)
Fetch all infant mortality data which match the input constraints.
sexes
- the sexesinfantMortalities
- the infant mortalitiesyears
- the yearsResponseModel
objectspublic URLEndpoint getUrl()
AbstractClient
Returns the URL endpoint which this client represents.
getUrl
in class AbstractClient
Copyright © 2018. All rights reserved.