Java源码 Java源码
源代码在线查看: contact1bean.java~7~
package bmpbean; import javax.ejb.*; public class Contact1Bean implements EntityBean { EntityContext entityContext; java.lang.String first; java.lang.String last; java.lang.String email; public java.lang.String ejbCreate(java.lang.String last) throws CreateException { /**@todo Complete this method*/ setLast(last); return null; } public void ejbPostCreate(java.lang.String last) throws CreateException { /**@todo Complete this method*/ } public void ejbRemove() throws RemoveException { /**@todo Complete this method*/ } public void ejbLoad() { /**@todo Complete this method*/ } public void ejbStore() { /**@todo Complete this method*/ } public void ejbActivate() { } public void ejbPassivate() { } public void unsetEntityContext() { this.entityContext = null; } public void setFirst(java.lang.String first) { this.first = first; } public void setLast(java.lang.String last) { this.last = last; } public void setEmail(java.lang.String email) { this.email = email; } public java.lang.String getFirst() { return first; } public java.lang.String getLast() { return last; } public java.lang.String getEmail() { return email; } public java.lang.String ejbFindByPrimaryKey(java.lang.String last) throws FinderException { /**@todo Complete this method*/ return null; } public void setEntityContext(EntityContext entityContext) { this.entityContext = entityContext; } }