Class EnvironmentSEEAMaterialFlowAccountsClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.environment.seea.materialflowaccounts.EnvironmentSEEAMaterialFlowAccountsClient
-
public class EnvironmentSEEAMaterialFlowAccountsClient extends AbstractClient
Client which handles environment System of Environmental-Economic Accounting (SEEA) material flow accounts data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description EnvironmentSEEAMaterialFlowAccountsClient()
Default constructor.EnvironmentSEEAMaterialFlowAccountsClient(Locale locale)
Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>
getMaterialFlows()
Fetch all material flows data.List<ResponseModel>
getMaterialFlows(Collection<String> categories, Collection<Integer> years)
Fetch all material flows 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
-
EnvironmentSEEAMaterialFlowAccountsClient
public EnvironmentSEEAMaterialFlowAccountsClient()
Default constructor.
-
EnvironmentSEEAMaterialFlowAccountsClient
public EnvironmentSEEAMaterialFlowAccountsClient(Locale locale)
Overloaded constructor.
- Parameters:
locale
- theLocale
for this client
-
-
Method Detail
-
getMaterialFlows
public List<ResponseModel> getMaterialFlows()
Fetch all material flows data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getMaterialFlows(Collection, Collection)
-
getMaterialFlows
public List<ResponseModel> getMaterialFlows(Collection<String> categories, Collection<Integer> years)
Fetch all material flows data which match the input constraints.
- Parameters:
categories
- the categoriesyears
- 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
-
-