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