Class LivingConditionsSurveysEmploymentClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.livingconditions.surveys.employment.LivingConditionsSurveysEmploymentClient
-
public class LivingConditionsSurveysEmploymentClient extends AbstractClient
Client which handles living conditions surveys employment data fetching.
- Since:
- 0.2.0
-
-
Constructor Summary
Constructors Constructor Description LivingConditionsSurveysEmploymentClient()Default constructor.LivingConditionsSurveysEmploymentClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getDistributionOfWorkingHoursForEmployees()Fetch all distribution of working hours for employees data.List<ResponseModel>getDistributionOfWorkingHoursForEmployees(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)Fetch all distribution of working hours for employees data which match the input constraints.List<ResponseModel>getGainfullyEmployedPersons()Fetch all gainfully employed persons data.List<ResponseModel>getGainfullyEmployedPersons(Collection<String> fullAndPartTimes, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)Fetch all gainfully employed persons data which match the input constraints.List<ResponseModel>getMainActivity()Fetch all main activity data.List<ResponseModel>getMainActivity(Collection<String> activities, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)Fetch all main activity data which match the input constraints.List<ResponseModel>getTypeOfEmployment()Fetch all type of employment data.List<ResponseModel>getTypeOfEmployment(Collection<String> types, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)Fetch all type of employment data which match the input constraints.URLEndpointgetUrl()Returns the URL endpoint which this client represents.-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractClient
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocale
-
-
-
-
Constructor Detail
-
LivingConditionsSurveysEmploymentClient
public LivingConditionsSurveysEmploymentClient()
Default constructor.
-
LivingConditionsSurveysEmploymentClient
public LivingConditionsSurveysEmploymentClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getMainActivity
public List<ResponseModel> getMainActivity()
Fetch all main activity data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getMainActivity(Collection, Collection, Collection, Collection)
-
getMainActivity
public List<ResponseModel> getMainActivity(Collection<String> activities, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)
Fetch all main activity data which match the input constraints.
- Parameters:
activities- the activitiesages- the agessexes- the sexesperiods- the periods- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getGainfullyEmployedPersons
public List<ResponseModel> getGainfullyEmployedPersons()
Fetch all gainfully employed persons data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getGainfullyEmployedPersons
public List<ResponseModel> getGainfullyEmployedPersons(Collection<String> fullAndPartTimes, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)
Fetch all gainfully employed persons data which match the input constraints.
- Parameters:
fullAndPartTimes- the full and part timesages- the agessexes- the sexesperiods- the periods- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getTypeOfEmployment
public List<ResponseModel> getTypeOfEmployment()
Fetch all type of employment data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getTypeOfEmployment
public List<ResponseModel> getTypeOfEmployment(Collection<String> types, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)
Fetch all type of employment data which match the input constraints.
- Parameters:
types- the typesages- the agessexes- the sexesperiods- the periods- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getDistributionOfWorkingHoursForEmployees
public List<ResponseModel> getDistributionOfWorkingHoursForEmployees()
Fetch all distribution of working hours for employees data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getDistributionOfWorkingHoursForEmployees
public List<ResponseModel> getDistributionOfWorkingHoursForEmployees(Collection<String> indicators, Collection<String> ages, Collection<Integer> sexes, Collection<String> periods)
Fetch all distribution of working hours for employees data which match the input constraints.
- Parameters:
indicators- the indicatorsages- the agessexes- the sexesperiods- the periods- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getUrl
public URLEndpoint getUrl()
Description copied from class:AbstractClientReturns the URL endpoint which this client represents.
- Specified by:
getUrlin classAbstractClient- Returns:
- the URL endpoint for this client
-
-