1 package cmpdb; 2 3 import javax.ejb.*; 4 5 8 public abstract class MicroMarketsTblBean implements javax.ejb.EntityBean , cmpdb.MicroMarketsTblLocalBusiness { 9 private javax.ejb.EntityContext context; 10 11 17 public void setEntityContext(javax.ejb.EntityContext aContext) { 18 context = aContext; 19 } 20 21 24 public void ejbActivate() { 25 26 } 27 28 31 public void ejbPassivate() { 32 33 } 34 35 38 public void ejbRemove() { 39 40 } 41 42 45 public void unsetEntityContext() { 46 context = null; 47 } 48 49 52 public void ejbLoad() { 53 54 } 55 56 59 public void ejbStore() { 60 61 } 62 64 65 public abstract java.lang.String getZipCode(); 66 public abstract void setZipCode(java.lang.String zipCode); 67 68 public abstract java.lang.Double getRadius(); 69 public abstract void setRadius(java.lang.Double radius); 70 71 public abstract java.lang.Double getAreaLength(); 72 public abstract void setAreaLength(java.lang.Double areaLength); 73 74 public abstract java.lang.Double getAreaWidth(); 75 public abstract void setAreaWidth(java.lang.Double areaWidth); 76 77 public abstract java.util.Collection getCustomerTblBean(); 78 public abstract void setCustomerTblBean(java.util.Collection customerTblBean); 79 80 81 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 { 82 if (zipCode == null) { 83 throw new javax.ejb.CreateException ("The field \"zipCode\" must not be null"); 84 } 85 86 setZipCode(zipCode); 88 setRadius(radius); 89 setAreaLength(areaLength); 90 setAreaWidth(areaWidth); 91 92 return null; 93 } 94 95 public void ejbPostCreate(java.lang.String zipCode, java.lang.Double radius, java.lang.Double areaLength, java.lang.Double areaWidth) { 96 98 } 99 } 100 | Popular Tags |