public class LiveBirth extends AbstractRegionYearAndValueModel<String,Integer,Long>
region, year
value
Constructor and Description |
---|
LiveBirth()
Default constructor.
|
LiveBirth(String region,
String motherAge,
Integer gender,
Integer year,
Long value)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static List<String> |
getCodes()
Get the codes for the live births from the API.
|
Integer |
getGender()
Getter for gender.
|
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, getYear, setRegion, setYear
getValue, setValue
public String getMotherAge()
public void setMotherAge(String motherAge)
motherAge
- the mother's agepublic Integer getGender()
public void setGender(Integer 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>
Copyright © 2016. All rights reserved.