public class LiveBirth extends AbstractRegionYearAndValueModel<String,Integer,Long>
Model for live births data.
regionyearvalues| Constructor and Description |
|---|
LiveBirth()
Default constructor.
|
LiveBirth(String region,
String motherAge,
Integer gender,
Integer year,
List<ValueNode<Long>> 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 live birth data from
the API.
|
String |
getMotherAge()
Getter for mother's age.
|
int |
hashCode() |
void |
setGender(Integer gender)
Setter for gender.
|
void |
setMotherAge(String motherAge)
Setter for mother's age.
|
String |
toString() |
getRegion, setRegiongetYear, setYeargetValue, getValues, setValue, setValuespublic String getMotherAge()
Getter for mother's age.
public void setMotherAge(String motherAge)
Setter for mother's age.
motherAge - the mother's agepublic Integer getGender()
Getter for gender.
public void setGender(Integer gender)
Setter for gender.
gender - the genderpublic int hashCode()
hashCode in class AbstractRegionYearAndValueModel<String,Integer,Long>public boolean equals(Object obj)
equals in class AbstractRegionYearAndValueModel<String,Integer,Long>public String toString()
toString in class AbstractRegionYearAndValueModel<String,Integer,Long>public static Map<String,Collection<String>> getInputs()
Get the available codes and their respective values for the live birth data from the API.
Copyright © 2017. All rights reserved.