com.myjeeva.comparator.example.vo
Class PersonVO
java.lang.Object
com.myjeeva.comparator.example.vo.PersonVO
- All Implemented Interfaces:
- Serializable
public class PersonVO
- extends Object
- implements Serializable
Sample Value object used of Sorting purpose demonstrating Generic Comparator
- Author:
- Jeevanandam Madanagopal
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersonVO
public PersonVO()
getId
public Integer getId()
- Returns:
- the id
setId
public void setId(Integer id)
- Parameters:
id
- the id to set
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name
- the name to set
getHeight
public Float getHeight()
- Returns:
- the height
setHeight
public void setHeight(Float height)
- Parameters:
height
- the height to set
getSalary
public Long getSalary()
- Returns:
- the salary
setSalary
public void setSalary(Long salary)
- Parameters:
salary
- the salary to set
getEmailId
public String getEmailId()
- Returns:
- the emailId
setEmailId
public void setEmailId(String emailId)
- Parameters:
emailId
- the emailId to set
getDob
public Date getDob()
- Returns:
- the dob
setDob
public void setDob(Date dob)
- Parameters:
dob
- the dob to set