public class ChildAdoption extends AbstractTimeAndValueModel<Integer,Integer>
Model for child adoption data.
| Constructor and Description |
|---|
ChildAdoption()
Default constructor.
|
ChildAdoption(String sex,
String age,
String birthCountry,
Integer year,
List<ValueNode<Integer>> values)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAge()
Getter for age.
|
String |
getBirthCountry()
Getter for birth country.
|
static Map<String,Collection<String>> |
getInputs()
Get the available codes and their respective values for the child adoption data
from the API.
|
String |
getSex()
Getter for sex.
|
int |
hashCode() |
void |
setAge(String age)
Setter for age.
|
void |
setBirthCountry(String birthCountry)
Setter for birth country.
|
void |
setSex(String sex)
Setter for sex.
|
String |
toString() |
getTime, setTimegetValue, getValues, setValue, setValuespublic String getSex()
Getter for sex.
public void setSex(String sex)
Setter for sex.
sex - the sexpublic String getAge()
Getter for age.
public void setAge(String age)
Setter for age.
age - the agepublic String getBirthCountry()
Getter for birth country.
public void setBirthCountry(String birthCountry)
Setter for birth country.
birthCountry - the birth countrypublic int hashCode()
hashCode in class AbstractTimeAndValueModel<Integer,Integer>public boolean equals(Object obj)
equals in class AbstractTimeAndValueModel<Integer,Integer>public String toString()
toString in class AbstractTimeAndValueModel<Integer,Integer>public static Map<String,Collection<String>> getInputs()
Get the available codes and their respective values for the child adoption data from the API.
Copyright © 2017. All rights reserved.