Source Code Cross Referenced for QueryBean.java in  » J2EE » openejb3 » org » apache » openejb » test » entity » ejbql » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » openejb3 » org.apache.openejb.test.entity.ejbql 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * Licensed to the Apache Software Foundation (ASF) under one or more
003:         * contributor license agreements.  See the NOTICE file distributed with
004:         * this work for additional information regarding copyright ownership.
005:         * The ASF licenses this file to You under the Apache License, Version 2.0
006:         * (the "License"); you may not use this file except in compliance with
007:         * the License.  You may obtain a copy of the License at
008:         *
009:         *     http://www.apache.org/licenses/LICENSE-2.0
010:         *
011:         * Unless required by applicable law or agreed to in writing, software
012:         * distributed under the License is distributed on an "AS IS" BASIS,
013:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         * See the License for the specific language governing permissions and
015:         * limitations under the License.
016:         */package org.apache.openejb.test.entity.ejbql;
017:
018:        import javax.ejb.EntityBean;
019:        import javax.ejb.EntityContext;
020:        import javax.ejb.FinderException;
021:        import java.util.Collection;
022:
023:        public abstract class QueryBean implements  EntityBean {
024:            public abstract Integer getId();
025:
026:            public abstract void setId(Integer id);
027:
028:            public void setEntityContext(EntityContext ctx) {
029:            }
030:
031:            public void unsetEntityContext() {
032:            }
033:
034:            public void ejbActivate() {
035:            }
036:
037:            public void ejbPassivate() {
038:            }
039:
040:            public void ejbLoad() {
041:            }
042:
043:            public void ejbStore() {
044:            }
045:
046:            public void ejbRemove() {
047:            }
048:
049:            /**
050:             * Select a single string field
051:             */
052:            public String ejbHomeSelectSingleStringField(String value)
053:                    throws FinderException {
054:                return ejbSelectSingleStringField(value);
055:            }
056:
057:            public abstract String ejbSelectSingleStringField(String value)
058:                    throws FinderException;
059:
060:            /**
061:             * Select a single boolean field
062:             */
063:            public boolean ejbHomeSelectSingleBooleanField(boolean value)
064:                    throws FinderException {
065:                return ejbSelectSingleBooleanField(value);
066:            }
067:
068:            public abstract boolean ejbSelectSingleBooleanField(boolean value)
069:                    throws FinderException;
070:
071:            /**
072:             * Select a single char field
073:             */
074:            public char ejbHomeSelectSingleCharField(char value)
075:                    throws FinderException {
076:                return ejbSelectSingleCharField(value);
077:            }
078:
079:            public abstract char ejbSelectSingleCharField(char value)
080:                    throws FinderException;
081:
082:            /**
083:             * Select a single byte field
084:             */
085:            public byte ejbHomeSelectSingleByteField(byte value)
086:                    throws FinderException {
087:                return ejbSelectSingleByteField(value);
088:            }
089:
090:            public abstract byte ejbSelectSingleByteField(byte value)
091:                    throws FinderException;
092:
093:            /**
094:             * Select a single short field
095:             */
096:            public short ejbHomeSelectSingleShortField(short value)
097:                    throws FinderException {
098:                return ejbSelectSingleShortField(value);
099:            }
100:
101:            public abstract short ejbSelectSingleShortField(short value)
102:                    throws FinderException;
103:
104:            /**
105:             * Select a single int field
106:             */
107:            public int ejbHomeSelectSingleIntField(int value)
108:                    throws FinderException {
109:                return ejbSelectSingleIntField(value);
110:            }
111:
112:            public abstract int ejbSelectSingleIntField(int value)
113:                    throws FinderException;
114:
115:            /**
116:             * Select a single long field
117:             */
118:            public long ejbHomeSelectSingleLongField(long value)
119:                    throws FinderException {
120:                return ejbSelectSingleLongField(value);
121:            }
122:
123:            public abstract long ejbSelectSingleLongField(long value)
124:                    throws FinderException;
125:
126:            /**
127:             * Select a single float field
128:             */
129:            public float ejbHomeSelectSingleFloatField(float value)
130:                    throws FinderException {
131:                return ejbSelectSingleFloatField(value);
132:            }
133:
134:            public abstract float ejbSelectSingleFloatField(float value)
135:                    throws FinderException;
136:
137:            /**
138:             * Select a single double field
139:             */
140:            public double ejbHomeSelectSingleDoubleField(double value)
141:                    throws FinderException {
142:                return ejbSelectSingleDoubleField(value);
143:            }
144:
145:            public abstract double ejbSelectSingleDoubleField(double value)
146:                    throws FinderException;
147:
148:            /**
149:             * Select a collection string field
150:             */
151:            public Collection ejbHomeSelectCollectionStringField()
152:                    throws FinderException {
153:                return ejbSelectCollectionStringField();
154:            }
155:
156:            public abstract Collection ejbSelectCollectionStringField()
157:                    throws FinderException;
158:
159:            /**
160:             * Select a collection boolean field
161:             */
162:            public Collection ejbHomeSelectCollectionBooleanField()
163:                    throws FinderException {
164:                return ejbSelectCollectionBooleanField();
165:            }
166:
167:            public abstract Collection ejbSelectCollectionBooleanField()
168:                    throws FinderException;
169:
170:            /**
171:             * Select a collection char field
172:             */
173:            public Collection ejbHomeSelectCollectionCharField()
174:                    throws FinderException {
175:                return ejbSelectCollectionCharField();
176:            }
177:
178:            public abstract Collection ejbSelectCollectionCharField()
179:                    throws FinderException;
180:
181:            /**
182:             * Select a collection byte field
183:             */
184:            public Collection ejbHomeSelectCollectionByteField()
185:                    throws FinderException {
186:                return ejbSelectCollectionByteField();
187:            }
188:
189:            public abstract Collection ejbSelectCollectionByteField()
190:                    throws FinderException;
191:
192:            /**
193:             * Select a collection short field
194:             */
195:            public Collection ejbHomeSelectCollectionShortField()
196:                    throws FinderException {
197:                return ejbSelectCollectionShortField();
198:            }
199:
200:            public abstract Collection ejbSelectCollectionShortField()
201:                    throws FinderException;
202:
203:            /**
204:             * Select a collection int field
205:             */
206:            public Collection ejbHomeSelectCollectionIntField()
207:                    throws FinderException {
208:                return ejbSelectCollectionIntField();
209:            }
210:
211:            public abstract Collection ejbSelectCollectionIntField()
212:                    throws FinderException;
213:
214:            /**
215:             * Select a collection long field
216:             */
217:            public Collection ejbHomeSelectCollectionLongField()
218:                    throws FinderException {
219:                return ejbSelectCollectionLongField();
220:            }
221:
222:            public abstract Collection ejbSelectCollectionLongField()
223:                    throws FinderException;
224:
225:            /**
226:             * Select a collection float field
227:             */
228:            public Collection ejbHomeSelectCollectionFloatField()
229:                    throws FinderException {
230:                return ejbSelectCollectionFloatField();
231:            }
232:
233:            public abstract Collection ejbSelectCollectionFloatField()
234:                    throws FinderException;
235:
236:            /**
237:             * Select a collection double field
238:             */
239:            public Collection ejbHomeSelectCollectionDoubleField()
240:                    throws FinderException {
241:                return ejbSelectCollectionDoubleField();
242:            }
243:
244:            public abstract Collection ejbSelectCollectionDoubleField()
245:                    throws FinderException;
246:
247:            /**
248:             * Select a single local ejb
249:             */
250:            public Object ejbHomeSelectSingleLocalEjb(int value)
251:                    throws FinderException {
252:                return ejbSelectSingleLocalEjb(value);
253:            }
254:
255:            public abstract Object ejbSelectSingleLocalEjb(int value)
256:                    throws FinderException;
257:
258:            /**
259:             * Select a single remote ejb
260:             */
261:            public Object ejbHomeSelectSingleRemoteEjb(int value)
262:                    throws FinderException {
263:                return ejbSelectSingleRemoteEjb(value);
264:            }
265:
266:            public abstract Object ejbSelectSingleRemoteEjb(int value)
267:                    throws FinderException;
268:
269:            /**
270:             * Select a collection local ejb
271:             */
272:            public Collection ejbHomeSelectCollectionLocalEjb()
273:                    throws FinderException {
274:                return ejbSelectCollectionLocalEjb();
275:            }
276:
277:            public abstract Collection ejbSelectCollectionLocalEjb()
278:                    throws FinderException;
279:
280:            /**
281:             * Select a collection remote ejb
282:             */
283:            public Collection ejbHomeSelectCollectionRemoteEjb()
284:                    throws FinderException {
285:                return ejbSelectCollectionRemoteEjb();
286:            }
287:
288:            public abstract Collection ejbSelectCollectionRemoteEjb()
289:                    throws FinderException;
290:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.