public class PopulationStatisticsAverageAgeClient extends AbstractClient
Client which handles population statistics average age data fetching.
| Constructor and Description |
|---|
PopulationStatisticsAverageAgeClient()
Default constructor.
|
PopulationStatisticsAverageAgeClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResponseModel> |
getAverageAge()
Fetch all average age data.
|
List<ResponseModel> |
getAverageAge(Collection<String> regions,
Collection<String> sexes,
Collection<Integer> years)
Fetch all average age 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 PopulationStatisticsAverageAgeClient()
Default constructor.
public PopulationStatisticsAverageAgeClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<ResponseModel> getAverageAge()
Fetch all average age data.
ResponseModel
objectsgetAverageAge(Collection, Collection, Collection)public List<ResponseModel> getAverageAge(Collection<String> regions, Collection<String> sexes, Collection<Integer> years)
Fetch all average age data which match the input constraints.
regions - the regions to fetch data forsexes - the sexes to fetch data foryears - the years to fetch data forResponseModel
objectspublic URLEndpoint getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2019. All rights reserved.