📄 ejbaccountsbean.java~29~
字号:
package sqlaccounts;import javax.ejb.*;abstract public class EjbAccountsBean implements EntityBean { EntityContext entityContext; public java.lang.String ejbCreate(java.lang.String id, String Type, double bal) throws CreateException { setId(id); setType(Type); setBal(bal); return null; } public java.lang.String ejbCreate(String Id) throws CreateException { /**@todo Complete this method*/ setId(Id); return null; } public void ejbPostCreate(java.lang.String id, String Type, double bal) throws CreateException { /**@todo Complete this method*/ } public void ejbPostCreate(String Id) throws CreateException { /**@todo Complete this method*/ } public void ejbRemove() throws RemoveException { /**@todo Complete this method*/ } public abstract void setId(java.lang.String id); public abstract void setBal(double bal); public abstract void setType(java.lang.String type); public abstract java.lang.String getId(); public abstract double getBal(); public abstract java.lang.String getType(); public void ejbLoad() { /**@todo Complete this method*/ } public void ejbStore() { /**@todo Complete this method*/ } public void ejbActivate() { /**@todo Complete this method*/ } public void ejbPassivate() { /**@todo Complete this method*/ } public void unsetEntityContext() { this.entityContext = null; } public void setEntityContext(EntityContext entityContext) { this.entityContext = entityContext; } public double deposit(double bal) { /**@todo Complete this method*/ // setBal(getBal() + bal); return 0;//getBal(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -