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