public class NumberOfChildrenBornWithFirstName extends AbstractYearAndValueModel<Integer,String>
Model for number of children born with first name.
year
values
Constructor and Description |
---|
NumberOfChildrenBornWithFirstName()
Default constructor.
|
NumberOfChildrenBornWithFirstName(String firstname,
Integer year,
List<ValueNode<String>> values)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFirstname()
Getter for firstname.
|
static Map<String,Collection<String>> |
getInputs()
Get the available codes and their respective values for the number of children
born with first name data from the API.
|
int |
hashCode() |
void |
setFirstname(String firstname)
Setter for firstname.
|
String |
toString() |
getYear, setYear
getValue, getValues, setValue, setValues
public NumberOfChildrenBornWithFirstName()
Default constructor.
public String getFirstname()
Getter for firstname.
public void setFirstname(String firstname)
Setter for 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>
public static Map<String,Collection<String>> getInputs()
Get the available codes and their respective values for the number of children born with first name data from the API.
Copyright © 2016. All rights reserved.