1 package testPackage; 2 3 import javax.ejb.*; 4 5 10 public abstract class SalesTaxCodeTblBean implements javax.ejb.EntityBean , testPackage.SalesTaxCodeTblLocalBusiness { 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 getStateCode(); 68 public abstract void setStateCode(java.lang.String stateCode); 69 70 public abstract java.sql.Date getEffectDate(); 71 public abstract void setEffectDate(java.sql.Date effectDate); 72 73 public abstract java.math.BigDecimal getRate(); 74 public abstract void setRate(java.math.BigDecimal rate); 75 76 public abstract java.util.Collection getOrderTblBean(); 77 public abstract void setOrderTblBean(java.util.Collection orderTblBean); 78 79 80 public java.lang.String ejbCreate(java.lang.String stateCode, java.sql.Date effectDate, java.math.BigDecimal rate) throws javax.ejb.CreateException { 81 if (stateCode == null) { 82 throw new javax.ejb.CreateException ("The field \"stateCode\" must not be null"); 83 } 84 if (effectDate == null) { 85 throw new javax.ejb.CreateException ("The field \"effectDate\" must not be null"); 86 } 87 88 setStateCode(stateCode); 90 setEffectDate(effectDate); 91 setRate(rate); 92 93 return null; 94 } 95 96 public void ejbPostCreate(java.lang.String stateCode, java.sql.Date effectDate, java.math.BigDecimal rate) { 97 99 } 100 } 101 | Popular Tags |