public class Person
extends java.lang.Object
Constructor and Description |
---|
Person() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Address |
getAddress() |
int |
getAge() |
java.util.List<Child> |
getChildren() |
java.lang.String |
getFirstName() |
java.lang.String |
getLast_name()
Intentionally non-standard method name for testing purposes
|
java.lang.String |
getTitle() |
int |
hashCode() |
void |
setAddress(Address address) |
void |
setAge(int age) |
void |
setChildren(java.util.List<Child> children) |
void |
setFirstName(java.lang.String firstName) |
void |
setLast_name(java.lang.String last_name)
Intentionally non-standard method name for testing purposes
|
void |
setTitle(java.lang.String title) |
java.lang.String |
toString() |
public Address getAddress()
public void setAddress(Address address)
address
- the address to setpublic int getAge()
public void setAge(int age)
age
- the age to setpublic java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
firstName
- the firstName to setpublic java.util.List<Child> getChildren()
public void setChildren(java.util.List<Child> children)
children
- the children to setpublic java.lang.String getLast_name()
public void setLast_name(java.lang.String last_name)
last_name
- the last_name to setpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the person title to setpublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object