public class PopulationStatisticsPartnershipClient extends AbstractClient
Client which handles population statistics partnership data fetching.
| Constructor and Description |
|---|
PopulationStatisticsPartnershipClient()
Default constructor.
|
PopulationStatisticsPartnershipClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResponseModel> |
getPartnership()
Fetch all population partnership data.
|
List<ResponseModel> |
getPartnership(Collection<String> regions,
Collection<String> maritalStatuses,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all population partnership data which match the input constraints.
|
List<ResponseModel> |
getPartnershipChange()
Fetch all population partnership change data.
|
List<ResponseModel> |
getPartnershipChange(Collection<String> regions,
Collection<String> maritalStatuses,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all population partnership change 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 PopulationStatisticsPartnershipClient()
Default constructor.
public PopulationStatisticsPartnershipClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<ResponseModel> getPartnership()
Fetch all population partnership data.
ResponseModel
objectsgetPartnership(Collection, Collection, Collection, Collection)public List<ResponseModel> getPartnership(Collection<String> regions, Collection<String> maritalStatuses, Collection<Integer> sexes, Collection<Integer> years)
Fetch all population partnership data which match the input constraints.
regions - the regions to fetch data formaritalStatuses - the marital statuses to fetch data forsexes - the sexes to fetch data foryears - the years to fetch data forResponseModel
objectspublic List<ResponseModel> getPartnershipChange()
Fetch all population partnership change data.
ResponseModel
objectsgetPartnershipChange(Collection, Collection, Collection, Collection)public List<ResponseModel> getPartnershipChange(Collection<String> regions, Collection<String> maritalStatuses, Collection<Integer> sexes, Collection<Integer> years)
Fetch all population partnership change data which match the input constraints.
regions - the regions to fetch data formaritalStatuses - the marital statuses to fetch data forsexes - the sexes to fetch data foryears - the years to fetch data forResponseModel
objectspublic URLEndpoint getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2019. All rights reserved.