?? profilebean.java
字號(hào):
package ProfileTest;import javax.ejb.EntityBean;import javax.ejb.EntityContext;import javax.ejb.CreateException;public class ProfileBean implements EntityBean { transient private EntityContext ctx; public String fname; public String lname; public String profile; public int id; public void setEntityContext( EntityContext ctx ) { this.ctx = ctx; } public void unsetEntityContext() { this.ctx = null; } public void ejbCreate( int _id, String _profile, String _fname, String _lname ) { this.id = _id; this.profile = _profile; this.fname = _fname; this.lname = _lname; } public void ejbPostCreate( int id, String p, String f, String l ) throws CreateException { } public void ejbActivate() { } public void ejbPassivate() { } public void ejbRemove() { } public void ejbLoad() { } public void ejbStore() { } public int getId() { return this.id; } public void setId( int _id ) { this.id = _id; } public void setFname( String _fname ) { this.fname = _fname; } public String getFname() { return this.fname; } public String getLname() { return this.lname; } public void setLname( String _lname ) { this.lname = _lname; } public String getProfile() { return this.profile; } public void setProfile(String _profile) { this.profile = _profile; }} // ProfileBean
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -