Source Code Cross Referenced for ComplexMultiMapped.java in  » Database-ORM » db-ojb » org » apache » ojb » broker » 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 » Database ORM » db ojb » org.apache.ojb.broker 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.apache.ojb.broker;
002:
003:        import java.io.Serializable;
004:        import java.util.Date;
005:
006:        /**
007:         * Test case helper class.
008:         *
009:         * @author <a href="mailto:armin@codeAuLait.de">Armin Waibel</a>
010:         * @version $Id: ComplexMultiMapped.java,v 1.1 2003/08/09 13:23:40 arminw Exp $
011:         */
012:        public class ComplexMultiMapped {
013:            //*******************************************************
014:            // Inner class
015:            //*******************************************************
016:            public static class PersistentA implements  Serializable {
017:                private int ID = 0;
018:                private String value1;
019:                private int value2;
020:                private Date value3;
021:                private String ojbConcreteClass = PersistentA.class.getName();
022:
023:                public int getID() {
024:                    return ID;
025:                }
026:
027:                public void setID(int ID) {
028:                    this .ID = ID;
029:                }
030:
031:                public String getValue1() {
032:                    return value1;
033:                }
034:
035:                public void setValue1(String value1) {
036:                    this .value1 = value1;
037:                }
038:
039:                public int getValue2() {
040:                    return value2;
041:                }
042:
043:                public void setValue2(int value2) {
044:                    this .value2 = value2;
045:                }
046:
047:                public Date getValue3() {
048:                    return value3;
049:                }
050:
051:                public void setValue3(Date value3) {
052:                    this .value3 = value3;
053:                }
054:
055:                public String getOjbConcreteClass() {
056:                    return ojbConcreteClass;
057:                }
058:
059:                public void setOjbConcreteClass(String ojbConcreteClass) {
060:                    this .ojbConcreteClass = ojbConcreteClass;
061:                }
062:            }
063:
064:            //*******************************************************
065:            // Inner class
066:            //*******************************************************
067:            public static class PersistentB implements  Serializable {
068:                private int ID = 0;
069:                private String value4;
070:                private int value5;
071:                private Date value6;
072:                private String ojbConcreteClass = PersistentB.class.getName();
073:
074:                public int getID() {
075:                    return ID;
076:                }
077:
078:                public void setID(int ID) {
079:                    this .ID = ID;
080:                }
081:
082:                public String getValue4() {
083:                    return value4;
084:                }
085:
086:                public void setValue4(String value4) {
087:                    this .value4 = value4;
088:                }
089:
090:                public int getValue5() {
091:                    return value5;
092:                }
093:
094:                public void setValue5(int value5) {
095:                    this .value5 = value5;
096:                }
097:
098:                public Date getValue6() {
099:                    return value6;
100:                }
101:
102:                public void setValue6(Date value6) {
103:                    this .value6 = value6;
104:                }
105:
106:                public String getOjbConcreteClass() {
107:                    return ojbConcreteClass;
108:                }
109:
110:                public void setOjbConcreteClass(String ojbConcreteClass) {
111:                    this .ojbConcreteClass = ojbConcreteClass;
112:                }
113:            }
114:
115:            //*******************************************************
116:            // Inner class
117:            //*******************************************************
118:            public static class PersistentC implements  Serializable {
119:                private int ID = 0;
120:                private String value1;
121:                private int value2;
122:                private Date value3;
123:                private String value4;
124:                private int value5;
125:                private Date value6;
126:                private String value7;
127:                private String ojbConcreteClass = PersistentC.class.getName();
128:
129:                public int getID() {
130:                    return ID;
131:                }
132:
133:                public void setID(int ID) {
134:                    this .ID = ID;
135:                }
136:
137:                public String getValue1() {
138:                    return value1;
139:                }
140:
141:                public void setValue1(String value1) {
142:                    this .value1 = value1;
143:                }
144:
145:                public int getValue2() {
146:                    return value2;
147:                }
148:
149:                public void setValue2(int value2) {
150:                    this .value2 = value2;
151:                }
152:
153:                public Date getValue3() {
154:                    return value3;
155:                }
156:
157:                public void setValue3(Date value3) {
158:                    this .value3 = value3;
159:                }
160:
161:                public String getValue4() {
162:                    return value4;
163:                }
164:
165:                public void setValue4(String value4) {
166:                    this .value4 = value4;
167:                }
168:
169:                public int getValue5() {
170:                    return value5;
171:                }
172:
173:                public void setValue5(int value5) {
174:                    this .value5 = value5;
175:                }
176:
177:                public Date getValue6() {
178:                    return value6;
179:                }
180:
181:                public void setValue6(Date value6) {
182:                    this .value6 = value6;
183:                }
184:
185:                public String getValue7() {
186:                    return value7;
187:                }
188:
189:                public void setValue7(String value7) {
190:                    this .value7 = value7;
191:                }
192:
193:                public String getOjbConcreteClass() {
194:                    return ojbConcreteClass;
195:                }
196:
197:                public void setOjbConcreteClass(String ojbConcreteClass) {
198:                    this .ojbConcreteClass = ojbConcreteClass;
199:                }
200:            }
201:
202:            //*******************************************************
203:            // Inner class
204:            //*******************************************************
205:            public static class PersistentD extends PersistentB {
206:                private int ID = 0;
207:                private String value1;
208:                private int value2;
209:                private Date value3;
210:                private String ojbConcreteClass = PersistentD.class.getName();
211:
212:                public int getID() {
213:                    return ID;
214:                }
215:
216:                public void setID(int ID) {
217:                    this .ID = ID;
218:                }
219:
220:                public String getValue1() {
221:                    return value1;
222:                }
223:
224:                public void setValue1(String value1) {
225:                    this .value1 = value1;
226:                }
227:
228:                public int getValue2() {
229:                    return value2;
230:                }
231:
232:                public void setValue2(int value2) {
233:                    this .value2 = value2;
234:                }
235:
236:                public Date getValue3() {
237:                    return value3;
238:                }
239:
240:                public void setValue3(Date value3) {
241:                    this .value3 = value3;
242:                }
243:
244:                public String getOjbConcreteClass() {
245:                    return ojbConcreteClass;
246:                }
247:
248:                public void setOjbConcreteClass(String ojbConcreteClass) {
249:                    this .ojbConcreteClass = ojbConcreteClass;
250:                }
251:            }
252:
253:            //*******************************************************
254:            // Inner class
255:            //*******************************************************
256:            public static class PersistentE extends PersistentB {
257:                private int ID = 0;
258:                private String value1;
259:                private int value2;
260:                private Date value3;
261:                private String ojbConcreteClass = PersistentE.class.getName();
262:
263:                public int getID() {
264:                    return ID;
265:                }
266:
267:                public void setID(int ID) {
268:                    this .ID = ID;
269:                }
270:
271:                public String getValue1() {
272:                    return value1;
273:                }
274:
275:                public void setValue1(String value1) {
276:                    this .value1 = value1;
277:                }
278:
279:                public int getValue2() {
280:                    return value2;
281:                }
282:
283:                public void setValue2(int value2) {
284:                    this .value2 = value2;
285:                }
286:
287:                public Date getValue3() {
288:                    return value3;
289:                }
290:
291:                public void setValue3(Date value3) {
292:                    this .value3 = value3;
293:                }
294:
295:                public String getOjbConcreteClass() {
296:                    return ojbConcreteClass;
297:                }
298:
299:                public void setOjbConcreteClass(String ojbConcreteClass) {
300:                    this .ojbConcreteClass = ojbConcreteClass;
301:                }
302:            }
303:
304:            //*******************************************************
305:            // Inner class
306:            //*******************************************************
307:            public static class PersistentF extends PersistentE {
308:            }
309:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.