1 4 package test.bea.cmr; 5 6 13 public abstract class MagazineCMP 14 extends test.bea.cmr.MagazineBean 15 implements javax.ejb.EntityBean 16 { 17 18 public test.bea.cmr.MagazineData getData() 19 { 20 test.bea.cmr.MagazineData dataHolder = null; 21 try 22 { 23 dataHolder = new test.bea.cmr.MagazineData(); 24 25 dataHolder.setTitle( getTitle() ); 26 dataHolder.setBoid( getBoid() ); 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() throws javax.ejb.EJBException , java.rmi.RemoteException 38 { 39 super.ejbLoad(); 40 } 41 42 public void ejbStore() throws javax.ejb.EJBException , java.rmi.RemoteException 43 { 44 super.ejbStore(); 45 } 46 47 public void ejbActivate() throws javax.ejb.EJBException , java.rmi.RemoteException 48 { 49 super.ejbActivate(); 50 } 51 52 public void ejbPassivate() throws javax.ejb.EJBException , java.rmi.RemoteException 53 { 54 super.ejbPassivate(); 55 56 } 57 58 public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException , java.rmi.RemoteException 59 { 60 super.setEntityContext(ctx); 61 } 62 63 public void unsetEntityContext() throws javax.ejb.EJBException , java.rmi.RemoteException 64 { 65 super.unsetEntityContext(); 66 } 67 68 public void ejbRemove() throws javax.ejb.EJBException , java.rmi.RemoteException , javax.ejb.RemoveException 69 { 70 super.ejbRemove(); 71 72 } 73 74 75 76 77 78 public abstract java.lang.String getTitle() ; 79 80 public abstract void setTitle( java.lang.String title ) ; 81 82 public abstract java.lang.String getBoid() ; 83 84 public abstract void setBoid( java.lang.String boid ) ; 85 86 } 87 | Popular Tags |