|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.examples.bo.account.AccountBean
public class AccountBean
This class defines the attributes of the Account Entity and the accessor methods for those attributes.
Field Summary | |
---|---|
String |
accountName
|
String |
accountNumber
|
String |
cardNumber
|
Constructor Summary | |
---|---|
AccountBean()
Default Constructor. |
Method Summary | |
---|---|
void |
amend(String accountName)
This method amends the attributes of the Account entity. |
void |
create(String cardNumber,
String accountNumber,
String accountName)
This method initialises a new instance of the Account entity. |
String |
getAccountName()
This method returns the accountName attribute. |
String |
getAccountNumber()
This method returns the accountNumber attribute. |
String |
getCardNumber()
This method returns the cardNumber attribute. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String cardNumber
public String accountNumber
public String accountName
Constructor Detail |
---|
public AccountBean()
Method Detail |
---|
public void amend(String accountName) throws ValidationException
accountName
-
ValidationException
public void create(String cardNumber, String accountNumber, String accountName) throws ValidationException
cardNumber
- accountNumber
- accountName
-
ValidationException
public String getAccountName()
public String getAccountNumber()
public String getCardNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |