public class PopulationStatisticsHouseholdClient extends AbstractClient
Client which handles population statistics household data fetching.
| Constructor and Description |
|---|
PopulationStatisticsHouseholdClient()
Default constructor.
|
PopulationStatisticsHouseholdClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResponseModel> |
getNumberOfAndPercentageOfPersonsAndHouseholds()
Fetch all number and percentage of persons and households data.
|
List<ResponseModel> |
getNumberOfAndPercentageOfPersonsAndHouseholds(Collection<String> regions,
Collection<String> householdSizes,
Collection<Integer> years)
Fetch all number and percentage of persons and households data which match the
input constraints.
|
List<ResponseModel> |
getNumberOfHouseholdsAndPersons()
Fetch all number of households and persons data.
|
List<ResponseModel> |
getNumberOfHouseholdsAndPersons(Collection<String> regions,
Collection<String> typesOfHouseholds,
Collection<String> numberOfChildren,
Collection<Integer> years)
Fetch all number of households and persons data which match the input
constraints.
|
List<ResponseModel> |
getNumberOfPersons()
Fetch all number of persons data.
|
List<ResponseModel> |
getNumberOfPersons(Collection<String> typesOfHouseholds,
Collection<String> householdStatuses,
Collection<Integer> sexes,
Collection<String> ages,
Collection<Integer> years)
Fetch all 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 PopulationStatisticsHouseholdClient()
Default constructor.
public PopulationStatisticsHouseholdClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<ResponseModel> getNumberOfHouseholdsAndPersons()
Fetch all number of households and persons data.
ResponseModel
objectsgetNumberOfHouseholdsAndPersons(Collection, Collection, Collection,
Collection)public List<ResponseModel> getNumberOfHouseholdsAndPersons(Collection<String> regions, Collection<String> typesOfHouseholds, Collection<String> numberOfChildren, Collection<Integer> years)
Fetch all number of households and persons data which match the input constraints.
regions - the regionstypesOfHouseholds - the types of householdsnumberOfChildren - the number of childrenyears - the yearsResponseModel
objectspublic List<ResponseModel> getNumberOfPersons()
Fetch all number of persons data.
ResponseModel
objectsgetNumberOfPersons(Collection, Collection, Collection, Collection,
Collection)public List<ResponseModel> getNumberOfPersons(Collection<String> typesOfHouseholds, Collection<String> householdStatuses, Collection<Integer> sexes, Collection<String> ages, Collection<Integer> years)
Fetch all number of persons data which match the input constraints.
typesOfHouseholds - the types of householdshouseholdStatuses - the household statusessexes - the sexesages - the agesyears - the yearsResponseModel
objectspublic List<ResponseModel> getNumberOfAndPercentageOfPersonsAndHouseholds()
Fetch all number and percentage of persons and households data.
ResponseModel
objectsgetNumberOfAndPercentageOfPersonsAndHouseholds(Collection, Collection,
Collection)public List<ResponseModel> getNumberOfAndPercentageOfPersonsAndHouseholds(Collection<String> regions, Collection<String> householdSizes, Collection<Integer> years)
Fetch all number and percentage of persons and households data which match the input constraints.
regions - the regionshouseholdSizes - the household sizesyears - the yearsResponseModel
objectspublic URLEndpoint getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2019. All rights reserved.