public class Density extends AbstractRegionYearAndValueModel<String,Integer,Double>
Model for density data.
regionyearvalues| Constructor and Description |
|---|
Density()
Default constructor.
|
Density(String region,
String sex,
Integer year,
List<ValueNode<Double>> values)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Map<String,Collection<String>> |
getInputs()
Get the available codes and their respective values for the density data from
the API.
|
String |
getSex()
Getter for sex.
|
int |
hashCode() |
void |
setSex(String sex)
Setter for sex.
|
String |
toString() |
getRegion, setRegiongetYear, setYeargetValue, getValues, setValue, setValuespublic String getSex()
Getter for sex.
public void setSex(String sex)
Setter for sex.
sex - the sexpublic 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>public static Map<String,Collection<String>> getInputs()
Get the available codes and their respective values for the density data from the API.
Copyright © 2017. All rights reserved.