public class PopulationDemographyClient extends AbstractClient
Client which handles population demography data fetching.
locale, localization| Constructor and Description |
|---|
PopulationDemographyClient()
Default constructor.
|
PopulationDemographyClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<FertilityRate> |
getFertilityRate()
Fetch all fertility rate data.
|
List<FertilityRate> |
getFertilityRate(Collection<String> regions,
Collection<Integer> genders,
Collection<Integer> years)
Fetch all fertility rate data which match the input constraints.
|
List<MeanAgeFirstChild> |
getMeanAgeFirstChild()
Fetch all mean age for the first child data.
|
List<MeanAgeFirstChild> |
getMeanAgeFirstChild(Collection<String> regions,
Collection<Integer> genders,
Collection<Integer> years)
Fetch all mean age for the first child data which match the input
constraints.
|
String |
getUrl()
Returns the URL endpoint which this client represents.
|
get, getBaseUrl, getLocale, getRegions, getYears, post, setLocale, setLocalizationLocalepublic PopulationDemographyClient()
Default constructor.
public PopulationDemographyClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<FertilityRate> getFertilityRate()
Fetch all fertility rate data.
FertilityRate objectsgetFertilityRate(Collection, Collection,
Collection)public List<FertilityRate> getFertilityRate(Collection<String> regions, Collection<Integer> genders, Collection<Integer> years)
Fetch all fertility rate data which match the input constraints.
regions - the regions to fetch data forgenders - the genders to fetch data foryears - the years to fetch data forFertilityRate objectspublic List<MeanAgeFirstChild> getMeanAgeFirstChild()
Fetch all mean age for the first child data.
MeanAgeFirstChild objectsgetMeanAgeFirstChild(Collection, Collection, Collection)public List<MeanAgeFirstChild> getMeanAgeFirstChild(Collection<String> regions, Collection<Integer> genders, Collection<Integer> years)
Fetch all mean age for the first child data which match the input constraints.
regions - the regions to fetch data forgenders - the genders to fetch data foryears - the years to fetch data forMeanAgeFirstChild objectspublic String getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2017. All rights reserved.