Class Person
- java.lang.Object
-
- org.apache.wicket.examples.compref.Person
-
- All Implemented Interfaces:
Serializable,IClusterable
public class Person extends Object implements IClusterable
A person.- Author:
- Eelco Hillenius
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressgetAddress()Gets the address.DategetDateOfBirth()Gets the dateOfBirth.StringgetFullName()StringgetLastName()Gets the lastName.StringgetName()Gets the name.voidsetAddress(Address address)Sets the address.voidsetDateOfBirth(Date dateOfBirth)Sets the dateOfBirth.voidsetLastName(String lastName)Sets the lastName.voidsetName(String name)Sets the name.StringtoString()
-
-
-
Method Detail
-
getDateOfBirth
public Date getDateOfBirth()
Gets the dateOfBirth.- Returns:
- dateOfBirth
-
setDateOfBirth
public void setDateOfBirth(Date dateOfBirth)
Sets the dateOfBirth.- Parameters:
dateOfBirth- dateOfBirth
-
getLastName
public String getLastName()
Gets the lastName.- Returns:
- lastName
-
setLastName
public void setLastName(String lastName)
Sets the lastName.- Parameters:
lastName- lastName
-
getName
public String getName()
Gets the name.- Returns:
- name
-
setName
public void setName(String name)
Sets the name.- Parameters:
name- name
-
getAddress
public Address getAddress()
Gets the address.- Returns:
- address
-
setAddress
public void setAddress(Address address)
Sets the address.- Parameters:
address- address
-
getFullName
public String getFullName()
- Returns:
- full name of the person
-
toString
public String toString()
- Overrides:
toStringin classObject- See Also:
Object.toString()
-
-