1 package testPackage; 2 3 import javax.ejb.*; 4 5 10 public abstract class MicroMarketsTblBean implements javax.ejb.EntityBean , testPackage.MicroMarketsTblLocalBusiness { 11 private javax.ejb.EntityContext context; 12 13 19 public void setEntityContext(javax.ejb.EntityContext aContext) { 20 context = aContext; 21 } 22 23 26 public void ejbActivate() { 27 28 } 29 30 33 public void ejbPassivate() { 34 35 } 36 37 40 public void ejbRemove() { 41 42 } 43 44 47 public void unsetEntityContext() { 48 context = null; 49 } 50 51 54 public void ejbLoad() { 55 56 } 57 58 61 public void ejbStore() { 62 63 } 64 66 67 public abstract java.lang.String getZipCode(); 68 public abstract void setZipCode(java.lang.String zipCode); 69 70 public abstract java.lang.Double getRadius(); 71 public abstract void setRadius(java.lang.Double radius); 72 73 public abstract java.lang.Double getAreaLength(); 74 public abstract void setAreaLength(java.lang.Double areaLength); 75 76 public abstract java.lang.Double getAreaWidth(); 77 public abstract void setAreaWidth(java.lang.Double areaWidth); 78 79 public abstract java.util.Collection getCustomerTblBean(); 80 public abstract void setCustomerTblBean(java.util.Collection customerTblBean); 81 82 83 public java.lang.String ejbCreate(java.lang.String zipCode, java.lang.Double radius, java.lang.Double areaLength, java.lang.Double areaWidth) throws javax.ejb.CreateException { 84 if (zipCode == null) { 85 throw new javax.ejb.CreateException ("The field \"zipCode\" must not be null"); 86 } 87 88 setZipCode(zipCode); 90 setRadius(radius); 91 setAreaLength(areaLength); 92 setAreaWidth(areaWidth); 93 94 return null; 95 } 96 97 public void ejbPostCreate(java.lang.String zipCode, java.lang.Double radius, java.lang.Double areaLength, java.lang.Double areaWidth) { 98 100 } 101 } 102 | Popular Tags |