KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > ejb > cmr > LanguageCodeCMP


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

4 package test.ejb.cmr;
5
6 /**
7  * CMP layer for LanguageCode.
8  * @xdoclet-generated at 16-04-05
9  * @copyright The XDoclet Team
10  * @author XDoclet
11  * @version 1.2.3
12  */

13 public abstract class LanguageCodeCMP
14    extends test.ejb.cmr.LanguageCodeBean
15    implements javax.ejb.EntityBean JavaDoc
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 JavaDoc e)
30       {
31          throw new javax.ejb.EJBException JavaDoc(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 JavaDoc 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 JavaDoc
69    {
70       super.ejbRemove();
71
72    }
73
74  /* Value Objects BEGIN */
75
76 /* Value Objects END */
77
78    public abstract java.lang.Integer JavaDoc getLanguageCodeId() ;
79
80    public abstract void setLanguageCodeId( java.lang.Integer JavaDoc languageCodeId ) ;
81
82    public abstract java.lang.String JavaDoc getName() ;
83
84    public abstract void setName( java.lang.String JavaDoc name ) ;
85
86 }
87
Popular Tags