public class PopulationStatisticsForeignBornPersonsClient extends AbstractClient
Client which handles population statistics foreign-born persons data fetching.
| Constructor and Description |
|---|
PopulationStatisticsForeignBornPersonsClient()
Default constructor.
|
PopulationStatisticsForeignBornPersonsClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResponseModel> |
getPopulationByCountryOfBirth()
Fetch all population by country of birth data.
|
List<ResponseModel> |
getPopulationByCountryOfBirth(Collection<String> countriesOfBirths,
Collection<String> ages,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all population by country of birth data which match the input
constraints.
|
List<ResponseModel> |
getSwedishAndForeignBornPopulation()
Fetch all Swedish and foreign-born population data.
|
List<ResponseModel> |
getSwedishAndForeignBornPopulation(Collection<String> regions,
Collection<String> ages,
Collection<Integer> sexes,
Collection<String> regionsOfBirths,
Collection<Integer> years)
Fetch all Swedish and foreign-born population 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 PopulationStatisticsForeignBornPersonsClient()
Default constructor.
public PopulationStatisticsForeignBornPersonsClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<ResponseModel> getSwedishAndForeignBornPopulation()
Fetch all Swedish and foreign-born population data.
ResponseModel
objectsgetSwedishAndForeignBornPopulation(Collection, Collection, Collection,
Collection, Collection)public List<ResponseModel> getSwedishAndForeignBornPopulation(Collection<String> regions, Collection<String> ages, Collection<Integer> sexes, Collection<String> regionsOfBirths, Collection<Integer> years)
Fetch all Swedish and foreign-born population data which match the input constraints.
regions - the regionsages - the agessexes - the sexesregionsOfBirths - the regions of birthsyears - the yearsResponseModel
objectspublic List<ResponseModel> getPopulationByCountryOfBirth()
Fetch all population by country of birth data.
ResponseModel
objectsgetPopulationByCountryOfBirth(Collection, Collection, Collection, Collection)public List<ResponseModel> getPopulationByCountryOfBirth(Collection<String> countriesOfBirths, Collection<String> ages, Collection<Integer> sexes, Collection<Integer> years)
Fetch all population by country of birth data which match the input constraints.
countriesOfBirths - the countries of birthsages - the agessexes - the sexesyears - the yearsResponseModel
objectspublic URLEndpoint getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2019. All rights reserved.