KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > entity > beans > TestEntityCMP


1 /*
2  * Generated by XDoclet - Do not edit!
3  */

4 package org.jboss.test.entity.beans;
5
6 /**
7  * CMP layer for TestEntity.
8  */

9 public abstract class TestEntityCMP
10    extends org.jboss.test.entity.beans.TestEntityBean
11    implements javax.ejb.EntityBean JavaDoc
12 {
13
14    public void ejbLoad()
15    {
16    }
17
18    public void ejbStore()
19    {
20    }
21
22    public void ejbActivate()
23    {
24    }
25
26    public void ejbPassivate()
27    {
28
29       TestEntityValue = null;
30    }
31
32    public void setEntityContext(javax.ejb.EntityContext JavaDoc ctx)
33    {
34    }
35
36    public void unsetEntityContext()
37    {
38    }
39
40    public void ejbRemove() throws javax.ejb.RemoveException JavaDoc
41    {
42
43    }
44
45  /* Value Objects BEGIN */
46
47    private org.jboss.test.entity.interfaces.TestEntityValue TestEntityValue = null;
48
49    public org.jboss.test.entity.interfaces.TestEntityValue getTestEntityValue()
50    {
51       TestEntityValue = new org.jboss.test.entity.interfaces.TestEntityValue();
52       try
53          {
54             TestEntityValue.setEntityID( getEntityID() );
55             TestEntityValue.setValue1( getValue1() );
56
57          }
58          catch (Exception JavaDoc e)
59          {
60             throw new javax.ejb.EJBException JavaDoc(e);
61          }
62
63       return TestEntityValue;
64    }
65
66 /* Value Objects END */
67
68    public abstract java.lang.String JavaDoc getEntityID() ;
69
70    public abstract void setEntityID( java.lang.String JavaDoc entityID ) ;
71
72    public abstract java.lang.String JavaDoc getValue1() ;
73
74    public abstract void setValue1( java.lang.String JavaDoc value1 ) ;
75
76 }
77
Popular Tags