public class Area extends AbstractRegionYearAndValueModel<String,Integer,Double>
region, yearvalue| Constructor and Description |
|---|
Area()
Default constructor.
|
Area(String region,
String type,
Integer year,
Double value)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static List<String> |
getCodes()
Get the codes for the area model from the API.
|
String |
getType()
Getter for type.
|
int |
hashCode() |
void |
setType(String type)
Setter for type
|
String |
toString() |
getRegion, getYear, setRegion, setYeargetValue, setValuepublic String getType()
public void setType(String 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>Copyright © 2016. All rights reserved.