R - the regionY - the yearV - the valuepublic class AbstractRegionAndYearModel<R,Y,V> extends AbstractModel<V>
| Modifier and Type | Field and Description |
|---|---|
protected R |
region |
protected Y |
year |
value| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRegionAndYearModel()
Default constructor.
|
protected |
AbstractRegionAndYearModel(R region,
Y year,
V value)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
R |
getRegion()
Getter for region
|
Y |
getYear()
Getter for year
|
int |
hashCode() |
void |
setRegion(R region)
Setter for
|
void |
setYear(Y year)
Setter for year
|
getValue, setValueprotected AbstractRegionAndYearModel()
public R getRegion()
public void setRegion(R region)
region - the regionpublic Y getYear()
public void setYear(Y year)
year - the yearpublic int hashCode()
hashCode in class AbstractModel<V>public boolean equals(Object obj)
equals in class AbstractModel<V>Copyright © 2016. All rights reserved.