customerbean.java

来自「用JBuilder+Jboos+mysql实现的EJB项目」· Java 代码 · 共 41 行

JAVA
41
字号
package com.jdon.estore.order;import javax.ejb.*;abstract public class CustomerBean implements EntityBean {  EntityContext entityContext;  public java.lang.String ejbCreate(java.lang.String customerId) throws CreateException {    setCustomerId(customerId);    return null;  }  public void ejbPostCreate(java.lang.String customerId) throws CreateException {    /**@todo Complete this method*/  }  public void ejbRemove() throws RemoveException {    /**@todo Complete this method*/  }  public abstract void setCustomerId(java.lang.String customerId);  public abstract void setFirstName(java.lang.String firstName);  public abstract void setLastName(java.lang.String lastName);  public abstract java.lang.String getCustomerId();  public abstract java.lang.String getFirstName();  public abstract java.lang.String getLastName();  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;  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?