public class EnergyAnnualStatisticsClient extends AbstractClient
Client which handles energy annual statistics data fetching.
| Constructor and Description |
|---|
EnergyAnnualStatisticsClient()
Default constructor.
|
EnergyAnnualStatisticsClient(Locale locale)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ConsumptionOfFuelsInElectricityGeneration> |
getConsumptionOfFuelsInElectricityGeneration()
Fetch all consumption of fuels in electricity generation data.
|
List<ConsumptionOfFuelsInElectricityGeneration> |
getConsumptionOfFuelsInElectricityGeneration(Collection<String> powerPlants,
Collection<String> fuels,
Collection<Integer> years)
Fetch all consumption of fuels in electricity generation data.
|
List<ElectricitySupply> |
getElectricitySupply()
Fetch all electricity supply data.
|
List<ElectricitySupply> |
getElectricitySupply(Collection<String> powerPlants,
Collection<Integer> years)
Fetch all electricity supply data.
|
String |
getUrl()
Returns the URL endpoint which this client represents.
|
doGetRequest, doPostRequest, getLocale, getLocalizationLocale, getRootUrl, setLocale, setLocalizationLocalepublic EnergyAnnualStatisticsClient()
Default constructor.
public EnergyAnnualStatisticsClient(Locale locale)
Overloaded constructor.
locale - the Locale for this clientpublic List<ConsumptionOfFuelsInElectricityGeneration> getConsumptionOfFuelsInElectricityGeneration()
Fetch all consumption of fuels in electricity generation data.
ConsumptionOfFuelsInElectricityGeneration objectsgetConsumptionOfFuelsInElectricityGeneration(Collection, Collection,
Collection)public List<ConsumptionOfFuelsInElectricityGeneration> getConsumptionOfFuelsInElectricityGeneration(Collection<String> powerPlants, Collection<String> fuels, Collection<Integer> years)
Fetch all consumption of fuels in electricity generation data.
powerPlants - the power plants to fetch data forfuels - the fuels to fetch data foryears - the years to fetch data forConsumptionOfFuelsInElectricityGeneration objectspublic List<ElectricitySupply> getElectricitySupply()
Fetch all electricity supply data.
ElectricitySupply objectsgetElectricitySupply(Collection, Collection)public List<ElectricitySupply> getElectricitySupply(Collection<String> powerPlants, Collection<Integer> years)
Fetch all electricity supply data.
powerPlants - the power plants to fetch data foryears - the years to fetch data forElectricitySupply objectspublic String getUrl()
AbstractClientReturns the URL endpoint which this client represents.
getUrl in class AbstractClientCopyright © 2017. All rights reserved.