org.ujac.util.xml.test
Class Person

java.lang.Object
  extended by org.ujac.util.xml.test.Person
All Implemented Interfaces:
Serializable

public class Person
extends Object
implements Serializable

Name: Person
Description: Defines persons.

Author:
lauerc
See Also:
Serialized Form

Constructor Summary
Person()
           
 
Method Summary
 boolean equals(Object obj)
           
 List getAddresses()
          Getter method for the the property addresses.
 Date getDateOfBirth()
          Getter method for the the property dateOfBirth.
 String getFirstName()
          Getter method for the the property firstName.
 Address getMainAddress()
          Getter method for the the property mainAddress.
 String getName()
          Getter method for the the property name.
 String getPlaceOfBirth()
          Getter method for the the property placeOfBirth.
 String getSex()
          Getter method for the the property sex.
 void setAddresses(List addresses)
          Setter method for the the property addresses.
 void setDateOfBirth(Date dateOfBirth)
          Setter method for the the property dateOfBirth.
 void setFirstName(String firstName)
          Setter method for the the property firstName.
 void setMainAddress(Address mainAddress)
          Setter method for the the property mainAddress.
 void setName(String name)
          Setter method for the the property name.
 void setPlaceOfBirth(String placeOfBirth)
          Setter method for the the property placeOfBirth.
 void setSex(String sex)
          Setter method for the the property sex.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Person

public Person()
Method Detail

getAddresses

public List getAddresses()
Getter method for the the property addresses.

Returns:
The current value of property addresses.

setAddresses

public void setAddresses(List addresses)
Setter method for the the property addresses.

Parameters:
addresses - The value to set for the property addresses.

getDateOfBirth

public Date getDateOfBirth()
Getter method for the the property dateOfBirth.

Returns:
The current value of property dateOfBirth.

setDateOfBirth

public void setDateOfBirth(Date dateOfBirth)
Setter method for the the property dateOfBirth.

Parameters:
dateOfBirth - The value to set for the property dateOfBirth.

getFirstName

public String getFirstName()
Getter method for the the property firstName.

Returns:
The current value of property firstName.

setFirstName

public void setFirstName(String firstName)
Setter method for the the property firstName.

Parameters:
firstName - The value to set for the property firstName.

getMainAddress

public Address getMainAddress()
Getter method for the the property mainAddress.

Returns:
The current value of property mainAddress.

setMainAddress

public void setMainAddress(Address mainAddress)
Setter method for the the property mainAddress.

Parameters:
mainAddress - The value to set for the property mainAddress.

getName

public String getName()
Getter method for the the property name.

Returns:
The current value of property name.

setName

public void setName(String name)
Setter method for the the property name.

Parameters:
name - The value to set for the property name.

getPlaceOfBirth

public String getPlaceOfBirth()
Getter method for the the property placeOfBirth.

Returns:
The current value of property placeOfBirth.

setPlaceOfBirth

public void setPlaceOfBirth(String placeOfBirth)
Setter method for the the property placeOfBirth.

Parameters:
placeOfBirth - The value to set for the property placeOfBirth.

getSex

public String getSex()
Getter method for the the property sex.

Returns:
The current value of property sex.

setSex

public void setSex(String sex)
Setter method for the the property sex.

Parameters:
sex - The value to set for the property sex.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2003-2004 UJAC.org. All Rights Reserved.