public class Building extends AbstractRegionTimeAndValueModel<String,Integer,String>
Model for buildings data.
| Constructor and Description |
|---|
Building()
Default constructor.
|
Building(String region,
Integer type,
Integer year,
List<ValueNode<String>> 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 buildings data from
the API.
|
Integer |
getType()
Getter for type.
|
int |
hashCode() |
void |
setType(Integer type)
Setter for type.
|
String |
toString() |
getRegion, setRegiongetTime, setTimegetValue, getValues, setValue, setValuespublic Integer getType()
Getter for type.
public void setType(Integer type)
Setter for type.
type - the typepublic int hashCode()
hashCode in class AbstractRegionTimeAndValueModel<String,Integer,String>public boolean equals(Object obj)
equals in class AbstractRegionTimeAndValueModel<String,Integer,String>public String toString()
toString in class AbstractRegionTimeAndValueModel<String,Integer,String>public static Map<String,Collection<String>> getInputs()
Get the available codes and their respective values for the buildings data from the API.
Copyright © 2017. All rights reserved.