|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.examples.bo.customer.CustomerBean
public class CustomerBean
This class defines the attributes of the Customer Entity and the accessor methods for those attributes.
| Field Summary | |
|---|---|
String |
firstName
|
String |
lastName
|
String |
ownerId
|
String |
title
|
| Constructor Summary | |
|---|---|
CustomerBean()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
amend(String title,
String firstName,
String lastName)
This method amends the attributes of the Customer entity. |
void |
create(String ownerId,
String title,
String firstName,
String lastName)
This method amends the attributes of the Customer entity. |
String |
getFirstName()
This method returns the firstName attribute. |
String |
getLastName()
This method returns the lastName attribute. |
String |
getOwnerId()
This method returns the ownerId attribute. |
String |
getTitle()
This method returns the title attribute. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String ownerId
public String title
public String firstName
public String lastName
| Constructor Detail |
|---|
public CustomerBean()
| Method Detail |
|---|
public void amend(String title,
String firstName,
String lastName)
throws ValidationException
title - firstName - lastName -
ValidationException
public void create(String ownerId,
String title,
String firstName,
String lastName)
throws ValidationException
ownerId - title - firstName - lastName -
ValidationExceptionpublic String getFirstName()
public String getLastName()
public String getOwnerId()
public String getTitle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||