KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xdoclet > retest > bean > ejb > ejb > SimpleCMPBean


1 package xdoclet.retest.bean.ejb.ejb;
2
3 import javax.ejb.EntityBean JavaDoc;
4
5 /**
6  * @ejb:bean
7  * name="simple/SimpleCMP"
8  * type="CMP"
9  * view-type="both"
10  * cmp-version="2.x"
11  *
12  * @ejb:finder
13  * signature="java.util.Collection findByClassic()"
14  *
15  * @ejb:finder
16  * signature="java.util.Collection findByBoth()"
17  *
18  * @ejb:finder
19  * signature="java.util.Collection findByLocal()"
20  * result-type-mapping="Local"
21  *
22  * @ejb:finder
23  * signature="java.util.Collection findByRemote()"
24  * result-type-mapping="Remote"
25  *
26  */

27 public abstract class SimpleCMPBean
28         implements EntityBean JavaDoc
29 {
30
31     /**
32      * Abstract cmp2 field get-set pair for field aBoolean
33      * Get the value of aBoolean
34      * @return value of aBoolean
35      *
36      * @ejb:interface-method
37      * @ejb:persistent-field
38      */

39     public abstract boolean isABoolean();
40
41     /**
42      * Set the value of aBoolean
43      * @param aBoolean Value to assign to aBoolean
44      *
45      * @ejb:interface-method view-type="remote"
46      */

47     public abstract void setABoolean(boolean aBoolean);
48
49
50
51     /**
52      * Abstract cmp2 field get-set pair for field aByte
53      * Get the value of aByte
54      * @return value of aByte
55      *
56      * @ejb:interface-method
57      * @ejb:persistent-field
58      */

59     public abstract byte getAByte();
60
61     /**
62      * Set the value of aByte
63      * @param aByte Value to assign to aByte
64      *
65      * @ejb:interface-method view-type="remote"
66      */

67     public abstract void setAByte(byte aByte);
68
69
70
71     /**
72      * Abstract cmp2 field get-set pair for field aShort
73      * Get the value of aShort
74      * @return value of aShort
75      *
76      * @ejb:interface-method
77      * @ejb:persistent-field
78      */

79     public abstract short getAShort();
80
81     /**
82      * Set the value of aShort
83      * @param aShort Value to assign to aShort
84      *
85      * @ejb:interface-method view-type="remote"
86      */

87     public abstract void setAShort(short aShort);
88
89
90
91     /**
92      * Abstract cmp2 field get-set pair for field aChar
93      * Get the value of aChar
94      * @return value of aChar
95      *
96      * @ejb:interface-method
97      * @ejb:persistent-field
98      */

99     public abstract char getAChar();
100
101     /**
102      * Set the value of aChar
103      * @param aChar Value to assign to aChar
104      *
105      * @ejb:interface-method view-type="remote"
106      */

107     public abstract void setAChar(char aChar);
108
109
110
111     /**
112      * Abstract cmp2 field get-set pair for field id
113      * Get the value of id
114      * @return value of id
115      *
116      * @ejb:interface-method
117      * @ejb:persistent-field
118      */

119     public abstract Integer JavaDoc getId();
120
121     /**
122      * Set the value of id
123      * @param id Value to assign to id
124      *
125      * @ejb:interface-method view-type="remote"
126      */

127     public abstract void setId(Integer JavaDoc id);
128
129
130
131     /**
132      * Abstract cmp2 field get-set pair for field anInt
133      * Get the value of anInt
134      * @return value of anInt
135      *
136      * @ejb:interface-method
137      * @ejb:persistent-field
138      */

139     public abstract int getAnInt();
140
141     /**
142      * Set the value of anInt
143      * @param anInt Value to assign to anInt
144      *
145      * @ejb:interface-method view-type="remote"
146      */

147     public abstract void setAnInt(int anInt);
148
149
150
151     /**
152      * Abstract cmp2 field get-set pair for field aLong
153      * Get the value of aLong
154      * @return value of aLong
155      *
156      * @ejb:interface-method
157      * @ejb:persistent-field
158      */

159     public abstract long getALong();
160
161     /**
162      * Set the value of aLong
163      * @param aLong Value to assign to aLong
164      *
165      * @ejb:interface-method view-type="remote"
166      */

167     public abstract void setALong(long aLong);
168
169
170
171     /**
172      * Abstract cmp2 field get-set pair for field aFloat
173      * Get the value of aFloat
174      * @return value of aFloat
175      *
176      * @ejb:interface-method
177      * @ejb:persistent-field
178      */

179     public abstract float getAFloat();
180
181     /**
182      * Set the value of aFloat
183      * @param aFloat Value to assign to aFloat
184      *
185      * @ejb:interface-method view-type="remote"
186      */

187     public abstract void setAFloat(float aFloat);
188
189
190
191     /**
192      * Abstract cmp2 field get-set pair for field aDouble
193      * Get the value of aDouble
194      * @return value of aDouble
195      *
196      * @ejb:interface-method
197      * @ejb:persistent-field
198      */

199     public abstract double getADouble();
200
201     /**
202      * Set the value of aDouble
203      * @param aDouble Value to assign to aDouble
204      *
205      * @ejb:interface-method view-type="remote"
206      */

207     public abstract void setADouble(double aDouble);
208
209
210
211     /**
212      * Abstract cmp2 field get-set pair for field anObject
213      * Get the value of anObject
214      * @return value of anObject
215      *
216      * @ejb:interface-method
217      * @ejb:persistent-field
218      */

219     public abstract Object JavaDoc getAnObject();
220
221     /**
222      * Set the value of anObject
223      * @param anObject Value to assign to anObject
224      *
225      * @ejb:interface-method view-type="remote"
226      */

227     public abstract void setAnObject(Object JavaDoc anObject);
228
229
230
231     /**
232      * Abstract cmp2 field get-set pair for field anObjectArray
233      * Get the value of anObjectArray
234      * @return value of anObjectArray
235      *
236      * @ejb:interface-method
237      * @ejb:persistent-field
238      */

239     public abstract Object JavaDoc[] getAnObjectArray();
240
241     /**
242      * Set the value of anObjectArray
243      * @param anObjectArray Value to assign to anObjectArray
244      *
245      * @ejb:interface-method view-type="remote"
246      */

247     public abstract void setAnObjectArray(Object JavaDoc[] anObjectArray);
248
249 }
250
Popular Tags