| java.lang.Object test.org.mandarax.xkb.Person
Person | public class Person (Code) | | Sample bean class for test cases
author: Jens Dietrich version: 3.4 <7 March 05> since: 1.6 |
Constructor Summary | |
public | Person() Constructor. | public | Person(int anId, String aName, int yearOfBirth, int monthOfBirth, int dayOfBirth) Constructor. |
Person | public Person()(Code) | | Constructor.
|
Person | public Person(int anId, String aName, int yearOfBirth, int monthOfBirth, int dayOfBirth)(Code) | | Constructor. Pass id, name, the year/month and day of birth.
|
equals | public boolean equals(Object obj)(Code) | | Compare objects.
Parameters: obj - another object a boolean |
getId | public int getId()(Code) | | Getter for id.
|
hashCode | public int hashCode()(Code) | | Get the hash code of the object.
the hash code |
setDob | public void setDob(Date value)(Code) | | Setter for dob.
|
setId | public void setId(int value)(Code) | | Setter for id.
|
setName | public void setName(String value)(Code) | | Setter for name.
|
|
|