Class AgricultureLandUseClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.agriculture.landuse.AgricultureLandUseClient
-
public class AgricultureLandUseClient extends AbstractClient
Client which handles agriculture land use data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description AgricultureLandUseClient()
Default constructor.AgricultureLandUseClient(Locale locale)
Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>
getTypeOfLandAreaByCounty()
Fetch all type of land area by county data.List<ResponseModel>
getTypeOfLandAreaByCounty(Collection<String> regions, Collection<Integer> typesOfLands, Collection<Integer> years)
Fetch all type of land area by county data which match the input constraints.List<ResponseModel>
getTypeOfLandAreaByMunicipality()
Fetch all type of land area by municipality data.List<ResponseModel>
getTypeOfLandAreaByMunicipality(Collection<String> regions, Collection<Integer> typesOfLands, Collection<Integer> years)
Fetch all type of land area by municipality data which match the input constraints.URLEndpoint
getUrl()
Returns the URL endpoint which this client represents.List<ResponseModel>
getUseOfArableLandByCounty()
Fetch all use of arable land by county data.List<ResponseModel>
getUseOfArableLandByCounty(Collection<String> regions, Collection<String> crops, Collection<Integer> years)
Fetch all use of arable land by county data which match the input constraints.List<ResponseModel>
getUseOfArableLandByMunicipality()
Fetch all use of arable land by municipality data.List<ResponseModel>
getUseOfArableLandByMunicipality(Collection<String> regions, Collection<String> crops, Collection<Integer> years)
Fetch all use of arable land by municipality data which match the input constraints.-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractClient
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocale
-
-
-
-
Constructor Detail
-
AgricultureLandUseClient
public AgricultureLandUseClient()
Default constructor.
-
AgricultureLandUseClient
public AgricultureLandUseClient(Locale locale)
Overloaded constructor.
- Parameters:
locale
- theLocale
for this client
-
-
Method Detail
-
getUseOfArableLandByMunicipality
public List<ResponseModel> getUseOfArableLandByMunicipality()
Fetch all use of arable land by municipality data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getUseOfArableLandByMunicipality(Collection, Collection, Collection)
-
getUseOfArableLandByMunicipality
public List<ResponseModel> getUseOfArableLandByMunicipality(Collection<String> regions, Collection<String> crops, Collection<Integer> years)
Fetch all use of arable land by municipality data which match the input constraints.
- Parameters:
regions
- the regionscrops
- the cropsyears
- the years- Returns:
- the data wrapped in a list of
ResponseModel
objects
-
getUseOfArableLandByCounty
public List<ResponseModel> getUseOfArableLandByCounty()
Fetch all use of arable land by county data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getUseOfArableLandByCounty(Collection, Collection, Collection)
-
getUseOfArableLandByCounty
public List<ResponseModel> getUseOfArableLandByCounty(Collection<String> regions, Collection<String> crops, Collection<Integer> years)
Fetch all use of arable land by county data which match the input constraints.
- Parameters:
regions
- the regionscrops
- the cropsyears
- the years- Returns:
- the data wrapped in a list of
ResponseModel
objects
-
getTypeOfLandAreaByMunicipality
public List<ResponseModel> getTypeOfLandAreaByMunicipality()
Fetch all type of land area by municipality data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getTypeOfLandAreaByMunicipality(Collection, Collection, Collection)
-
getTypeOfLandAreaByMunicipality
public List<ResponseModel> getTypeOfLandAreaByMunicipality(Collection<String> regions, Collection<Integer> typesOfLands, Collection<Integer> years)
Fetch all type of land area by municipality data which match the input constraints.
- Parameters:
regions
- the regionstypesOfLands
- the types of landsyears
- the years- Returns:
- the data wrapped in a list of
ResponseModel
objects
-
getTypeOfLandAreaByCounty
public List<ResponseModel> getTypeOfLandAreaByCounty()
Fetch all type of land area by county data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getTypeOfLandAreaByCounty(Collection, Collection, Collection)
-
getTypeOfLandAreaByCounty
public List<ResponseModel> getTypeOfLandAreaByCounty(Collection<String> regions, Collection<Integer> typesOfLands, Collection<Integer> years)
Fetch all type of land area by county data which match the input constraints.
- Parameters:
regions
- the regionstypesOfLands
- the types of landsyears
- the years- 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
-
-