Class EducationAndResearchFolkHighSchoolStatisticsClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.educationandresearch.folkhighschoolstatistics.EducationAndResearchFolkHighSchoolStatisticsClient
-
public class EducationAndResearchFolkHighSchoolStatisticsClient extends AbstractClient
Client which handles education and research folk high school statistics data fetching.
- Since:
- 2.2.0
-
-
Constructor Summary
Constructors Constructor Description EducationAndResearchFolkHighSchoolStatisticsClient()
Default constructor.EducationAndResearchFolkHighSchoolStatisticsClient(Locale locale)
Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<ResponseModel>
getParticipants()
Deprecated.List<ResponseModel>
getParticipants(Collection<String> regions, Collection<String> sexes, Collection<String> typesOfCourses, Collection<Integer> years)
List<ResponseModel>
getParticipantsInCourses()
Fetch all participants in folk high school courses data.List<ResponseModel>
getParticipantsInCourses(Collection<String> sexes, Collection<String> typesOfCourses, Collection<String> nationalBackgrounds, Collection<String> regionOfEducations, Collection<String> ageGroups, Collection<Integer> years)
Fetch all participants in folk high school courses data which match the input constraints.URLEndpoint
getUrl()
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
-
EducationAndResearchFolkHighSchoolStatisticsClient
public EducationAndResearchFolkHighSchoolStatisticsClient()
Default constructor.
-
EducationAndResearchFolkHighSchoolStatisticsClient
public EducationAndResearchFolkHighSchoolStatisticsClient(Locale locale)
Overloaded constructor.
- Parameters:
locale
- theLocale
for this client
-
-
Method Detail
-
getParticipants
@Deprecated public List<ResponseModel> getParticipants()
Deprecated.Fetch all participants in long folk high school courses data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getParticipants(Collection, Collection, Collection, Collection)
-
getParticipants
@Deprecated public List<ResponseModel> getParticipants(Collection<String> regions, Collection<String> sexes, Collection<String> typesOfCourses, Collection<Integer> years)
Deprecated.Fetch all participants in long folk high school courses data which match the input constraints.
- Parameters:
regions
- the regionssexes
- the sexestypesOfCourses
- the types of coursesyears
- the years- Returns:
- the data wrapped in a list of
ResponseModel
objects
-
getParticipantsInCourses
public List<ResponseModel> getParticipantsInCourses()
Fetch all participants in folk high school courses data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getParticipantsInCourses(Collection, Collection, Collection, Collection, Collection, Collection)
-
getParticipantsInCourses
public List<ResponseModel> getParticipantsInCourses(Collection<String> sexes, Collection<String> typesOfCourses, Collection<String> nationalBackgrounds, Collection<String> regionOfEducations, Collection<String> ageGroups, Collection<Integer> years)
Fetch all participants in folk high school courses data which match the input constraints.
- Parameters:
sexes
- the sexes to fetch data fortypesOfCourses
- the types of courses to fetch data fornationalBackgrounds
- the national backgrounds to fetch data forregionOfEducations
- the region of educations to fetch data forageGroups
- the age groups to fetch data foryears
- the years to fetch data for- Returns:
- the data wrapped in a list of
ResponseModel
objects
-
getUrl
public URLEndpoint getUrl()
Description copied from class:AbstractClient
Returns the URL endpoint which this client represents.
- Specified by:
getUrl
in classAbstractClient
- Returns:
- the URL endpoint for this client
-
-