public final class PersonBean extends Object implements Serializable
| Constructor and Description |
|---|
PersonBean(String firstName,
String lastName,
Date dateOfBirth)
Creates a PersonBean.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getDateOfBirth() |
String |
getFirstName() |
String |
getLastName() |
void |
setDateOfBirth(Date dateOfBirth) |
void |
setFirstName(String firstName) |
void |
setLastName(String lastName) |
String |
toString() |
public String getFirstName()
public void setFirstName(String firstName)
firstName - The first name to set.public String getLastName()
public void setLastName(String lastName)
lastName - The last name to set.public Date getDateOfBirth()
public void setDateOfBirth(Date dateOfBirth)
dateOfBirth - The date of birth to set.Copyright © 2024. All rights reserved.