accountlocal.java

来自「噶额外噶外骨骼感广泛高热感 就 啊啊」· Java 代码 · 共 53 行

JAVA
53
字号
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 + =
减小字号Ctrl + -
显示快捷键?