public class PopulationPartnershipClient extends AbstractClient
Client which handles population partnership data fetching.
locale, localization| Constructor and Description |
|---|
PopulationPartnershipClient()
Default constructor.
|
PopulationPartnershipClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Partnership> |
getPartnership()
Fetch all population partnership data.
|
List<Partnership> |
getPartnership(Collection<String> regions,
Collection<String> maritalStatuses,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all population partnership data which match the input constraints.
|
List<PartnershipChange> |
getPartnershipChange()
Fetch all population partnership change data.
|
List<PartnershipChange> |
getPartnershipChange(Collection<String> regions,
Collection<String> maritalStatuses,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all population partnership change data which match the input
constraints.
|
String |
getUrl()
Returns the URL endpoint which this client represents.
|
get, getBaseUrl, getLocale, getRegions, getYears, post, setLocale, setLocalizationLocalepublic PopulationPartnershipClient()
Default constructor.
public PopulationPartnershipClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<Partnership> getPartnership()
Fetch all population partnership data.
Partnership objectsgetPartnership(Collection, Collection, Collection, Collection)public List<Partnership> 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 forPartnership objectspublic List<PartnershipChange> getPartnershipChange()
Fetch all population partnership change data.
PartnershipChange objectsgetPartnershipChange(Collection, Collection, Collection, Collection)public List<PartnershipChange> 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 forPartnershipChange objectspublic String getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2017. All rights reserved.