org.apache.wicket.examples.compref
Class Person

java.lang.Object
  extended by 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

Constructor Summary
Person()
          Construct.
Person(String name, String lastName)
          Construct.
 
Method Summary
 Address getAddress()
          Gets the address.
 Date getDateOfBirth()
          Gets the dateOfBirth.
 String getFullName()
           
 String getLastName()
          Gets the lastName.
 String getName()
          Gets the name.
 void setAddress(Address address)
          Sets the address.
 void setDateOfBirth(Date dateOfBirth)
          Sets the dateOfBirth.
 void setLastName(String lastName)
          Sets the lastName.
 void setName(String name)
          Sets the name.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Person

public Person()
Construct.


Person

public Person(String name,
              String lastName)
Construct.

Parameters:
name - name
lastName - last name
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:
toString in class Object
See Also:
Object.toString()


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.