R - the regionY - the yearV - the valuepublic abstract class AbstractRegionYearAndValueModel<R,Y,V> extends AbstractValueModel<V>
| Modifier and Type | Field and Description |
|---|---|
protected R |
region |
protected Y |
year |
value| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRegionYearAndValueModel()
Default constructor.
|
protected |
AbstractRegionYearAndValueModel(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
|
abstract String |
toString() |
getValue, setValueprotected AbstractRegionYearAndValueModel()
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 AbstractValueModel<V>public boolean equals(Object obj)
equals in class AbstractValueModel<V>public abstract String toString()
toString in class AbstractValueModel<V>Copyright © 2016. All rights reserved.