1 4 package test.ejb.cmr; 5 6 13 public abstract class LanguageCodeCMP 14 extends test.ejb.cmr.LanguageCodeBean 15 implements javax.ejb.EntityBean 16 { 17 18 public test.ejb.cmr.LanguageCodeData getData() 19 { 20 test.ejb.cmr.LanguageCodeData dataHolder = null; 21 try 22 { 23 dataHolder = new test.ejb.cmr.LanguageCodeData(); 24 25 dataHolder.setLanguageCodeId( getLanguageCodeId() ); 26 dataHolder.setName( getName() ); 27 28 } 29 catch (RuntimeException e) 30 { 31 throw new javax.ejb.EJBException (e); 32 } 33 34 return dataHolder; 35 } 36 37 public void ejbLoad() 38 { 39 super.ejbLoad(); 40 } 41 42 public void ejbStore() 43 { 44 super.ejbStore(); 45 } 46 47 public void ejbActivate() 48 { 49 super.ejbActivate(); 50 } 51 52 public void ejbPassivate() 53 { 54 super.ejbPassivate(); 55 56 } 57 58 public void setEntityContext(javax.ejb.EntityContext ctx) 59 { 60 super.setEntityContext(ctx); 61 } 62 63 public void unsetEntityContext() 64 { 65 super.unsetEntityContext(); 66 } 67 68 public void ejbRemove() throws javax.ejb.RemoveException 69 { 70 super.ejbRemove(); 71 72 } 73 74 75 76 77 78 public abstract java.lang.Integer getLanguageCodeId() ; 79 80 public abstract void setLanguageCodeId( java.lang.Integer languageCodeId ) ; 81 82 public abstract java.lang.String getName() ; 83 84 public abstract void setName( java.lang.String name ) ; 85 86 } 87 | Popular Tags |