1
2
3
4 package org.andromda.cartridges.ejb.metafacades;
5
6 /***
7 * MetafacadeLogic for org.andromda.cartridges.ejb.metafacades.EJBEntityFacade
8 *
9 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade
10 */
11 public abstract class EJBEntityFacadeLogic
12 extends org.andromda.core.metafacade.MetafacadeBase
13 implements org.andromda.cartridges.ejb.metafacades.EJBEntityFacade
14 {
15
16 protected Object metaObject;
17
18 public EJBEntityFacadeLogic(Object metaObject, String context)
19 {
20 super(metaObject, getContext(context));
21 this.superEntity =
22 (org.andromda.metafacades.uml.Entity)
23 org.andromda.core.metafacade.MetafacadeFactory.getInstance().createFacadeImpl(
24 "org.andromda.metafacades.uml.Entity",
25 metaObject,
26 getContext(context));
27 this.metaObject = metaObject;
28 }
29
30 /***
31 * Gets the context for this metafacade logic instance.
32 */
33 private static String getContext(String context)
34 {
35 if (context == null)
36 {
37 context = "org.andromda.cartridges.ejb.metafacades.EJBEntityFacade";
38 }
39 return context;
40 }
41
42 private org.andromda.metafacades.uml.Entity superEntity;
43 private boolean superEntityInitialized = false;
44
45 /***
46 * Gets the org.andromda.metafacades.uml.Entity parent instance.
47 */
48 private org.andromda.metafacades.uml.Entity getSuperEntity()
49 {
50 if (!this.superEntityInitialized)
51 {
52 ((org.andromda.core.metafacade.MetafacadeBase)superEntity).setMetafacadeContext(this.getMetafacadeContext());
53 this.superEntityInitialized = true;
54 }
55 return superEntity;
56 }
57
58 /***
59 * @see org.andromda.core.metafacade.MetafacadeBase
60 */
61 public void resetMetafacadeContext(String context)
62 {
63 if (!this.contextRoot)
64 {
65 context = getContext(context);
66 setMetafacadeContext (context);
67 if (this.superEntityInitialized)
68 {
69 ((org.andromda.core.metafacade.MetafacadeBase)superEntity).resetMetafacadeContext(context);
70 }
71 }
72 }
73
74 /***
75 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade
76 */
77 public boolean isEJBEntityFacadeMetaType()
78 {
79 return true;
80 }
81
82
83
84 /***
85 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#isSyntheticCreateMethodAllowed()
86 */
87 protected abstract boolean handleIsSyntheticCreateMethodAllowed();
88
89 private void handleIsSyntheticCreateMethodAllowed1aPreCondition()
90 {
91 }
92
93 private void handleIsSyntheticCreateMethodAllowed1aPostCondition()
94 {
95 }
96
97 private boolean __syntheticCreateMethodAllowed1a;
98 private boolean __syntheticCreateMethodAllowed1aSet = false;
99
100 public final boolean isSyntheticCreateMethodAllowed()
101 {
102 boolean syntheticCreateMethodAllowed1a = this.__syntheticCreateMethodAllowed1a;
103 if (!this.__syntheticCreateMethodAllowed1aSet)
104 {
105 handleIsSyntheticCreateMethodAllowed1aPreCondition();
106 syntheticCreateMethodAllowed1a = handleIsSyntheticCreateMethodAllowed();
107 handleIsSyntheticCreateMethodAllowed1aPostCondition();
108 this.__syntheticCreateMethodAllowed1a = syntheticCreateMethodAllowed1a;
109 if (isMetafacadePropertyCachingEnabled())
110 {
111 this.__syntheticCreateMethodAllowed1aSet = true;
112 }
113 }
114 return syntheticCreateMethodAllowed1a;
115 }
116
117 /***
118 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#getAllEntityRelations()
119 */
120 protected abstract java.util.Collection handleGetAllEntityRelations();
121
122 private void handleGetAllEntityRelations2aPreCondition()
123 {
124 }
125
126 private void handleGetAllEntityRelations2aPostCondition()
127 {
128 }
129
130 private java.util.Collection __allEntityRelations2a;
131 private boolean __allEntityRelations2aSet = false;
132
133 public final java.util.Collection getAllEntityRelations()
134 {
135 java.util.Collection allEntityRelations2a = this.__allEntityRelations2a;
136 if (!this.__allEntityRelations2aSet)
137 {
138 handleGetAllEntityRelations2aPreCondition();
139 allEntityRelations2a = handleGetAllEntityRelations();
140 handleGetAllEntityRelations2aPostCondition();
141 this.__allEntityRelations2a = allEntityRelations2a;
142 if (isMetafacadePropertyCachingEnabled())
143 {
144 this.__allEntityRelations2aSet = true;
145 }
146 }
147 return allEntityRelations2a;
148 }
149
150 /***
151 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#getJndiName()
152 */
153 protected abstract java.lang.String handleGetJndiName();
154
155 private void handleGetJndiName3aPreCondition()
156 {
157 }
158
159 private void handleGetJndiName3aPostCondition()
160 {
161 }
162
163 private java.lang.String __jndiName3a;
164 private boolean __jndiName3aSet = false;
165
166 public final java.lang.String getJndiName()
167 {
168 java.lang.String jndiName3a = this.__jndiName3a;
169 if (!this.__jndiName3aSet)
170 {
171 handleGetJndiName3aPreCondition();
172 jndiName3a = handleGetJndiName();
173 handleGetJndiName3aPostCondition();
174 this.__jndiName3a = jndiName3a;
175 if (isMetafacadePropertyCachingEnabled())
176 {
177 this.__jndiName3aSet = true;
178 }
179 }
180 return jndiName3a;
181 }
182
183 /***
184 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#getViewType()
185 */
186 protected abstract java.lang.String handleGetViewType();
187
188 private void handleGetViewType4aPreCondition()
189 {
190 }
191
192 private void handleGetViewType4aPostCondition()
193 {
194 }
195
196 private java.lang.String __viewType4a;
197 private boolean __viewType4aSet = false;
198
199 public final java.lang.String getViewType()
200 {
201 java.lang.String viewType4a = this.__viewType4a;
202 if (!this.__viewType4aSet)
203 {
204 handleGetViewType4aPreCondition();
205 viewType4a = handleGetViewType();
206 handleGetViewType4aPostCondition();
207 this.__viewType4a = viewType4a;
208 if (isMetafacadePropertyCachingEnabled())
209 {
210 this.__viewType4aSet = true;
211 }
212 }
213 return viewType4a;
214 }
215
216 /***
217 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#getAllInstanceAttributes()
218 */
219 protected abstract java.util.List handleGetAllInstanceAttributes();
220
221 private void handleGetAllInstanceAttributes5aPreCondition()
222 {
223 }
224
225 private void handleGetAllInstanceAttributes5aPostCondition()
226 {
227 }
228
229 private java.util.List __allInstanceAttributes5a;
230 private boolean __allInstanceAttributes5aSet = false;
231
232 public final java.util.List getAllInstanceAttributes()
233 {
234 java.util.List allInstanceAttributes5a = this.__allInstanceAttributes5a;
235 if (!this.__allInstanceAttributes5aSet)
236 {
237 handleGetAllInstanceAttributes5aPreCondition();
238 allInstanceAttributes5a = handleGetAllInstanceAttributes();
239 handleGetAllInstanceAttributes5aPostCondition();
240 this.__allInstanceAttributes5a = allInstanceAttributes5a;
241 if (isMetafacadePropertyCachingEnabled())
242 {
243 this.__allInstanceAttributes5aSet = true;
244 }
245 }
246 return allInstanceAttributes5a;
247 }
248
249 /***
250 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#getInheritedInstanceAttributes()
251 */
252 protected abstract java.util.List handleGetInheritedInstanceAttributes();
253
254 private void handleGetInheritedInstanceAttributes6aPreCondition()
255 {
256 }
257
258 private void handleGetInheritedInstanceAttributes6aPostCondition()
259 {
260 }
261
262 private java.util.List __inheritedInstanceAttributes6a;
263 private boolean __inheritedInstanceAttributes6aSet = false;
264
265 public final java.util.List getInheritedInstanceAttributes()
266 {
267 java.util.List inheritedInstanceAttributes6a = this.__inheritedInstanceAttributes6a;
268 if (!this.__inheritedInstanceAttributes6aSet)
269 {
270 handleGetInheritedInstanceAttributes6aPreCondition();
271 inheritedInstanceAttributes6a = handleGetInheritedInstanceAttributes();
272 handleGetInheritedInstanceAttributes6aPostCondition();
273 this.__inheritedInstanceAttributes6a = inheritedInstanceAttributes6a;
274 if (isMetafacadePropertyCachingEnabled())
275 {
276 this.__inheritedInstanceAttributes6aSet = true;
277 }
278 }
279 return inheritedInstanceAttributes6a;
280 }
281
282 /***
283 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#getHomeInterfaceName()
284 */
285 protected abstract java.lang.String handleGetHomeInterfaceName();
286
287 private void handleGetHomeInterfaceName7aPreCondition()
288 {
289 }
290
291 private void handleGetHomeInterfaceName7aPostCondition()
292 {
293 }
294
295 private java.lang.String __homeInterfaceName7a;
296 private boolean __homeInterfaceName7aSet = false;
297
298 public final java.lang.String getHomeInterfaceName()
299 {
300 java.lang.String homeInterfaceName7a = this.__homeInterfaceName7a;
301 if (!this.__homeInterfaceName7aSet)
302 {
303 handleGetHomeInterfaceName7aPreCondition();
304 homeInterfaceName7a = handleGetHomeInterfaceName();
305 handleGetHomeInterfaceName7aPostCondition();
306 this.__homeInterfaceName7a = homeInterfaceName7a;
307 if (isMetafacadePropertyCachingEnabled())
308 {
309 this.__homeInterfaceName7aSet = true;
310 }
311 }
312 return homeInterfaceName7a;
313 }
314
315 /***
316 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#getValueDependencies()
317 */
318 protected abstract java.util.Collection handleGetValueDependencies();
319
320 private void handleGetValueDependencies8aPreCondition()
321 {
322 }
323
324 private void handleGetValueDependencies8aPostCondition()
325 {
326 }
327
328 private java.util.Collection __valueDependencies8a;
329 private boolean __valueDependencies8aSet = false;
330
331 public final java.util.Collection getValueDependencies()
332 {
333 java.util.Collection valueDependencies8a = this.__valueDependencies8a;
334 if (!this.__valueDependencies8aSet)
335 {
336 handleGetValueDependencies8aPreCondition();
337 valueDependencies8a = handleGetValueDependencies();
338 handleGetValueDependencies8aPostCondition();
339 this.__valueDependencies8a = valueDependencies8a;
340 if (isMetafacadePropertyCachingEnabled())
341 {
342 this.__valueDependencies8aSet = true;
343 }
344 }
345 return valueDependencies8a;
346 }
347
348 /***
349 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#getEntityRelations()
350 */
351 protected abstract java.util.Collection handleGetEntityRelations();
352
353 private void handleGetEntityRelations9aPreCondition()
354 {
355 }
356
357 private void handleGetEntityRelations9aPostCondition()
358 {
359 }
360
361 private java.util.Collection __entityRelations9a;
362 private boolean __entityRelations9aSet = false;
363
364 public final java.util.Collection getEntityRelations()
365 {
366 java.util.Collection entityRelations9a = this.__entityRelations9a;
367 if (!this.__entityRelations9aSet)
368 {
369 handleGetEntityRelations9aPreCondition();
370 entityRelations9a = handleGetEntityRelations();
371 handleGetEntityRelations9aPostCondition();
372 this.__entityRelations9a = entityRelations9a;
373 if (isMetafacadePropertyCachingEnabled())
374 {
375 this.__entityRelations9aSet = true;
376 }
377 }
378 return entityRelations9a;
379 }
380
381 /***
382 * @see org.andromda.cartridges.ejb.metafacades.EJBEntityFacade#getTransactionType()
383 */
384 protected abstract java.lang.String handleGetTransactionType();
385
386 private void handleGetTransactionType10aPreCondition()
387 {
388 }
389
390 private void handleGetTransactionType10aPostCondition()
391 {
392 }
393
394 private java.lang.String __transactionType10a;
395 private boolean __transactionType10aSet = false;
396
397 public final java.lang.String getTransactionType()
398 {
399 java.lang.String transactionType10a = this.__transactionType10a;
400 if (!this.__transactionType10aSet)
401 {
402 handleGetTransactionType10aPreCondition();
403 transactionType10a = handleGetTransactionType();
404 handleGetTransactionType10aPostCondition();
405 this.__transactionType10a = transactionType10a;
406 if (isMetafacadePropertyCachingEnabled())
407 {
408 this.__transactionType10aSet = true;
409 }
410 }
411 return transactionType10a;
412 }
413
414
415
416 protected abstract java.util.Collection handleGetCreateMethods(boolean follow);
417
418 private void handleGetCreateMethods1oPreCondition()
419 {
420 }
421
422 private void handleGetCreateMethods1oPostCondition()
423 {
424 }
425
426 public java.util.Collection getCreateMethods(boolean follow)
427 {
428 handleGetCreateMethods1oPreCondition();
429 java.util.Collection returnValue = handleGetCreateMethods(follow);
430 handleGetCreateMethods1oPostCondition();
431 return returnValue;
432 }
433
434 protected abstract java.util.Collection handleGetSelectMethods(boolean follow);
435
436 private void handleGetSelectMethods2oPreCondition()
437 {
438 }
439
440 private void handleGetSelectMethods2oPostCondition()
441 {
442 }
443
444 public java.util.Collection getSelectMethods(boolean follow)
445 {
446 handleGetSelectMethods2oPreCondition();
447 java.util.Collection returnValue = handleGetSelectMethods(follow);
448 handleGetSelectMethods2oPostCondition();
449 return returnValue;
450 }
451
452 protected abstract java.util.Collection handleGetEnvironmentEntries(boolean follow);
453
454 private void handleGetEnvironmentEntries3oPreCondition()
455 {
456 }
457
458 private void handleGetEnvironmentEntries3oPostCondition()
459 {
460 }
461
462 public java.util.Collection getEnvironmentEntries(boolean follow)
463 {
464 handleGetEnvironmentEntries3oPreCondition();
465 java.util.Collection returnValue = handleGetEnvironmentEntries(follow);
466 handleGetEnvironmentEntries3oPostCondition();
467 return returnValue;
468 }
469
470 protected abstract java.util.Collection handleGetConstants(boolean follow);
471
472 private void handleGetConstants4oPreCondition()
473 {
474 }
475
476 private void handleGetConstants4oPostCondition()
477 {
478 }
479
480 public java.util.Collection getConstants(boolean follow)
481 {
482 handleGetConstants4oPreCondition();
483 java.util.Collection returnValue = handleGetConstants(follow);
484 handleGetConstants4oPostCondition();
485 return returnValue;
486 }
487
488 protected abstract boolean handleIsOperationPresent(java.lang.String op);
489
490 private void handleIsOperationPresent5oPreCondition()
491 {
492 }
493
494 private void handleIsOperationPresent5oPostCondition()
495 {
496 }
497
498 public boolean isOperationPresent(java.lang.String op)
499 {
500 handleIsOperationPresent5oPreCondition();
501 boolean returnValue = handleIsOperationPresent(op);
502 handleIsOperationPresent5oPostCondition();
503 return returnValue;
504 }
505
506 protected abstract boolean handleIsAttributePresent(java.lang.String att);
507
508 private void handleIsAttributePresent6oPreCondition()
509 {
510 }
511
512 private void handleIsAttributePresent6oPostCondition()
513 {
514 }
515
516 public boolean isAttributePresent(java.lang.String att)
517 {
518 handleIsAttributePresent6oPreCondition();
519 boolean returnValue = handleIsAttributePresent(att);
520 handleIsAttributePresent6oPostCondition();
521 return returnValue;
522 }
523
524 protected abstract boolean handleIsIdentifierPresent(java.lang.String id);
525
526 private void handleIsIdentifierPresent7oPreCondition()
527 {
528 }
529
530 private void handleIsIdentifierPresent7oPostCondition()
531 {
532 }
533
534 public boolean isIdentifierPresent(java.lang.String id)
535 {
536 handleIsIdentifierPresent7oPreCondition();
537 boolean returnValue = handleIsIdentifierPresent(id);
538 handleIsIdentifierPresent7oPostCondition();
539 return returnValue;
540 }
541
542 protected abstract java.lang.String handleGetSqlType();
543
544 private void handleGetSqlType8oPreCondition()
545 {
546 }
547
548 private void handleGetSqlType8oPostCondition()
549 {
550 }
551
552 public java.lang.String getSqlType()
553 {
554 handleGetSqlType8oPreCondition();
555 java.lang.String returnValue = handleGetSqlType();
556 handleGetSqlType8oPostCondition();
557 return returnValue;
558 }
559
560 /***
561 * @see org.andromda.metafacades.uml.Entity
562 */
563 public boolean isEntityMetaType()
564 {
565 return true;
566 }
567
568 /***
569 * @see org.andromda.metafacades.uml.ClassifierFacade
570 */
571 public boolean isClassifierFacadeMetaType()
572 {
573 return true;
574 }
575
576 /***
577 * @see org.andromda.metafacades.uml.GeneralizableElementFacade
578 */
579 public boolean isGeneralizableElementFacadeMetaType()
580 {
581 return true;
582 }
583
584 /***
585 * @see org.andromda.metafacades.uml.ModelElementFacade
586 */
587 public boolean isModelElementFacadeMetaType()
588 {
589 return true;
590 }
591
592
593
594 public org.andromda.metafacades.uml.AttributeFacade findAttribute(java.lang.String name)
595 {
596 return this.getSuperEntity().findAttribute(name);
597 }
598
599
600 public java.util.Collection getAbstractions()
601 {
602 return this.getSuperEntity().getAbstractions();
603 }
604
605
606 public java.util.Collection getAllAssociatedClasses()
607 {
608 return this.getSuperEntity().getAllAssociatedClasses();
609 }
610
611
612 public java.util.Collection getAllProperties()
613 {
614 return this.getSuperEntity().getAllProperties();
615 }
616
617
618 public java.util.Collection getAllRequiredConstructorParameters()
619 {
620 return this.getSuperEntity().getAllRequiredConstructorParameters();
621 }
622
623
624 public org.andromda.metafacades.uml.ClassifierFacade getArray()
625 {
626 return this.getSuperEntity().getArray();
627 }
628
629
630 public java.lang.String getArrayName()
631 {
632 return this.getSuperEntity().getArrayName();
633 }
634
635
636 public java.util.Collection getAssociatedClasses()
637 {
638 return this.getSuperEntity().getAssociatedClasses();
639 }
640
641
642 public java.util.List getAssociationEnds()
643 {
644 return this.getSuperEntity().getAssociationEnds();
645 }
646
647
648 public java.util.Collection getAttributes(boolean follow)
649 {
650 return this.getSuperEntity().getAttributes(follow);
651 }
652
653
654 public java.util.Collection getAttributes()
655 {
656 return this.getSuperEntity().getAttributes();
657 }
658
659
660 public java.lang.String getFullyQualifiedArrayName()
661 {
662 return this.getSuperEntity().getFullyQualifiedArrayName();
663 }
664
665
666 public java.util.Collection getImplementationOperations()
667 {
668 return this.getSuperEntity().getImplementationOperations();
669 }
670
671
672 public java.lang.String getImplementedInterfaceList()
673 {
674 return this.getSuperEntity().getImplementedInterfaceList();
675 }
676
677
678 public java.util.Collection getInstanceAttributes()
679 {
680 return this.getSuperEntity().getInstanceAttributes();
681 }
682
683
684 public java.util.Collection getInstanceOperations()
685 {
686 return this.getSuperEntity().getInstanceOperations();
687 }
688
689
690 public java.util.Collection getInterfaceAbstractions()
691 {
692 return this.getSuperEntity().getInterfaceAbstractions();
693 }
694
695
696 public java.lang.String getJavaNullString()
697 {
698 return this.getSuperEntity().getJavaNullString();
699 }
700
701
702 public java.util.Collection getNavigableConnectingEnds()
703 {
704 return this.getSuperEntity().getNavigableConnectingEnds();
705 }
706
707
708 public java.util.Collection getNavigableConnectingEnds(boolean follow)
709 {
710 return this.getSuperEntity().getNavigableConnectingEnds(follow);
711 }
712
713
714 public org.andromda.metafacades.uml.ClassifierFacade getNonArray()
715 {
716 return this.getSuperEntity().getNonArray();
717 }
718
719
720 public java.lang.String getOperationCallFromAttributes()
721 {
722 return this.getSuperEntity().getOperationCallFromAttributes();
723 }
724
725
726 public java.util.Collection getOperations()
727 {
728 return this.getSuperEntity().getOperations();
729 }
730
731
732 public java.util.Collection getProperties(boolean follow)
733 {
734 return this.getSuperEntity().getProperties(follow);
735 }
736
737
738 public java.util.Collection getProperties()
739 {
740 return this.getSuperEntity().getProperties();
741 }
742
743
744 public java.util.Collection getRequiredConstructorParameters()
745 {
746 return this.getSuperEntity().getRequiredConstructorParameters();
747 }
748
749
750 public java.lang.Long getSerialVersionUID()
751 {
752 return this.getSuperEntity().getSerialVersionUID();
753 }
754
755
756 public java.util.Collection getStaticAttributes()
757 {
758 return this.getSuperEntity().getStaticAttributes();
759 }
760
761
762 public java.util.Collection getStaticOperations()
763 {
764 return this.getSuperEntity().getStaticOperations();
765 }
766
767
768 public org.andromda.metafacades.uml.ClassifierFacade getSuperClass()
769 {
770 return this.getSuperEntity().getSuperClass();
771 }
772
773
774 public java.lang.String getWrapperName()
775 {
776 return this.getSuperEntity().getWrapperName();
777 }
778
779
780 public boolean isAbstract()
781 {
782 return this.getSuperEntity().isAbstract();
783 }
784
785
786 public boolean isArrayType()
787 {
788 return this.getSuperEntity().isArrayType();
789 }
790
791
792 public boolean isAssociationClass()
793 {
794 return this.getSuperEntity().isAssociationClass();
795 }
796
797
798 public boolean isBlobType()
799 {
800 return this.getSuperEntity().isBlobType();
801 }
802
803
804 public boolean isBooleanType()
805 {
806 return this.getSuperEntity().isBooleanType();
807 }
808
809
810 public boolean isClobType()
811 {
812 return this.getSuperEntity().isClobType();
813 }
814
815
816 public boolean isCollectionType()
817 {
818 return this.getSuperEntity().isCollectionType();
819 }
820
821
822 public boolean isDataType()
823 {
824 return this.getSuperEntity().isDataType();
825 }
826
827
828 public boolean isDateType()
829 {
830 return this.getSuperEntity().isDateType();
831 }
832
833
834 public boolean isEnumeration()
835 {
836 return this.getSuperEntity().isEnumeration();
837 }
838
839
840 public boolean isFileType()
841 {
842 return this.getSuperEntity().isFileType();
843 }
844
845
846 public boolean isInterface()
847 {
848 return this.getSuperEntity().isInterface();
849 }
850
851
852 public boolean isLeaf()
853 {
854 return this.getSuperEntity().isLeaf();
855 }
856
857
858 public boolean isListType()
859 {
860 return this.getSuperEntity().isListType();
861 }
862
863
864 public boolean isMapType()
865 {
866 return this.getSuperEntity().isMapType();
867 }
868
869
870 public boolean isPrimitive()
871 {
872 return this.getSuperEntity().isPrimitive();
873 }
874
875
876 public boolean isSetType()
877 {
878 return this.getSuperEntity().isSetType();
879 }
880
881
882 public boolean isStringType()
883 {
884 return this.getSuperEntity().isStringType();
885 }
886
887
888 public boolean isTimeType()
889 {
890 return this.getSuperEntity().isTimeType();
891 }
892
893
894 public java.lang.String getAttributeNameList(boolean follow, boolean withIdentifiers)
895 {
896 return this.getSuperEntity().getAttributeNameList(follow, withIdentifiers);
897 }
898
899
900 public java.lang.String getAttributeTypeList(boolean follow, boolean withIdentifiers)
901 {
902 return this.getSuperEntity().getAttributeTypeList(follow, withIdentifiers);
903 }
904
905
906 public java.util.Collection getAttributes(boolean follow, boolean withIdentifiers)
907 {
908 return this.getSuperEntity().getAttributes(follow, withIdentifiers);
909 }
910
911
912 public java.util.Collection getBusinessOperations()
913 {
914 return this.getSuperEntity().getBusinessOperations();
915 }
916
917
918 public java.util.Collection getChildEnds()
919 {
920 return this.getSuperEntity().getChildEnds();
921 }
922
923
924 public java.util.Collection getEntityReferences()
925 {
926 return this.getSuperEntity().getEntityReferences();
927 }
928
929
930 public java.util.Collection getIdentifierAssociationEnds()
931 {
932 return this.getSuperEntity().getIdentifierAssociationEnds();
933 }
934
935
936 public java.util.Collection getIdentifiers()
937 {
938 return this.getSuperEntity().getIdentifiers();
939 }
940
941
942 public java.util.Collection getIdentifiers(boolean follow)
943 {
944 return this.getSuperEntity().getIdentifiers(follow);
945 }
946
947
948 public java.lang.Short getMaxSqlNameLength()
949 {
950 return this.getSuperEntity().getMaxSqlNameLength();
951 }
952
953
954 public java.lang.String getOperationCallFromAttributes(boolean withIdentifiers, boolean follow)
955 {
956 return this.getSuperEntity().getOperationCallFromAttributes(withIdentifiers, follow);
957 }
958
959
960 public java.lang.String getOperationCallFromAttributes(boolean withIdentifiers)
961 {
962 return this.getSuperEntity().getOperationCallFromAttributes(withIdentifiers);
963 }
964
965
966 public org.andromda.metafacades.uml.EntityAssociationEnd getParentEnd()
967 {
968 return this.getSuperEntity().getParentEnd();
969 }
970
971
972 public java.util.Collection getProperties(boolean follow, boolean withIdentifiers)
973 {
974 return this.getSuperEntity().getProperties(follow, withIdentifiers);
975 }
976
977
978 public java.util.Collection getQueryOperations()
979 {
980 return this.getSuperEntity().getQueryOperations();
981 }
982
983
984 public java.util.Collection getQueryOperations(boolean follow)
985 {
986 return this.getSuperEntity().getQueryOperations(follow);
987 }
988
989
990 public java.lang.String getRequiredAttributeNameList(boolean follow, boolean withIdentifiers)
991 {
992 return this.getSuperEntity().getRequiredAttributeNameList(follow, withIdentifiers);
993 }
994
995
996 public java.lang.String getRequiredAttributeTypeList(boolean follow, boolean withIdentifiers)
997 {
998 return this.getSuperEntity().getRequiredAttributeTypeList(follow, withIdentifiers);
999 }
1000
1001
1002 public java.util.Collection getRequiredAttributes(boolean follow, boolean withIdentifiers)
1003 {
1004 return this.getSuperEntity().getRequiredAttributes(follow, withIdentifiers);
1005 }
1006
1007
1008 public java.util.Collection getRequiredProperties(boolean follow, boolean withIdentifiers)
1009 {
1010 return this.getSuperEntity().getRequiredProperties(follow, withIdentifiers);
1011 }
1012
1013
1014 public java.lang.String getRequiredPropertyNameList(boolean follow, boolean withIdentifiers)
1015 {
1016 return this.getSuperEntity().getRequiredPropertyNameList(follow, withIdentifiers);
1017 }
1018
1019
1020 public java.lang.String getRequiredPropertyTypeList(boolean follow, boolean withIdentifiers)
1021 {
1022 return this.getSuperEntity().getRequiredPropertyTypeList(follow, withIdentifiers);
1023 }
1024
1025
1026 public java.lang.String getSchema()
1027 {
1028 return this.getSuperEntity().getSchema();
1029 }
1030
1031
1032 public java.lang.String getTableName()
1033 {
1034 return this.getSuperEntity().getTableName();
1035 }
1036
1037
1038 public boolean isChild()
1039 {
1040 return this.getSuperEntity().isChild();
1041 }
1042
1043
1044 public boolean isCompositeIdentifier()
1045 {
1046 return this.getSuperEntity().isCompositeIdentifier();
1047 }
1048
1049
1050 public boolean isDynamicIdentifiersPresent()
1051 {
1052 return this.getSuperEntity().isDynamicIdentifiersPresent();
1053 }
1054
1055
1056 public boolean isIdentifiersPresent()
1057 {
1058 return this.getSuperEntity().isIdentifiersPresent();
1059 }
1060
1061
1062 public boolean isUsingAssignedIdentifier()
1063 {
1064 return this.getSuperEntity().isUsingAssignedIdentifier();
1065 }
1066
1067
1068 public boolean isUsingForeignIdentifier()
1069 {
1070 return this.getSuperEntity().isUsingForeignIdentifier();
1071 }
1072
1073
1074 public java.lang.Object findTaggedValue(java.lang.String tagName, boolean follow)
1075 {
1076 return this.getSuperEntity().findTaggedValue(tagName, follow);
1077 }
1078
1079
1080 public java.util.Collection getAllGeneralizations()
1081 {
1082 return this.getSuperEntity().getAllGeneralizations();
1083 }
1084
1085
1086 public java.util.Collection getAllSpecializations()
1087 {
1088 return this.getSuperEntity().getAllSpecializations();
1089 }
1090
1091
1092 public org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralization()
1093 {
1094 return this.getSuperEntity().getGeneralization();
1095 }
1096
1097
1098 public java.util.Collection getGeneralizationLinks()
1099 {
1100 return this.getSuperEntity().getGeneralizationLinks();
1101 }
1102
1103
1104 public java.lang.String getGeneralizationList()
1105 {
1106 return this.getSuperEntity().getGeneralizationList();
1107 }
1108
1109
1110 public org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralizationRoot()
1111 {
1112 return this.getSuperEntity().getGeneralizationRoot();
1113 }
1114
1115
1116 public java.util.Collection getGeneralizations()
1117 {
1118 return this.getSuperEntity().getGeneralizations();
1119 }
1120
1121
1122 public java.util.Collection getSpecializations()
1123 {
1124 return this.getSuperEntity().getSpecializations();
1125 }
1126
1127
1128 public void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
1129 {
1130 this.getSuperEntity().copyTaggedValues(element);
1131 }
1132
1133
1134 public java.lang.Object findTaggedValue(java.lang.String tagName)
1135 {
1136 return this.getSuperEntity().findTaggedValue(tagName);
1137 }
1138
1139
1140 public java.util.Collection findTaggedValues(java.lang.String tagName)
1141 {
1142 return this.getSuperEntity().findTaggedValues(tagName);
1143 }
1144
1145
1146 public java.util.Collection getConstraints(java.lang.String kind)
1147 {
1148 return this.getSuperEntity().getConstraints(kind);
1149 }
1150
1151
1152 public java.util.Collection getConstraints()
1153 {
1154 return this.getSuperEntity().getConstraints();
1155 }
1156
1157
1158 public java.lang.String getDocumentation(java.lang.String indent, int lineLength)
1159 {
1160 return this.getSuperEntity().getDocumentation(indent, lineLength);
1161 }
1162
1163
1164 public java.lang.String getDocumentation(java.lang.String indent, int lineLength, boolean htmlStyle)
1165 {
1166 return this.getSuperEntity().getDocumentation(indent, lineLength, htmlStyle);
1167 }
1168
1169
1170 public java.lang.String getDocumentation(java.lang.String indent)
1171 {
1172 return this.getSuperEntity().getDocumentation(indent);
1173 }
1174
1175
1176 public java.lang.String getFullyQualifiedName(boolean modelName)
1177 {
1178 return this.getSuperEntity().getFullyQualifiedName(modelName);
1179 }
1180
1181
1182 public java.lang.String getFullyQualifiedName()
1183 {
1184 return this.getSuperEntity().getFullyQualifiedName();
1185 }
1186
1187
1188 public java.lang.String getFullyQualifiedNamePath()
1189 {
1190 return this.getSuperEntity().getFullyQualifiedNamePath();
1191 }
1192
1193
1194 public java.lang.String getId()
1195 {
1196 return this.getSuperEntity().getId();
1197 }
1198
1199
1200 public org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
1201 {
1202 return this.getSuperEntity().getLanguageMappings();
1203 }
1204
1205
1206 public org.andromda.metafacades.uml.ModelFacade getModel()
1207 {
1208 return this.getSuperEntity().getModel();
1209 }
1210
1211
1212 public java.lang.String getName()
1213 {
1214 return this.getSuperEntity().getName();
1215 }
1216
1217
1218 public org.andromda.metafacades.uml.ModelElementFacade getPackage()
1219 {
1220 return this.getSuperEntity().getPackage();
1221 }
1222
1223
1224 public java.lang.String getPackageName()
1225 {
1226 return this.getSuperEntity().getPackageName();
1227 }
1228
1229
1230 public java.lang.String getPackageName(boolean modelName)
1231 {
1232 return this.getSuperEntity().getPackageName(modelName);
1233 }
1234
1235
1236 public java.lang.String getPackagePath()
1237 {
1238 return this.getSuperEntity().getPackagePath();
1239 }
1240
1241
1242 public org.andromda.metafacades.uml.PackageFacade getRootPackage()
1243 {
1244 return this.getSuperEntity().getRootPackage();
1245 }
1246
1247
1248 public java.util.Collection getSourceDependencies()
1249 {
1250 return this.getSuperEntity().getSourceDependencies();
1251 }
1252
1253
1254 public org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
1255 {
1256 return this.getSuperEntity().getStateMachineContext();
1257 }
1258
1259
1260 public java.util.Collection getStereotypeNames()
1261 {
1262 return this.getSuperEntity().getStereotypeNames();
1263 }
1264
1265
1266 public java.util.Collection getStereotypes()
1267 {
1268 return this.getSuperEntity().getStereotypes();
1269 }
1270
1271
1272 public java.util.Collection getTaggedValues()
1273 {
1274 return this.getSuperEntity().getTaggedValues();
1275 }
1276
1277
1278 public java.util.Collection getTargetDependencies()
1279 {
1280 return this.getSuperEntity().getTargetDependencies();
1281 }
1282
1283
1284 public java.lang.Object getTemplateParameter(java.lang.String parameterName)
1285 {
1286 return this.getSuperEntity().getTemplateParameter(parameterName);
1287 }
1288
1289
1290 public java.util.Collection getTemplateParameters()
1291 {
1292 return this.getSuperEntity().getTemplateParameters();
1293 }
1294
1295
1296 public java.lang.String getVisibility()
1297 {
1298 return this.getSuperEntity().getVisibility();
1299 }
1300
1301
1302 public boolean hasExactStereotype(java.lang.String stereotypeName)
1303 {
1304 return this.getSuperEntity().hasExactStereotype(stereotypeName);
1305 }
1306
1307
1308 public boolean hasStereotype(java.lang.String stereotypeName)
1309 {
1310 return this.getSuperEntity().hasStereotype(stereotypeName);
1311 }
1312
1313
1314 public boolean isBindingDependenciesPresent()
1315 {
1316 return this.getSuperEntity().isBindingDependenciesPresent();
1317 }
1318
1319
1320 public boolean isConstraintsPresent()
1321 {
1322 return this.getSuperEntity().isConstraintsPresent();
1323 }
1324
1325
1326 public boolean isTemplateParametersPresent()
1327 {
1328 return this.getSuperEntity().isTemplateParametersPresent();
1329 }
1330
1331
1332 public java.lang.String translateConstraint(java.lang.String name, java.lang.String translation)
1333 {
1334 return this.getSuperEntity().translateConstraint(name, translation);
1335 }
1336
1337
1338 public java.lang.String[] translateConstraints(java.lang.String translation)
1339 {
1340 return this.getSuperEntity().translateConstraints(translation);
1341 }
1342
1343
1344 public java.lang.String[] translateConstraints(java.lang.String kind, java.lang.String translation)
1345 {
1346 return this.getSuperEntity().translateConstraints(kind, translation);
1347 }
1348
1349 /***
1350 * @see org.andromda.core.metafacade.MetafacadeBase#initialize()
1351 */
1352 public void initialize()
1353 {
1354 this.getSuperEntity().initialize();
1355 }
1356
1357 /***
1358 * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner()
1359 */
1360 public Object getValidationOwner()
1361 {
1362 Object owner = this.getSuperEntity().getValidationOwner();
1363 return owner;
1364 }
1365
1366 /***
1367 * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName()
1368 */
1369 public String getValidationName()
1370 {
1371 String name = this.getSuperEntity().getValidationName();
1372 return name;
1373 }
1374
1375 /***
1376 * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(java.util.Collection)
1377 */
1378 public void validateInvariants(java.util.Collection validationMessages)
1379 {
1380 this.getSuperEntity().validateInvariants(validationMessages);
1381 }
1382
1383 /***
1384 * The property that stores the name of the metafacade.
1385 */
1386 private static final String NAME_PROPERTY = "name";
1387
1388 /***
1389 * @see java.lang.Object#toString()
1390 */
1391 public String toString()
1392 {
1393 final StringBuffer toString = new StringBuffer(this.getClass().getName());
1394 toString.append("[");
1395 try
1396 {
1397 toString.append(org.andromda.core.common.Introspector.instance().getProperty(this, NAME_PROPERTY));
1398 }
1399 catch (final Throwable throwable)
1400 {
1401
1402 }
1403 toString.append("]");
1404 return toString.toString();
1405 }
1406 }