?? 107ea0b4a53j2eecustomerbean.java~1~
字號:
package ebank;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import java.math.BigDecimal;
import javax.ejb.CreateException;
import javax.ejb.RemoveException;
import javax.ejb.FinderException;
public class CustomerBean implements EntityBean {
EntityContext entityContext;
BigDecimal customerid;
String firstname;
String lastname;
String address;
String phone;
public BigDecimal ejbCreate(BigDecimal customerid) throws CreateException {
setCustomerid(customerid);
return null;
}
public void ejbPostCreate(BigDecimal customerid) throws CreateException {
}
public void ejbRemove() throws RemoveException {
}
public void setCustomerid(BigDecimal customerid) {
this.customerid = customerid;
}
public BigDecimal getCustomerid() {
return customerid;
}
public void setFirstname(String firstname) {
this.firstname = firstname;
}
public String getFirstname() {
return firstname;
}
public void setLastname(String lastname) {
this.lastname = lastname;
}
public String getLastname() {
return lastname;
}
public void setAddress(String address) {
this.address = address;
}
public String getAddress() {
return address;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getPhone() {
return phone;
}
public BigDecimal ejbFindByPrimaryKey(BigDecimal customerid) throws
FinderException {
return null;
}
public void ejbLoad() {
}
public void ejbStore() {
}
public void ejbActivate() {
}
public void ejbPassivate() {
}
public void unsetEntityContext() {
this.entityContext = null;
}
public void setEntityContext(EntityContext entityContext) {
this.entityContext = entityContext;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -