public class NumberOfChildrenBornWithFirstName extends AbstractYearAndValueModel<Integer,String>
yearvalue| Constructor and Description |
|---|
NumberOfChildrenBornWithFirstName()
Default constructor.
|
NumberOfChildrenBornWithFirstName(String firstname,
Integer year,
String value)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static List<String> |
getCodes()
Get the codes for the number of children born with first name from the API.
|
String |
getFirstname()
Getter for firstname.
|
int |
hashCode() |
void |
setFirstname(String firstname)
Setter for firstname.
|
String |
toString() |
getYear, setYeargetValue, setValuepublic NumberOfChildrenBornWithFirstName()
public String getFirstname()
public void setFirstname(String firstname)
firstname - the firstnamepublic int hashCode()
hashCode in class AbstractYearAndValueModel<Integer,String>public boolean equals(Object obj)
equals in class AbstractYearAndValueModel<Integer,String>public String toString()
toString in class AbstractYearAndValueModel<Integer,String>Copyright © 2016. All rights reserved.