public class AverageAge extends AbstractRegionYearAndValueModel<String,Integer,Double>
Model for average age.
regionyearvalues| Constructor and Description |
|---|
AverageAge()
Default constructor.
|
AverageAge(String region,
String gender,
Integer year,
List<ValueNode<Double>> values)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getGender()
Getter for gender.
|
static Map<String,Collection<String>> |
getInputs()
Get the available codes and their respective values for the average age data
from the API.
|
int |
hashCode() |
void |
setGender(String gender)
Setter for gender.
|
String |
toString() |
getRegion, setRegiongetYear, setYeargetValue, getValues, setValue, setValuespublic String getGender()
Getter for gender.
public void setGender(String gender)
Setter for gender.
gender - the genderpublic 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 average age data from the API.
Copyright © 2017. All rights reserved.