|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LocalAccount
The Local Interfe for Application Profile Account Management Sample
| Method Summary | |
|---|---|
double |
add(double amount)
This remote method is used to add a given amount of money to an Account entry. |
java.lang.String |
getAccountid()
This remote method is used to retrieve the accountid of an Account entry. |
double |
getApr()
This remote method is used to retrieve the APR of an Account entry. |
double |
getBalance()
This remote method is used to retrieve the balance of an Account entry. |
int |
getType()
This remote method is used to retrieve the type of an Account entry. |
void |
setApr(double apr)
This remote method is used to set the APR for an Account entry. |
void |
setBalance(double amount)
This remote method is used to set the balance for an Account entry. |
void |
setType(int type)
This remote method is used to set the type for an Account entry. |
double |
subtract(double amount)
This remote method is used to substract a given amount of money from an Account entry. |
| Methods inherited from interface javax.ejb.EJBLocalObject |
|---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
| Method Detail |
|---|
java.lang.String getAccountid()
throws javax.ejb.EJBException
javax.ejb.EJBException
double getBalance()
throws javax.ejb.EJBException
javax.ejb.EJBException
void setBalance(double amount)
throws javax.ejb.EJBException
javax.ejb.EJBException
double getApr()
throws javax.ejb.EJBException
javax.ejb.EJBException
void setApr(double apr)
throws javax.ejb.EJBException
apr - The value of apr attribute of Account should be after this operation
javax.ejb.EJBException
int getType()
throws javax.ejb.EJBException
javax.ejb.EJBException
void setType(int type)
throws javax.ejb.EJBException
type - The value of type attribute of Account should be after this operation
javax.ejb.EJBException
double add(double amount)
throws javax.ejb.EJBException
amount - The amount should be added to balance attribute of the Account
javax.ejb.EJBException
double subtract(double amount)
throws javax.ejb.EJBException
amount - The amount should be substracted from balance attribute of the Account
javax.ejb.EJBException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||