1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 package org.otvl.sbxbsamp.complex;
31
32
33
34
35 /***
36 * Sample class A.
37 * @author
38 * @version
39 */
40
41
42 public class ClsA
43 {
44
45
46
47 /***
48 *
49 */
50 private String att1;
51 /***
52 *
53 */
54 private String att2;
55 /***
56 *
57 */
58 private String att3;
59 /***
60 *
61 */
62 private String att4;
63 /***
64 *
65 */
66 private String att5;
67 /***
68 *
69 */
70 private String att6;
71 /***
72 *
73 */
74 private String att7;
75 /***
76 *
77 */
78 private String att8;
79 /***
80 *
81 */
82 private String att9;
83
84
85
86
87
88 /***
89 *
90 */
91 private ClsB roleB;
92 /***
93 *
94 */
95 private java.util.List roleXB = new java.util.ArrayList() ;
96 /***
97 *
98 */
99 private java.util.Map roleC = new java.util.HashMap() ;
100 /***
101 *
102 */
103 private ClsG roleG;
104 /***
105 *
106 */
107 private java.util.List roleD = new java.util.ArrayList() ;
108
109
110
111
112
113
114
115
116
117
118
119
120
121 /***
122 * Returns the att1.<br/>
123 *
124 * @return String
125 */
126 public String getAtt1() {
127 String vAtt1 = att1;
128 return vAtt1;
129 }
130
131 /***
132 * Sets the att1.<br/>
133 *
134 * @param att1 The att1 to set
135 */
136 public void setAtt1(String att1) {
137 this.att1 = att1;
138 }
139
140
141
142
143 /***
144 * Returns the att2.<br/>
145 *
146 * @return String
147 */
148 public String getAtt2() {
149 String vAtt2 = att2;
150 return vAtt2;
151 }
152
153 /***
154 * Sets the att2.<br/>
155 *
156 * @param att2 The att2 to set
157 */
158 public void setAtt2(String att2) {
159 this.att2 = att2;
160 }
161
162
163
164
165 /***
166 * Returns the att3.<br/>
167 *
168 * @return String
169 */
170 public String getAtt3() {
171 String vAtt3 = att3;
172 return vAtt3;
173 }
174
175 /***
176 * Sets the att3.<br/>
177 *
178 * @param att3 The att3 to set
179 */
180 public void setAtt3(String att3) {
181 this.att3 = att3;
182 }
183
184
185
186
187 /***
188 * Returns the att4.<br/>
189 *
190 * @return String
191 */
192 public String getAtt4() {
193 String vAtt4 = att4;
194 return vAtt4;
195 }
196
197 /***
198 * Sets the att4.<br/>
199 *
200 * @param att4 The att4 to set
201 */
202 public void setAtt4(String att4) {
203 this.att4 = att4;
204 }
205
206
207
208
209 /***
210 * Returns the att5.<br/>
211 *
212 * @return String
213 */
214 public String getAtt5() {
215 String vAtt5 = att5;
216 return vAtt5;
217 }
218
219 /***
220 * Sets the att5.<br/>
221 *
222 * @param att5 The att5 to set
223 */
224 public void setAtt5(String att5) {
225 this.att5 = att5;
226 }
227
228
229
230
231 /***
232 * Returns the att6.<br/>
233 *
234 * @return String
235 */
236 public String getAtt6() {
237 String vAtt6 = att6;
238 return vAtt6;
239 }
240
241 /***
242 * Sets the att6.<br/>
243 *
244 * @param att6 The att6 to set
245 */
246 public void setAtt6(String att6) {
247 this.att6 = att6;
248 }
249
250
251
252
253 /***
254 * Returns the att7.<br/>
255 *
256 * @return String
257 */
258 public String getAtt7() {
259 String vAtt7 = att7;
260 return vAtt7;
261 }
262
263 /***
264 * Sets the att7.<br/>
265 *
266 * @param att7 The att7 to set
267 */
268 public void setAtt7(String att7) {
269 this.att7 = att7;
270 }
271
272
273
274
275 /***
276 * Returns the att8.<br/>
277 *
278 * @return String
279 */
280 public String getAtt8() {
281 String vAtt8 = att8;
282 return vAtt8;
283 }
284
285 /***
286 * Sets the att8.<br/>
287 *
288 * @param att8 The att8 to set
289 */
290 public void setAtt8(String att8) {
291 this.att8 = att8;
292 }
293
294
295
296
297 /***
298 * Returns the att9.<br/>
299 *
300 * @return String
301 */
302 public String getAtt9() {
303 String vAtt9 = att9;
304 return vAtt9;
305 }
306
307 /***
308 * Sets the att9.<br/>
309 *
310 * @param att9 The att9 to set
311 */
312 public void setAtt9(String att9) {
313 this.att9 = att9;
314 }
315
316
317
318
319
320
321
322
323
324 /***
325 * Returns target of link roleB.<br/>
326 *
327 * @return ClsB
328 */
329 public ClsB getRoleB() {
330 ClsB vRoleB = roleB;
331 return vRoleB;
332 }
333
334 /***
335 * Sets target of link roleB.<br/>
336 *
337 * @param roleB The roleB to set
338 */
339 public void setRoleB(ClsB roleB) {
340 this.roleB = roleB;
341 }
342
343
344
345
346 /***
347 * Returns a target in link roleXB.<br/>
348 *
349 * @param index offset in the array
350 * @return ClsB
351 */
352 public ClsB getRoleXB(int index) {
353 ClsB vRoleXB = (ClsB)roleXB.get(index);
354 return vRoleXB;
355 }
356 /***
357 * Returns an iterator for targets in links roleXB
358 * @return java.util.Iterator
359 */
360 public java.util.Iterator iteratorRoleXB() {
361 java.util.Iterator vIterator = roleXB.iterator();
362 return vIterator;
363 }
364 /***
365 * Returns the size of the collection roleXB
366 * @return int
367 */
368 public int sizeRoleXB() {
369 int vSize = roleXB.size();
370 return vSize;
371 }
372
373 /***
374 * Inserts a target in link roleXB.<br/>
375 *
376 * @param index offset in the list
377 * @param aClsB The ClsB to insert
378 */
379 public void addRoleXB(int index, ClsB aClsB) {
380 this.roleXB.add(index, aClsB);
381 }
382 /***
383 * Adds a target at end of link roleXB.<br/>
384 *
385 * @param aClsB The ClsB to insert
386 */
387 public void addRoleXB(ClsB aClsB) {
388 this.roleXB.add(this.roleXB.size(), aClsB);
389 }
390
391 /***
392 * Removes a target in link roleXB
393 * @param index offset in the list
394 */
395 public void removeRoleXB(int index) {
396 this.roleXB.remove(index);
397 }
398
399 /***
400 * Clears all targets in link roleXB
401 */
402 public void clearRoleXB() {
403 this.roleXB.clear();
404 }
405
406
407
408
409
410
411 /***
412 * Returns a target in link roleC.<br/>
413 *
414 * @param key offset in the array
415 * @return ClsC
416 */
417 public ClsC getRoleC(Object key) {
418 ClsC vRoleC = (ClsC)roleC.get(key);
419 return vRoleC;
420 }
421 /***
422 * Returns a Collection for targets in link roleC
423 * @return java.util.Collection
424 */
425 public java.util.Collection valuesRoleC() {
426 java.util.Collection vValues = roleC.values();
427 return vValues;
428 }
429 /***
430 * Returns a Set for keys of targets in link roleC
431 * @return java.util.Set
432 */
433 public java.util.Set keySetRoleC() {
434 java.util.Set vKeySet = roleC.keySet();
435 return vKeySet;
436 }
437 /***
438 * Returns the size of the collection roleC
439 * @return int
440 */
441 public int sizeRoleC() {
442 int vSize = roleC.size();
443 return vSize;
444 }
445
446 /***
447 * Inserts a target in link roleC.<br/>
448 *
449 * @param key key in the associative array
450 * @param aClsC The ClsC to insert
451 */
452 public void putRoleC(Object key, ClsC aClsC) {
453 this.roleC.put(key, aClsC);
454 }
455
456 /***
457 * Removes a target in link roleC
458 * @param key key in the associative array
459 */
460 public void removeRoleC(Object key) {
461 this.roleC.remove(key);
462 }
463
464 /***
465 * Clears all targets in link roleC
466 */
467 public void clearRoleC() {
468 this.roleC.clear();
469 }
470
471
472
473
474
475
476 /***
477 * Returns target of link roleG.<br/>
478 *
479 * @return ClsG
480 */
481 public ClsG getRoleG() {
482 ClsG vRoleG = roleG;
483 return vRoleG;
484 }
485
486 /***
487 * Sets target of link roleG.<br/>
488 *
489 * @param roleG The roleG to set
490 */
491 public void setRoleG(ClsG roleG) {
492 this.roleG = roleG;
493 }
494
495
496
497
498 /***
499 * Returns a target in link roleD.<br/>
500 *
501 * @param index offset in the array
502 * @return ClsD
503 */
504 public ClsD getRoleD(int index) {
505 ClsD vRoleD = (ClsD)roleD.get(index);
506 return vRoleD;
507 }
508 /***
509 * Returns an iterator for targets in links roleD
510 * @return java.util.Iterator
511 */
512 public java.util.Iterator iteratorRoleD() {
513 java.util.Iterator vIterator = roleD.iterator();
514 return vIterator;
515 }
516 /***
517 * Returns the size of the collection roleD
518 * @return int
519 */
520 public int sizeRoleD() {
521 int vSize = roleD.size();
522 return vSize;
523 }
524
525 /***
526 * Inserts a target in link roleD.<br/>
527 *
528 * @param index offset in the list
529 * @param aClsD The ClsD to insert
530 */
531 public void addRoleD(int index, ClsD aClsD) {
532 this.roleD.add(index, aClsD);
533 }
534 /***
535 * Adds a target at end of link roleD.<br/>
536 *
537 * @param aClsD The ClsD to insert
538 */
539 public void addRoleD(ClsD aClsD) {
540 this.roleD.add(this.roleD.size(), aClsD);
541 }
542
543 /***
544 * Removes a target in link roleD
545 * @param index offset in the list
546 */
547 public void removeRoleD(int index) {
548 this.roleD.remove(index);
549 }
550
551 /***
552 * Clears all targets in link roleD
553 */
554 public void clearRoleD() {
555 this.roleD.clear();
556 }
557
558
559
560
561 }