public class PopulationStatisticsVitalEventsClient extends AbstractClient
Client which handles population statistics vital events data fetching.
| Constructor and Description |
|---|
PopulationStatisticsVitalEventsClient()
Default constructor.
|
PopulationStatisticsVitalEventsClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResponseModel> |
getBirthsAndDeathsPerMonth()
Fetch all births and deaths per month data.
|
List<ResponseModel> |
getBirthsAndDeathsPerMonth(Collection<Integer> sexes,
Collection<String> months,
Collection<Integer> years)
Fetch all births and deaths per month data which match the input
constraints.
|
List<ResponseModel> |
getPopulationAndPopulationChanges()
Fetch all population and population changes data.
|
List<ResponseModel> |
getPopulationAndPopulationChanges(Collection<String> sexes,
Collection<Integer> years)
Fetch all population and population changes data which match the input
constraints.
|
List<ResponseModel> |
getPopulationChangesNumberOfPersons()
Fetch all population changes number of persons data.
|
List<ResponseModel> |
getPopulationChangesNumberOfPersons(Collection<String> regions,
Collection<Integer> populationChanges,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all population changes number of persons 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 PopulationStatisticsVitalEventsClient()
Default constructor.
public PopulationStatisticsVitalEventsClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<ResponseModel> getPopulationChangesNumberOfPersons()
Fetch all population changes number of persons data.
ResponseModel
objectsgetPopulationChangesNumberOfPersons(Collection, Collection, Collection,
Collection)public List<ResponseModel> getPopulationChangesNumberOfPersons(Collection<String> regions, Collection<Integer> populationChanges, Collection<Integer> sexes, Collection<Integer> years)
Fetch all population changes number of persons data which match the input constraints.
regions - the regionspopulationChanges - the population changessexes - the sexesyears - the yearsResponseModel
objectspublic List<ResponseModel> getPopulationAndPopulationChanges()
Fetch all population and population changes data.
ResponseModel
objectsgetPopulationAndPopulationChanges(Collection, Collection)public List<ResponseModel> getPopulationAndPopulationChanges(Collection<String> sexes, Collection<Integer> years)
Fetch all population and population changes data which match the input constraints.
sexes - the sexesyears - the yearsResponseModel
objectspublic List<ResponseModel> getBirthsAndDeathsPerMonth()
Fetch all births and deaths per month data.
ResponseModel
objectsgetBirthsAndDeathsPerMonth(Collection, Collection, Collection)public List<ResponseModel> getBirthsAndDeathsPerMonth(Collection<Integer> sexes, Collection<String> months, Collection<Integer> years)
Fetch all births and deaths per month data which match the input constraints.
sexes - the sexesmonths - the monthsyears - the yearsResponseModel
objectspublic URLEndpoint getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2019. All rights reserved.