Class Person
- java.lang.Object
- org.springframework.batch.sample.domain.person.Person
public class Person extends java.lang.Object
Constructor Summary
Constructors Constructor Description Person()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)AddressgetAddress()intgetAge()java.util.List<Child>getChildren()java.lang.StringgetFirstName()java.lang.StringgetLast_name()Intentionally non-standard method name for testing purposesjava.lang.StringgetTitle()inthashCode()voidsetAddress(Address address)voidsetAge(int age)voidsetChildren(java.util.List<Child> children)voidsetFirstName(java.lang.String firstName)voidsetLast_name(java.lang.String last_name)Intentionally non-standard method name for testing purposesvoidsetTitle(java.lang.String title)java.lang.StringtoString()
Method Detail
getAddress
public Address getAddress()
- Returns:
- the address
setAddress
public void setAddress(Address address)
- Parameters:
address- the address to set
getAge
public int getAge()
- Returns:
- the age
setAge
public void setAge(int age)
- Parameters:
age- the age to set
getFirstName
public java.lang.String getFirstName()
- Returns:
- the firstName
setFirstName
public void setFirstName(java.lang.String firstName)
- Parameters:
firstName- the firstName to set
getChildren
public java.util.List<Child> getChildren()
- Returns:
- the children
setChildren
public void setChildren(java.util.List<Child> children)
- Parameters:
children- the children to set
getLast_name
public java.lang.String getLast_name()
Intentionally non-standard method name for testing purposes- Returns:
- the last_name
setLast_name
public void setLast_name(java.lang.String last_name)
Intentionally non-standard method name for testing purposes- Parameters:
last_name- the last_name to set
getTitle
public java.lang.String getTitle()
- Returns:
- the person_title
setTitle
public void setTitle(java.lang.String title)
- Parameters:
title- the person title to set
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object