public class LegalGuardians extends AbstractTimeAndValueModel<Integer,Integer>
Model for legal guardians data.
| Constructor and Description |
|---|
LegalGuardians()
Default constructor.
|
LegalGuardians(String sex,
String caregiver,
String familyType,
Integer year,
List<ValueNode<Integer>> values)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCaregiver()
Getter for caregiver.
|
String |
getFamilyType()
Getter for family type.
|
static Map<String,Collection<String>> |
getInputs()
Get the available codes and their respective values for the legal guardians data
from the API.
|
String |
getSex()
Getter for sex.
|
int |
hashCode() |
void |
setCaregiver(String caregiver)
Setter for caregiver.
|
void |
setFamilyType(String familyType)
Setter for family type.
|
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 getCaregiver()
Getter for caregiver.
public void setCaregiver(String caregiver)
Setter for caregiver.
caregiver - the caregiverpublic String getFamilyType()
Getter for family type.
public void setFamilyType(String familyType)
Setter for family type.
familyType - the family typepublic 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 legal guardians data from the API.
Copyright © 2017. All rights reserved.