public class ElectricitySupply extends AbstractTimeAndValueModel<Integer,Integer>
Model for electricity supply data.
| Constructor and Description |
|---|
ElectricitySupply()
Default constructor.
|
ElectricitySupply(String powerPlant,
Integer year,
List<ValueNode<Integer>> values)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Map<String,Collection<String>> |
getInputs()
Get the available codes and their respective values for the electricity supply
data from the API.
|
String |
getPowerPlant()
Getter for power plant.
|
int |
hashCode() |
void |
setPowerPlant(String powerPlant)
Setter for power plant.
|
String |
toString() |
getTime, setTimegetValue, getValues, setValue, setValuespublic String getPowerPlant()
Getter for power plant.
public void setPowerPlant(String powerPlant)
Setter for power plant.
powerPlant - the power plantpublic int hashCode()
hashCode in class AbstractTimeAndValueModel<Integer,Integer>public boolean equals(Object obj)
equals in class AbstractTimeAndValueModel<Integer,Integer>public String toString()
toString in class AbstractTimeAndValueModel<Integer,Integer>public static Map<String,Collection<String>> getInputs()
Get the available codes and their respective values for the electricity supply data from the API.
Copyright © 2017. All rights reserved.