📄 customerbean.java
字号:
package itso.ejb.model.entity;
/**
* Bean implementation class for Enterprise Bean: Customer
*/
public abstract class CustomerBean implements javax.ejb.EntityBean {
private javax.ejb.EntityContext myEntityCtx;
/**
* setEntityContext
*/
public void setEntityContext(javax.ejb.EntityContext ctx) {
myEntityCtx = ctx;
}
/**
* getEntityContext
*/
public javax.ejb.EntityContext getEntityContext() {
return myEntityCtx;
}
/**
* unsetEntityContext
*/
public void unsetEntityContext() {
myEntityCtx = null;
}
/**
* ejbCreate
*/
public itso.ejb.model.entity.CustomerKey ejbCreate(int id)
throws javax.ejb.CreateException {
setId(id);
return null;
}
/**
* ejbPostCreate
*/
public void ejbPostCreate(int id) throws javax.ejb.CreateException {
}
/**
* ejbActivate
*/
public void ejbActivate() {
}
/**
* ejbLoad
*/
public void ejbLoad() {
}
/**
* ejbPassivate
*/
public void ejbPassivate() {
}
/**
* ejbRemove
*/
public void ejbRemove() throws javax.ejb.RemoveException {
}
/**
* ejbStore
*/
public void ejbStore() {
}
/**
* Get accessor for persistent attribute: id
*/
public abstract int getId();
/**
* Set accessor for persistent attribute: id
*/
public abstract void setId(int newId);
/**
* Get accessor for persistent attribute: title
*/
public abstract java.lang.String getTitle();
/**
* Set accessor for persistent attribute: title
*/
public abstract void setTitle(java.lang.String newTitle);
/**
* Get accessor for persistent attribute: firstName
*/
public abstract java.lang.String getFirstName();
/**
* Set accessor for persistent attribute: firstName
*/
public abstract void setFirstName(java.lang.String newFirstName);
/**
* Get accessor for persistent attribute: lastName
*/
public abstract java.lang.String getLastName();
/**
* Set accessor for persistent attribute: lastName
*/
public abstract void setLastName(java.lang.String newLastName);
/**
* This method was generated for supporting the relationship role named accounts.
* It will be deleted/edited when the relationship is deleted/edited.
*/
public abstract java.util.Collection getAccounts();
/**
* This method was generated for supporting the relationship role named accounts.
* It will be deleted/edited when the relationship is deleted/edited.
*/
public abstract void setAccounts(java.util.Collection anAccounts);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -