1 package my.db.ebeans; 2 3 import javax.ejb.*; 4 5 10 public abstract class MicroMarketsTblBean implements javax.ejb.EntityBean , my.db.ebeans.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 68 public abstract java.lang.String getZipCode(); 69 public abstract void setZipCode(java.lang.String zipCode); 70 71 public abstract java.lang.Double getRadius(); 72 public abstract void setRadius(java.lang.Double radius); 73 74 public abstract java.lang.Double getAreaLength(); 75 public abstract void setAreaLength(java.lang.Double areaLength); 76 77 public abstract java.lang.Double getAreaWidth(); 78 public abstract void setAreaWidth(java.lang.Double areaWidth); 79 80 public abstract java.util.Collection getCustomerTbl(); 81 public abstract void setCustomerTbl(java.util.Collection customerTbl); 82 83 85 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 { 86 if (zipCode == null) { 87 throw new javax.ejb.CreateException ("The field \"zipCode\" must not be null"); 88 } 89 90 setZipCode(zipCode); 92 setRadius(radius); 93 setAreaLength(areaLength); 94 setAreaWidth(areaWidth); 95 96 return null; 97 } 98 99 public void ejbPostCreate(java.lang.String zipCode, java.lang.Double radius, java.lang.Double areaLength, java.lang.Double areaWidth) { 100 102 } 103 } 104 | Popular Tags |