public class Population extends AbstractRegionYearAndValueModel<String,Integer,Long>
region, year
value
Constructor and Description |
---|
Population()
Default constructor.
|
Population(String region,
String relationshipStatus,
String age,
Integer gender,
Integer year,
Long value)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAge()
Getter for age.
|
static List<String> |
getCodes()
Get the codes for the population model from the API.
|
Integer |
getGender()
Getter for gender.
|
String |
getRelationshipStatus()
Getter for relationship status.
|
int |
hashCode() |
void |
setAge(String age)
Setter for age.
|
void |
setGender(Integer gender)
Setter for gender.
|
void |
setRelationshipStatus(String relationshipStatus)
Setter for relationship status.
|
String |
toString() |
getRegion, getYear, setRegion, setYear
getValue, setValue
public String getRelationshipStatus()
public void setRelationshipStatus(String relationshipStatus)
relationshipStatus
- the relationship statuspublic String getAge()
public void setAge(String age)
age
- the agepublic Integer getGender()
public void setGender(Integer gender)
gender
- the genderpublic int hashCode()
hashCode
in class AbstractRegionYearAndValueModel<String,Integer,Long>
public boolean equals(Object obj)
equals
in class AbstractRegionYearAndValueModel<String,Integer,Long>
public String toString()
toString
in class AbstractRegionYearAndValueModel<String,Integer,Long>
Copyright © 2016. All rights reserved.