📄 accountlocal.java
字号:
package itso.ejb.model.entity;
import itso.bank.exception.InsufficientFundsException;
/**
* Local interface for Enterprise Bean: Account
*/
public interface AccountLocal extends javax.ejb.EJBLocalObject {
/**
* Get accessor for persistent attribute: balance
*/
public java.math.BigDecimal getBalance();
/**
* Set accessor for persistent attribute: balance
*/
//public void setBalance(java.math.BigDecimal newBalance);
/**
* Get accessor for persistent attribute: type
*/
public java.lang.String getType();
/**
* Set accessor for persistent attribute: type
*/
public void setType(java.lang.String newType);
/**
* Get accessor for persistent attribute: id
*/
public java.lang.String getId();
public void deposit(java.math.BigDecimal amount);
public void withdraw(java.math.BigDecimal amount)
throws InsufficientFundsException;
/**
* This method was generated for supporting the relationship role named transRecords.
* It will be deleted/edited when the relationship is deleted/edited.
*/
public java.util.Collection getTransRecords();
/**
* This method was generated for supporting the relationship role named transRecords.
* It will be deleted/edited when the relationship is deleted/edited.
*/
public void setTransRecords(java.util.Collection aTransRecords);
/**
* This method was generated for supporting the relationship role named customers.
* It will be deleted/edited when the relationship is deleted/edited.
*/
public java.util.Collection getCustomers();
/**
* This method was generated for supporting the relationship role named customers.
* It will be deleted/edited when the relationship is deleted/edited.
*/
public void setCustomers(java.util.Collection aCustomers);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -