public class PopulationStatisticsMigrationClient extends AbstractClient
Client which handles population statistics migration data fetching.
Constructor and Description |
---|
PopulationStatisticsMigrationClient()
Default constructor.
|
PopulationStatisticsMigrationClient(Locale locale)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
List<ResponseModel> |
getImmigrations()
Fetch all immigrations data.
|
List<ResponseModel> |
getImmigrations(Collection<String> groundsForSettlements,
Collection<String> countriesOfBirths,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all immigrations data which match the input constraints.
|
List<ResponseModel> |
getMigration()
Fetch all migration data.
|
List<ResponseModel> |
getMigration(Collection<String> regions,
Collection<String> ages,
Collection<Integer> sexes,
Collection<Integer> years)
Fetch all migration data which match the input constraints.
|
URLEndpoint |
getUrl()
Returns the URL endpoint which this client represents.
|
doGetRequest, doPostRequest, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setLocale, setLocalizationLocale
public PopulationStatisticsMigrationClient()
Default constructor.
public PopulationStatisticsMigrationClient(Locale locale)
Overloaded constructor.
locale
- the Locale
for this clientpublic List<ResponseModel> getImmigrations()
Fetch all immigrations data.
ResponseModel
objectsgetImmigrations(Collection, Collection, Collection, Collection)
public List<ResponseModel> getImmigrations(Collection<String> groundsForSettlements, Collection<String> countriesOfBirths, Collection<Integer> sexes, Collection<Integer> years)
Fetch all immigrations data which match the input constraints.
groundsForSettlements
- the grounds for settlementscountriesOfBirths
- the countries of birthssexes
- the sexesyears
- the yearsResponseModel
objectspublic List<ResponseModel> getMigration()
Fetch all migration data.
ResponseModel
objectsgetMigration(Collection, Collection, Collection, Collection)
public List<ResponseModel> getMigration(Collection<String> regions, Collection<String> ages, Collection<Integer> sexes, Collection<Integer> years)
Fetch all migration data which match the input constraints.
regions
- the regionsages
- the agessexes
- the sexesyears
- the yearsResponseModel
objectspublic URLEndpoint getUrl()
AbstractClient
Returns the URL endpoint which this client represents.
getUrl
in class AbstractClient
Copyright © 2018. All rights reserved.