📄 studentbean.java
字号:
package cmpsample;import javax.ejb.*;import java.util.Collection;abstract public class StudentBean implements EntityBean { EntityContext entityContext; public java.lang.Integer ejbCreate(java.lang.Integer stuid) throws CreateException { setStuid(stuid); return null; } public void ejbPostCreate(java.lang.Integer stuid) throws CreateException { /**@todo Complete this method*/ } public void ejbRemove() throws RemoveException { /**@todo Complete this method*/ } public abstract void setStuid(java.lang.Integer stuid); public abstract void setStuname(java.lang.String stuname); public abstract void setLockerid(java.lang.Integer lockerid); public abstract java.lang.Integer getStuid(); public abstract java.lang.String getStuname(); public abstract java.lang.Integer getLockerid(); 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -