public class PopulationStatisticsCitizenshipClient extends AbstractClient
Client which handles population statistics citizenship data fetching.
| Constructor and Description |
|---|
PopulationStatisticsCitizenshipClient()
Default constructor.
|
PopulationStatisticsCitizenshipClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResponseModel> |
getAcquiredSwedishCitizenship()
Fetch all acquired Swedish citizenship data.
|
List<ResponseModel> |
getAcquiredSwedishCitizenship(Collection<String> regions,
Collection<String> ages,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all acquired Swedish citizenship data which match the input
constraints.
|
List<ResponseModel> |
getAcquiredSwedishCitizenshipInSweden()
Fetch all acquired Swedish citizenship in Sweden data.
|
List<ResponseModel> |
getAcquiredSwedishCitizenshipInSweden(Collection<String> countriesOfCitizenship,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all acquired Swedish citizenship in Sweden 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 PopulationStatisticsCitizenshipClient()
Default constructor.
public PopulationStatisticsCitizenshipClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<ResponseModel> getAcquiredSwedishCitizenship()
Fetch all acquired Swedish citizenship data.
ResponseModel
objectsgetAcquiredSwedishCitizenship(Collection, Collection, Collection, Collection)public List<ResponseModel> getAcquiredSwedishCitizenship(Collection<String> regions, Collection<String> ages, Collection<Integer> sexes, Collection<Integer> years)
Fetch all acquired Swedish citizenship data which match the input constraints.
regions - the regionsages - the agessexes - the sexesyears - the yearsResponseModel
objectspublic List<ResponseModel> getAcquiredSwedishCitizenshipInSweden()
Fetch all acquired Swedish citizenship in Sweden data.
ResponseModel
objectsgetAcquiredSwedishCitizenshipInSweden(Collection, Collection, Collection)public List<ResponseModel> getAcquiredSwedishCitizenshipInSweden(Collection<String> countriesOfCitizenship, Collection<Integer> sexes, Collection<Integer> years)
Fetch all acquired Swedish citizenship in Sweden data which match the input constraints.
countriesOfCitizenship - the countries of citizenshipsexes - the sexesyears - the yearsResponseModel
objectspublic URLEndpoint getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2019. All rights reserved.