public class FertilityRate extends AbstractRegionYearAndValueModel<String,Integer,Double>
region, year
value
Constructor and Description |
---|
FertilityRate()
Default constructor.
|
FertilityRate(String region,
Integer gender,
Integer year,
Double value)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static List<String> |
getCodes()
Get the codes for the fertility rate from the API.
|
Integer |
getGender()
Getter for gender.
|
int |
hashCode() |
void |
setGender(Integer gender)
Setter for gender.
|
String |
toString() |
getRegion, getYear, setRegion, setYear
getValue, setValue
public Integer getGender()
public void setGender(Integer 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>
Copyright © 2016. All rights reserved.