1 package org.apache.ojb.broker; 2 3 import java.io.Serializable ; 4 import java.util.Date ; 5 6 12 public class ComplexMultiMapped 13 { 14 public static class PersistentA implements Serializable 18 { 19 private int ID = 0; 20 private String value1; 21 private int value2; 22 private Date value3; 23 private String ojbConcreteClass = PersistentA.class.getName(); 24 25 public int getID() 26 { 27 return ID; 28 } 29 30 public void setID(int ID) 31 { 32 this.ID = ID; 33 } 34 35 public String getValue1() 36 { 37 return value1; 38 } 39 40 public void setValue1(String value1) 41 { 42 this.value1 = value1; 43 } 44 45 public int getValue2() 46 { 47 return value2; 48 } 49 50 public void setValue2(int value2) 51 { 52 this.value2 = value2; 53 } 54 55 public Date getValue3() 56 { 57 return value3; 58 } 59 60 public void setValue3(Date value3) 61 { 62 this.value3 = value3; 63 } 64 65 public String getOjbConcreteClass() 66 { 67 return ojbConcreteClass; 68 } 69 70 public void setOjbConcreteClass(String ojbConcreteClass) 71 { 72 this.ojbConcreteClass = ojbConcreteClass; 73 } 74 } 75 76 77 public static class PersistentB implements Serializable 81 { 82 private int ID = 0; 83 private String value4; 84 private int value5; 85 private Date value6; 86 private String ojbConcreteClass = PersistentB.class.getName(); 87 88 public int getID() 89 { 90 return ID; 91 } 92 93 public void setID(int ID) 94 { 95 this.ID = ID; 96 } 97 98 public String getValue4() 99 { 100 return value4; 101 } 102 103 public void setValue4(String value4) 104 { 105 this.value4 = value4; 106 } 107 108 public int getValue5() 109 { 110 return value5; 111 } 112 113 public void setValue5(int value5) 114 { 115 this.value5 = value5; 116 } 117 118 public Date getValue6() 119 { 120 return value6; 121 } 122 123 public void setValue6(Date value6) 124 { 125 this.value6 = value6; 126 } 127 128 public String getOjbConcreteClass() 129 { 130 return ojbConcreteClass; 131 } 132 133 public void setOjbConcreteClass(String ojbConcreteClass) 134 { 135 this.ojbConcreteClass = ojbConcreteClass; 136 } 137 } 138 139 140 public static class PersistentC implements Serializable 144 { 145 private int ID = 0; 146 private String value1; 147 private int value2; 148 private Date value3; 149 private String value4; 150 private int value5; 151 private Date value6; 152 private String value7; 153 private String ojbConcreteClass = PersistentC.class.getName(); 154 155 public int getID() 156 { 157 return ID; 158 } 159 160 public void setID(int ID) 161 { 162 this.ID = ID; 163 } 164 165 public String getValue1() 166 { 167 return value1; 168 } 169 170 public void setValue1(String value1) 171 { 172 this.value1 = value1; 173 } 174 175 public int getValue2() 176 { 177 return value2; 178 } 179 180 public void setValue2(int value2) 181 { 182 this.value2 = value2; 183 } 184 185 public Date getValue3() 186 { 187 return value3; 188 } 189 190 public void setValue3(Date value3) 191 { 192 this.value3 = value3; 193 } 194 195 public String getValue4() 196 { 197 return value4; 198 } 199 200 public void setValue4(String value4) 201 { 202 this.value4 = value4; 203 } 204 205 public int getValue5() 206 { 207 return value5; 208 } 209 210 public void setValue5(int value5) 211 { 212 this.value5 = value5; 213 } 214 215 public Date getValue6() 216 { 217 return value6; 218 } 219 220 public void setValue6(Date value6) 221 { 222 this.value6 = value6; 223 } 224 225 public String getValue7() 226 { 227 return value7; 228 } 229 230 public void setValue7(String value7) 231 { 232 this.value7 = value7; 233 } 234 235 public String getOjbConcreteClass() 236 { 237 return ojbConcreteClass; 238 } 239 240 public void setOjbConcreteClass(String ojbConcreteClass) 241 { 242 this.ojbConcreteClass = ojbConcreteClass; 243 } 244 } 245 246 public static class PersistentD extends PersistentB 250 { 251 private int ID = 0; 252 private String value1; 253 private int value2; 254 private Date value3; 255 private String ojbConcreteClass = PersistentD.class.getName(); 256 257 public int getID() 258 { 259 return ID; 260 } 261 262 public void setID(int ID) 263 { 264 this.ID = ID; 265 } 266 267 public String getValue1() 268 { 269 return value1; 270 } 271 272 public void setValue1(String value1) 273 { 274 this.value1 = value1; 275 } 276 277 public int getValue2() 278 { 279 return value2; 280 } 281 282 public void setValue2(int value2) 283 { 284 this.value2 = value2; 285 } 286 287 public Date getValue3() 288 { 289 return value3; 290 } 291 292 public void setValue3(Date value3) 293 { 294 this.value3 = value3; 295 } 296 297 public String getOjbConcreteClass() 298 { 299 return ojbConcreteClass; 300 } 301 302 public void setOjbConcreteClass(String ojbConcreteClass) 303 { 304 this.ojbConcreteClass = ojbConcreteClass; 305 } 306 } 307 308 public static class PersistentE extends PersistentB 312 { 313 private int ID = 0; 314 private String value1; 315 private int value2; 316 private Date value3; 317 private String ojbConcreteClass = 318 PersistentE.class.getName(); 319 320 public int getID() 321 { 322 return ID; 323 } 324 325 public void setID(int ID) 326 { 327 this.ID = ID; 328 } 329 330 public String getValue1() 331 { 332 return value1; 333 } 334 335 public void setValue1(String value1) 336 { 337 this.value1 = value1; 338 } 339 340 public int getValue2() 341 { 342 return value2; 343 } 344 345 public void setValue2(int value2) 346 { 347 this.value2 = value2; 348 } 349 350 public Date getValue3() 351 { 352 return value3; 353 } 354 355 public void setValue3(Date value3) 356 { 357 this.value3 = value3; 358 } 359 360 public String getOjbConcreteClass() 361 { 362 return ojbConcreteClass; 363 } 364 365 public void setOjbConcreteClass(String ojbConcreteClass) 366 { 367 this.ojbConcreteClass = ojbConcreteClass; 368 } 369 } 370 371 372 public static class PersistentF extends PersistentE 376 { 377 } 378 } 379 | Popular Tags |