KickJava   Java API By Example, From Geeks To Geeks.

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


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

4 package test.ejb.cmr;
5
6 /**
7  * CMP layer for Language.
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 LanguageCMP
14    extends test.ejb.cmr.LanguageBean
15    implements javax.ejb.EntityBean JavaDoc
16 {
17
18    public test.ejb.cmr.LanguageData getData()
19    {
20       test.ejb.cmr.LanguageData dataHolder = null;
21       try
22       {
23          dataHolder = new test.ejb.cmr.LanguageData();
24
25          dataHolder.setLanguageId( getLanguageId() );
26          dataHolder.setLanguageCodeIdFk( getLanguageCodeIdFk() );
27          dataHolder.setName( getName() );
28
29       }
30       catch (RuntimeException JavaDoc e)
31       {
32          throw new javax.ejb.EJBException JavaDoc(e);
33       }
34
35       return dataHolder;
36    }
37
38    public void ejbLoad()
39    {
40       super.ejbLoad();
41    }
42
43    public void ejbStore()
44    {
45          super.ejbStore();
46    }
47
48    public void ejbActivate()
49    {
50       super.ejbActivate();
51    }
52
53    public void ejbPassivate()
54    {
55       super.ejbPassivate();
56
57    }
58
59    public void setEntityContext(javax.ejb.EntityContext JavaDoc ctx)
60    {
61       super.setEntityContext(ctx);
62    }
63
64    public void unsetEntityContext()
65    {
66       super.unsetEntityContext();
67    }
68
69    public void ejbRemove() throws javax.ejb.RemoveException JavaDoc
70    {
71       super.ejbRemove();
72
73    }
74
75  /* Value Objects BEGIN */
76
77 /* Value Objects END */
78
79    public abstract java.lang.Integer JavaDoc getLanguageId() ;
80
81    public abstract void setLanguageId( java.lang.Integer JavaDoc languageId ) ;
82
83    public abstract java.lang.Integer JavaDoc getLanguageCodeIdFk() ;
84
85    public abstract void setLanguageCodeIdFk( java.lang.Integer JavaDoc languageCodeIdFk ) ;
86
87    public abstract java.lang.String JavaDoc getName() ;
88
89    public abstract void setName( java.lang.String JavaDoc name ) ;
90
91 }
92
Popular Tags