Methods Summary |
---|
public Address | getAddress()Getter for property address.
return address;
|
public java.util.Date | getBirthDate()Getter for property birthDate.
return birthDate;
|
public java.lang.String | getFirstName()Getter for property firstName.
return firstName;
|
public int | getKey()Getter for property key.
return key;
|
public java.lang.String | getLastName()Getter for property lastName.
return lastName;
|
public java.lang.String | getPhoneCell()Getter for property phoneCell.
return phoneCell;
|
public java.lang.String | getPhoneHome()Getter for property phoneHome.
return phoneHome;
|
public void | init(int key, java.lang.String lastName, java.lang.String firstName, java.util.Date birthDate, Address address, java.lang.String phoneHome, java.lang.String phoneCell)
setKey(key);
setLastName(lastName);
setFirstName(firstName);
setBirthDate(birthDate);
setAddress(address);
setPhoneHome(phoneHome);
setPhoneCell(phoneCell);
|
public void | setAddress(Address address)Setter for property address.
this.address = address;
|
public void | setBirthDate(java.util.Date birthDate)Setter for property birthDate.
this.birthDate = birthDate;
|
public void | setFirstName(java.lang.String firstName)Setter for property firstName.
this.firstName = firstName;
|
public void | setKey(int key)Setter for property key.
this.key = key;
|
public void | setLastName(java.lang.String lastName)Setter for property lastName.
this.lastName = lastName;
|
public void | setPhoneCell(java.lang.String phoneCell)Setter for property phoneCell.
this.phoneCell = phoneCell;
|
public void | setPhoneHome(java.lang.String phoneHome)Setter for property phoneHome.
this.phoneHome = phoneHome;
|
public java.lang.String | toString()Return a String representation of this object.
StringBuffer sb = new StringBuffer();
sb.append("[").append(key).append("] ");
sb.append(getLastName()).append(", ");
sb.append(getFirstName()).append(" ");
sb.append(df.format(getBirthDate())).append(" ");
sb.append(getAddress()).append(" ");
if(getPhoneHome() != null) sb.append(getPhoneHome()).append(" ");
if(getPhoneCell() != null) sb.append(getPhoneCell());
return (sb.toString());
|