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