diff options
author | Kenn Hussey | 2011-12-02 03:36:29 +0000 |
---|---|---|
committer | Kenn Hussey | 2011-12-02 03:36:29 +0000 |
commit | 1e26bdcda66fbffe854e8fc1fa8f31582129f3d8 (patch) | |
tree | 7da480dcf99d252d29ecef1346ee4f27523539d9 | |
parent | f355263b4b42a329176c536fa080c79f825f23d7 (diff) | |
download | org.eclipse.uml2.test-1e26bdcda66fbffe854e8fc1fa8f31582129f3d8.tar.gz org.eclipse.uml2.test-1e26bdcda66fbffe854e8fc1fa8f31582129f3d8.tar.xz org.eclipse.uml2.test-1e26bdcda66fbffe854e8fc1fa8f31582129f3d8.zip |
[365386] Ensuring convenience methods aren't generated for features with
suppressed visibility.
2 files changed, 5561 insertions, 5503 deletions
diff --git a/plugins/org.eclipse.uml2.codegen.ecore/src/org/eclipse/uml2/codegen/ecore/templates/model/Class.java b/plugins/org.eclipse.uml2.codegen.ecore/src/org/eclipse/uml2/codegen/ecore/templates/model/Class.java index 25a21e06..99d51943 100644 --- a/plugins/org.eclipse.uml2.codegen.ecore/src/org/eclipse/uml2/codegen/ecore/templates/model/Class.java +++ b/plugins/org.eclipse.uml2.codegen.ecore/src/org/eclipse/uml2/codegen/ecore/templates/model/Class.java @@ -530,2809 +530,2813 @@ public class Class protected final String TEXT_511 = ";"; protected final String TEXT_512 = NL + "\t\t"; protected final String TEXT_513 = NL + "\t\t"; - protected final String TEXT_514 = " cache = getCacheAdapter();" + NL + "\t\tif (cache != null)" + NL + "\t\t{"; - protected final String TEXT_515 = NL + "\t\t\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_516 = NL + "\t\t\t"; - protected final String TEXT_517 = " result = ("; - protected final String TEXT_518 = ") cache.get("; - protected final String TEXT_519 = "eResource(), "; - protected final String TEXT_520 = "this, "; - protected final String TEXT_521 = ");" + NL + "\t\t\tif (result == null)" + NL + "\t\t\t{" + NL + "\t\t\t\tcache.put("; - protected final String TEXT_522 = "eResource(), "; - protected final String TEXT_523 = "this, "; - protected final String TEXT_524 = ", result = "; - protected final String TEXT_525 = "new "; - protected final String TEXT_526 = "("; - protected final String TEXT_527 = "."; - protected final String TEXT_528 = "(this)"; - protected final String TEXT_529 = ")"; - protected final String TEXT_530 = ");" + NL + "\t\t\t}" + NL + "\t\t\treturn result"; - protected final String TEXT_531 = "."; - protected final String TEXT_532 = "()"; - protected final String TEXT_533 = ";" + NL + "\t\t}"; - protected final String TEXT_534 = NL + "\t\treturn "; - protected final String TEXT_535 = "."; - protected final String TEXT_536 = "(this);"; - protected final String TEXT_537 = NL + "\t\t"; - protected final String TEXT_538 = " cache = getCacheAdapter();" + NL + "\t\tif (cache != null) {" + NL + "\t\t\t"; - protected final String TEXT_539 = " eResource = eResource();"; - protected final String TEXT_540 = NL + "\t\t\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_541 = NL + "\t\t\t"; - protected final String TEXT_542 = " "; - protected final String TEXT_543 = " = ("; - protected final String TEXT_544 = ") cache.get(eResource, this, "; - protected final String TEXT_545 = ");" + NL + "\t\t\tif ("; - protected final String TEXT_546 = " == null)" + NL + "\t\t\t{" + NL + "\t\t\t\tcache.put(eResource, this, "; - protected final String TEXT_547 = ", "; - protected final String TEXT_548 = " = new "; - protected final String TEXT_549 = ");" + NL + "\t\t\t}" + NL + "\t\t\treturn "; - protected final String TEXT_550 = ";" + NL + "\t\t}"; - protected final String TEXT_551 = NL + "\t\treturn new "; - protected final String TEXT_552 = ";"; - protected final String TEXT_553 = NL + "\t\t"; - protected final String TEXT_554 = " cache = getCacheAdapter();" + NL + "\t\tif (cache != null) {"; - protected final String TEXT_555 = NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_556 = " method = getClass().getMethod(\""; - protected final String TEXT_557 = "\", null);"; - protected final String TEXT_558 = NL + "\t\t\t\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_559 = NL + "\t\t\t\t"; - protected final String TEXT_560 = " "; - protected final String TEXT_561 = " = ("; - protected final String TEXT_562 = ") cache.get(eResource(), this, method);" + NL + "\t\t\t\tif ("; - protected final String TEXT_563 = " == null)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; - protected final String TEXT_564 = " union = "; - protected final String TEXT_565 = "Helper(new "; - protected final String TEXT_566 = ".FastCompare());" + NL + "\t\t\t\t\tcache.put(eResource(), this, method, "; - protected final String TEXT_567 = " = new "; - protected final String TEXT_568 = "(this, "; - protected final String TEXT_569 = "null"; - protected final String TEXT_570 = ", union.size(), union.toArray()));" + NL + "\t\t\t\t}" + NL + "\t\t\t\treturn "; - protected final String TEXT_571 = ";" + NL + "\t\t\t}" + NL + "\t\t\tcatch ("; - protected final String TEXT_572 = " nsme)" + NL + "\t\t\t{" + NL + "\t\t\t\t// ignore" + NL + "\t\t\t}"; - protected final String TEXT_573 = NL + "\t\t\t\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_574 = NL + "\t\t\t"; - protected final String TEXT_575 = " "; - protected final String TEXT_576 = " = ("; - protected final String TEXT_577 = ") cache.get(eResource(), this, "; - protected final String TEXT_578 = ");" + NL + "\t\t\tif ("; - protected final String TEXT_579 = " == null)" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_580 = " union = "; - protected final String TEXT_581 = "Helper(new "; - protected final String TEXT_582 = ".FastCompare());" + NL + "\t\t\t\tcache.put(eResource(), this, "; - protected final String TEXT_583 = ", "; - protected final String TEXT_584 = " = new "; - protected final String TEXT_585 = "(this, "; - protected final String TEXT_586 = "null"; - protected final String TEXT_587 = ", union.size(), union.toArray()));" + NL + "\t\t\t}" + NL + "\t\t\treturn "; - protected final String TEXT_588 = ";"; - protected final String TEXT_589 = NL + "\t\t}"; - protected final String TEXT_590 = NL + "\t\t"; - protected final String TEXT_591 = " union = "; - protected final String TEXT_592 = "Helper(new "; - protected final String TEXT_593 = ".FastCompare());" + NL + "\t\treturn new "; - protected final String TEXT_594 = "(this, "; - protected final String TEXT_595 = "null"; - protected final String TEXT_596 = ", union.size(), union.toArray());"; - protected final String TEXT_597 = NL + "\t\tif (isSet"; - protected final String TEXT_598 = "())" + NL + "\t\t{" + NL + "\t\t\treturn "; - protected final String TEXT_599 = "();" + NL + "\t\t}"; - protected final String TEXT_600 = NL + "\t\tif (eIsSet("; - protected final String TEXT_601 = "))" + NL + "\t\t{" + NL + "\t\t\treturn "; - protected final String TEXT_602 = "();" + NL + "\t\t}"; - protected final String TEXT_603 = NL + "\t\t"; - protected final String TEXT_604 = " "; - protected final String TEXT_605 = " = "; - protected final String TEXT_606 = "();" + NL + "\t\tif ("; - protected final String TEXT_607 = " != null)" + NL + "\t\t{" + NL + "\t\t\treturn "; - protected final String TEXT_608 = ";" + NL + "\t\t}"; - protected final String TEXT_609 = NL + "\t\treturn "; - protected final String TEXT_610 = "super."; - protected final String TEXT_611 = "()"; - protected final String TEXT_612 = "null"; - protected final String TEXT_613 = ";"; - protected final String TEXT_614 = NL + "\t\t// TODO: implement this method to return the '"; - protected final String TEXT_615 = "' "; - protected final String TEXT_616 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_617 = NL + "\t}" + NL; - protected final String TEXT_618 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_619 = NL + "\t@Override"; - protected final String TEXT_620 = NL + "\tpublic "; - protected final String TEXT_621 = " basicGet"; - protected final String TEXT_622 = "()" + NL + "\t{"; - protected final String TEXT_623 = NL + "\t\treturn ("; - protected final String TEXT_624 = ")eDynamicGet("; - protected final String TEXT_625 = ", "; - protected final String TEXT_626 = ", false, "; - protected final String TEXT_627 = ");"; - protected final String TEXT_628 = NL + "\t\treturn "; - protected final String TEXT_629 = "("; + protected final String TEXT_514 = NL + "\t\t"; + protected final String TEXT_515 = " cache = getCacheAdapter();" + NL + "\t\tif (cache != null)" + NL + "\t\t{"; + protected final String TEXT_516 = NL + "\t\t\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_517 = NL + "\t\t\t"; + protected final String TEXT_518 = " result = ("; + protected final String TEXT_519 = ") cache.get("; + protected final String TEXT_520 = "eResource(), "; + protected final String TEXT_521 = "this, "; + protected final String TEXT_522 = ");" + NL + "\t\t\tif (result == null)" + NL + "\t\t\t{" + NL + "\t\t\t\tcache.put("; + protected final String TEXT_523 = "eResource(), "; + protected final String TEXT_524 = "this, "; + protected final String TEXT_525 = ", result = "; + protected final String TEXT_526 = "new "; + protected final String TEXT_527 = "("; + protected final String TEXT_528 = "."; + protected final String TEXT_529 = "(this)"; + protected final String TEXT_530 = ")"; + protected final String TEXT_531 = ");" + NL + "\t\t\t}" + NL + "\t\t\treturn result"; + protected final String TEXT_532 = "."; + protected final String TEXT_533 = "()"; + protected final String TEXT_534 = ";" + NL + "\t\t}"; + protected final String TEXT_535 = NL + "\t\treturn "; + protected final String TEXT_536 = "."; + protected final String TEXT_537 = "(this);"; + protected final String TEXT_538 = NL + "\t\t"; + protected final String TEXT_539 = " cache = getCacheAdapter();" + NL + "\t\tif (cache != null) {" + NL + "\t\t\t"; + protected final String TEXT_540 = " eResource = eResource();"; + protected final String TEXT_541 = NL + "\t\t\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_542 = NL + "\t\t\t"; + protected final String TEXT_543 = " "; + protected final String TEXT_544 = " = ("; + protected final String TEXT_545 = ") cache.get(eResource, this, "; + protected final String TEXT_546 = ");" + NL + "\t\t\tif ("; + protected final String TEXT_547 = " == null)" + NL + "\t\t\t{" + NL + "\t\t\t\tcache.put(eResource, this, "; + protected final String TEXT_548 = ", "; + protected final String TEXT_549 = " = new "; + protected final String TEXT_550 = ");" + NL + "\t\t\t}" + NL + "\t\t\treturn "; + protected final String TEXT_551 = ";" + NL + "\t\t}"; + protected final String TEXT_552 = NL + "\t\treturn new "; + protected final String TEXT_553 = ";"; + protected final String TEXT_554 = NL + "\t\t"; + protected final String TEXT_555 = " cache = getCacheAdapter();" + NL + "\t\tif (cache != null) {"; + protected final String TEXT_556 = NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_557 = " method = getClass().getMethod(\""; + protected final String TEXT_558 = "\", null);"; + protected final String TEXT_559 = NL + "\t\t\t\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_560 = NL + "\t\t\t\t"; + protected final String TEXT_561 = " "; + protected final String TEXT_562 = " = ("; + protected final String TEXT_563 = ") cache.get(eResource(), this, method);" + NL + "\t\t\t\tif ("; + protected final String TEXT_564 = " == null)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; + protected final String TEXT_565 = " union = "; + protected final String TEXT_566 = "Helper(new "; + protected final String TEXT_567 = ".FastCompare());" + NL + "\t\t\t\t\tcache.put(eResource(), this, method, "; + protected final String TEXT_568 = " = new "; + protected final String TEXT_569 = "(this, "; + protected final String TEXT_570 = "null"; + protected final String TEXT_571 = ", union.size(), union.toArray()));" + NL + "\t\t\t\t}" + NL + "\t\t\t\treturn "; + protected final String TEXT_572 = ";" + NL + "\t\t\t}" + NL + "\t\t\tcatch ("; + protected final String TEXT_573 = " nsme)" + NL + "\t\t\t{" + NL + "\t\t\t\t// ignore" + NL + "\t\t\t}"; + protected final String TEXT_574 = NL + "\t\t\t\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_575 = NL + "\t\t\t"; + protected final String TEXT_576 = " "; + protected final String TEXT_577 = " = ("; + protected final String TEXT_578 = ") cache.get(eResource(), this, "; + protected final String TEXT_579 = ");" + NL + "\t\t\tif ("; + protected final String TEXT_580 = " == null)" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_581 = " union = "; + protected final String TEXT_582 = "Helper(new "; + protected final String TEXT_583 = ".FastCompare());" + NL + "\t\t\t\tcache.put(eResource(), this, "; + protected final String TEXT_584 = ", "; + protected final String TEXT_585 = " = new "; + protected final String TEXT_586 = "(this, "; + protected final String TEXT_587 = "null"; + protected final String TEXT_588 = ", union.size(), union.toArray()));" + NL + "\t\t\t}" + NL + "\t\t\treturn "; + protected final String TEXT_589 = ";"; + protected final String TEXT_590 = NL + "\t\t}"; + protected final String TEXT_591 = NL + "\t\t"; + protected final String TEXT_592 = " union = "; + protected final String TEXT_593 = "Helper(new "; + protected final String TEXT_594 = ".FastCompare());" + NL + "\t\treturn new "; + protected final String TEXT_595 = "(this, "; + protected final String TEXT_596 = "null"; + protected final String TEXT_597 = ", union.size(), union.toArray());"; + protected final String TEXT_598 = NL + "\t\tif (isSet"; + protected final String TEXT_599 = "())" + NL + "\t\t{" + NL + "\t\t\treturn "; + protected final String TEXT_600 = "();" + NL + "\t\t}"; + protected final String TEXT_601 = NL + "\t\tif (eIsSet("; + protected final String TEXT_602 = "))" + NL + "\t\t{" + NL + "\t\t\treturn "; + protected final String TEXT_603 = "();" + NL + "\t\t}"; + protected final String TEXT_604 = NL + "\t\t"; + protected final String TEXT_605 = " "; + protected final String TEXT_606 = " = "; + protected final String TEXT_607 = "();" + NL + "\t\tif ("; + protected final String TEXT_608 = " != null)" + NL + "\t\t{" + NL + "\t\t\treturn "; + protected final String TEXT_609 = ";" + NL + "\t\t}"; + protected final String TEXT_610 = NL + "\t\treturn "; + protected final String TEXT_611 = "super."; + protected final String TEXT_612 = "()"; + protected final String TEXT_613 = "null"; + protected final String TEXT_614 = ";"; + protected final String TEXT_615 = NL + "\t\t// TODO: implement this method to return the '"; + protected final String TEXT_616 = "' "; + protected final String TEXT_617 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_618 = NL + "\t}" + NL; + protected final String TEXT_619 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_620 = NL + "\t@Override"; + protected final String TEXT_621 = NL + "\tpublic "; + protected final String TEXT_622 = " basicGet"; + protected final String TEXT_623 = "()" + NL + "\t{"; + protected final String TEXT_624 = NL + "\t\treturn ("; + protected final String TEXT_625 = ")eDynamicGet("; + protected final String TEXT_626 = ", "; + protected final String TEXT_627 = ", false, "; + protected final String TEXT_628 = ");"; + protected final String TEXT_629 = NL + "\t\treturn "; protected final String TEXT_630 = "("; - protected final String TEXT_631 = ")"; - protected final String TEXT_632 = "__ESETTING_DELEGATE.dynamicGet(this, null, 0, false, false)"; - protected final String TEXT_633 = ")."; - protected final String TEXT_634 = "()"; - protected final String TEXT_635 = ";"; - protected final String TEXT_636 = NL + "\t\tif (eContainerFeatureID() != "; - protected final String TEXT_637 = ") return null;" + NL + "\t\treturn ("; - protected final String TEXT_638 = ")eInternalContainer();"; - protected final String TEXT_639 = NL + "\t\treturn ("; - protected final String TEXT_640 = ")eVirtualGet("; - protected final String TEXT_641 = ");"; - protected final String TEXT_642 = NL + "\t\treturn "; - protected final String TEXT_643 = ";"; - protected final String TEXT_644 = NL + "\t\treturn ("; - protected final String TEXT_645 = ")(("; - protected final String TEXT_646 = ".Internal.Wrapper)get"; - protected final String TEXT_647 = "()).featureMap().get("; - protected final String TEXT_648 = ", false);"; - protected final String TEXT_649 = NL + "\t\treturn ("; - protected final String TEXT_650 = ")get"; - protected final String TEXT_651 = "().get("; - protected final String TEXT_652 = ", false);"; - protected final String TEXT_653 = NL + "\t\treturn "; - protected final String TEXT_654 = "."; - protected final String TEXT_655 = "(this);"; - protected final String TEXT_656 = NL + "\t\tif (isSet"; - protected final String TEXT_657 = "())" + NL + "\t\t{" + NL + "\t\t\treturn "; - protected final String TEXT_658 = "basicGet"; - protected final String TEXT_659 = "();" + NL + "\t\t}"; - protected final String TEXT_660 = NL + "\t\tif (eIsSet("; - protected final String TEXT_661 = "))" + NL + "\t\t{" + NL + "\t\t\treturn "; - protected final String TEXT_662 = "basicGet"; - protected final String TEXT_663 = "();" + NL + "\t\t}"; - protected final String TEXT_664 = NL + "\t\t"; - protected final String TEXT_665 = " "; - protected final String TEXT_666 = " = "; - protected final String TEXT_667 = "basicGet"; - protected final String TEXT_668 = "();\t\t\t" + NL + "\t\tif ("; - protected final String TEXT_669 = " != null)" + NL + "\t\t{" + NL + "\t\t\treturn "; - protected final String TEXT_670 = ";" + NL + "\t\t}"; - protected final String TEXT_671 = NL + "\t\treturn "; - protected final String TEXT_672 = "super.basicGet"; - protected final String TEXT_673 = "()"; - protected final String TEXT_674 = "null"; - protected final String TEXT_675 = ";"; - protected final String TEXT_676 = NL + "\t\t// TODO: implement this method to return the '"; - protected final String TEXT_677 = "' "; - protected final String TEXT_678 = NL + "\t\t// -> do not perform proxy resolution" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_679 = NL + "\t}" + NL; - protected final String TEXT_680 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_681 = NL + "\t@Override"; - protected final String TEXT_682 = NL + "\tpublic "; - protected final String TEXT_683 = " basicSet"; - protected final String TEXT_684 = "("; - protected final String TEXT_685 = " new"; - protected final String TEXT_686 = ", "; - protected final String TEXT_687 = " msgs)" + NL + "\t{"; - protected final String TEXT_688 = NL + "\t\tmsgs = eBasicSetContainer(("; - protected final String TEXT_689 = ")new"; - protected final String TEXT_690 = ", "; - protected final String TEXT_691 = ", msgs);"; - protected final String TEXT_692 = NL + "\t\t"; - protected final String TEXT_693 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; - protected final String TEXT_694 = NL + "\t\t\t"; - protected final String TEXT_695 = " "; - protected final String TEXT_696 = " = "; - protected final String TEXT_697 = "();"; - protected final String TEXT_698 = NL + "\t\t\tObject "; - protected final String TEXT_699 = " = eVirtualGet("; - protected final String TEXT_700 = ");"; - protected final String TEXT_701 = NL + "\t\t\tif ("; - protected final String TEXT_702 = " != null && "; - protected final String TEXT_703 = " != new"; - protected final String TEXT_704 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; - protected final String TEXT_705 = "(null);" + NL + "\t\t\t}"; - protected final String TEXT_706 = NL + "\t\t\tif (new"; - protected final String TEXT_707 = " != null)" + NL + "\t\t\t{"; - protected final String TEXT_708 = NL + "\t\t\t\t"; - protected final String TEXT_709 = " "; - protected final String TEXT_710 = " = "; - protected final String TEXT_711 = "();" + NL + "\t\t\t\tif (!"; - protected final String TEXT_712 = ".contains(new"; - protected final String TEXT_713 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; - protected final String TEXT_714 = ".add(new"; - protected final String TEXT_715 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_716 = NL + "\t\t\t\t"; - protected final String TEXT_717 = " "; - protected final String TEXT_718 = " = "; - protected final String TEXT_719 = "();"; - protected final String TEXT_720 = NL + "\t\t\t\tObject "; - protected final String TEXT_721 = " = eVirtualGet("; - protected final String TEXT_722 = ");"; - protected final String TEXT_723 = NL + "\t\t\t\tif (new"; - protected final String TEXT_724 = " != "; - protected final String TEXT_725 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; - protected final String TEXT_726 = "(new"; - protected final String TEXT_727 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_728 = NL + "\t\t\t}"; - protected final String TEXT_729 = NL + "\t\t}"; - protected final String TEXT_730 = NL + "\t\treturn msgs;"; - protected final String TEXT_731 = NL + "\t\tmsgs = eDynamicInverseAdd(("; - protected final String TEXT_732 = ")new"; - protected final String TEXT_733 = ", "; - protected final String TEXT_734 = ", msgs);"; - protected final String TEXT_735 = NL + "\t\t"; - protected final String TEXT_736 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; - protected final String TEXT_737 = NL + "\t\t\t"; - protected final String TEXT_738 = " "; - protected final String TEXT_739 = " = "; - protected final String TEXT_740 = "();"; - protected final String TEXT_741 = NL + "\t\t\tObject "; - protected final String TEXT_742 = " = eVirtualGet("; - protected final String TEXT_743 = ");"; - protected final String TEXT_744 = NL + "\t\t\tif ("; - protected final String TEXT_745 = " != null && "; - protected final String TEXT_746 = " != new"; - protected final String TEXT_747 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; - protected final String TEXT_748 = "(null);" + NL + "\t\t\t}"; - protected final String TEXT_749 = NL + "\t\t\tif (new"; - protected final String TEXT_750 = " != null)" + NL + "\t\t\t{"; - protected final String TEXT_751 = NL + "\t\t\t\t"; - protected final String TEXT_752 = " "; - protected final String TEXT_753 = " = "; - protected final String TEXT_754 = "();" + NL + "\t\t\t\tif (!"; - protected final String TEXT_755 = ".contains(new"; - protected final String TEXT_756 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; - protected final String TEXT_757 = ".add(new"; - protected final String TEXT_758 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_759 = NL + "\t\t\t\t"; - protected final String TEXT_760 = " "; - protected final String TEXT_761 = " = "; - protected final String TEXT_762 = "();"; - protected final String TEXT_763 = NL + "\t\t\t\tObject "; - protected final String TEXT_764 = " = eVirtualGet("; - protected final String TEXT_765 = ");"; - protected final String TEXT_766 = NL + "\t\t\t\tif (new"; - protected final String TEXT_767 = " != "; - protected final String TEXT_768 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; - protected final String TEXT_769 = "(new"; - protected final String TEXT_770 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_771 = NL + "\t\t\t}"; - protected final String TEXT_772 = NL + "\t\t}"; - protected final String TEXT_773 = NL + "\t\treturn msgs;"; - protected final String TEXT_774 = NL + "\t\tObject old"; - protected final String TEXT_775 = " = eVirtualSet("; - protected final String TEXT_776 = ", new"; - protected final String TEXT_777 = ");"; - protected final String TEXT_778 = NL + "\t\t"; - protected final String TEXT_779 = " old"; - protected final String TEXT_780 = " = "; - protected final String TEXT_781 = ";" + NL + "\t\t"; - protected final String TEXT_782 = " = new"; - protected final String TEXT_783 = ";"; - protected final String TEXT_784 = NL + "\t\tboolean isSetChange = old"; - protected final String TEXT_785 = " == EVIRTUAL_NO_VALUE;"; - protected final String TEXT_786 = NL + "\t\tboolean old"; - protected final String TEXT_787 = "ESet = ("; - protected final String TEXT_788 = " & "; - protected final String TEXT_789 = "_ESETFLAG) != 0;"; - protected final String TEXT_790 = NL + "\t\t"; - protected final String TEXT_791 = " |= "; - protected final String TEXT_792 = "_ESETFLAG;"; - protected final String TEXT_793 = NL + "\t\tboolean old"; - protected final String TEXT_794 = "ESet = "; - protected final String TEXT_795 = "ESet;"; - protected final String TEXT_796 = NL + "\t\t"; - protected final String TEXT_797 = "ESet = true;"; - protected final String TEXT_798 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{"; - protected final String TEXT_799 = NL + "\t\t\t"; - protected final String TEXT_800 = " notification = new "; - protected final String TEXT_801 = "(this, "; - protected final String TEXT_802 = ".SET, "; - protected final String TEXT_803 = ", "; - protected final String TEXT_804 = "isSetChange ? null : old"; - protected final String TEXT_805 = "old"; - protected final String TEXT_806 = ", new"; - protected final String TEXT_807 = ", "; - protected final String TEXT_808 = "isSetChange"; - protected final String TEXT_809 = "!old"; - protected final String TEXT_810 = "ESet"; - protected final String TEXT_811 = ");"; - protected final String TEXT_812 = NL + "\t\t\t"; - protected final String TEXT_813 = " notification = new "; - protected final String TEXT_814 = "(this, "; - protected final String TEXT_815 = ".SET, "; - protected final String TEXT_816 = ", "; - protected final String TEXT_817 = "old"; - protected final String TEXT_818 = " == EVIRTUAL_NO_VALUE ? null : old"; - protected final String TEXT_819 = "old"; - protected final String TEXT_820 = ", new"; - protected final String TEXT_821 = ");"; - protected final String TEXT_822 = NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}"; - protected final String TEXT_823 = NL + "\t\t"; - protected final String TEXT_824 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; - protected final String TEXT_825 = NL + "\t\t\t"; - protected final String TEXT_826 = " "; - protected final String TEXT_827 = " = "; - protected final String TEXT_828 = "();"; - protected final String TEXT_829 = NL + "\t\t\tObject "; - protected final String TEXT_830 = " = eVirtualGet("; - protected final String TEXT_831 = ");"; - protected final String TEXT_832 = NL + "\t\t\tif ("; - protected final String TEXT_833 = " != null && "; - protected final String TEXT_834 = " != new"; - protected final String TEXT_835 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; - protected final String TEXT_836 = "(null);" + NL + "\t\t\t}"; - protected final String TEXT_837 = NL + "\t\t\tif (new"; - protected final String TEXT_838 = " != null)" + NL + "\t\t\t{"; - protected final String TEXT_839 = NL + "\t\t\t\t"; - protected final String TEXT_840 = " "; - protected final String TEXT_841 = " = "; - protected final String TEXT_842 = "();" + NL + "\t\t\t\tif (!"; - protected final String TEXT_843 = ".contains(new"; - protected final String TEXT_844 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; - protected final String TEXT_845 = ".add(new"; - protected final String TEXT_846 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_847 = NL + "\t\t\t\t"; - protected final String TEXT_848 = " "; - protected final String TEXT_849 = " = "; - protected final String TEXT_850 = "();"; - protected final String TEXT_851 = NL + "\t\t\t\tObject "; - protected final String TEXT_852 = " = eVirtualGet("; - protected final String TEXT_853 = ");"; - protected final String TEXT_854 = NL + "\t\t\t\tif (new"; - protected final String TEXT_855 = " != "; - protected final String TEXT_856 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; - protected final String TEXT_857 = "(new"; - protected final String TEXT_858 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_859 = NL + "\t\t\t}"; - protected final String TEXT_860 = NL + "\t\t}"; - protected final String TEXT_861 = NL + "\t\treturn msgs;"; - protected final String TEXT_862 = NL + "\t\treturn (("; - protected final String TEXT_863 = ".Internal)(("; - protected final String TEXT_864 = ".Internal.Wrapper)get"; - protected final String TEXT_865 = "()).featureMap()).basicAdd("; - protected final String TEXT_866 = ", new"; - protected final String TEXT_867 = ", msgs);"; - protected final String TEXT_868 = NL + "\t\treturn (("; - protected final String TEXT_869 = ".Internal)get"; - protected final String TEXT_870 = "()).basicAdd("; - protected final String TEXT_871 = ", new"; - protected final String TEXT_872 = ", msgs);"; - protected final String TEXT_873 = NL + "\t\t// TODO: implement this method to set the contained '"; - protected final String TEXT_874 = "' "; - protected final String TEXT_875 = NL + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch" + NL + "\t\t// -> do not modify other features" + NL + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_876 = NL + "\t}" + NL; - protected final String TEXT_877 = NL + "\t/**" + NL + "\t * Sets the value of the '{@link "; - protected final String TEXT_878 = "#"; - protected final String TEXT_879 = " <em>"; - protected final String TEXT_880 = "</em>}' "; - protected final String TEXT_881 = "."; - protected final String TEXT_882 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param value the new value of the '<em>"; - protected final String TEXT_883 = "</em>' "; - protected final String TEXT_884 = "."; - protected final String TEXT_885 = NL + "\t * @see "; - protected final String TEXT_886 = NL + "\t * @see #isSet"; - protected final String TEXT_887 = "()"; - protected final String TEXT_888 = NL + "\t * @see #unset"; - protected final String TEXT_889 = "()"; - protected final String TEXT_890 = NL + "\t * @see #"; - protected final String TEXT_891 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_892 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_893 = NL + "\t@Override"; - protected final String TEXT_894 = NL + "\tvoid set"; - protected final String TEXT_895 = "("; - protected final String TEXT_896 = " value);" + NL; - protected final String TEXT_897 = NL + "\tpublic void set"; - protected final String TEXT_898 = "_"; - protected final String TEXT_899 = "("; - protected final String TEXT_900 = " "; - protected final String TEXT_901 = ")" + NL + "\t{"; - protected final String TEXT_902 = NL + "\t\tnew"; - protected final String TEXT_903 = " = new"; - protected final String TEXT_904 = " == null ? "; - protected final String TEXT_905 = " : new"; - protected final String TEXT_906 = ";"; - protected final String TEXT_907 = NL + "\t\teDynamicSet("; - protected final String TEXT_908 = ", "; + protected final String TEXT_631 = "("; + protected final String TEXT_632 = ")"; + protected final String TEXT_633 = "__ESETTING_DELEGATE.dynamicGet(this, null, 0, false, false)"; + protected final String TEXT_634 = ")."; + protected final String TEXT_635 = "()"; + protected final String TEXT_636 = ";"; + protected final String TEXT_637 = NL + "\t\tif (eContainerFeatureID() != "; + protected final String TEXT_638 = ") return null;" + NL + "\t\treturn ("; + protected final String TEXT_639 = ")eInternalContainer();"; + protected final String TEXT_640 = NL + "\t\treturn ("; + protected final String TEXT_641 = ")eVirtualGet("; + protected final String TEXT_642 = ");"; + protected final String TEXT_643 = NL + "\t\treturn "; + protected final String TEXT_644 = ";"; + protected final String TEXT_645 = NL + "\t\treturn ("; + protected final String TEXT_646 = ")(("; + protected final String TEXT_647 = ".Internal.Wrapper)get"; + protected final String TEXT_648 = "()).featureMap().get("; + protected final String TEXT_649 = ", false);"; + protected final String TEXT_650 = NL + "\t\treturn ("; + protected final String TEXT_651 = ")get"; + protected final String TEXT_652 = "().get("; + protected final String TEXT_653 = ", false);"; + protected final String TEXT_654 = NL + "\t\treturn "; + protected final String TEXT_655 = "."; + protected final String TEXT_656 = "(this);"; + protected final String TEXT_657 = NL + "\t\tif (isSet"; + protected final String TEXT_658 = "())" + NL + "\t\t{" + NL + "\t\t\treturn "; + protected final String TEXT_659 = "basicGet"; + protected final String TEXT_660 = "();" + NL + "\t\t}"; + protected final String TEXT_661 = NL + "\t\tif (eIsSet("; + protected final String TEXT_662 = "))" + NL + "\t\t{" + NL + "\t\t\treturn "; + protected final String TEXT_663 = "basicGet"; + protected final String TEXT_664 = "();" + NL + "\t\t}"; + protected final String TEXT_665 = NL + "\t\t"; + protected final String TEXT_666 = " "; + protected final String TEXT_667 = " = "; + protected final String TEXT_668 = "basicGet"; + protected final String TEXT_669 = "();\t\t\t" + NL + "\t\tif ("; + protected final String TEXT_670 = " != null)" + NL + "\t\t{" + NL + "\t\t\treturn "; + protected final String TEXT_671 = ";" + NL + "\t\t}"; + protected final String TEXT_672 = NL + "\t\treturn "; + protected final String TEXT_673 = "super.basicGet"; + protected final String TEXT_674 = "()"; + protected final String TEXT_675 = "null"; + protected final String TEXT_676 = ";"; + protected final String TEXT_677 = NL + "\t\t// TODO: implement this method to return the '"; + protected final String TEXT_678 = "' "; + protected final String TEXT_679 = NL + "\t\t// -> do not perform proxy resolution" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_680 = NL + "\t}" + NL; + protected final String TEXT_681 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_682 = NL + "\t@Override"; + protected final String TEXT_683 = NL + "\tpublic "; + protected final String TEXT_684 = " basicSet"; + protected final String TEXT_685 = "("; + protected final String TEXT_686 = " new"; + protected final String TEXT_687 = ", "; + protected final String TEXT_688 = " msgs)" + NL + "\t{"; + protected final String TEXT_689 = NL + "\t\tmsgs = eBasicSetContainer(("; + protected final String TEXT_690 = ")new"; + protected final String TEXT_691 = ", "; + protected final String TEXT_692 = ", msgs);"; + protected final String TEXT_693 = NL + "\t\t"; + protected final String TEXT_694 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; + protected final String TEXT_695 = NL + "\t\t\t"; + protected final String TEXT_696 = " "; + protected final String TEXT_697 = " = "; + protected final String TEXT_698 = "();"; + protected final String TEXT_699 = NL + "\t\t\tObject "; + protected final String TEXT_700 = " = eVirtualGet("; + protected final String TEXT_701 = ");"; + protected final String TEXT_702 = NL + "\t\t\tif ("; + protected final String TEXT_703 = " != null && "; + protected final String TEXT_704 = " != new"; + protected final String TEXT_705 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; + protected final String TEXT_706 = "(null);" + NL + "\t\t\t}"; + protected final String TEXT_707 = NL + "\t\t\tif (new"; + protected final String TEXT_708 = " != null)" + NL + "\t\t\t{"; + protected final String TEXT_709 = NL + "\t\t\t\t"; + protected final String TEXT_710 = " "; + protected final String TEXT_711 = " = "; + protected final String TEXT_712 = "();" + NL + "\t\t\t\tif (!"; + protected final String TEXT_713 = ".contains(new"; + protected final String TEXT_714 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; + protected final String TEXT_715 = ".add(new"; + protected final String TEXT_716 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_717 = NL + "\t\t\t\t"; + protected final String TEXT_718 = " "; + protected final String TEXT_719 = " = "; + protected final String TEXT_720 = "();"; + protected final String TEXT_721 = NL + "\t\t\t\tObject "; + protected final String TEXT_722 = " = eVirtualGet("; + protected final String TEXT_723 = ");"; + protected final String TEXT_724 = NL + "\t\t\t\tif (new"; + protected final String TEXT_725 = " != "; + protected final String TEXT_726 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; + protected final String TEXT_727 = "(new"; + protected final String TEXT_728 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_729 = NL + "\t\t\t}"; + protected final String TEXT_730 = NL + "\t\t}"; + protected final String TEXT_731 = NL + "\t\treturn msgs;"; + protected final String TEXT_732 = NL + "\t\tmsgs = eDynamicInverseAdd(("; + protected final String TEXT_733 = ")new"; + protected final String TEXT_734 = ", "; + protected final String TEXT_735 = ", msgs);"; + protected final String TEXT_736 = NL + "\t\t"; + protected final String TEXT_737 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; + protected final String TEXT_738 = NL + "\t\t\t"; + protected final String TEXT_739 = " "; + protected final String TEXT_740 = " = "; + protected final String TEXT_741 = "();"; + protected final String TEXT_742 = NL + "\t\t\tObject "; + protected final String TEXT_743 = " = eVirtualGet("; + protected final String TEXT_744 = ");"; + protected final String TEXT_745 = NL + "\t\t\tif ("; + protected final String TEXT_746 = " != null && "; + protected final String TEXT_747 = " != new"; + protected final String TEXT_748 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; + protected final String TEXT_749 = "(null);" + NL + "\t\t\t}"; + protected final String TEXT_750 = NL + "\t\t\tif (new"; + protected final String TEXT_751 = " != null)" + NL + "\t\t\t{"; + protected final String TEXT_752 = NL + "\t\t\t\t"; + protected final String TEXT_753 = " "; + protected final String TEXT_754 = " = "; + protected final String TEXT_755 = "();" + NL + "\t\t\t\tif (!"; + protected final String TEXT_756 = ".contains(new"; + protected final String TEXT_757 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; + protected final String TEXT_758 = ".add(new"; + protected final String TEXT_759 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_760 = NL + "\t\t\t\t"; + protected final String TEXT_761 = " "; + protected final String TEXT_762 = " = "; + protected final String TEXT_763 = "();"; + protected final String TEXT_764 = NL + "\t\t\t\tObject "; + protected final String TEXT_765 = " = eVirtualGet("; + protected final String TEXT_766 = ");"; + protected final String TEXT_767 = NL + "\t\t\t\tif (new"; + protected final String TEXT_768 = " != "; + protected final String TEXT_769 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; + protected final String TEXT_770 = "(new"; + protected final String TEXT_771 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_772 = NL + "\t\t\t}"; + protected final String TEXT_773 = NL + "\t\t}"; + protected final String TEXT_774 = NL + "\t\treturn msgs;"; + protected final String TEXT_775 = NL + "\t\tObject old"; + protected final String TEXT_776 = " = eVirtualSet("; + protected final String TEXT_777 = ", new"; + protected final String TEXT_778 = ");"; + protected final String TEXT_779 = NL + "\t\t"; + protected final String TEXT_780 = " old"; + protected final String TEXT_781 = " = "; + protected final String TEXT_782 = ";" + NL + "\t\t"; + protected final String TEXT_783 = " = new"; + protected final String TEXT_784 = ";"; + protected final String TEXT_785 = NL + "\t\tboolean isSetChange = old"; + protected final String TEXT_786 = " == EVIRTUAL_NO_VALUE;"; + protected final String TEXT_787 = NL + "\t\tboolean old"; + protected final String TEXT_788 = "ESet = ("; + protected final String TEXT_789 = " & "; + protected final String TEXT_790 = "_ESETFLAG) != 0;"; + protected final String TEXT_791 = NL + "\t\t"; + protected final String TEXT_792 = " |= "; + protected final String TEXT_793 = "_ESETFLAG;"; + protected final String TEXT_794 = NL + "\t\tboolean old"; + protected final String TEXT_795 = "ESet = "; + protected final String TEXT_796 = "ESet;"; + protected final String TEXT_797 = NL + "\t\t"; + protected final String TEXT_798 = "ESet = true;"; + protected final String TEXT_799 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{"; + protected final String TEXT_800 = NL + "\t\t\t"; + protected final String TEXT_801 = " notification = new "; + protected final String TEXT_802 = "(this, "; + protected final String TEXT_803 = ".SET, "; + protected final String TEXT_804 = ", "; + protected final String TEXT_805 = "isSetChange ? null : old"; + protected final String TEXT_806 = "old"; + protected final String TEXT_807 = ", new"; + protected final String TEXT_808 = ", "; + protected final String TEXT_809 = "isSetChange"; + protected final String TEXT_810 = "!old"; + protected final String TEXT_811 = "ESet"; + protected final String TEXT_812 = ");"; + protected final String TEXT_813 = NL + "\t\t\t"; + protected final String TEXT_814 = " notification = new "; + protected final String TEXT_815 = "(this, "; + protected final String TEXT_816 = ".SET, "; + protected final String TEXT_817 = ", "; + protected final String TEXT_818 = "old"; + protected final String TEXT_819 = " == EVIRTUAL_NO_VALUE ? null : old"; + protected final String TEXT_820 = "old"; + protected final String TEXT_821 = ", new"; + protected final String TEXT_822 = ");"; + protected final String TEXT_823 = NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}"; + protected final String TEXT_824 = NL + "\t\t"; + protected final String TEXT_825 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; + protected final String TEXT_826 = NL + "\t\t\t"; + protected final String TEXT_827 = " "; + protected final String TEXT_828 = " = "; + protected final String TEXT_829 = "();"; + protected final String TEXT_830 = NL + "\t\t\tObject "; + protected final String TEXT_831 = " = eVirtualGet("; + protected final String TEXT_832 = ");"; + protected final String TEXT_833 = NL + "\t\t\tif ("; + protected final String TEXT_834 = " != null && "; + protected final String TEXT_835 = " != new"; + protected final String TEXT_836 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; + protected final String TEXT_837 = "(null);" + NL + "\t\t\t}"; + protected final String TEXT_838 = NL + "\t\t\tif (new"; + protected final String TEXT_839 = " != null)" + NL + "\t\t\t{"; + protected final String TEXT_840 = NL + "\t\t\t\t"; + protected final String TEXT_841 = " "; + protected final String TEXT_842 = " = "; + protected final String TEXT_843 = "();" + NL + "\t\t\t\tif (!"; + protected final String TEXT_844 = ".contains(new"; + protected final String TEXT_845 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; + protected final String TEXT_846 = ".add(new"; + protected final String TEXT_847 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_848 = NL + "\t\t\t\t"; + protected final String TEXT_849 = " "; + protected final String TEXT_850 = " = "; + protected final String TEXT_851 = "();"; + protected final String TEXT_852 = NL + "\t\t\t\tObject "; + protected final String TEXT_853 = " = eVirtualGet("; + protected final String TEXT_854 = ");"; + protected final String TEXT_855 = NL + "\t\t\t\tif (new"; + protected final String TEXT_856 = " != "; + protected final String TEXT_857 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; + protected final String TEXT_858 = "(new"; + protected final String TEXT_859 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_860 = NL + "\t\t\t}"; + protected final String TEXT_861 = NL + "\t\t}"; + protected final String TEXT_862 = NL + "\t\treturn msgs;"; + protected final String TEXT_863 = NL + "\t\treturn (("; + protected final String TEXT_864 = ".Internal)(("; + protected final String TEXT_865 = ".Internal.Wrapper)get"; + protected final String TEXT_866 = "()).featureMap()).basicAdd("; + protected final String TEXT_867 = ", new"; + protected final String TEXT_868 = ", msgs);"; + protected final String TEXT_869 = NL + "\t\treturn (("; + protected final String TEXT_870 = ".Internal)get"; + protected final String TEXT_871 = "()).basicAdd("; + protected final String TEXT_872 = ", new"; + protected final String TEXT_873 = ", msgs);"; + protected final String TEXT_874 = NL + "\t\t// TODO: implement this method to set the contained '"; + protected final String TEXT_875 = "' "; + protected final String TEXT_876 = NL + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch" + NL + "\t\t// -> do not modify other features" + NL + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_877 = NL + "\t}" + NL; + protected final String TEXT_878 = NL + "\t/**" + NL + "\t * Sets the value of the '{@link "; + protected final String TEXT_879 = "#"; + protected final String TEXT_880 = " <em>"; + protected final String TEXT_881 = "</em>}' "; + protected final String TEXT_882 = "."; + protected final String TEXT_883 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param value the new value of the '<em>"; + protected final String TEXT_884 = "</em>' "; + protected final String TEXT_885 = "."; + protected final String TEXT_886 = NL + "\t * @see "; + protected final String TEXT_887 = NL + "\t * @see #isSet"; + protected final String TEXT_888 = "()"; + protected final String TEXT_889 = NL + "\t * @see #unset"; + protected final String TEXT_890 = "()"; + protected final String TEXT_891 = NL + "\t * @see #"; + protected final String TEXT_892 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_893 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_894 = NL + "\t@Override"; + protected final String TEXT_895 = NL + "\tvoid set"; + protected final String TEXT_896 = "("; + protected final String TEXT_897 = " value);" + NL; + protected final String TEXT_898 = NL + "\tpublic void set"; + protected final String TEXT_899 = "_"; + protected final String TEXT_900 = "("; + protected final String TEXT_901 = " "; + protected final String TEXT_902 = ")" + NL + "\t{"; + protected final String TEXT_903 = NL + "\t\tnew"; + protected final String TEXT_904 = " = new"; + protected final String TEXT_905 = " == null ? "; + protected final String TEXT_906 = " : new"; + protected final String TEXT_907 = ";"; + protected final String TEXT_908 = NL + "\t\teDynamicSet("; protected final String TEXT_909 = ", "; - protected final String TEXT_910 = "new "; - protected final String TEXT_911 = "("; - protected final String TEXT_912 = "new"; - protected final String TEXT_913 = ")"; - protected final String TEXT_914 = ");"; - protected final String TEXT_915 = NL + "\t\teSet("; - protected final String TEXT_916 = ", "; - protected final String TEXT_917 = "new "; - protected final String TEXT_918 = "("; - protected final String TEXT_919 = "new"; - protected final String TEXT_920 = ")"; - protected final String TEXT_921 = ");"; - protected final String TEXT_922 = NL + "\t\t"; - protected final String TEXT_923 = "__ESETTING_DELEGATE.dynamicSet(this, null, 0, "; - protected final String TEXT_924 = "new "; - protected final String TEXT_925 = "("; - protected final String TEXT_926 = "new"; - protected final String TEXT_927 = ")"; - protected final String TEXT_928 = ");"; - protected final String TEXT_929 = NL + "\t\tif (new"; - protected final String TEXT_930 = " != eInternalContainer() || (eContainerFeatureID() != "; - protected final String TEXT_931 = " && new"; - protected final String TEXT_932 = " != null))" + NL + "\t\t{" + NL + "\t\t\tif ("; - protected final String TEXT_933 = ".isAncestor(this, "; - protected final String TEXT_934 = "new"; - protected final String TEXT_935 = "))" + NL + "\t\t\t\tthrow new "; - protected final String TEXT_936 = "(\"Recursive containment not allowed for \" + toString());"; - protected final String TEXT_937 = NL + "\t\t\t"; - protected final String TEXT_938 = " msgs = null;" + NL + "\t\t\tif (eInternalContainer() != null)" + NL + "\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\t\tif (new"; - protected final String TEXT_939 = " != null)" + NL + "\t\t\t\tmsgs = (("; - protected final String TEXT_940 = ")new"; - protected final String TEXT_941 = ").eInverseAdd(this, "; - protected final String TEXT_942 = ", "; - protected final String TEXT_943 = ".class, msgs);" + NL + "\t\t\tmsgs = basicSet"; - protected final String TEXT_944 = "("; - protected final String TEXT_945 = "new"; - protected final String TEXT_946 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}"; - protected final String TEXT_947 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new "; - protected final String TEXT_948 = "(this, "; - protected final String TEXT_949 = ".SET, "; - protected final String TEXT_950 = ", new"; + protected final String TEXT_910 = ", "; + protected final String TEXT_911 = "new "; + protected final String TEXT_912 = "("; + protected final String TEXT_913 = "new"; + protected final String TEXT_914 = ")"; + protected final String TEXT_915 = ");"; + protected final String TEXT_916 = NL + "\t\teSet("; + protected final String TEXT_917 = ", "; + protected final String TEXT_918 = "new "; + protected final String TEXT_919 = "("; + protected final String TEXT_920 = "new"; + protected final String TEXT_921 = ")"; + protected final String TEXT_922 = ");"; + protected final String TEXT_923 = NL + "\t\t"; + protected final String TEXT_924 = "__ESETTING_DELEGATE.dynamicSet(this, null, 0, "; + protected final String TEXT_925 = "new "; + protected final String TEXT_926 = "("; + protected final String TEXT_927 = "new"; + protected final String TEXT_928 = ")"; + protected final String TEXT_929 = ");"; + protected final String TEXT_930 = NL + "\t\tif (new"; + protected final String TEXT_931 = " != eInternalContainer() || (eContainerFeatureID() != "; + protected final String TEXT_932 = " && new"; + protected final String TEXT_933 = " != null))" + NL + "\t\t{" + NL + "\t\t\tif ("; + protected final String TEXT_934 = ".isAncestor(this, "; + protected final String TEXT_935 = "new"; + protected final String TEXT_936 = "))" + NL + "\t\t\t\tthrow new "; + protected final String TEXT_937 = "(\"Recursive containment not allowed for \" + toString());"; + protected final String TEXT_938 = NL + "\t\t\t"; + protected final String TEXT_939 = " msgs = null;" + NL + "\t\t\tif (eInternalContainer() != null)" + NL + "\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\t\tif (new"; + protected final String TEXT_940 = " != null)" + NL + "\t\t\t\tmsgs = (("; + protected final String TEXT_941 = ")new"; + protected final String TEXT_942 = ").eInverseAdd(this, "; + protected final String TEXT_943 = ", "; + protected final String TEXT_944 = ".class, msgs);" + NL + "\t\t\tmsgs = basicSet"; + protected final String TEXT_945 = "("; + protected final String TEXT_946 = "new"; + protected final String TEXT_947 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}"; + protected final String TEXT_948 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new "; + protected final String TEXT_949 = "(this, "; + protected final String TEXT_950 = ".SET, "; protected final String TEXT_951 = ", new"; - protected final String TEXT_952 = "));"; - protected final String TEXT_953 = NL + "\t\t"; - protected final String TEXT_954 = " "; - protected final String TEXT_955 = " = ("; - protected final String TEXT_956 = ")eVirtualGet("; - protected final String TEXT_957 = ");"; - protected final String TEXT_958 = NL + "\t\tif (new"; - protected final String TEXT_959 = " != "; - protected final String TEXT_960 = ")" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_961 = " msgs = null;" + NL + "\t\t\tif ("; - protected final String TEXT_962 = " != null)"; - protected final String TEXT_963 = NL + "\t\t\t\tmsgs = (("; - protected final String TEXT_964 = ")"; - protected final String TEXT_965 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - "; - protected final String TEXT_966 = ", null, msgs);" + NL + "\t\t\tif (new"; - protected final String TEXT_967 = " != null)" + NL + "\t\t\t\tmsgs = (("; - protected final String TEXT_968 = ")new"; - protected final String TEXT_969 = ").eInverseAdd(this, EOPPOSITE_FEATURE_BASE - "; - protected final String TEXT_970 = ", null, msgs);"; - protected final String TEXT_971 = NL + "\t\t\t\tmsgs = (("; - protected final String TEXT_972 = ")"; - protected final String TEXT_973 = ").eInverseRemove(this, "; - protected final String TEXT_974 = ", "; - protected final String TEXT_975 = ".class, msgs);" + NL + "\t\t\tif (new"; - protected final String TEXT_976 = " != null)" + NL + "\t\t\t\tmsgs = (("; - protected final String TEXT_977 = ")new"; - protected final String TEXT_978 = ").eInverseAdd(this, "; - protected final String TEXT_979 = ", "; - protected final String TEXT_980 = ".class, msgs);"; - protected final String TEXT_981 = NL + "\t\t\tmsgs = basicSet"; - protected final String TEXT_982 = "("; - protected final String TEXT_983 = "new"; - protected final String TEXT_984 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}"; - protected final String TEXT_985 = NL + "\t\telse" + NL + "\t\t{"; - protected final String TEXT_986 = NL + "\t\t\tboolean old"; - protected final String TEXT_987 = "ESet = eVirtualIsSet("; - protected final String TEXT_988 = ");"; - protected final String TEXT_989 = NL + "\t\t\tboolean old"; - protected final String TEXT_990 = "ESet = ("; - protected final String TEXT_991 = " & "; - protected final String TEXT_992 = "_ESETFLAG) != 0;"; - protected final String TEXT_993 = NL + "\t\t\t"; - protected final String TEXT_994 = " |= "; - protected final String TEXT_995 = "_ESETFLAG;"; - protected final String TEXT_996 = NL + "\t\t\tboolean old"; - protected final String TEXT_997 = "ESet = "; - protected final String TEXT_998 = "ESet;"; - protected final String TEXT_999 = NL + "\t\t\t"; - protected final String TEXT_1000 = "ESet = true;"; - protected final String TEXT_1001 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new "; - protected final String TEXT_1002 = "(this, "; - protected final String TEXT_1003 = ".SET, "; - protected final String TEXT_1004 = ", new"; + protected final String TEXT_952 = ", new"; + protected final String TEXT_953 = "));"; + protected final String TEXT_954 = NL + "\t\t"; + protected final String TEXT_955 = " "; + protected final String TEXT_956 = " = ("; + protected final String TEXT_957 = ")eVirtualGet("; + protected final String TEXT_958 = ");"; + protected final String TEXT_959 = NL + "\t\tif (new"; + protected final String TEXT_960 = " != "; + protected final String TEXT_961 = ")" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_962 = " msgs = null;" + NL + "\t\t\tif ("; + protected final String TEXT_963 = " != null)"; + protected final String TEXT_964 = NL + "\t\t\t\tmsgs = (("; + protected final String TEXT_965 = ")"; + protected final String TEXT_966 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - "; + protected final String TEXT_967 = ", null, msgs);" + NL + "\t\t\tif (new"; + protected final String TEXT_968 = " != null)" + NL + "\t\t\t\tmsgs = (("; + protected final String TEXT_969 = ")new"; + protected final String TEXT_970 = ").eInverseAdd(this, EOPPOSITE_FEATURE_BASE - "; + protected final String TEXT_971 = ", null, msgs);"; + protected final String TEXT_972 = NL + "\t\t\t\tmsgs = (("; + protected final String TEXT_973 = ")"; + protected final String TEXT_974 = ").eInverseRemove(this, "; + protected final String TEXT_975 = ", "; + protected final String TEXT_976 = ".class, msgs);" + NL + "\t\t\tif (new"; + protected final String TEXT_977 = " != null)" + NL + "\t\t\t\tmsgs = (("; + protected final String TEXT_978 = ")new"; + protected final String TEXT_979 = ").eInverseAdd(this, "; + protected final String TEXT_980 = ", "; + protected final String TEXT_981 = ".class, msgs);"; + protected final String TEXT_982 = NL + "\t\t\tmsgs = basicSet"; + protected final String TEXT_983 = "("; + protected final String TEXT_984 = "new"; + protected final String TEXT_985 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}"; + protected final String TEXT_986 = NL + "\t\telse" + NL + "\t\t{"; + protected final String TEXT_987 = NL + "\t\t\tboolean old"; + protected final String TEXT_988 = "ESet = eVirtualIsSet("; + protected final String TEXT_989 = ");"; + protected final String TEXT_990 = NL + "\t\t\tboolean old"; + protected final String TEXT_991 = "ESet = ("; + protected final String TEXT_992 = " & "; + protected final String TEXT_993 = "_ESETFLAG) != 0;"; + protected final String TEXT_994 = NL + "\t\t\t"; + protected final String TEXT_995 = " |= "; + protected final String TEXT_996 = "_ESETFLAG;"; + protected final String TEXT_997 = NL + "\t\t\tboolean old"; + protected final String TEXT_998 = "ESet = "; + protected final String TEXT_999 = "ESet;"; + protected final String TEXT_1000 = NL + "\t\t\t"; + protected final String TEXT_1001 = "ESet = true;"; + protected final String TEXT_1002 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new "; + protected final String TEXT_1003 = "(this, "; + protected final String TEXT_1004 = ".SET, "; protected final String TEXT_1005 = ", new"; - protected final String TEXT_1006 = ", !old"; - protected final String TEXT_1007 = "ESet));"; - protected final String TEXT_1008 = NL + "\t\t}"; - protected final String TEXT_1009 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new "; - protected final String TEXT_1010 = "(this, "; - protected final String TEXT_1011 = ".SET, "; - protected final String TEXT_1012 = ", new"; + protected final String TEXT_1006 = ", new"; + protected final String TEXT_1007 = ", !old"; + protected final String TEXT_1008 = "ESet));"; + protected final String TEXT_1009 = NL + "\t\t}"; + protected final String TEXT_1010 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new "; + protected final String TEXT_1011 = "(this, "; + protected final String TEXT_1012 = ".SET, "; protected final String TEXT_1013 = ", new"; - protected final String TEXT_1014 = "));"; - protected final String TEXT_1015 = NL + "\t\t"; - protected final String TEXT_1016 = " old"; - protected final String TEXT_1017 = " = ("; - protected final String TEXT_1018 = " & "; - protected final String TEXT_1019 = "_EFLAG) != 0;"; - protected final String TEXT_1020 = NL + "\t\t"; - protected final String TEXT_1021 = " old"; - protected final String TEXT_1022 = " = "; - protected final String TEXT_1023 = "_EFLAG_VALUES[("; - protected final String TEXT_1024 = " & "; - protected final String TEXT_1025 = "_EFLAG) >>> "; - protected final String TEXT_1026 = "_EFLAG_OFFSET];"; - protected final String TEXT_1027 = NL + "\t\tif (new"; - protected final String TEXT_1028 = ") "; - protected final String TEXT_1029 = " |= "; - protected final String TEXT_1030 = "_EFLAG; else "; - protected final String TEXT_1031 = " &= ~"; - protected final String TEXT_1032 = "_EFLAG;"; - protected final String TEXT_1033 = NL + "\t\tif (new"; - protected final String TEXT_1034 = " == null) new"; - protected final String TEXT_1035 = " = "; - protected final String TEXT_1036 = "_EDEFAULT;" + NL + "\t\t"; - protected final String TEXT_1037 = " = "; - protected final String TEXT_1038 = " & ~"; - protected final String TEXT_1039 = "_EFLAG | "; - protected final String TEXT_1040 = "new"; - protected final String TEXT_1041 = ".ordinal()"; - protected final String TEXT_1042 = ".VALUES.indexOf(new"; - protected final String TEXT_1043 = ")"; - protected final String TEXT_1044 = " << "; - protected final String TEXT_1045 = "_EFLAG_OFFSET;"; - protected final String TEXT_1046 = NL + "\t\t"; - protected final String TEXT_1047 = " old"; - protected final String TEXT_1048 = " = "; - protected final String TEXT_1049 = ";"; - protected final String TEXT_1050 = NL + "\t\t"; - protected final String TEXT_1051 = " "; - protected final String TEXT_1052 = " = new"; - protected final String TEXT_1053 = " == null ? "; - protected final String TEXT_1054 = " : new"; - protected final String TEXT_1055 = ";"; - protected final String TEXT_1056 = NL + "\t\t"; - protected final String TEXT_1057 = " = new"; - protected final String TEXT_1058 = " == null ? "; - protected final String TEXT_1059 = " : new"; - protected final String TEXT_1060 = ";"; - protected final String TEXT_1061 = NL + "\t\t"; - protected final String TEXT_1062 = " "; - protected final String TEXT_1063 = " = "; - protected final String TEXT_1064 = "new"; - protected final String TEXT_1065 = ";"; - protected final String TEXT_1066 = NL + "\t\t"; - protected final String TEXT_1067 = " = "; - protected final String TEXT_1068 = "new"; - protected final String TEXT_1069 = ";"; - protected final String TEXT_1070 = NL + "\t\tObject old"; - protected final String TEXT_1071 = " = eVirtualSet("; - protected final String TEXT_1072 = ", "; - protected final String TEXT_1073 = ");"; - protected final String TEXT_1074 = NL + "\t\tboolean isSetChange = old"; - protected final String TEXT_1075 = " == EVIRTUAL_NO_VALUE;"; - protected final String TEXT_1076 = NL + "\t\tboolean old"; - protected final String TEXT_1077 = "ESet = ("; - protected final String TEXT_1078 = " & "; - protected final String TEXT_1079 = "_ESETFLAG) != 0;"; - protected final String TEXT_1080 = NL + "\t\t"; - protected final String TEXT_1081 = " |= "; - protected final String TEXT_1082 = "_ESETFLAG;"; - protected final String TEXT_1083 = NL + "\t\tboolean old"; - protected final String TEXT_1084 = "ESet = "; - protected final String TEXT_1085 = "ESet;"; - protected final String TEXT_1086 = NL + "\t\t"; - protected final String TEXT_1087 = "ESet = true;"; - protected final String TEXT_1088 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; - protected final String TEXT_1089 = "(this, "; - protected final String TEXT_1090 = ".SET, "; - protected final String TEXT_1091 = ", "; - protected final String TEXT_1092 = "isSetChange ? "; - protected final String TEXT_1093 = " : old"; - protected final String TEXT_1094 = "old"; - protected final String TEXT_1095 = ", "; - protected final String TEXT_1096 = "new"; - protected final String TEXT_1097 = ", "; - protected final String TEXT_1098 = "isSetChange"; - protected final String TEXT_1099 = "!old"; - protected final String TEXT_1100 = "ESet"; - protected final String TEXT_1101 = "));"; - protected final String TEXT_1102 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; - protected final String TEXT_1103 = "(this, "; - protected final String TEXT_1104 = ".SET, "; - protected final String TEXT_1105 = ", "; - protected final String TEXT_1106 = "old"; - protected final String TEXT_1107 = " == EVIRTUAL_NO_VALUE ? "; - protected final String TEXT_1108 = " : old"; - protected final String TEXT_1109 = "old"; - protected final String TEXT_1110 = ", "; - protected final String TEXT_1111 = "new"; - protected final String TEXT_1112 = "));"; - protected final String TEXT_1113 = NL + "\t\t"; - protected final String TEXT_1114 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; - protected final String TEXT_1115 = NL + "\t\t\t"; - protected final String TEXT_1116 = " "; - protected final String TEXT_1117 = " = "; - protected final String TEXT_1118 = "();"; - protected final String TEXT_1119 = NL + "\t\t\tObject "; - protected final String TEXT_1120 = " = eVirtualGet("; - protected final String TEXT_1121 = ");"; - protected final String TEXT_1122 = NL + "\t\t\tif ("; - protected final String TEXT_1123 = " != null && "; - protected final String TEXT_1124 = " != new"; - protected final String TEXT_1125 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; - protected final String TEXT_1126 = "(null);" + NL + "\t\t\t}"; - protected final String TEXT_1127 = NL + "\t\t\tif (new"; - protected final String TEXT_1128 = " != null)" + NL + "\t\t\t{"; - protected final String TEXT_1129 = NL + "\t\t\t\t"; - protected final String TEXT_1130 = " "; - protected final String TEXT_1131 = " = "; - protected final String TEXT_1132 = "();" + NL + "\t\t\t\tif (!"; - protected final String TEXT_1133 = ".contains(new"; - protected final String TEXT_1134 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; - protected final String TEXT_1135 = ".add(new"; - protected final String TEXT_1136 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_1137 = NL + "\t\t\t\t"; - protected final String TEXT_1138 = " "; - protected final String TEXT_1139 = " = "; - protected final String TEXT_1140 = "();"; - protected final String TEXT_1141 = NL + "\t\t\t\tObject "; - protected final String TEXT_1142 = " = eVirtualGet("; - protected final String TEXT_1143 = ");"; - protected final String TEXT_1144 = NL + "\t\t\t\tif (new"; - protected final String TEXT_1145 = " != "; - protected final String TEXT_1146 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; - protected final String TEXT_1147 = "(new"; - protected final String TEXT_1148 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_1149 = NL + "\t\t\t}"; - protected final String TEXT_1150 = NL + "\t\t}"; - protected final String TEXT_1151 = NL + "\t\t(("; - protected final String TEXT_1152 = ".Internal)(("; - protected final String TEXT_1153 = ".Internal.Wrapper)get"; - protected final String TEXT_1154 = "()).featureMap()).set("; - protected final String TEXT_1155 = ", "; - protected final String TEXT_1156 = "new "; - protected final String TEXT_1157 = "("; - protected final String TEXT_1158 = "new"; - protected final String TEXT_1159 = ")"; - protected final String TEXT_1160 = ");"; - protected final String TEXT_1161 = NL + "\t\t(("; - protected final String TEXT_1162 = ".Internal)get"; - protected final String TEXT_1163 = "()).set("; - protected final String TEXT_1164 = ", "; - protected final String TEXT_1165 = "new "; - protected final String TEXT_1166 = "("; - protected final String TEXT_1167 = "new"; - protected final String TEXT_1168 = ")"; - protected final String TEXT_1169 = ");"; - protected final String TEXT_1170 = NL + "\t\t"; + protected final String TEXT_1014 = ", new"; + protected final String TEXT_1015 = "));"; + protected final String TEXT_1016 = NL + "\t\t"; + protected final String TEXT_1017 = " old"; + protected final String TEXT_1018 = " = ("; + protected final String TEXT_1019 = " & "; + protected final String TEXT_1020 = "_EFLAG) != 0;"; + protected final String TEXT_1021 = NL + "\t\t"; + protected final String TEXT_1022 = " old"; + protected final String TEXT_1023 = " = "; + protected final String TEXT_1024 = "_EFLAG_VALUES[("; + protected final String TEXT_1025 = " & "; + protected final String TEXT_1026 = "_EFLAG) >>> "; + protected final String TEXT_1027 = "_EFLAG_OFFSET];"; + protected final String TEXT_1028 = NL + "\t\tif (new"; + protected final String TEXT_1029 = ") "; + protected final String TEXT_1030 = " |= "; + protected final String TEXT_1031 = "_EFLAG; else "; + protected final String TEXT_1032 = " &= ~"; + protected final String TEXT_1033 = "_EFLAG;"; + protected final String TEXT_1034 = NL + "\t\tif (new"; + protected final String TEXT_1035 = " == null) new"; + protected final String TEXT_1036 = " = "; + protected final String TEXT_1037 = "_EDEFAULT;" + NL + "\t\t"; + protected final String TEXT_1038 = " = "; + protected final String TEXT_1039 = " & ~"; + protected final String TEXT_1040 = "_EFLAG | "; + protected final String TEXT_1041 = "new"; + protected final String TEXT_1042 = ".ordinal()"; + protected final String TEXT_1043 = ".VALUES.indexOf(new"; + protected final String TEXT_1044 = ")"; + protected final String TEXT_1045 = " << "; + protected final String TEXT_1046 = "_EFLAG_OFFSET;"; + protected final String TEXT_1047 = NL + "\t\t"; + protected final String TEXT_1048 = " old"; + protected final String TEXT_1049 = " = "; + protected final String TEXT_1050 = ";"; + protected final String TEXT_1051 = NL + "\t\t"; + protected final String TEXT_1052 = " "; + protected final String TEXT_1053 = " = new"; + protected final String TEXT_1054 = " == null ? "; + protected final String TEXT_1055 = " : new"; + protected final String TEXT_1056 = ";"; + protected final String TEXT_1057 = NL + "\t\t"; + protected final String TEXT_1058 = " = new"; + protected final String TEXT_1059 = " == null ? "; + protected final String TEXT_1060 = " : new"; + protected final String TEXT_1061 = ";"; + protected final String TEXT_1062 = NL + "\t\t"; + protected final String TEXT_1063 = " "; + protected final String TEXT_1064 = " = "; + protected final String TEXT_1065 = "new"; + protected final String TEXT_1066 = ";"; + protected final String TEXT_1067 = NL + "\t\t"; + protected final String TEXT_1068 = " = "; + protected final String TEXT_1069 = "new"; + protected final String TEXT_1070 = ";"; + protected final String TEXT_1071 = NL + "\t\tObject old"; + protected final String TEXT_1072 = " = eVirtualSet("; + protected final String TEXT_1073 = ", "; + protected final String TEXT_1074 = ");"; + protected final String TEXT_1075 = NL + "\t\tboolean isSetChange = old"; + protected final String TEXT_1076 = " == EVIRTUAL_NO_VALUE;"; + protected final String TEXT_1077 = NL + "\t\tboolean old"; + protected final String TEXT_1078 = "ESet = ("; + protected final String TEXT_1079 = " & "; + protected final String TEXT_1080 = "_ESETFLAG) != 0;"; + protected final String TEXT_1081 = NL + "\t\t"; + protected final String TEXT_1082 = " |= "; + protected final String TEXT_1083 = "_ESETFLAG;"; + protected final String TEXT_1084 = NL + "\t\tboolean old"; + protected final String TEXT_1085 = "ESet = "; + protected final String TEXT_1086 = "ESet;"; + protected final String TEXT_1087 = NL + "\t\t"; + protected final String TEXT_1088 = "ESet = true;"; + protected final String TEXT_1089 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; + protected final String TEXT_1090 = "(this, "; + protected final String TEXT_1091 = ".SET, "; + protected final String TEXT_1092 = ", "; + protected final String TEXT_1093 = "isSetChange ? "; + protected final String TEXT_1094 = " : old"; + protected final String TEXT_1095 = "old"; + protected final String TEXT_1096 = ", "; + protected final String TEXT_1097 = "new"; + protected final String TEXT_1098 = ", "; + protected final String TEXT_1099 = "isSetChange"; + protected final String TEXT_1100 = "!old"; + protected final String TEXT_1101 = "ESet"; + protected final String TEXT_1102 = "));"; + protected final String TEXT_1103 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; + protected final String TEXT_1104 = "(this, "; + protected final String TEXT_1105 = ".SET, "; + protected final String TEXT_1106 = ", "; + protected final String TEXT_1107 = "old"; + protected final String TEXT_1108 = " == EVIRTUAL_NO_VALUE ? "; + protected final String TEXT_1109 = " : old"; + protected final String TEXT_1110 = "old"; + protected final String TEXT_1111 = ", "; + protected final String TEXT_1112 = "new"; + protected final String TEXT_1113 = "));"; + protected final String TEXT_1114 = NL + "\t\t"; + protected final String TEXT_1115 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; + protected final String TEXT_1116 = NL + "\t\t\t"; + protected final String TEXT_1117 = " "; + protected final String TEXT_1118 = " = "; + protected final String TEXT_1119 = "();"; + protected final String TEXT_1120 = NL + "\t\t\tObject "; + protected final String TEXT_1121 = " = eVirtualGet("; + protected final String TEXT_1122 = ");"; + protected final String TEXT_1123 = NL + "\t\t\tif ("; + protected final String TEXT_1124 = " != null && "; + protected final String TEXT_1125 = " != new"; + protected final String TEXT_1126 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; + protected final String TEXT_1127 = "(null);" + NL + "\t\t\t}"; + protected final String TEXT_1128 = NL + "\t\t\tif (new"; + protected final String TEXT_1129 = " != null)" + NL + "\t\t\t{"; + protected final String TEXT_1130 = NL + "\t\t\t\t"; + protected final String TEXT_1131 = " "; + protected final String TEXT_1132 = " = "; + protected final String TEXT_1133 = "();" + NL + "\t\t\t\tif (!"; + protected final String TEXT_1134 = ".contains(new"; + protected final String TEXT_1135 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; + protected final String TEXT_1136 = ".add(new"; + protected final String TEXT_1137 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_1138 = NL + "\t\t\t\t"; + protected final String TEXT_1139 = " "; + protected final String TEXT_1140 = " = "; + protected final String TEXT_1141 = "();"; + protected final String TEXT_1142 = NL + "\t\t\t\tObject "; + protected final String TEXT_1143 = " = eVirtualGet("; + protected final String TEXT_1144 = ");"; + protected final String TEXT_1145 = NL + "\t\t\t\tif (new"; + protected final String TEXT_1146 = " != "; + protected final String TEXT_1147 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; + protected final String TEXT_1148 = "(new"; + protected final String TEXT_1149 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_1150 = NL + "\t\t\t}"; + protected final String TEXT_1151 = NL + "\t\t}"; + protected final String TEXT_1152 = NL + "\t\t(("; + protected final String TEXT_1153 = ".Internal)(("; + protected final String TEXT_1154 = ".Internal.Wrapper)get"; + protected final String TEXT_1155 = "()).featureMap()).set("; + protected final String TEXT_1156 = ", "; + protected final String TEXT_1157 = "new "; + protected final String TEXT_1158 = "("; + protected final String TEXT_1159 = "new"; + protected final String TEXT_1160 = ")"; + protected final String TEXT_1161 = ");"; + protected final String TEXT_1162 = NL + "\t\t(("; + protected final String TEXT_1163 = ".Internal)get"; + protected final String TEXT_1164 = "()).set("; + protected final String TEXT_1165 = ", "; + protected final String TEXT_1166 = "new "; + protected final String TEXT_1167 = "("; + protected final String TEXT_1168 = "new"; + protected final String TEXT_1169 = ")"; + protected final String TEXT_1170 = ");"; protected final String TEXT_1171 = NL + "\t\t"; - protected final String TEXT_1172 = "."; - protected final String TEXT_1173 = "(this, "; - protected final String TEXT_1174 = ");"; - protected final String TEXT_1175 = NL + "\t\t// TODO: implement this method to set the '"; - protected final String TEXT_1176 = "' "; - protected final String TEXT_1177 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_1178 = NL + "\t}" + NL; - protected final String TEXT_1179 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1180 = NL + "\t@Override"; - protected final String TEXT_1181 = NL + "\tpublic "; - protected final String TEXT_1182 = " basicUnset"; - protected final String TEXT_1183 = "("; - protected final String TEXT_1184 = " msgs)" + NL + "\t{"; - protected final String TEXT_1185 = NL + "\t\treturn eDynamicInverseRemove(("; - protected final String TEXT_1186 = ")"; - protected final String TEXT_1187 = "basicGet"; - protected final String TEXT_1188 = "(), "; - protected final String TEXT_1189 = ", msgs);"; - protected final String TEXT_1190 = "Object old"; - protected final String TEXT_1191 = " = "; - protected final String TEXT_1192 = "eVirtualUnset("; - protected final String TEXT_1193 = ");"; - protected final String TEXT_1194 = NL + "\t\t"; - protected final String TEXT_1195 = " old"; - protected final String TEXT_1196 = " = "; - protected final String TEXT_1197 = ";"; - protected final String TEXT_1198 = NL + "\t\t"; - protected final String TEXT_1199 = " = null;"; - protected final String TEXT_1200 = NL + "\t\tboolean isSetChange = old"; - protected final String TEXT_1201 = " != EVIRTUAL_NO_VALUE;"; - protected final String TEXT_1202 = NL + "\t\tboolean old"; - protected final String TEXT_1203 = "ESet = ("; - protected final String TEXT_1204 = " & "; - protected final String TEXT_1205 = "_ESETFLAG) != 0;"; - protected final String TEXT_1206 = NL + "\t\t"; - protected final String TEXT_1207 = " &= ~"; - protected final String TEXT_1208 = "_ESETFLAG;"; - protected final String TEXT_1209 = NL + "\t\tboolean old"; - protected final String TEXT_1210 = "ESet = "; - protected final String TEXT_1211 = "ESet;"; - protected final String TEXT_1212 = NL + "\t\t"; - protected final String TEXT_1213 = "ESet = false;"; - protected final String TEXT_1214 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_1215 = " notification = new "; - protected final String TEXT_1216 = "(this, "; - protected final String TEXT_1217 = ".UNSET, "; - protected final String TEXT_1218 = ", "; - protected final String TEXT_1219 = "isSetChange ? old"; - protected final String TEXT_1220 = " : null"; - protected final String TEXT_1221 = "old"; - protected final String TEXT_1222 = ", null, "; - protected final String TEXT_1223 = "isSetChange"; - protected final String TEXT_1224 = "old"; - protected final String TEXT_1225 = "ESet"; - protected final String TEXT_1226 = ");" + NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}" + NL + "\t\treturn msgs;"; - protected final String TEXT_1227 = NL + "\t\t// TODO: implement this method to unset the contained '"; - protected final String TEXT_1228 = "' "; - protected final String TEXT_1229 = NL + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch" + NL + "\t\t// -> do not modify other features" + NL + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_1230 = NL + "\t}" + NL; - protected final String TEXT_1231 = NL + "\t/**" + NL + "\t * Unsets the value of the '{@link "; - protected final String TEXT_1232 = "#"; - protected final String TEXT_1233 = " <em>"; - protected final String TEXT_1234 = "</em>}' "; - protected final String TEXT_1235 = "."; - protected final String TEXT_1236 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_1237 = NL + "\t * @see #isSet"; - protected final String TEXT_1238 = "()"; - protected final String TEXT_1239 = NL + "\t * @see #"; - protected final String TEXT_1240 = "()"; - protected final String TEXT_1241 = NL + "\t * @see #set"; - protected final String TEXT_1242 = "("; - protected final String TEXT_1243 = ")"; - protected final String TEXT_1244 = NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1245 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1246 = NL + "\t@Override"; - protected final String TEXT_1247 = NL + "\tvoid unset"; - protected final String TEXT_1248 = "();" + NL; - protected final String TEXT_1249 = NL + "\tpublic void unset"; - protected final String TEXT_1250 = "_"; - protected final String TEXT_1251 = "()" + NL + "\t{"; - protected final String TEXT_1252 = NL + "\t\teDynamicUnset("; - protected final String TEXT_1253 = ", "; - protected final String TEXT_1254 = ");"; - protected final String TEXT_1255 = NL + "\t\teUnset("; - protected final String TEXT_1256 = ");"; - protected final String TEXT_1257 = NL + "\t\t"; - protected final String TEXT_1258 = "__ESETTING_DELEGATE.dynamicUnset(this, null, 0);"; - protected final String TEXT_1259 = NL + "\t\t"; - protected final String TEXT_1260 = " "; - protected final String TEXT_1261 = " = ("; - protected final String TEXT_1262 = ")eVirtualGet("; - protected final String TEXT_1263 = ");"; - protected final String TEXT_1264 = NL + "\t\tif ("; - protected final String TEXT_1265 = " != null) (("; - protected final String TEXT_1266 = ".Unsettable"; - protected final String TEXT_1267 = ")"; - protected final String TEXT_1268 = ").unset();"; - protected final String TEXT_1269 = NL + "\t\t"; - protected final String TEXT_1270 = " "; - protected final String TEXT_1271 = " = ("; - protected final String TEXT_1272 = ")eVirtualGet("; - protected final String TEXT_1273 = ");"; - protected final String TEXT_1274 = NL + "\t\tif ("; - protected final String TEXT_1275 = " != null)" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_1276 = " msgs = null;"; - protected final String TEXT_1277 = NL + "\t\t\tmsgs = (("; - protected final String TEXT_1278 = ")"; - protected final String TEXT_1279 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - "; - protected final String TEXT_1280 = ", null, msgs);"; - protected final String TEXT_1281 = NL + "\t\t\tmsgs = (("; - protected final String TEXT_1282 = ")"; - protected final String TEXT_1283 = ").eInverseRemove(this, "; - protected final String TEXT_1284 = ", "; - protected final String TEXT_1285 = ".class, msgs);"; - protected final String TEXT_1286 = NL + "\t\t\tmsgs = basicUnset"; - protected final String TEXT_1287 = "(msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{"; - protected final String TEXT_1288 = NL + "\t\t\tboolean old"; - protected final String TEXT_1289 = "ESet = eVirtualIsSet("; - protected final String TEXT_1290 = ");"; - protected final String TEXT_1291 = NL + "\t\t\tboolean old"; - protected final String TEXT_1292 = "ESet = ("; - protected final String TEXT_1293 = " & "; - protected final String TEXT_1294 = "_ESETFLAG) != 0;"; - protected final String TEXT_1295 = NL + "\t\t\t"; - protected final String TEXT_1296 = " &= ~"; - protected final String TEXT_1297 = "_ESETFLAG;"; - protected final String TEXT_1298 = NL + "\t\t\tboolean old"; - protected final String TEXT_1299 = "ESet = "; - protected final String TEXT_1300 = "ESet;"; - protected final String TEXT_1301 = NL + "\t\t\t"; - protected final String TEXT_1302 = "ESet = false;"; - protected final String TEXT_1303 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new "; - protected final String TEXT_1304 = "(this, "; - protected final String TEXT_1305 = ".UNSET, "; - protected final String TEXT_1306 = ", null, null, old"; - protected final String TEXT_1307 = "ESet));"; - protected final String TEXT_1308 = NL + "\t\t}"; - protected final String TEXT_1309 = NL + "\t\t"; - protected final String TEXT_1310 = " old"; - protected final String TEXT_1311 = " = ("; - protected final String TEXT_1312 = " & "; - protected final String TEXT_1313 = "_EFLAG) != 0;"; - protected final String TEXT_1314 = NL + "\t\t"; - protected final String TEXT_1315 = " old"; - protected final String TEXT_1316 = " = "; - protected final String TEXT_1317 = "_EFLAG_VALUES[("; - protected final String TEXT_1318 = " & "; - protected final String TEXT_1319 = "_EFLAG) >>> "; - protected final String TEXT_1320 = "_EFLAG_OFFSET];"; - protected final String TEXT_1321 = NL + "\t\tObject old"; - protected final String TEXT_1322 = " = eVirtualUnset("; - protected final String TEXT_1323 = ");"; - protected final String TEXT_1324 = NL + "\t\t"; - protected final String TEXT_1325 = " old"; - protected final String TEXT_1326 = " = "; - protected final String TEXT_1327 = ";"; - protected final String TEXT_1328 = NL + "\t\tboolean isSetChange = old"; - protected final String TEXT_1329 = " != EVIRTUAL_NO_VALUE;"; - protected final String TEXT_1330 = NL + "\t\tboolean old"; - protected final String TEXT_1331 = "ESet = ("; - protected final String TEXT_1332 = " & "; - protected final String TEXT_1333 = "_ESETFLAG) != 0;"; - protected final String TEXT_1334 = NL + "\t\tboolean old"; - protected final String TEXT_1335 = "ESet = "; - protected final String TEXT_1336 = "ESet;"; - protected final String TEXT_1337 = NL + "\t\t"; - protected final String TEXT_1338 = " = null;"; - protected final String TEXT_1339 = NL + "\t\t"; - protected final String TEXT_1340 = " &= ~"; - protected final String TEXT_1341 = "_ESETFLAG;"; - protected final String TEXT_1342 = NL + "\t\t"; - protected final String TEXT_1343 = "ESet = false;"; - protected final String TEXT_1344 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; - protected final String TEXT_1345 = "(this, "; - protected final String TEXT_1346 = ".UNSET, "; - protected final String TEXT_1347 = ", "; - protected final String TEXT_1348 = "isSetChange ? old"; - protected final String TEXT_1349 = " : null"; - protected final String TEXT_1350 = "old"; - protected final String TEXT_1351 = ", null, "; - protected final String TEXT_1352 = "isSetChange"; - protected final String TEXT_1353 = "old"; - protected final String TEXT_1354 = "ESet"; - protected final String TEXT_1355 = "));"; - protected final String TEXT_1356 = NL + "\t\tif ("; - protected final String TEXT_1357 = ") "; - protected final String TEXT_1358 = " |= "; - protected final String TEXT_1359 = "_EFLAG; else "; - protected final String TEXT_1360 = " &= ~"; - protected final String TEXT_1361 = "_EFLAG;"; - protected final String TEXT_1362 = NL + "\t\t"; - protected final String TEXT_1363 = " = "; - protected final String TEXT_1364 = " & ~"; - protected final String TEXT_1365 = "_EFLAG | "; - protected final String TEXT_1366 = "_EFLAG_DEFAULT;"; - protected final String TEXT_1367 = NL + "\t\t"; - protected final String TEXT_1368 = " = "; - protected final String TEXT_1369 = ";"; - protected final String TEXT_1370 = NL + "\t\t"; - protected final String TEXT_1371 = " &= ~"; - protected final String TEXT_1372 = "_ESETFLAG;"; - protected final String TEXT_1373 = NL + "\t\t"; - protected final String TEXT_1374 = "ESet = false;"; - protected final String TEXT_1375 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; - protected final String TEXT_1376 = "(this, "; - protected final String TEXT_1377 = ".UNSET, "; - protected final String TEXT_1378 = ", "; - protected final String TEXT_1379 = "isSetChange ? old"; - protected final String TEXT_1380 = " : "; - protected final String TEXT_1381 = "old"; - protected final String TEXT_1382 = ", "; + protected final String TEXT_1172 = NL + "\t\t"; + protected final String TEXT_1173 = "."; + protected final String TEXT_1174 = "(this, "; + protected final String TEXT_1175 = ");"; + protected final String TEXT_1176 = NL + "\t\t// TODO: implement this method to set the '"; + protected final String TEXT_1177 = "' "; + protected final String TEXT_1178 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_1179 = NL + "\t}" + NL; + protected final String TEXT_1180 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1181 = NL + "\t@Override"; + protected final String TEXT_1182 = NL + "\tpublic "; + protected final String TEXT_1183 = " basicUnset"; + protected final String TEXT_1184 = "("; + protected final String TEXT_1185 = " msgs)" + NL + "\t{"; + protected final String TEXT_1186 = NL + "\t\treturn eDynamicInverseRemove(("; + protected final String TEXT_1187 = ")"; + protected final String TEXT_1188 = "basicGet"; + protected final String TEXT_1189 = "(), "; + protected final String TEXT_1190 = ", msgs);"; + protected final String TEXT_1191 = "Object old"; + protected final String TEXT_1192 = " = "; + protected final String TEXT_1193 = "eVirtualUnset("; + protected final String TEXT_1194 = ");"; + protected final String TEXT_1195 = NL + "\t\t"; + protected final String TEXT_1196 = " old"; + protected final String TEXT_1197 = " = "; + protected final String TEXT_1198 = ";"; + protected final String TEXT_1199 = NL + "\t\t"; + protected final String TEXT_1200 = " = null;"; + protected final String TEXT_1201 = NL + "\t\tboolean isSetChange = old"; + protected final String TEXT_1202 = " != EVIRTUAL_NO_VALUE;"; + protected final String TEXT_1203 = NL + "\t\tboolean old"; + protected final String TEXT_1204 = "ESet = ("; + protected final String TEXT_1205 = " & "; + protected final String TEXT_1206 = "_ESETFLAG) != 0;"; + protected final String TEXT_1207 = NL + "\t\t"; + protected final String TEXT_1208 = " &= ~"; + protected final String TEXT_1209 = "_ESETFLAG;"; + protected final String TEXT_1210 = NL + "\t\tboolean old"; + protected final String TEXT_1211 = "ESet = "; + protected final String TEXT_1212 = "ESet;"; + protected final String TEXT_1213 = NL + "\t\t"; + protected final String TEXT_1214 = "ESet = false;"; + protected final String TEXT_1215 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_1216 = " notification = new "; + protected final String TEXT_1217 = "(this, "; + protected final String TEXT_1218 = ".UNSET, "; + protected final String TEXT_1219 = ", "; + protected final String TEXT_1220 = "isSetChange ? old"; + protected final String TEXT_1221 = " : null"; + protected final String TEXT_1222 = "old"; + protected final String TEXT_1223 = ", null, "; + protected final String TEXT_1224 = "isSetChange"; + protected final String TEXT_1225 = "old"; + protected final String TEXT_1226 = "ESet"; + protected final String TEXT_1227 = ");" + NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}" + NL + "\t\treturn msgs;"; + protected final String TEXT_1228 = NL + "\t\t// TODO: implement this method to unset the contained '"; + protected final String TEXT_1229 = "' "; + protected final String TEXT_1230 = NL + "\t\t// -> this method is automatically invoked to keep the containment relationship in synch" + NL + "\t\t// -> do not modify other features" + NL + "\t\t// -> return msgs, after adding any generated Notification to it (if it is null, a NotificationChain object must be created first)" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_1231 = NL + "\t}" + NL; + protected final String TEXT_1232 = NL + "\t/**" + NL + "\t * Unsets the value of the '{@link "; + protected final String TEXT_1233 = "#"; + protected final String TEXT_1234 = " <em>"; + protected final String TEXT_1235 = "</em>}' "; + protected final String TEXT_1236 = "."; + protected final String TEXT_1237 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_1238 = NL + "\t * @see #isSet"; + protected final String TEXT_1239 = "()"; + protected final String TEXT_1240 = NL + "\t * @see #"; + protected final String TEXT_1241 = "()"; + protected final String TEXT_1242 = NL + "\t * @see #set"; + protected final String TEXT_1243 = "("; + protected final String TEXT_1244 = ")"; + protected final String TEXT_1245 = NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1246 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1247 = NL + "\t@Override"; + protected final String TEXT_1248 = NL + "\tvoid unset"; + protected final String TEXT_1249 = "();" + NL; + protected final String TEXT_1250 = NL + "\tpublic void unset"; + protected final String TEXT_1251 = "_"; + protected final String TEXT_1252 = "()" + NL + "\t{"; + protected final String TEXT_1253 = NL + "\t\teDynamicUnset("; + protected final String TEXT_1254 = ", "; + protected final String TEXT_1255 = ");"; + protected final String TEXT_1256 = NL + "\t\teUnset("; + protected final String TEXT_1257 = ");"; + protected final String TEXT_1258 = NL + "\t\t"; + protected final String TEXT_1259 = "__ESETTING_DELEGATE.dynamicUnset(this, null, 0);"; + protected final String TEXT_1260 = NL + "\t\t"; + protected final String TEXT_1261 = " "; + protected final String TEXT_1262 = " = ("; + protected final String TEXT_1263 = ")eVirtualGet("; + protected final String TEXT_1264 = ");"; + protected final String TEXT_1265 = NL + "\t\tif ("; + protected final String TEXT_1266 = " != null) (("; + protected final String TEXT_1267 = ".Unsettable"; + protected final String TEXT_1268 = ")"; + protected final String TEXT_1269 = ").unset();"; + protected final String TEXT_1270 = NL + "\t\t"; + protected final String TEXT_1271 = " "; + protected final String TEXT_1272 = " = ("; + protected final String TEXT_1273 = ")eVirtualGet("; + protected final String TEXT_1274 = ");"; + protected final String TEXT_1275 = NL + "\t\tif ("; + protected final String TEXT_1276 = " != null)" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_1277 = " msgs = null;"; + protected final String TEXT_1278 = NL + "\t\t\tmsgs = (("; + protected final String TEXT_1279 = ")"; + protected final String TEXT_1280 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - "; + protected final String TEXT_1281 = ", null, msgs);"; + protected final String TEXT_1282 = NL + "\t\t\tmsgs = (("; + protected final String TEXT_1283 = ")"; + protected final String TEXT_1284 = ").eInverseRemove(this, "; + protected final String TEXT_1285 = ", "; + protected final String TEXT_1286 = ".class, msgs);"; + protected final String TEXT_1287 = NL + "\t\t\tmsgs = basicUnset"; + protected final String TEXT_1288 = "(msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{"; + protected final String TEXT_1289 = NL + "\t\t\tboolean old"; + protected final String TEXT_1290 = "ESet = eVirtualIsSet("; + protected final String TEXT_1291 = ");"; + protected final String TEXT_1292 = NL + "\t\t\tboolean old"; + protected final String TEXT_1293 = "ESet = ("; + protected final String TEXT_1294 = " & "; + protected final String TEXT_1295 = "_ESETFLAG) != 0;"; + protected final String TEXT_1296 = NL + "\t\t\t"; + protected final String TEXT_1297 = " &= ~"; + protected final String TEXT_1298 = "_ESETFLAG;"; + protected final String TEXT_1299 = NL + "\t\t\tboolean old"; + protected final String TEXT_1300 = "ESet = "; + protected final String TEXT_1301 = "ESet;"; + protected final String TEXT_1302 = NL + "\t\t\t"; + protected final String TEXT_1303 = "ESet = false;"; + protected final String TEXT_1304 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new "; + protected final String TEXT_1305 = "(this, "; + protected final String TEXT_1306 = ".UNSET, "; + protected final String TEXT_1307 = ", null, null, old"; + protected final String TEXT_1308 = "ESet));"; + protected final String TEXT_1309 = NL + "\t\t}"; + protected final String TEXT_1310 = NL + "\t\t"; + protected final String TEXT_1311 = " old"; + protected final String TEXT_1312 = " = ("; + protected final String TEXT_1313 = " & "; + protected final String TEXT_1314 = "_EFLAG) != 0;"; + protected final String TEXT_1315 = NL + "\t\t"; + protected final String TEXT_1316 = " old"; + protected final String TEXT_1317 = " = "; + protected final String TEXT_1318 = "_EFLAG_VALUES[("; + protected final String TEXT_1319 = " & "; + protected final String TEXT_1320 = "_EFLAG) >>> "; + protected final String TEXT_1321 = "_EFLAG_OFFSET];"; + protected final String TEXT_1322 = NL + "\t\tObject old"; + protected final String TEXT_1323 = " = eVirtualUnset("; + protected final String TEXT_1324 = ");"; + protected final String TEXT_1325 = NL + "\t\t"; + protected final String TEXT_1326 = " old"; + protected final String TEXT_1327 = " = "; + protected final String TEXT_1328 = ";"; + protected final String TEXT_1329 = NL + "\t\tboolean isSetChange = old"; + protected final String TEXT_1330 = " != EVIRTUAL_NO_VALUE;"; + protected final String TEXT_1331 = NL + "\t\tboolean old"; + protected final String TEXT_1332 = "ESet = ("; + protected final String TEXT_1333 = " & "; + protected final String TEXT_1334 = "_ESETFLAG) != 0;"; + protected final String TEXT_1335 = NL + "\t\tboolean old"; + protected final String TEXT_1336 = "ESet = "; + protected final String TEXT_1337 = "ESet;"; + protected final String TEXT_1338 = NL + "\t\t"; + protected final String TEXT_1339 = " = null;"; + protected final String TEXT_1340 = NL + "\t\t"; + protected final String TEXT_1341 = " &= ~"; + protected final String TEXT_1342 = "_ESETFLAG;"; + protected final String TEXT_1343 = NL + "\t\t"; + protected final String TEXT_1344 = "ESet = false;"; + protected final String TEXT_1345 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; + protected final String TEXT_1346 = "(this, "; + protected final String TEXT_1347 = ".UNSET, "; + protected final String TEXT_1348 = ", "; + protected final String TEXT_1349 = "isSetChange ? old"; + protected final String TEXT_1350 = " : null"; + protected final String TEXT_1351 = "old"; + protected final String TEXT_1352 = ", null, "; + protected final String TEXT_1353 = "isSetChange"; + protected final String TEXT_1354 = "old"; + protected final String TEXT_1355 = "ESet"; + protected final String TEXT_1356 = "));"; + protected final String TEXT_1357 = NL + "\t\tif ("; + protected final String TEXT_1358 = ") "; + protected final String TEXT_1359 = " |= "; + protected final String TEXT_1360 = "_EFLAG; else "; + protected final String TEXT_1361 = " &= ~"; + protected final String TEXT_1362 = "_EFLAG;"; + protected final String TEXT_1363 = NL + "\t\t"; + protected final String TEXT_1364 = " = "; + protected final String TEXT_1365 = " & ~"; + protected final String TEXT_1366 = "_EFLAG | "; + protected final String TEXT_1367 = "_EFLAG_DEFAULT;"; + protected final String TEXT_1368 = NL + "\t\t"; + protected final String TEXT_1369 = " = "; + protected final String TEXT_1370 = ";"; + protected final String TEXT_1371 = NL + "\t\t"; + protected final String TEXT_1372 = " &= ~"; + protected final String TEXT_1373 = "_ESETFLAG;"; + protected final String TEXT_1374 = NL + "\t\t"; + protected final String TEXT_1375 = "ESet = false;"; + protected final String TEXT_1376 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; + protected final String TEXT_1377 = "(this, "; + protected final String TEXT_1378 = ".UNSET, "; + protected final String TEXT_1379 = ", "; + protected final String TEXT_1380 = "isSetChange ? old"; + protected final String TEXT_1381 = " : "; + protected final String TEXT_1382 = "old"; protected final String TEXT_1383 = ", "; - protected final String TEXT_1384 = "isSetChange"; - protected final String TEXT_1385 = "old"; - protected final String TEXT_1386 = "ESet"; - protected final String TEXT_1387 = "));"; - protected final String TEXT_1388 = NL + "\t\t(("; - protected final String TEXT_1389 = ".Internal)(("; - protected final String TEXT_1390 = ".Internal.Wrapper)get"; - protected final String TEXT_1391 = "()).featureMap()).clear("; - protected final String TEXT_1392 = ");"; - protected final String TEXT_1393 = NL + "\t\t(("; - protected final String TEXT_1394 = ".Internal)get"; - protected final String TEXT_1395 = "()).clear("; - protected final String TEXT_1396 = ");"; - protected final String TEXT_1397 = NL + "\t\t"; + protected final String TEXT_1384 = ", "; + protected final String TEXT_1385 = "isSetChange"; + protected final String TEXT_1386 = "old"; + protected final String TEXT_1387 = "ESet"; + protected final String TEXT_1388 = "));"; + protected final String TEXT_1389 = NL + "\t\t(("; + protected final String TEXT_1390 = ".Internal)(("; + protected final String TEXT_1391 = ".Internal.Wrapper)get"; + protected final String TEXT_1392 = "()).featureMap()).clear("; + protected final String TEXT_1393 = ");"; + protected final String TEXT_1394 = NL + "\t\t(("; + protected final String TEXT_1395 = ".Internal)get"; + protected final String TEXT_1396 = "()).clear("; + protected final String TEXT_1397 = ");"; protected final String TEXT_1398 = NL + "\t\t"; - protected final String TEXT_1399 = "."; - protected final String TEXT_1400 = "(this);"; - protected final String TEXT_1401 = NL + "\t\t// TODO: implement this method to unset the '"; - protected final String TEXT_1402 = "' "; - protected final String TEXT_1403 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_1404 = NL + "\t}" + NL; - protected final String TEXT_1405 = NL + "\t/**" + NL + "\t * Returns whether the value of the '{@link "; - protected final String TEXT_1406 = "#"; - protected final String TEXT_1407 = " <em>"; - protected final String TEXT_1408 = "</em>}' "; - protected final String TEXT_1409 = " is set."; - protected final String TEXT_1410 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return whether the value of the '<em>"; - protected final String TEXT_1411 = "</em>' "; - protected final String TEXT_1412 = " is set."; - protected final String TEXT_1413 = NL + "\t * @see #unset"; - protected final String TEXT_1414 = "()"; - protected final String TEXT_1415 = NL + "\t * @see #"; - protected final String TEXT_1416 = "()"; - protected final String TEXT_1417 = NL + "\t * @see #set"; - protected final String TEXT_1418 = "("; - protected final String TEXT_1419 = ")"; - protected final String TEXT_1420 = NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1421 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1422 = NL + "\t@Override"; - protected final String TEXT_1423 = NL + "\tboolean isSet"; - protected final String TEXT_1424 = "();" + NL; - protected final String TEXT_1425 = NL + "\tpublic boolean isSet"; - protected final String TEXT_1426 = "_"; - protected final String TEXT_1427 = "()" + NL + "\t{"; - protected final String TEXT_1428 = NL + "\t\treturn eDynamicIsSet("; - protected final String TEXT_1429 = ", "; - protected final String TEXT_1430 = ");"; - protected final String TEXT_1431 = NL + "\t\treturn eIsSet("; - protected final String TEXT_1432 = ");"; - protected final String TEXT_1433 = NL + "\t\treturn "; - protected final String TEXT_1434 = "__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);"; - protected final String TEXT_1435 = NL + "\t\t"; - protected final String TEXT_1436 = " "; - protected final String TEXT_1437 = " = ("; - protected final String TEXT_1438 = ")eVirtualGet("; - protected final String TEXT_1439 = ");"; - protected final String TEXT_1440 = NL + "\t\treturn "; - protected final String TEXT_1441 = " != null && (("; - protected final String TEXT_1442 = ".Unsettable"; - protected final String TEXT_1443 = ")"; - protected final String TEXT_1444 = ").isSet();"; - protected final String TEXT_1445 = NL + "\t\treturn eVirtualIsSet("; - protected final String TEXT_1446 = ");"; - protected final String TEXT_1447 = NL + "\t\treturn ("; - protected final String TEXT_1448 = " & "; - protected final String TEXT_1449 = "_ESETFLAG) != 0;"; - protected final String TEXT_1450 = NL + "\t\treturn "; - protected final String TEXT_1451 = "ESet;"; - protected final String TEXT_1452 = NL + "\t\treturn !(("; - protected final String TEXT_1453 = ".Internal)(("; - protected final String TEXT_1454 = ".Internal.Wrapper)get"; - protected final String TEXT_1455 = "()).featureMap()).isEmpty("; - protected final String TEXT_1456 = ");"; - protected final String TEXT_1457 = NL + "\t\treturn !(("; - protected final String TEXT_1458 = ".Internal)get"; - protected final String TEXT_1459 = "()).isEmpty("; - protected final String TEXT_1460 = ");"; - protected final String TEXT_1461 = NL + "\t\t"; - protected final String TEXT_1462 = NL + "\t\treturn "; - protected final String TEXT_1463 = "."; - protected final String TEXT_1464 = "(this);"; - protected final String TEXT_1465 = NL + "\t\t// TODO: implement this method to return whether the '"; - protected final String TEXT_1466 = "' "; - protected final String TEXT_1467 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_1468 = NL + "\t}" + NL; - protected final String TEXT_1469 = NL + "\t/**" + NL + "\t * The array of subset feature identifiers for the '{@link #"; - protected final String TEXT_1470 = "() <em>"; - protected final String TEXT_1471 = "</em>}' "; - protected final String TEXT_1472 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_1473 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; - protected final String TEXT_1474 = "_ESUBSETS = "; - protected final String TEXT_1475 = ";" + NL; - protected final String TEXT_1476 = NL + "\t/**" + NL + "\t * The array of superset feature identifiers for the '{@link #"; - protected final String TEXT_1477 = "() <em>"; - protected final String TEXT_1478 = "</em>}' "; - protected final String TEXT_1479 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_1480 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; - protected final String TEXT_1481 = "_ESUPERSETS = "; - protected final String TEXT_1482 = ";" + NL; - protected final String TEXT_1483 = NL + "\t/**"; - protected final String TEXT_1484 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1485 = "}, with the specified "; - protected final String TEXT_1486 = ", and appends it to the '<em><b>"; - protected final String TEXT_1487 = "</b></em>' "; - protected final String TEXT_1488 = "."; - protected final String TEXT_1489 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1490 = "}, with the specified "; - protected final String TEXT_1491 = ", and sets the '<em><b>"; - protected final String TEXT_1492 = "</b></em>' "; - protected final String TEXT_1493 = "."; - protected final String TEXT_1494 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1495 = "} and appends it to the '<em><b>"; - protected final String TEXT_1496 = "</b></em>' "; - protected final String TEXT_1497 = "."; - protected final String TEXT_1498 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1499 = "} and sets the '<em><b>"; - protected final String TEXT_1500 = "</b></em>' "; - protected final String TEXT_1501 = "."; - protected final String TEXT_1502 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_1503 = NL + "\t * @param "; - protected final String TEXT_1504 = " The "; - protected final String TEXT_1505 = " for the new {@link "; - protected final String TEXT_1506 = "}, or <code>null</code>."; - protected final String TEXT_1507 = NL + "\t * @param eClass The Ecore class of the {@link "; - protected final String TEXT_1508 = "} to create." + NL + "\t * @return The new {@link "; - protected final String TEXT_1509 = "}." + NL + "\t * @see #"; - protected final String TEXT_1510 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1511 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1512 = NL + "\t"; - protected final String TEXT_1513 = " create"; - protected final String TEXT_1514 = "("; - protected final String TEXT_1515 = ", "; - protected final String TEXT_1516 = " eClass);" + NL; - protected final String TEXT_1517 = NL + "\t@Override"; - protected final String TEXT_1518 = NL + "\tpublic "; - protected final String TEXT_1519 = " create"; - protected final String TEXT_1520 = "("; - protected final String TEXT_1521 = ", "; - protected final String TEXT_1522 = " eClass)" + NL + "\t{" + NL + "\t\t"; - protected final String TEXT_1523 = " new"; - protected final String TEXT_1524 = " = ("; - protected final String TEXT_1525 = ") create(eClass);"; - protected final String TEXT_1526 = NL + "\t\t"; - protected final String TEXT_1527 = "().add(new"; - protected final String TEXT_1528 = ");"; - protected final String TEXT_1529 = NL + "\t\tset"; - protected final String TEXT_1530 = "(new"; - protected final String TEXT_1531 = ");"; - protected final String TEXT_1532 = NL + "\t\tint "; - protected final String TEXT_1533 = "ListSize = 0;"; - protected final String TEXT_1534 = NL + "\t\tint "; - protected final String TEXT_1535 = "Size = "; - protected final String TEXT_1536 = " == null ? 0 : "; - protected final String TEXT_1537 = ".size();" + NL + "\t\tif ("; - protected final String TEXT_1538 = "Size > "; - protected final String TEXT_1539 = "ListSize)" + NL + "\t\t\t"; - protected final String TEXT_1540 = "ListSize = "; - protected final String TEXT_1541 = "Size;"; - protected final String TEXT_1542 = NL + "\t\tfor (int i = 0; i < "; - protected final String TEXT_1543 = "ListSize; i++) {" + NL + "\t\t\tnew"; - protected final String TEXT_1544 = ".create"; - protected final String TEXT_1545 = "("; - protected final String TEXT_1546 = ", "; - protected final String TEXT_1547 = "i < "; - protected final String TEXT_1548 = "Size ? ("; - protected final String TEXT_1549 = ") "; - protected final String TEXT_1550 = ".get(i) : null"; - protected final String TEXT_1551 = ");" + NL + "\t\t}"; - protected final String TEXT_1552 = NL + "\t\tnew"; - protected final String TEXT_1553 = ".create"; - protected final String TEXT_1554 = "("; - protected final String TEXT_1555 = ", "; - protected final String TEXT_1556 = ");"; - protected final String TEXT_1557 = NL + "\t\tif ("; - protected final String TEXT_1558 = " != null)"; - protected final String TEXT_1559 = NL + "\t\t\tnew"; - protected final String TEXT_1560 = "."; - protected final String TEXT_1561 = "().addAll("; - protected final String TEXT_1562 = ");"; - protected final String TEXT_1563 = NL + "\t\t\tnew"; - protected final String TEXT_1564 = ".set"; - protected final String TEXT_1565 = "("; - protected final String TEXT_1566 = ");"; - protected final String TEXT_1567 = NL + "\t\treturn new"; - protected final String TEXT_1568 = ";" + NL + "\t}" + NL; - protected final String TEXT_1569 = NL + "\t/**"; - protected final String TEXT_1570 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1571 = "}, with the specified "; - protected final String TEXT_1572 = ", and appends it to the '<em><b>"; - protected final String TEXT_1573 = "</b></em>' "; - protected final String TEXT_1574 = "."; - protected final String TEXT_1575 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1576 = "},with the specified "; - protected final String TEXT_1577 = ", and sets the '<em><b>"; - protected final String TEXT_1578 = "</b></em>' "; - protected final String TEXT_1579 = "."; - protected final String TEXT_1580 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1581 = "} and appends it to the '<em><b>"; - protected final String TEXT_1582 = "</b></em>' "; - protected final String TEXT_1583 = "."; - protected final String TEXT_1584 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1585 = "} and sets the '<em><b>"; - protected final String TEXT_1586 = "</b></em>' "; - protected final String TEXT_1587 = "."; - protected final String TEXT_1588 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_1589 = NL + "\t * @param "; - protected final String TEXT_1590 = " The "; - protected final String TEXT_1591 = " for the new {@link "; - protected final String TEXT_1592 = "}, or <code>null</code>."; - protected final String TEXT_1593 = NL + "\t * @return The new {@link "; - protected final String TEXT_1594 = "}." + NL + "\t * @see #"; - protected final String TEXT_1595 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1596 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1597 = NL + "\t"; - protected final String TEXT_1598 = " create"; - protected final String TEXT_1599 = "("; - protected final String TEXT_1600 = ");" + NL; - protected final String TEXT_1601 = NL + "\t@Override"; - protected final String TEXT_1602 = NL + "\tpublic "; - protected final String TEXT_1603 = " create"; - protected final String TEXT_1604 = "("; - protected final String TEXT_1605 = ")" + NL + "\t{"; - protected final String TEXT_1606 = NL + "\t\treturn create"; - protected final String TEXT_1607 = "("; - protected final String TEXT_1608 = ", "; - protected final String TEXT_1609 = ");"; - protected final String TEXT_1610 = NL + "\t\t"; - protected final String TEXT_1611 = " new"; - protected final String TEXT_1612 = " = ("; - protected final String TEXT_1613 = ") create("; - protected final String TEXT_1614 = ");"; - protected final String TEXT_1615 = NL + "\t\t"; - protected final String TEXT_1616 = "().add(new"; - protected final String TEXT_1617 = ");"; - protected final String TEXT_1618 = NL + "\t\tset"; - protected final String TEXT_1619 = "(new"; - protected final String TEXT_1620 = ");"; - protected final String TEXT_1621 = NL + "\t\tint "; - protected final String TEXT_1622 = "ListSize = 0;"; - protected final String TEXT_1623 = NL + "\t\tint "; - protected final String TEXT_1624 = "Size = "; - protected final String TEXT_1625 = " == null ? 0 : "; - protected final String TEXT_1626 = ".size();" + NL + "\t\tif ("; - protected final String TEXT_1627 = "Size > "; - protected final String TEXT_1628 = "ListSize)" + NL + "\t\t\t"; - protected final String TEXT_1629 = "ListSize = "; - protected final String TEXT_1630 = "Size;"; - protected final String TEXT_1631 = NL + "\t\tfor (int i = 0; i < "; - protected final String TEXT_1632 = "ListSize; i++) {" + NL + "\t\t\tnew"; - protected final String TEXT_1633 = ".create"; - protected final String TEXT_1634 = "("; - protected final String TEXT_1635 = ", "; - protected final String TEXT_1636 = "i < "; - protected final String TEXT_1637 = "Size ? ("; - protected final String TEXT_1638 = ") "; - protected final String TEXT_1639 = ".get(i) : null"; - protected final String TEXT_1640 = ");" + NL + "\t\t}"; - protected final String TEXT_1641 = NL + "\t\tnew"; - protected final String TEXT_1642 = ".create"; - protected final String TEXT_1643 = "("; - protected final String TEXT_1644 = ", "; - protected final String TEXT_1645 = ");"; - protected final String TEXT_1646 = NL + "\t\tif ("; - protected final String TEXT_1647 = " != null)"; - protected final String TEXT_1648 = NL + "\t\t\tnew"; - protected final String TEXT_1649 = "."; - protected final String TEXT_1650 = "().addAll("; - protected final String TEXT_1651 = ");"; - protected final String TEXT_1652 = NL + "\t\t\tnew"; - protected final String TEXT_1653 = ".set"; - protected final String TEXT_1654 = "("; - protected final String TEXT_1655 = ");"; - protected final String TEXT_1656 = NL + "\t\treturn new"; - protected final String TEXT_1657 = ";"; - protected final String TEXT_1658 = NL + "\t}" + NL; - protected final String TEXT_1659 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; - protected final String TEXT_1660 = "} with the specified "; - protected final String TEXT_1661 = " from the '<em><b>"; - protected final String TEXT_1662 = "</b></em>' "; - protected final String TEXT_1663 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_1664 = NL + "\t * @param "; - protected final String TEXT_1665 = " The "; - protected final String TEXT_1666 = " of the {@link "; - protected final String TEXT_1667 = "} to retrieve, or <code>null</code>."; - protected final String TEXT_1668 = NL + "\t * @return The first {@link "; - protected final String TEXT_1669 = "} with the specified "; - protected final String TEXT_1670 = ", or <code>null</code>." + NL + "\t * @see #"; - protected final String TEXT_1671 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1672 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1673 = NL + "\t"; - protected final String TEXT_1674 = " get"; - protected final String TEXT_1675 = "("; - protected final String TEXT_1676 = ");" + NL; - protected final String TEXT_1677 = NL + "\t@Override"; - protected final String TEXT_1678 = NL + "\tpublic "; - protected final String TEXT_1679 = " get"; - protected final String TEXT_1680 = "("; - protected final String TEXT_1681 = ")" + NL + "\t{" + NL + "\t\treturn get"; - protected final String TEXT_1682 = "("; - protected final String TEXT_1683 = ", false"; - protected final String TEXT_1684 = ", null"; - protected final String TEXT_1685 = ", false"; - protected final String TEXT_1686 = ");" + NL + "\t}" + NL; - protected final String TEXT_1687 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; - protected final String TEXT_1688 = "} with the specified "; - protected final String TEXT_1689 = " from the '<em><b>"; - protected final String TEXT_1690 = "</b></em>' "; - protected final String TEXT_1691 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_1692 = NL + "\t * @param "; - protected final String TEXT_1693 = " The "; - protected final String TEXT_1694 = " of the {@link "; - protected final String TEXT_1695 = "} to retrieve, or <code>null</code>."; - protected final String TEXT_1696 = NL + "\t * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons."; - protected final String TEXT_1697 = NL + "\t * @param eClass The Ecore class of the {@link "; - protected final String TEXT_1698 = "} to retrieve, or <code>null</code>."; - protected final String TEXT_1699 = NL + "\t * @param createOnDemand Whether to create a {@link "; - protected final String TEXT_1700 = "} on demand if not found."; - protected final String TEXT_1701 = NL + "\t * @return The first {@link "; - protected final String TEXT_1702 = "} with the specified "; - protected final String TEXT_1703 = ", or <code>null</code>." + NL + "\t * @see #"; - protected final String TEXT_1704 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1705 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1706 = NL + "\t"; - protected final String TEXT_1707 = " get"; - protected final String TEXT_1708 = "("; - protected final String TEXT_1709 = ", boolean ignoreCase"; - protected final String TEXT_1710 = ", "; - protected final String TEXT_1711 = " eClass"; - protected final String TEXT_1712 = ", boolean createOnDemand"; - protected final String TEXT_1713 = ");" + NL; - protected final String TEXT_1714 = NL + "\t@Override"; - protected final String TEXT_1715 = NL + "\tpublic "; - protected final String TEXT_1716 = " get"; - protected final String TEXT_1717 = "("; - protected final String TEXT_1718 = ", boolean ignoreCase"; - protected final String TEXT_1719 = ", "; - protected final String TEXT_1720 = " eClass"; - protected final String TEXT_1721 = ", boolean createOnDemand"; - protected final String TEXT_1722 = ")" + NL + "\t{"; - protected final String TEXT_1723 = NL + "\t\t"; - protected final String TEXT_1724 = "Loop: for ("; - protected final String TEXT_1725 = " "; - protected final String TEXT_1726 = " : "; - protected final String TEXT_1727 = "())" + NL + "\t\t{"; - protected final String TEXT_1728 = NL + "\t\t"; - protected final String TEXT_1729 = "Loop: for ("; - protected final String TEXT_1730 = " i = "; - protected final String TEXT_1731 = "().iterator(); i.hasNext(); )" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_1732 = " "; - protected final String TEXT_1733 = " = ("; - protected final String TEXT_1734 = ") i.next();"; - protected final String TEXT_1735 = NL + "\t\t\tif (eClass != null && !eClass.isInstance("; - protected final String TEXT_1736 = "))" + NL + "\t\t\t\tcontinue "; - protected final String TEXT_1737 = "Loop;"; - protected final String TEXT_1738 = NL + "\t\t\t"; - protected final String TEXT_1739 = " "; - protected final String TEXT_1740 = "List = "; - protected final String TEXT_1741 = "."; - protected final String TEXT_1742 = "();" + NL + "\t\t\tint "; - protected final String TEXT_1743 = "ListSize = "; - protected final String TEXT_1744 = "List.size();" + NL + "\t\t\tif ("; - protected final String TEXT_1745 = " || ("; - protected final String TEXT_1746 = " != null && "; - protected final String TEXT_1747 = ".size() != "; - protected final String TEXT_1748 = "ListSize"; - protected final String TEXT_1749 = ")"; - protected final String TEXT_1750 = ")" + NL + "\t\t\t\tcontinue "; - protected final String TEXT_1751 = "Loop;" + NL + "\t\t\tfor (int j = 0; j < "; - protected final String TEXT_1752 = "ListSize; j++)" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_1753 = " "; - protected final String TEXT_1754 = " = "; - protected final String TEXT_1755 = "("; - protected final String TEXT_1756 = ") "; - protected final String TEXT_1757 = "List.get(j);"; - protected final String TEXT_1758 = NL + "\t\t\t\tif ("; - protected final String TEXT_1759 = " != null && !(ignoreCase ? ("; - protected final String TEXT_1760 = "("; - protected final String TEXT_1761 = ")"; - protected final String TEXT_1762 = ".get(j)).equalsIgnoreCase("; - protected final String TEXT_1763 = "."; - protected final String TEXT_1764 = "()) : "; - protected final String TEXT_1765 = ".get(j).equals("; - protected final String TEXT_1766 = "."; - protected final String TEXT_1767 = "())))"; - protected final String TEXT_1768 = NL + "\t\t\t\tif ("; - protected final String TEXT_1769 = " != null && !"; - protected final String TEXT_1770 = ".get(j).equals("; - protected final String TEXT_1771 = "."; - protected final String TEXT_1772 = "()))"; - protected final String TEXT_1773 = NL + "\t\t\t\t\tcontinue "; - protected final String TEXT_1774 = "Loop;"; - protected final String TEXT_1775 = NL + "\t\t\t}"; - protected final String TEXT_1776 = NL + "\t\t\t"; - protected final String TEXT_1777 = " "; - protected final String TEXT_1778 = " = "; - protected final String TEXT_1779 = "."; - protected final String TEXT_1780 = "();" + NL + "\t\t\tif ("; - protected final String TEXT_1781 = " == null)" + NL + "\t\t\t\tcontinue "; - protected final String TEXT_1782 = "Loop;"; - protected final String TEXT_1783 = NL + "\t\t\tif ("; - protected final String TEXT_1784 = " != null && !(ignoreCase ? "; - protected final String TEXT_1785 = ".equalsIgnoreCase("; - protected final String TEXT_1786 = "."; - protected final String TEXT_1787 = "()) : "; - protected final String TEXT_1788 = ".equals("; - protected final String TEXT_1789 = "."; - protected final String TEXT_1790 = "())))"; - protected final String TEXT_1791 = NL + "\t\t\tif ("; - protected final String TEXT_1792 = " != null && !"; - protected final String TEXT_1793 = ".equals("; - protected final String TEXT_1794 = "."; - protected final String TEXT_1795 = "()))"; - protected final String TEXT_1796 = NL + "\t\t\t\tcontinue "; - protected final String TEXT_1797 = "Loop;"; - protected final String TEXT_1798 = NL + "\t\t\tif ("; - protected final String TEXT_1799 = " != null && !(ignoreCase ? "; - protected final String TEXT_1800 = ".equalsIgnoreCase("; - protected final String TEXT_1801 = "."; - protected final String TEXT_1802 = "()) : "; - protected final String TEXT_1803 = ".equals("; - protected final String TEXT_1804 = "."; - protected final String TEXT_1805 = "())))"; - protected final String TEXT_1806 = NL + "\t\t\tif ("; - protected final String TEXT_1807 = " != null && !"; - protected final String TEXT_1808 = ".equals("; - protected final String TEXT_1809 = "."; - protected final String TEXT_1810 = "()))"; - protected final String TEXT_1811 = NL + "\t\t\t\tcontinue "; - protected final String TEXT_1812 = "Loop;"; - protected final String TEXT_1813 = NL + "\t\t\treturn "; - protected final String TEXT_1814 = ";" + NL + "\t\t}"; - protected final String TEXT_1815 = NL + "\t\treturn createOnDemand"; - protected final String TEXT_1816 = " && eClass != null"; - protected final String TEXT_1817 = " ? create"; - protected final String TEXT_1818 = "("; - protected final String TEXT_1819 = ", eClass"; - protected final String TEXT_1820 = ") : null;"; - protected final String TEXT_1821 = NL + "\t\treturn null;"; - protected final String TEXT_1822 = NL + "\t}" + NL; - protected final String TEXT_1823 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic boolean isSet"; - protected final String TEXT_1824 = "()" + NL + "\t{"; - protected final String TEXT_1825 = NL + " \t\treturn false;"; - protected final String TEXT_1826 = NL + "\t\treturn eIsSet("; - protected final String TEXT_1827 = ");"; - protected final String TEXT_1828 = NL + "\t\treturn !(("; - protected final String TEXT_1829 = ".Internal.Wrapper)"; - protected final String TEXT_1830 = "()).featureMap().isEmpty();"; - protected final String TEXT_1831 = NL + "\t\treturn "; - protected final String TEXT_1832 = " != null && !"; - protected final String TEXT_1833 = ".featureMap().isEmpty();"; - protected final String TEXT_1834 = NL + "\t\treturn "; - protected final String TEXT_1835 = " != null && !"; - protected final String TEXT_1836 = ".isEmpty();"; - protected final String TEXT_1837 = NL + "\t\t"; - protected final String TEXT_1838 = " "; - protected final String TEXT_1839 = " = ("; - protected final String TEXT_1840 = ")eVirtualGet("; - protected final String TEXT_1841 = ");" + NL + "\t\treturn "; - protected final String TEXT_1842 = " != null && !"; - protected final String TEXT_1843 = ".isEmpty();"; - protected final String TEXT_1844 = NL + "\t\treturn !"; - protected final String TEXT_1845 = "().isEmpty();"; - protected final String TEXT_1846 = NL + "\t\treturn "; - protected final String TEXT_1847 = " != null;"; - protected final String TEXT_1848 = NL + "\t\treturn eVirtualGet("; - protected final String TEXT_1849 = ") != null;"; - protected final String TEXT_1850 = NL + "\t\treturn basicGet"; - protected final String TEXT_1851 = "() != null;"; - protected final String TEXT_1852 = NL + "\t\treturn "; - protected final String TEXT_1853 = " != null;"; - protected final String TEXT_1854 = NL + "\t\treturn eVirtualGet("; - protected final String TEXT_1855 = ") != null;"; - protected final String TEXT_1856 = NL + "\t\treturn "; - protected final String TEXT_1857 = "() != null;"; - protected final String TEXT_1858 = NL + "\t\t\t\treturn (("; - protected final String TEXT_1859 = " & "; - protected final String TEXT_1860 = "_EFLAG) != 0) != "; - protected final String TEXT_1861 = ";"; - protected final String TEXT_1862 = NL + "\t\t\t\treturn ("; - protected final String TEXT_1863 = " & "; - protected final String TEXT_1864 = "_EFLAG) != "; - protected final String TEXT_1865 = "_EFLAG_DEFAULT;"; - protected final String TEXT_1866 = NL + "\t\treturn "; - protected final String TEXT_1867 = " != "; - protected final String TEXT_1868 = ";"; - protected final String TEXT_1869 = NL + "\t\treturn eVirtualGet("; - protected final String TEXT_1870 = ", "; - protected final String TEXT_1871 = ") != "; - protected final String TEXT_1872 = ";"; - protected final String TEXT_1873 = NL + "\t\treturn "; - protected final String TEXT_1874 = "() != "; - protected final String TEXT_1875 = ";"; - protected final String TEXT_1876 = NL + "\t\treturn "; - protected final String TEXT_1877 = " == null ? "; - protected final String TEXT_1878 = " != null : !"; - protected final String TEXT_1879 = ".equals("; - protected final String TEXT_1880 = ");"; - protected final String TEXT_1881 = NL + "\t\t"; - protected final String TEXT_1882 = " "; - protected final String TEXT_1883 = " = ("; - protected final String TEXT_1884 = ")eVirtualGet("; - protected final String TEXT_1885 = ", "; - protected final String TEXT_1886 = ");" + NL + "\t\treturn "; - protected final String TEXT_1887 = " == null ? "; - protected final String TEXT_1888 = " != null : !"; - protected final String TEXT_1889 = ".equals("; - protected final String TEXT_1890 = ");"; - protected final String TEXT_1891 = NL + "\t\treturn "; - protected final String TEXT_1892 = " == null ? "; - protected final String TEXT_1893 = "() != null : !"; - protected final String TEXT_1894 = ".equals("; - protected final String TEXT_1895 = "());"; - protected final String TEXT_1896 = NL + "\t\treturn eIsSet("; - protected final String TEXT_1897 = ");"; - protected final String TEXT_1898 = NL + "\t\t"; - protected final String TEXT_1899 = " "; - protected final String TEXT_1900 = " = ("; - protected final String TEXT_1901 = ")eVirtualGet("; - protected final String TEXT_1902 = ");"; - protected final String TEXT_1903 = NL + "\t\treturn "; - protected final String TEXT_1904 = " != null && (("; - protected final String TEXT_1905 = ".Unsettable"; - protected final String TEXT_1906 = ")"; - protected final String TEXT_1907 = ").isSet();"; - protected final String TEXT_1908 = NL + "\t\treturn eVirtualIsSet("; - protected final String TEXT_1909 = ");"; - protected final String TEXT_1910 = NL + "\t\treturn ("; - protected final String TEXT_1911 = " & "; - protected final String TEXT_1912 = "_ESETFLAG) != 0;"; - protected final String TEXT_1913 = NL + "\t\treturn "; - protected final String TEXT_1914 = "ESet;"; - protected final String TEXT_1915 = NL + "\t\treturn !(("; - protected final String TEXT_1916 = ".Internal)(("; - protected final String TEXT_1917 = ".Internal.Wrapper)get"; - protected final String TEXT_1918 = "()).featureMap()).isEmpty("; - protected final String TEXT_1919 = ");"; - protected final String TEXT_1920 = NL + "\t\treturn !(("; - protected final String TEXT_1921 = ".Internal)get"; - protected final String TEXT_1922 = "()).isEmpty("; - protected final String TEXT_1923 = ");"; - protected final String TEXT_1924 = NL + "\t\treturn "; - protected final String TEXT_1925 = "."; - protected final String TEXT_1926 = "(this);"; - protected final String TEXT_1927 = NL + "\t\t// TODO: implement this method to return whether the '"; - protected final String TEXT_1928 = "' "; - protected final String TEXT_1929 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_1930 = NL + "\t}" + NL; - protected final String TEXT_1931 = NL + "\t/**" + NL + "\t * The cached OCL expression body for the '{@link #"; - protected final String TEXT_1932 = "("; - protected final String TEXT_1933 = ") <em>"; - protected final String TEXT_1934 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_1935 = "("; - protected final String TEXT_1936 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; - protected final String TEXT_1937 = " "; - protected final String TEXT_1938 = "__EOCL_EXP = \""; - protected final String TEXT_1939 = "\";"; - protected final String TEXT_1940 = NL; - protected final String TEXT_1941 = NL + "\t/**" + NL + "\t * The cached OCL invariant for the '{@link #"; - protected final String TEXT_1942 = "("; - protected final String TEXT_1943 = ") <em>"; - protected final String TEXT_1944 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_1945 = "("; - protected final String TEXT_1946 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static "; - protected final String TEXT_1947 = " "; - protected final String TEXT_1948 = "__EOCL_INV;" + NL; - protected final String TEXT_1949 = NL + "\t/**" + NL + "\t * The cached OCL query for the '{@link #"; - protected final String TEXT_1950 = "("; - protected final String TEXT_1951 = ") <em>"; - protected final String TEXT_1952 = "</em>}' query operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_1953 = "("; - protected final String TEXT_1954 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static "; - protected final String TEXT_1955 = "<"; - protected final String TEXT_1956 = ">"; - protected final String TEXT_1957 = " "; - protected final String TEXT_1958 = "__EOCL_QRY;" + NL; - protected final String TEXT_1959 = NL + "\t/**" + NL + "\t * The cached validation expression for the '{@link #"; - protected final String TEXT_1960 = "("; - protected final String TEXT_1961 = ") <em>"; - protected final String TEXT_1962 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_1963 = "("; - protected final String TEXT_1964 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; - protected final String TEXT_1965 = " "; - protected final String TEXT_1966 = "__EEXPRESSION = \""; - protected final String TEXT_1967 = "\";"; - protected final String TEXT_1968 = NL; - protected final String TEXT_1969 = NL + "\t/**" + NL + "\t * The cached invocation delegate for the '{@link #"; - protected final String TEXT_1970 = "("; - protected final String TEXT_1971 = ") <em>"; - protected final String TEXT_1972 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_1973 = "("; - protected final String TEXT_1974 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; - protected final String TEXT_1975 = ".Internal.InvocationDelegate "; - protected final String TEXT_1976 = "__EINVOCATION_DELEGATE = (("; - protected final String TEXT_1977 = ".Internal)"; - protected final String TEXT_1978 = ").getInvocationDelegate();" + NL; - protected final String TEXT_1979 = NL + "\t/**"; - protected final String TEXT_1980 = NL + "\t * <p>" + NL + "\t * This operation redefines the following operations:" + NL + "\t * <ul>"; - protected final String TEXT_1981 = NL + "\t * <li>'{@link "; - protected final String TEXT_1982 = "#"; - protected final String TEXT_1983 = "("; - protected final String TEXT_1984 = ") <em>"; - protected final String TEXT_1985 = "</em>}' </li>"; - protected final String TEXT_1986 = NL + "\t * </ul>" + NL + "\t * </p>"; - protected final String TEXT_1987 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_1988 = NL + "\t * <!-- begin-model-doc -->"; - protected final String TEXT_1989 = NL + "\t * "; - protected final String TEXT_1990 = NL + "\t * @param "; - protected final String TEXT_1991 = NL + "\t * "; - protected final String TEXT_1992 = NL + "\t * @param "; - protected final String TEXT_1993 = " "; - protected final String TEXT_1994 = NL + "\t * <!-- end-model-doc -->"; - protected final String TEXT_1995 = NL + "\t * @model "; - protected final String TEXT_1996 = NL + "\t * "; - protected final String TEXT_1997 = NL + "\t * @model"; - protected final String TEXT_1998 = NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1999 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2000 = NL + "\t@Override"; - protected final String TEXT_2001 = NL + "\t"; - protected final String TEXT_2002 = " "; - protected final String TEXT_2003 = "("; - protected final String TEXT_2004 = ")"; - protected final String TEXT_2005 = ";" + NL; - protected final String TEXT_2006 = NL + "\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2007 = NL + "\tpublic "; - protected final String TEXT_2008 = " "; - protected final String TEXT_2009 = "("; - protected final String TEXT_2010 = ")"; - protected final String TEXT_2011 = NL + "\t{"; - protected final String TEXT_2012 = NL + "\t\t"; - protected final String TEXT_2013 = NL + "\t\treturn" + NL + "\t\t\t"; - protected final String TEXT_2014 = ".validate" + NL + "\t\t\t\t("; - protected final String TEXT_2015 = "," + NL + "\t\t\t\t this," + NL + "\t\t\t\t "; - protected final String TEXT_2016 = "," + NL + "\t\t\t\t "; - protected final String TEXT_2017 = "," + NL + "\t\t\t\t \""; - protected final String TEXT_2018 = "\","; - protected final String TEXT_2019 = NL + "\t\t\t\t "; - protected final String TEXT_2020 = "," + NL + "\t\t\t\t "; - protected final String TEXT_2021 = "__EEXPRESSION," + NL + "\t\t\t\t "; - protected final String TEXT_2022 = ".ERROR," + NL + "\t\t\t\t "; - protected final String TEXT_2023 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t "; - protected final String TEXT_2024 = "."; - protected final String TEXT_2025 = ");"; - protected final String TEXT_2026 = NL + "\t\treturn "; - protected final String TEXT_2027 = "."; - protected final String TEXT_2028 = "(this, "; - protected final String TEXT_2029 = ", "; - protected final String TEXT_2030 = ");"; - protected final String TEXT_2031 = NL + "\t\tif ("; - protected final String TEXT_2032 = " == null)" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2033 = ".Helper helper = EOCL_ENV.createOCLHelper();" + NL + "\t\t\thelper.setContext("; - protected final String TEXT_2034 = ");" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_2035 = " = helper.createInvariant("; - protected final String TEXT_2036 = "__EOCL_EXP);" + NL + "\t\t\t}" + NL + "\t\t\tcatch ("; - protected final String TEXT_2037 = " pe)" + NL + "\t\t\t{" + NL + "\t\t\t\tthrow new UnsupportedOperationException(pe.getLocalizedMessage());" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tif (!EOCL_ENV.createQuery("; - protected final String TEXT_2038 = ").check(this))"; - protected final String TEXT_2039 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// -> specify the condition that violates the invariant" + NL + "\t\t// -> verify the details of the diagnostic, including severity and message" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)"; - protected final String TEXT_2040 = NL + "\t\t{" + NL + "\t\t\tif ("; - protected final String TEXT_2041 = " != null)" + NL + "\t\t\t{"; - protected final String TEXT_2042 = NL + "\t\t\t\t"; - protected final String TEXT_2043 = ".add" + NL + "\t\t\t\t\t(new "; - protected final String TEXT_2044 = NL + "\t\t\t\t\t\t("; - protected final String TEXT_2045 = ".ERROR," + NL + "\t\t\t\t\t\t "; - protected final String TEXT_2046 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t "; - protected final String TEXT_2047 = "."; - protected final String TEXT_2048 = "," + NL + "\t\t\t\t\t\t "; - protected final String TEXT_2049 = ".INSTANCE.getString(\"_UI_GenericInvariant_diagnostic\", new Object[] { \""; - protected final String TEXT_2050 = "\", "; - protected final String TEXT_2051 = ".getObjectLabel(this, "; - protected final String TEXT_2052 = ") }),"; - protected final String TEXT_2053 = NL + "\t\t\t\t\t\t new Object [] { this }));"; - protected final String TEXT_2054 = NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;"; - protected final String TEXT_2055 = NL + "\t\ttry" + NL + "\t\t{"; - protected final String TEXT_2056 = NL + "\t\t\t"; - protected final String TEXT_2057 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, "; - protected final String TEXT_2058 = "new "; - protected final String TEXT_2059 = ".UnmodifiableEList<Object>("; - protected final String TEXT_2060 = ", "; - protected final String TEXT_2061 = ")"; - protected final String TEXT_2062 = "null"; - protected final String TEXT_2063 = ");"; - protected final String TEXT_2064 = NL + "\t\t\treturn "; - protected final String TEXT_2065 = "("; + protected final String TEXT_1399 = NL + "\t\t"; + protected final String TEXT_1400 = "."; + protected final String TEXT_1401 = "(this);"; + protected final String TEXT_1402 = NL + "\t\t// TODO: implement this method to unset the '"; + protected final String TEXT_1403 = "' "; + protected final String TEXT_1404 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_1405 = NL + "\t}" + NL; + protected final String TEXT_1406 = NL + "\t/**" + NL + "\t * Returns whether the value of the '{@link "; + protected final String TEXT_1407 = "#"; + protected final String TEXT_1408 = " <em>"; + protected final String TEXT_1409 = "</em>}' "; + protected final String TEXT_1410 = " is set."; + protected final String TEXT_1411 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return whether the value of the '<em>"; + protected final String TEXT_1412 = "</em>' "; + protected final String TEXT_1413 = " is set."; + protected final String TEXT_1414 = NL + "\t * @see #unset"; + protected final String TEXT_1415 = "()"; + protected final String TEXT_1416 = NL + "\t * @see #"; + protected final String TEXT_1417 = "()"; + protected final String TEXT_1418 = NL + "\t * @see #set"; + protected final String TEXT_1419 = "("; + protected final String TEXT_1420 = ")"; + protected final String TEXT_1421 = NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1422 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1423 = NL + "\t@Override"; + protected final String TEXT_1424 = NL + "\tboolean isSet"; + protected final String TEXT_1425 = "();" + NL; + protected final String TEXT_1426 = NL + "\tpublic boolean isSet"; + protected final String TEXT_1427 = "_"; + protected final String TEXT_1428 = "()" + NL + "\t{"; + protected final String TEXT_1429 = NL + "\t\treturn eDynamicIsSet("; + protected final String TEXT_1430 = ", "; + protected final String TEXT_1431 = ");"; + protected final String TEXT_1432 = NL + "\t\treturn eIsSet("; + protected final String TEXT_1433 = ");"; + protected final String TEXT_1434 = NL + "\t\treturn "; + protected final String TEXT_1435 = "__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);"; + protected final String TEXT_1436 = NL + "\t\t"; + protected final String TEXT_1437 = " "; + protected final String TEXT_1438 = " = ("; + protected final String TEXT_1439 = ")eVirtualGet("; + protected final String TEXT_1440 = ");"; + protected final String TEXT_1441 = NL + "\t\treturn "; + protected final String TEXT_1442 = " != null && (("; + protected final String TEXT_1443 = ".Unsettable"; + protected final String TEXT_1444 = ")"; + protected final String TEXT_1445 = ").isSet();"; + protected final String TEXT_1446 = NL + "\t\treturn eVirtualIsSet("; + protected final String TEXT_1447 = ");"; + protected final String TEXT_1448 = NL + "\t\treturn ("; + protected final String TEXT_1449 = " & "; + protected final String TEXT_1450 = "_ESETFLAG) != 0;"; + protected final String TEXT_1451 = NL + "\t\treturn "; + protected final String TEXT_1452 = "ESet;"; + protected final String TEXT_1453 = NL + "\t\treturn !(("; + protected final String TEXT_1454 = ".Internal)(("; + protected final String TEXT_1455 = ".Internal.Wrapper)get"; + protected final String TEXT_1456 = "()).featureMap()).isEmpty("; + protected final String TEXT_1457 = ");"; + protected final String TEXT_1458 = NL + "\t\treturn !(("; + protected final String TEXT_1459 = ".Internal)get"; + protected final String TEXT_1460 = "()).isEmpty("; + protected final String TEXT_1461 = ");"; + protected final String TEXT_1462 = NL + "\t\t"; + protected final String TEXT_1463 = NL + "\t\treturn "; + protected final String TEXT_1464 = "."; + protected final String TEXT_1465 = "(this);"; + protected final String TEXT_1466 = NL + "\t\t// TODO: implement this method to return whether the '"; + protected final String TEXT_1467 = "' "; + protected final String TEXT_1468 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_1469 = NL + "\t}" + NL; + protected final String TEXT_1470 = NL + "\t/**" + NL + "\t * The array of subset feature identifiers for the '{@link #"; + protected final String TEXT_1471 = "() <em>"; + protected final String TEXT_1472 = "</em>}' "; + protected final String TEXT_1473 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_1474 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; + protected final String TEXT_1475 = "_ESUBSETS = "; + protected final String TEXT_1476 = ";" + NL; + protected final String TEXT_1477 = NL + "\t/**" + NL + "\t * The array of superset feature identifiers for the '{@link #"; + protected final String TEXT_1478 = "() <em>"; + protected final String TEXT_1479 = "</em>}' "; + protected final String TEXT_1480 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_1481 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; + protected final String TEXT_1482 = "_ESUPERSETS = "; + protected final String TEXT_1483 = ";" + NL; + protected final String TEXT_1484 = NL + "\t/**"; + protected final String TEXT_1485 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1486 = "}, with the specified "; + protected final String TEXT_1487 = ", and appends it to the '<em><b>"; + protected final String TEXT_1488 = "</b></em>' "; + protected final String TEXT_1489 = "."; + protected final String TEXT_1490 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1491 = "}, with the specified "; + protected final String TEXT_1492 = ", and sets the '<em><b>"; + protected final String TEXT_1493 = "</b></em>' "; + protected final String TEXT_1494 = "."; + protected final String TEXT_1495 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1496 = "} and appends it to the '<em><b>"; + protected final String TEXT_1497 = "</b></em>' "; + protected final String TEXT_1498 = "."; + protected final String TEXT_1499 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1500 = "} and sets the '<em><b>"; + protected final String TEXT_1501 = "</b></em>' "; + protected final String TEXT_1502 = "."; + protected final String TEXT_1503 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_1504 = NL + "\t * @param "; + protected final String TEXT_1505 = " The "; + protected final String TEXT_1506 = " for the new {@link "; + protected final String TEXT_1507 = "}, or <code>null</code>."; + protected final String TEXT_1508 = NL + "\t * @param eClass The Ecore class of the {@link "; + protected final String TEXT_1509 = "} to create." + NL + "\t * @return The new {@link "; + protected final String TEXT_1510 = "}." + NL + "\t * @see #"; + protected final String TEXT_1511 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1512 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1513 = NL + "\t"; + protected final String TEXT_1514 = " create"; + protected final String TEXT_1515 = "("; + protected final String TEXT_1516 = ", "; + protected final String TEXT_1517 = " eClass);" + NL; + protected final String TEXT_1518 = NL + "\t@Override"; + protected final String TEXT_1519 = NL + "\tpublic "; + protected final String TEXT_1520 = " create"; + protected final String TEXT_1521 = "("; + protected final String TEXT_1522 = ", "; + protected final String TEXT_1523 = " eClass)" + NL + "\t{" + NL + "\t\t"; + protected final String TEXT_1524 = " new"; + protected final String TEXT_1525 = " = ("; + protected final String TEXT_1526 = ") create(eClass);"; + protected final String TEXT_1527 = NL + "\t\t"; + protected final String TEXT_1528 = "().add(new"; + protected final String TEXT_1529 = ");"; + protected final String TEXT_1530 = NL + "\t\tset"; + protected final String TEXT_1531 = "(new"; + protected final String TEXT_1532 = ");"; + protected final String TEXT_1533 = NL + "\t\tint "; + protected final String TEXT_1534 = "ListSize = 0;"; + protected final String TEXT_1535 = NL + "\t\tint "; + protected final String TEXT_1536 = "Size = "; + protected final String TEXT_1537 = " == null ? 0 : "; + protected final String TEXT_1538 = ".size();" + NL + "\t\tif ("; + protected final String TEXT_1539 = "Size > "; + protected final String TEXT_1540 = "ListSize)" + NL + "\t\t\t"; + protected final String TEXT_1541 = "ListSize = "; + protected final String TEXT_1542 = "Size;"; + protected final String TEXT_1543 = NL + "\t\tfor (int i = 0; i < "; + protected final String TEXT_1544 = "ListSize; i++) {" + NL + "\t\t\tnew"; + protected final String TEXT_1545 = ".create"; + protected final String TEXT_1546 = "("; + protected final String TEXT_1547 = ", "; + protected final String TEXT_1548 = "i < "; + protected final String TEXT_1549 = "Size ? ("; + protected final String TEXT_1550 = ") "; + protected final String TEXT_1551 = ".get(i) : null"; + protected final String TEXT_1552 = ");" + NL + "\t\t}"; + protected final String TEXT_1553 = NL + "\t\tnew"; + protected final String TEXT_1554 = ".create"; + protected final String TEXT_1555 = "("; + protected final String TEXT_1556 = ", "; + protected final String TEXT_1557 = ");"; + protected final String TEXT_1558 = NL + "\t\tif ("; + protected final String TEXT_1559 = " != null)"; + protected final String TEXT_1560 = NL + "\t\t\tnew"; + protected final String TEXT_1561 = "."; + protected final String TEXT_1562 = "().addAll("; + protected final String TEXT_1563 = ");"; + protected final String TEXT_1564 = NL + "\t\t\tnew"; + protected final String TEXT_1565 = ".set"; + protected final String TEXT_1566 = "("; + protected final String TEXT_1567 = ");"; + protected final String TEXT_1568 = NL + "\t\treturn new"; + protected final String TEXT_1569 = ";" + NL + "\t}" + NL; + protected final String TEXT_1570 = NL + "\t/**"; + protected final String TEXT_1571 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1572 = "}, with the specified "; + protected final String TEXT_1573 = ", and appends it to the '<em><b>"; + protected final String TEXT_1574 = "</b></em>' "; + protected final String TEXT_1575 = "."; + protected final String TEXT_1576 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1577 = "},with the specified "; + protected final String TEXT_1578 = ", and sets the '<em><b>"; + protected final String TEXT_1579 = "</b></em>' "; + protected final String TEXT_1580 = "."; + protected final String TEXT_1581 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1582 = "} and appends it to the '<em><b>"; + protected final String TEXT_1583 = "</b></em>' "; + protected final String TEXT_1584 = "."; + protected final String TEXT_1585 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1586 = "} and sets the '<em><b>"; + protected final String TEXT_1587 = "</b></em>' "; + protected final String TEXT_1588 = "."; + protected final String TEXT_1589 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_1590 = NL + "\t * @param "; + protected final String TEXT_1591 = " The "; + protected final String TEXT_1592 = " for the new {@link "; + protected final String TEXT_1593 = "}, or <code>null</code>."; + protected final String TEXT_1594 = NL + "\t * @return The new {@link "; + protected final String TEXT_1595 = "}." + NL + "\t * @see #"; + protected final String TEXT_1596 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1597 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1598 = NL + "\t"; + protected final String TEXT_1599 = " create"; + protected final String TEXT_1600 = "("; + protected final String TEXT_1601 = ");" + NL; + protected final String TEXT_1602 = NL + "\t@Override"; + protected final String TEXT_1603 = NL + "\tpublic "; + protected final String TEXT_1604 = " create"; + protected final String TEXT_1605 = "("; + protected final String TEXT_1606 = ")" + NL + "\t{"; + protected final String TEXT_1607 = NL + "\t\treturn create"; + protected final String TEXT_1608 = "("; + protected final String TEXT_1609 = ", "; + protected final String TEXT_1610 = ");"; + protected final String TEXT_1611 = NL + "\t\t"; + protected final String TEXT_1612 = " new"; + protected final String TEXT_1613 = " = ("; + protected final String TEXT_1614 = ") create("; + protected final String TEXT_1615 = ");"; + protected final String TEXT_1616 = NL + "\t\t"; + protected final String TEXT_1617 = "().add(new"; + protected final String TEXT_1618 = ");"; + protected final String TEXT_1619 = NL + "\t\tset"; + protected final String TEXT_1620 = "(new"; + protected final String TEXT_1621 = ");"; + protected final String TEXT_1622 = NL + "\t\tint "; + protected final String TEXT_1623 = "ListSize = 0;"; + protected final String TEXT_1624 = NL + "\t\tint "; + protected final String TEXT_1625 = "Size = "; + protected final String TEXT_1626 = " == null ? 0 : "; + protected final String TEXT_1627 = ".size();" + NL + "\t\tif ("; + protected final String TEXT_1628 = "Size > "; + protected final String TEXT_1629 = "ListSize)" + NL + "\t\t\t"; + protected final String TEXT_1630 = "ListSize = "; + protected final String TEXT_1631 = "Size;"; + protected final String TEXT_1632 = NL + "\t\tfor (int i = 0; i < "; + protected final String TEXT_1633 = "ListSize; i++) {" + NL + "\t\t\tnew"; + protected final String TEXT_1634 = ".create"; + protected final String TEXT_1635 = "("; + protected final String TEXT_1636 = ", "; + protected final String TEXT_1637 = "i < "; + protected final String TEXT_1638 = "Size ? ("; + protected final String TEXT_1639 = ") "; + protected final String TEXT_1640 = ".get(i) : null"; + protected final String TEXT_1641 = ");" + NL + "\t\t}"; + protected final String TEXT_1642 = NL + "\t\tnew"; + protected final String TEXT_1643 = ".create"; + protected final String TEXT_1644 = "("; + protected final String TEXT_1645 = ", "; + protected final String TEXT_1646 = ");"; + protected final String TEXT_1647 = NL + "\t\tif ("; + protected final String TEXT_1648 = " != null)"; + protected final String TEXT_1649 = NL + "\t\t\tnew"; + protected final String TEXT_1650 = "."; + protected final String TEXT_1651 = "().addAll("; + protected final String TEXT_1652 = ");"; + protected final String TEXT_1653 = NL + "\t\t\tnew"; + protected final String TEXT_1654 = ".set"; + protected final String TEXT_1655 = "("; + protected final String TEXT_1656 = ");"; + protected final String TEXT_1657 = NL + "\t\treturn new"; + protected final String TEXT_1658 = ";"; + protected final String TEXT_1659 = NL + "\t}" + NL; + protected final String TEXT_1660 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; + protected final String TEXT_1661 = "} with the specified "; + protected final String TEXT_1662 = " from the '<em><b>"; + protected final String TEXT_1663 = "</b></em>' "; + protected final String TEXT_1664 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_1665 = NL + "\t * @param "; + protected final String TEXT_1666 = " The "; + protected final String TEXT_1667 = " of the {@link "; + protected final String TEXT_1668 = "} to retrieve, or <code>null</code>."; + protected final String TEXT_1669 = NL + "\t * @return The first {@link "; + protected final String TEXT_1670 = "} with the specified "; + protected final String TEXT_1671 = ", or <code>null</code>." + NL + "\t * @see #"; + protected final String TEXT_1672 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1673 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1674 = NL + "\t"; + protected final String TEXT_1675 = " get"; + protected final String TEXT_1676 = "("; + protected final String TEXT_1677 = ");" + NL; + protected final String TEXT_1678 = NL + "\t@Override"; + protected final String TEXT_1679 = NL + "\tpublic "; + protected final String TEXT_1680 = " get"; + protected final String TEXT_1681 = "("; + protected final String TEXT_1682 = ")" + NL + "\t{" + NL + "\t\treturn get"; + protected final String TEXT_1683 = "("; + protected final String TEXT_1684 = ", false"; + protected final String TEXT_1685 = ", null"; + protected final String TEXT_1686 = ", false"; + protected final String TEXT_1687 = ");" + NL + "\t}" + NL; + protected final String TEXT_1688 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; + protected final String TEXT_1689 = "} with the specified "; + protected final String TEXT_1690 = " from the '<em><b>"; + protected final String TEXT_1691 = "</b></em>' "; + protected final String TEXT_1692 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_1693 = NL + "\t * @param "; + protected final String TEXT_1694 = " The "; + protected final String TEXT_1695 = " of the {@link "; + protected final String TEXT_1696 = "} to retrieve, or <code>null</code>."; + protected final String TEXT_1697 = NL + "\t * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons."; + protected final String TEXT_1698 = NL + "\t * @param eClass The Ecore class of the {@link "; + protected final String TEXT_1699 = "} to retrieve, or <code>null</code>."; + protected final String TEXT_1700 = NL + "\t * @param createOnDemand Whether to create a {@link "; + protected final String TEXT_1701 = "} on demand if not found."; + protected final String TEXT_1702 = NL + "\t * @return The first {@link "; + protected final String TEXT_1703 = "} with the specified "; + protected final String TEXT_1704 = ", or <code>null</code>." + NL + "\t * @see #"; + protected final String TEXT_1705 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1706 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1707 = NL + "\t"; + protected final String TEXT_1708 = " get"; + protected final String TEXT_1709 = "("; + protected final String TEXT_1710 = ", boolean ignoreCase"; + protected final String TEXT_1711 = ", "; + protected final String TEXT_1712 = " eClass"; + protected final String TEXT_1713 = ", boolean createOnDemand"; + protected final String TEXT_1714 = ");" + NL; + protected final String TEXT_1715 = NL + "\t@Override"; + protected final String TEXT_1716 = NL + "\tpublic "; + protected final String TEXT_1717 = " get"; + protected final String TEXT_1718 = "("; + protected final String TEXT_1719 = ", boolean ignoreCase"; + protected final String TEXT_1720 = ", "; + protected final String TEXT_1721 = " eClass"; + protected final String TEXT_1722 = ", boolean createOnDemand"; + protected final String TEXT_1723 = ")" + NL + "\t{"; + protected final String TEXT_1724 = NL + "\t\t"; + protected final String TEXT_1725 = "Loop: for ("; + protected final String TEXT_1726 = " "; + protected final String TEXT_1727 = " : "; + protected final String TEXT_1728 = "())" + NL + "\t\t{"; + protected final String TEXT_1729 = NL + "\t\t"; + protected final String TEXT_1730 = "Loop: for ("; + protected final String TEXT_1731 = " i = "; + protected final String TEXT_1732 = "().iterator(); i.hasNext(); )" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_1733 = " "; + protected final String TEXT_1734 = " = ("; + protected final String TEXT_1735 = ") i.next();"; + protected final String TEXT_1736 = NL + "\t\t\tif (eClass != null && !eClass.isInstance("; + protected final String TEXT_1737 = "))" + NL + "\t\t\t\tcontinue "; + protected final String TEXT_1738 = "Loop;"; + protected final String TEXT_1739 = NL + "\t\t\t"; + protected final String TEXT_1740 = " "; + protected final String TEXT_1741 = "List = "; + protected final String TEXT_1742 = "."; + protected final String TEXT_1743 = "();" + NL + "\t\t\tint "; + protected final String TEXT_1744 = "ListSize = "; + protected final String TEXT_1745 = "List.size();" + NL + "\t\t\tif ("; + protected final String TEXT_1746 = " || ("; + protected final String TEXT_1747 = " != null && "; + protected final String TEXT_1748 = ".size() != "; + protected final String TEXT_1749 = "ListSize"; + protected final String TEXT_1750 = ")"; + protected final String TEXT_1751 = ")" + NL + "\t\t\t\tcontinue "; + protected final String TEXT_1752 = "Loop;" + NL + "\t\t\tfor (int j = 0; j < "; + protected final String TEXT_1753 = "ListSize; j++)" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_1754 = " "; + protected final String TEXT_1755 = " = "; + protected final String TEXT_1756 = "("; + protected final String TEXT_1757 = ") "; + protected final String TEXT_1758 = "List.get(j);"; + protected final String TEXT_1759 = NL + "\t\t\t\tif ("; + protected final String TEXT_1760 = " != null && !(ignoreCase ? ("; + protected final String TEXT_1761 = "("; + protected final String TEXT_1762 = ")"; + protected final String TEXT_1763 = ".get(j)).equalsIgnoreCase("; + protected final String TEXT_1764 = "."; + protected final String TEXT_1765 = "()) : "; + protected final String TEXT_1766 = ".get(j).equals("; + protected final String TEXT_1767 = "."; + protected final String TEXT_1768 = "())))"; + protected final String TEXT_1769 = NL + "\t\t\t\tif ("; + protected final String TEXT_1770 = " != null && !"; + protected final String TEXT_1771 = ".get(j).equals("; + protected final String TEXT_1772 = "."; + protected final String TEXT_1773 = "()))"; + protected final String TEXT_1774 = NL + "\t\t\t\t\tcontinue "; + protected final String TEXT_1775 = "Loop;"; + protected final String TEXT_1776 = NL + "\t\t\t}"; + protected final String TEXT_1777 = NL + "\t\t\t"; + protected final String TEXT_1778 = " "; + protected final String TEXT_1779 = " = "; + protected final String TEXT_1780 = "."; + protected final String TEXT_1781 = "();" + NL + "\t\t\tif ("; + protected final String TEXT_1782 = " == null)" + NL + "\t\t\t\tcontinue "; + protected final String TEXT_1783 = "Loop;"; + protected final String TEXT_1784 = NL + "\t\t\tif ("; + protected final String TEXT_1785 = " != null && !(ignoreCase ? "; + protected final String TEXT_1786 = ".equalsIgnoreCase("; + protected final String TEXT_1787 = "."; + protected final String TEXT_1788 = "()) : "; + protected final String TEXT_1789 = ".equals("; + protected final String TEXT_1790 = "."; + protected final String TEXT_1791 = "())))"; + protected final String TEXT_1792 = NL + "\t\t\tif ("; + protected final String TEXT_1793 = " != null && !"; + protected final String TEXT_1794 = ".equals("; + protected final String TEXT_1795 = "."; + protected final String TEXT_1796 = "()))"; + protected final String TEXT_1797 = NL + "\t\t\t\tcontinue "; + protected final String TEXT_1798 = "Loop;"; + protected final String TEXT_1799 = NL + "\t\t\tif ("; + protected final String TEXT_1800 = " != null && !(ignoreCase ? "; + protected final String TEXT_1801 = ".equalsIgnoreCase("; + protected final String TEXT_1802 = "."; + protected final String TEXT_1803 = "()) : "; + protected final String TEXT_1804 = ".equals("; + protected final String TEXT_1805 = "."; + protected final String TEXT_1806 = "())))"; + protected final String TEXT_1807 = NL + "\t\t\tif ("; + protected final String TEXT_1808 = " != null && !"; + protected final String TEXT_1809 = ".equals("; + protected final String TEXT_1810 = "."; + protected final String TEXT_1811 = "()))"; + protected final String TEXT_1812 = NL + "\t\t\t\tcontinue "; + protected final String TEXT_1813 = "Loop;"; + protected final String TEXT_1814 = NL + "\t\t\treturn "; + protected final String TEXT_1815 = ";" + NL + "\t\t}"; + protected final String TEXT_1816 = NL + "\t\treturn createOnDemand"; + protected final String TEXT_1817 = " && eClass != null"; + protected final String TEXT_1818 = " ? create"; + protected final String TEXT_1819 = "("; + protected final String TEXT_1820 = ", eClass"; + protected final String TEXT_1821 = ") : null;"; + protected final String TEXT_1822 = NL + "\t\treturn null;"; + protected final String TEXT_1823 = NL + "\t}" + NL; + protected final String TEXT_1824 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic boolean isSet"; + protected final String TEXT_1825 = "()" + NL + "\t{"; + protected final String TEXT_1826 = NL + " \t\treturn false;"; + protected final String TEXT_1827 = NL + "\t\treturn eIsSet("; + protected final String TEXT_1828 = ");"; + protected final String TEXT_1829 = NL + "\t\treturn !(("; + protected final String TEXT_1830 = ".Internal.Wrapper)"; + protected final String TEXT_1831 = "()).featureMap().isEmpty();"; + protected final String TEXT_1832 = NL + "\t\treturn "; + protected final String TEXT_1833 = " != null && !"; + protected final String TEXT_1834 = ".featureMap().isEmpty();"; + protected final String TEXT_1835 = NL + "\t\treturn "; + protected final String TEXT_1836 = " != null && !"; + protected final String TEXT_1837 = ".isEmpty();"; + protected final String TEXT_1838 = NL + "\t\t"; + protected final String TEXT_1839 = " "; + protected final String TEXT_1840 = " = ("; + protected final String TEXT_1841 = ")eVirtualGet("; + protected final String TEXT_1842 = ");" + NL + "\t\treturn "; + protected final String TEXT_1843 = " != null && !"; + protected final String TEXT_1844 = ".isEmpty();"; + protected final String TEXT_1845 = NL + "\t\treturn !"; + protected final String TEXT_1846 = "().isEmpty();"; + protected final String TEXT_1847 = NL + "\t\treturn "; + protected final String TEXT_1848 = " != null;"; + protected final String TEXT_1849 = NL + "\t\treturn eVirtualGet("; + protected final String TEXT_1850 = ") != null;"; + protected final String TEXT_1851 = NL + "\t\treturn basicGet"; + protected final String TEXT_1852 = "() != null;"; + protected final String TEXT_1853 = NL + "\t\treturn "; + protected final String TEXT_1854 = " != null;"; + protected final String TEXT_1855 = NL + "\t\treturn eVirtualGet("; + protected final String TEXT_1856 = ") != null;"; + protected final String TEXT_1857 = NL + "\t\treturn "; + protected final String TEXT_1858 = "() != null;"; + protected final String TEXT_1859 = NL + "\t\t\t\treturn (("; + protected final String TEXT_1860 = " & "; + protected final String TEXT_1861 = "_EFLAG) != 0) != "; + protected final String TEXT_1862 = ";"; + protected final String TEXT_1863 = NL + "\t\t\t\treturn ("; + protected final String TEXT_1864 = " & "; + protected final String TEXT_1865 = "_EFLAG) != "; + protected final String TEXT_1866 = "_EFLAG_DEFAULT;"; + protected final String TEXT_1867 = NL + "\t\treturn "; + protected final String TEXT_1868 = " != "; + protected final String TEXT_1869 = ";"; + protected final String TEXT_1870 = NL + "\t\treturn eVirtualGet("; + protected final String TEXT_1871 = ", "; + protected final String TEXT_1872 = ") != "; + protected final String TEXT_1873 = ";"; + protected final String TEXT_1874 = NL + "\t\treturn "; + protected final String TEXT_1875 = "() != "; + protected final String TEXT_1876 = ";"; + protected final String TEXT_1877 = NL + "\t\treturn "; + protected final String TEXT_1878 = " == null ? "; + protected final String TEXT_1879 = " != null : !"; + protected final String TEXT_1880 = ".equals("; + protected final String TEXT_1881 = ");"; + protected final String TEXT_1882 = NL + "\t\t"; + protected final String TEXT_1883 = " "; + protected final String TEXT_1884 = " = ("; + protected final String TEXT_1885 = ")eVirtualGet("; + protected final String TEXT_1886 = ", "; + protected final String TEXT_1887 = ");" + NL + "\t\treturn "; + protected final String TEXT_1888 = " == null ? "; + protected final String TEXT_1889 = " != null : !"; + protected final String TEXT_1890 = ".equals("; + protected final String TEXT_1891 = ");"; + protected final String TEXT_1892 = NL + "\t\treturn "; + protected final String TEXT_1893 = " == null ? "; + protected final String TEXT_1894 = "() != null : !"; + protected final String TEXT_1895 = ".equals("; + protected final String TEXT_1896 = "());"; + protected final String TEXT_1897 = NL + "\t\treturn eIsSet("; + protected final String TEXT_1898 = ");"; + protected final String TEXT_1899 = NL + "\t\t"; + protected final String TEXT_1900 = " "; + protected final String TEXT_1901 = " = ("; + protected final String TEXT_1902 = ")eVirtualGet("; + protected final String TEXT_1903 = ");"; + protected final String TEXT_1904 = NL + "\t\treturn "; + protected final String TEXT_1905 = " != null && (("; + protected final String TEXT_1906 = ".Unsettable"; + protected final String TEXT_1907 = ")"; + protected final String TEXT_1908 = ").isSet();"; + protected final String TEXT_1909 = NL + "\t\treturn eVirtualIsSet("; + protected final String TEXT_1910 = ");"; + protected final String TEXT_1911 = NL + "\t\treturn ("; + protected final String TEXT_1912 = " & "; + protected final String TEXT_1913 = "_ESETFLAG) != 0;"; + protected final String TEXT_1914 = NL + "\t\treturn "; + protected final String TEXT_1915 = "ESet;"; + protected final String TEXT_1916 = NL + "\t\treturn !(("; + protected final String TEXT_1917 = ".Internal)(("; + protected final String TEXT_1918 = ".Internal.Wrapper)get"; + protected final String TEXT_1919 = "()).featureMap()).isEmpty("; + protected final String TEXT_1920 = ");"; + protected final String TEXT_1921 = NL + "\t\treturn !(("; + protected final String TEXT_1922 = ".Internal)get"; + protected final String TEXT_1923 = "()).isEmpty("; + protected final String TEXT_1924 = ");"; + protected final String TEXT_1925 = NL + "\t\treturn "; + protected final String TEXT_1926 = "."; + protected final String TEXT_1927 = "(this);"; + protected final String TEXT_1928 = NL + "\t\t// TODO: implement this method to return whether the '"; + protected final String TEXT_1929 = "' "; + protected final String TEXT_1930 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_1931 = NL + "\t}" + NL; + protected final String TEXT_1932 = NL + "\t/**" + NL + "\t * The cached OCL expression body for the '{@link #"; + protected final String TEXT_1933 = "("; + protected final String TEXT_1934 = ") <em>"; + protected final String TEXT_1935 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_1936 = "("; + protected final String TEXT_1937 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; + protected final String TEXT_1938 = " "; + protected final String TEXT_1939 = "__EOCL_EXP = \""; + protected final String TEXT_1940 = "\";"; + protected final String TEXT_1941 = NL; + protected final String TEXT_1942 = NL + "\t/**" + NL + "\t * The cached OCL invariant for the '{@link #"; + protected final String TEXT_1943 = "("; + protected final String TEXT_1944 = ") <em>"; + protected final String TEXT_1945 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_1946 = "("; + protected final String TEXT_1947 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static "; + protected final String TEXT_1948 = " "; + protected final String TEXT_1949 = "__EOCL_INV;" + NL; + protected final String TEXT_1950 = NL + "\t/**" + NL + "\t * The cached OCL query for the '{@link #"; + protected final String TEXT_1951 = "("; + protected final String TEXT_1952 = ") <em>"; + protected final String TEXT_1953 = "</em>}' query operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_1954 = "("; + protected final String TEXT_1955 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static "; + protected final String TEXT_1956 = "<"; + protected final String TEXT_1957 = ">"; + protected final String TEXT_1958 = " "; + protected final String TEXT_1959 = "__EOCL_QRY;" + NL; + protected final String TEXT_1960 = NL + "\t/**" + NL + "\t * The cached validation expression for the '{@link #"; + protected final String TEXT_1961 = "("; + protected final String TEXT_1962 = ") <em>"; + protected final String TEXT_1963 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_1964 = "("; + protected final String TEXT_1965 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; + protected final String TEXT_1966 = " "; + protected final String TEXT_1967 = "__EEXPRESSION = \""; + protected final String TEXT_1968 = "\";"; + protected final String TEXT_1969 = NL; + protected final String TEXT_1970 = NL + "\t/**" + NL + "\t * The cached invocation delegate for the '{@link #"; + protected final String TEXT_1971 = "("; + protected final String TEXT_1972 = ") <em>"; + protected final String TEXT_1973 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_1974 = "("; + protected final String TEXT_1975 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; + protected final String TEXT_1976 = ".Internal.InvocationDelegate "; + protected final String TEXT_1977 = "__EINVOCATION_DELEGATE = (("; + protected final String TEXT_1978 = ".Internal)"; + protected final String TEXT_1979 = ").getInvocationDelegate();" + NL; + protected final String TEXT_1980 = NL + "\t/**"; + protected final String TEXT_1981 = NL + "\t * <p>" + NL + "\t * This operation redefines the following operations:" + NL + "\t * <ul>"; + protected final String TEXT_1982 = NL + "\t * <li>'{@link "; + protected final String TEXT_1983 = "#"; + protected final String TEXT_1984 = "("; + protected final String TEXT_1985 = ") <em>"; + protected final String TEXT_1986 = "</em>}' </li>"; + protected final String TEXT_1987 = NL + "\t * </ul>" + NL + "\t * </p>"; + protected final String TEXT_1988 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_1989 = NL + "\t * <!-- begin-model-doc -->"; + protected final String TEXT_1990 = NL + "\t * "; + protected final String TEXT_1991 = NL + "\t * @param "; + protected final String TEXT_1992 = NL + "\t * "; + protected final String TEXT_1993 = NL + "\t * @param "; + protected final String TEXT_1994 = " "; + protected final String TEXT_1995 = NL + "\t * <!-- end-model-doc -->"; + protected final String TEXT_1996 = NL + "\t * @model "; + protected final String TEXT_1997 = NL + "\t * "; + protected final String TEXT_1998 = NL + "\t * @model"; + protected final String TEXT_1999 = NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2000 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2001 = NL + "\t@Override"; + protected final String TEXT_2002 = NL + "\t"; + protected final String TEXT_2003 = " "; + protected final String TEXT_2004 = "("; + protected final String TEXT_2005 = ")"; + protected final String TEXT_2006 = ";" + NL; + protected final String TEXT_2007 = NL + "\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2008 = NL + "\tpublic "; + protected final String TEXT_2009 = " "; + protected final String TEXT_2010 = "("; + protected final String TEXT_2011 = ")"; + protected final String TEXT_2012 = NL + "\t{"; + protected final String TEXT_2013 = NL + "\t\t"; + protected final String TEXT_2014 = NL + "\t\treturn" + NL + "\t\t\t"; + protected final String TEXT_2015 = ".validate" + NL + "\t\t\t\t("; + protected final String TEXT_2016 = "," + NL + "\t\t\t\t this," + NL + "\t\t\t\t "; + protected final String TEXT_2017 = "," + NL + "\t\t\t\t "; + protected final String TEXT_2018 = "," + NL + "\t\t\t\t \""; + protected final String TEXT_2019 = "\","; + protected final String TEXT_2020 = NL + "\t\t\t\t "; + protected final String TEXT_2021 = "," + NL + "\t\t\t\t "; + protected final String TEXT_2022 = "__EEXPRESSION," + NL + "\t\t\t\t "; + protected final String TEXT_2023 = ".ERROR," + NL + "\t\t\t\t "; + protected final String TEXT_2024 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t "; + protected final String TEXT_2025 = "."; + protected final String TEXT_2026 = ");"; + protected final String TEXT_2027 = NL + "\t\treturn "; + protected final String TEXT_2028 = "."; + protected final String TEXT_2029 = "(this, "; + protected final String TEXT_2030 = ", "; + protected final String TEXT_2031 = ");"; + protected final String TEXT_2032 = NL + "\t\tif ("; + protected final String TEXT_2033 = " == null)" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2034 = ".Helper helper = EOCL_ENV.createOCLHelper();" + NL + "\t\t\thelper.setContext("; + protected final String TEXT_2035 = ");" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_2036 = " = helper.createInvariant("; + protected final String TEXT_2037 = "__EOCL_EXP);" + NL + "\t\t\t}" + NL + "\t\t\tcatch ("; + protected final String TEXT_2038 = " pe)" + NL + "\t\t\t{" + NL + "\t\t\t\tthrow new UnsupportedOperationException(pe.getLocalizedMessage());" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tif (!EOCL_ENV.createQuery("; + protected final String TEXT_2039 = ").check(this))"; + protected final String TEXT_2040 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// -> specify the condition that violates the invariant" + NL + "\t\t// -> verify the details of the diagnostic, including severity and message" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tif (false)"; + protected final String TEXT_2041 = NL + "\t\t{" + NL + "\t\t\tif ("; + protected final String TEXT_2042 = " != null)" + NL + "\t\t\t{"; + protected final String TEXT_2043 = NL + "\t\t\t\t"; + protected final String TEXT_2044 = ".add" + NL + "\t\t\t\t\t(new "; + protected final String TEXT_2045 = NL + "\t\t\t\t\t\t("; + protected final String TEXT_2046 = ".ERROR," + NL + "\t\t\t\t\t\t "; + protected final String TEXT_2047 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t "; + protected final String TEXT_2048 = "."; + protected final String TEXT_2049 = "," + NL + "\t\t\t\t\t\t "; + protected final String TEXT_2050 = ".INSTANCE.getString(\"_UI_GenericInvariant_diagnostic\", new Object[] { \""; + protected final String TEXT_2051 = "\", "; + protected final String TEXT_2052 = ".getObjectLabel(this, "; + protected final String TEXT_2053 = ") }),"; + protected final String TEXT_2054 = NL + "\t\t\t\t\t\t new Object [] { this }));"; + protected final String TEXT_2055 = NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;"; + protected final String TEXT_2056 = NL + "\t\ttry" + NL + "\t\t{"; + protected final String TEXT_2057 = NL + "\t\t\t"; + protected final String TEXT_2058 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, "; + protected final String TEXT_2059 = "new "; + protected final String TEXT_2060 = ".UnmodifiableEList<Object>("; + protected final String TEXT_2061 = ", "; + protected final String TEXT_2062 = ")"; + protected final String TEXT_2063 = "null"; + protected final String TEXT_2064 = ");"; + protected final String TEXT_2065 = NL + "\t\t\treturn "; protected final String TEXT_2066 = "("; - protected final String TEXT_2067 = ")"; - protected final String TEXT_2068 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, "; - protected final String TEXT_2069 = "new "; - protected final String TEXT_2070 = ".UnmodifiableEList<Object>("; - protected final String TEXT_2071 = ", "; - protected final String TEXT_2072 = ")"; - protected final String TEXT_2073 = "null"; - protected final String TEXT_2074 = ")"; - protected final String TEXT_2075 = ")."; - protected final String TEXT_2076 = "()"; - protected final String TEXT_2077 = ";"; - protected final String TEXT_2078 = NL + "\t\t}" + NL + "\t\tcatch ("; - protected final String TEXT_2079 = " ite)" + NL + "\t\t{" + NL + "\t\t\tthrow new "; - protected final String TEXT_2080 = "(ite);" + NL + "\t\t}"; - protected final String TEXT_2081 = NL + "\t\t"; - protected final String TEXT_2082 = "."; - protected final String TEXT_2083 = "(this"; - protected final String TEXT_2084 = ", "; - protected final String TEXT_2085 = ");"; - protected final String TEXT_2086 = NL + "\t\t"; - protected final String TEXT_2087 = " cache = getCacheAdapter();" + NL + "\t\tif (cache != null)" + NL + "\t\t{"; - protected final String TEXT_2088 = NL + "\t\t\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2089 = NL + "\t\t\t"; - protected final String TEXT_2090 = " result = ("; - protected final String TEXT_2091 = ") cache.get("; - protected final String TEXT_2092 = "eResource(), "; - protected final String TEXT_2093 = "this, "; - protected final String TEXT_2094 = ");" + NL + "\t\t\tif (result == null)" + NL + "\t\t\t{" + NL + "\t\t\t\tcache.put("; - protected final String TEXT_2095 = "eResource(), "; - protected final String TEXT_2096 = "this, "; - protected final String TEXT_2097 = ", result = "; - protected final String TEXT_2098 = "new "; - protected final String TEXT_2099 = "("; - protected final String TEXT_2100 = "."; - protected final String TEXT_2101 = "(this"; - protected final String TEXT_2102 = ", "; - protected final String TEXT_2103 = ")"; + protected final String TEXT_2067 = "("; + protected final String TEXT_2068 = ")"; + protected final String TEXT_2069 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, "; + protected final String TEXT_2070 = "new "; + protected final String TEXT_2071 = ".UnmodifiableEList<Object>("; + protected final String TEXT_2072 = ", "; + protected final String TEXT_2073 = ")"; + protected final String TEXT_2074 = "null"; + protected final String TEXT_2075 = ")"; + protected final String TEXT_2076 = ")."; + protected final String TEXT_2077 = "()"; + protected final String TEXT_2078 = ";"; + protected final String TEXT_2079 = NL + "\t\t}" + NL + "\t\tcatch ("; + protected final String TEXT_2080 = " ite)" + NL + "\t\t{" + NL + "\t\t\tthrow new "; + protected final String TEXT_2081 = "(ite);" + NL + "\t\t}"; + protected final String TEXT_2082 = NL + "\t\t"; + protected final String TEXT_2083 = "."; + protected final String TEXT_2084 = "(this"; + protected final String TEXT_2085 = ", "; + protected final String TEXT_2086 = ");"; + protected final String TEXT_2087 = NL + "\t\t"; + protected final String TEXT_2088 = " cache = getCacheAdapter();" + NL + "\t\tif (cache != null)" + NL + "\t\t{"; + protected final String TEXT_2089 = NL + "\t\t\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2090 = NL + "\t\t\t"; + protected final String TEXT_2091 = " result = ("; + protected final String TEXT_2092 = ") cache.get("; + protected final String TEXT_2093 = "eResource(), "; + protected final String TEXT_2094 = "this, "; + protected final String TEXT_2095 = ");" + NL + "\t\t\tif (result == null)" + NL + "\t\t\t{" + NL + "\t\t\t\tcache.put("; + protected final String TEXT_2096 = "eResource(), "; + protected final String TEXT_2097 = "this, "; + protected final String TEXT_2098 = ", result = "; + protected final String TEXT_2099 = "new "; + protected final String TEXT_2100 = "("; + protected final String TEXT_2101 = "."; + protected final String TEXT_2102 = "(this"; + protected final String TEXT_2103 = ", "; protected final String TEXT_2104 = ")"; - protected final String TEXT_2105 = ");" + NL + "\t\t\t}" + NL + "\t\t\treturn result"; - protected final String TEXT_2106 = "."; - protected final String TEXT_2107 = "()"; - protected final String TEXT_2108 = ";" + NL + "\t\t}"; - protected final String TEXT_2109 = NL + "\t\treturn "; - protected final String TEXT_2110 = "."; - protected final String TEXT_2111 = "(this"; - protected final String TEXT_2112 = ", "; - protected final String TEXT_2113 = ");"; - protected final String TEXT_2114 = NL + "\t\tif ("; - protected final String TEXT_2115 = " == null)" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2116 = ".Helper helper = EOCL_ENV.createOCLHelper();" + NL + "\t\t\thelper.setOperationContext("; - protected final String TEXT_2117 = ", "; - protected final String TEXT_2118 = ".getEAllOperations().get("; - protected final String TEXT_2119 = "));" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_2120 = " = helper.createQuery("; - protected final String TEXT_2121 = "__EOCL_EXP);" + NL + "\t\t\t}" + NL + "\t\t\tcatch ("; - protected final String TEXT_2122 = " pe)" + NL + "\t\t\t{" + NL + "\t\t\t\tthrow new UnsupportedOperationException(pe.getLocalizedMessage());" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\t"; - protected final String TEXT_2123 = ".Query query = EOCL_ENV.createQuery("; - protected final String TEXT_2124 = ");"; - protected final String TEXT_2125 = NL + "\t\t"; - protected final String TEXT_2126 = "<?, ?, ?, ?, ?>"; - protected final String TEXT_2127 = " environment = query.getEvaluationEnvironment();"; - protected final String TEXT_2128 = NL + "\t\tenvironment.add(\""; - protected final String TEXT_2129 = "\", "; - protected final String TEXT_2130 = ");"; - protected final String TEXT_2131 = NL + "\t\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2132 = NL + "\t\t"; - protected final String TEXT_2133 = "<"; - protected final String TEXT_2134 = "> result = ("; - protected final String TEXT_2135 = "<"; - protected final String TEXT_2136 = ">) query.evaluate(this);" + NL + "\t\treturn new "; - protected final String TEXT_2137 = ".UnmodifiableEList<"; - protected final String TEXT_2138 = ">(result.size(), result.toArray());"; - protected final String TEXT_2139 = NL + "\t\treturn (("; - protected final String TEXT_2140 = ") query.evaluate(this))."; - protected final String TEXT_2141 = "();"; - protected final String TEXT_2142 = NL + "\t\treturn ("; - protected final String TEXT_2143 = ") query.evaluate(this);"; - protected final String TEXT_2144 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_2145 = NL + "\t}" + NL; - protected final String TEXT_2146 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2147 = NL + "\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2148 = NL + "\t@Override"; - protected final String TEXT_2149 = NL + "\tpublic "; - protected final String TEXT_2150 = " eInverseAdd("; - protected final String TEXT_2151 = " otherEnd, int featureID, "; - protected final String TEXT_2152 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (featureID"; - protected final String TEXT_2153 = ")" + NL + "\t\t{"; - protected final String TEXT_2154 = NL + "\t\t\tcase "; - protected final String TEXT_2155 = ":"; - protected final String TEXT_2156 = NL + "\t\t\t\treturn (("; - protected final String TEXT_2157 = "("; - protected final String TEXT_2158 = ".InternalMapView"; - protected final String TEXT_2159 = ")"; - protected final String TEXT_2160 = "()).eMap()).basicAdd(otherEnd, msgs);"; - protected final String TEXT_2161 = NL + "\t\t\t\treturn ("; - protected final String TEXT_2162 = "()).basicAdd(otherEnd, msgs);"; - protected final String TEXT_2163 = NL + "\t\t\t\tif (eInternalContainer() != null)" + NL + "\t\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);"; - protected final String TEXT_2164 = NL + "\t\t\t\treturn basicSet"; - protected final String TEXT_2165 = "(("; - protected final String TEXT_2166 = ")otherEnd, msgs);"; - protected final String TEXT_2167 = NL + "\t\t\t\treturn eBasicSetContainer(otherEnd, "; - protected final String TEXT_2168 = ", msgs);"; - protected final String TEXT_2169 = NL + "\t\t\t\t"; - protected final String TEXT_2170 = " "; - protected final String TEXT_2171 = " = ("; - protected final String TEXT_2172 = ")eVirtualGet("; - protected final String TEXT_2173 = ");"; - protected final String TEXT_2174 = NL + "\t\t\t\t"; - protected final String TEXT_2175 = " "; - protected final String TEXT_2176 = " = "; - protected final String TEXT_2177 = "basicGet"; - protected final String TEXT_2178 = "();"; - protected final String TEXT_2179 = NL + "\t\t\t\tif ("; - protected final String TEXT_2180 = " != null)"; - protected final String TEXT_2181 = NL + "\t\t\t\t\tmsgs = (("; - protected final String TEXT_2182 = ")"; - protected final String TEXT_2183 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - "; - protected final String TEXT_2184 = ", null, msgs);"; - protected final String TEXT_2185 = NL + "\t\t\t\t\tmsgs = (("; - protected final String TEXT_2186 = ")"; - protected final String TEXT_2187 = ").eInverseRemove(this, "; - protected final String TEXT_2188 = ", "; - protected final String TEXT_2189 = ".class, msgs);"; - protected final String TEXT_2190 = NL + "\t\t\t\treturn basicSet"; - protected final String TEXT_2191 = "(("; - protected final String TEXT_2192 = ")otherEnd, msgs);"; - protected final String TEXT_2193 = NL + "\t\t}"; - protected final String TEXT_2194 = NL + "\t\treturn super.eInverseAdd(otherEnd, featureID, msgs);"; - protected final String TEXT_2195 = NL + "\t\treturn eDynamicInverseAdd(otherEnd, featureID, msgs);"; - protected final String TEXT_2196 = NL + "\t}" + NL; - protected final String TEXT_2197 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2198 = NL + "\t@Override"; - protected final String TEXT_2199 = NL + "\tpublic "; - protected final String TEXT_2200 = " eInverseRemove("; - protected final String TEXT_2201 = " otherEnd, int featureID, "; - protected final String TEXT_2202 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (featureID"; - protected final String TEXT_2203 = ")" + NL + "\t\t{"; - protected final String TEXT_2204 = NL + "\t\t\tcase "; - protected final String TEXT_2205 = ":"; - protected final String TEXT_2206 = NL + "\t\t\t\treturn (("; - protected final String TEXT_2207 = ")(("; - protected final String TEXT_2208 = ".InternalMapView"; - protected final String TEXT_2209 = ")"; - protected final String TEXT_2210 = "()).eMap()).basicRemove(otherEnd, msgs);"; - protected final String TEXT_2211 = NL + "\t\t\t\treturn (("; - protected final String TEXT_2212 = ")(("; - protected final String TEXT_2213 = ".Internal.Wrapper)"; - protected final String TEXT_2214 = "()).featureMap()).basicRemove(otherEnd, msgs);"; - protected final String TEXT_2215 = NL + "\t\t\t\treturn (("; - protected final String TEXT_2216 = ")"; - protected final String TEXT_2217 = "()).basicRemove(otherEnd, msgs);"; - protected final String TEXT_2218 = NL + "\t\t\t\treturn eBasicSetContainer(null, "; - protected final String TEXT_2219 = ", msgs);"; - protected final String TEXT_2220 = NL + "\t\t\t\treturn basicUnset"; - protected final String TEXT_2221 = "(msgs);"; - protected final String TEXT_2222 = NL + "\t\t\t\treturn basicSet"; - protected final String TEXT_2223 = "(null, msgs);"; - protected final String TEXT_2224 = NL + "\t\t}"; - protected final String TEXT_2225 = NL + "\t\treturn super.eInverseRemove(otherEnd, featureID, msgs);"; - protected final String TEXT_2226 = NL + "\t\treturn eDynamicInverseRemove(otherEnd, featureID, msgs);"; - protected final String TEXT_2227 = NL + "\t}" + NL; - protected final String TEXT_2228 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2229 = NL + "\t@Override"; - protected final String TEXT_2230 = NL + "\tpublic "; - protected final String TEXT_2231 = " eBasicRemoveFromContainerFeature("; - protected final String TEXT_2232 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (eContainerFeatureID()"; - protected final String TEXT_2233 = ")" + NL + "\t\t{"; - protected final String TEXT_2234 = NL + "\t\t\tcase "; - protected final String TEXT_2235 = ":" + NL + "\t\t\t\treturn eInternalContainer().eInverseRemove(this, "; - protected final String TEXT_2236 = ", "; - protected final String TEXT_2237 = ".class, msgs);"; - protected final String TEXT_2238 = NL + "\t\t}"; - protected final String TEXT_2239 = NL + "\t\treturn super.eBasicRemoveFromContainerFeature(msgs);"; - protected final String TEXT_2240 = NL + "\t\treturn eDynamicBasicRemoveFromContainer(msgs);"; - protected final String TEXT_2241 = NL + "\t}" + NL; - protected final String TEXT_2242 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2243 = NL + "\t@Override"; - protected final String TEXT_2244 = NL + "\tpublic Object eGet(int featureID, boolean resolve, boolean coreType)" + NL + "\t{" + NL + "\t\tswitch (featureID"; - protected final String TEXT_2245 = ")" + NL + "\t\t{"; - protected final String TEXT_2246 = NL + "\t\t\tcase "; - protected final String TEXT_2247 = ":"; - protected final String TEXT_2248 = NL + "\t\t\t\treturn "; - protected final String TEXT_2249 = "();"; - protected final String TEXT_2250 = NL + "\t\t\t\treturn "; - protected final String TEXT_2251 = "() ? Boolean.TRUE : Boolean.FALSE;"; - protected final String TEXT_2252 = NL + "\t\t\t\treturn new "; - protected final String TEXT_2253 = "("; - protected final String TEXT_2254 = "());"; - protected final String TEXT_2255 = NL + "\t\t\t\tif (resolve) return "; - protected final String TEXT_2256 = "();" + NL + "\t\t\t\treturn basicGet"; - protected final String TEXT_2257 = "();"; - protected final String TEXT_2258 = NL + "\t\t\t\tif (coreType) return (("; - protected final String TEXT_2259 = ".InternalMapView"; - protected final String TEXT_2260 = ")"; - protected final String TEXT_2261 = "()).eMap();" + NL + "\t\t\t\telse return "; - protected final String TEXT_2262 = "();"; - protected final String TEXT_2263 = NL + "\t\t\t\tif (coreType) return "; - protected final String TEXT_2264 = "();" + NL + "\t\t\t\telse return "; - protected final String TEXT_2265 = "().map();"; - protected final String TEXT_2266 = NL + "\t\t\t\tif (coreType) return (("; - protected final String TEXT_2267 = ".Internal.Wrapper)"; - protected final String TEXT_2268 = "()).featureMap();" + NL + "\t\t\t\treturn "; - protected final String TEXT_2269 = "();"; - protected final String TEXT_2270 = NL + "\t\t\t\tif (coreType) return "; - protected final String TEXT_2271 = "();" + NL + "\t\t\t\treturn (("; - protected final String TEXT_2272 = ".Internal)"; - protected final String TEXT_2273 = "()).getWrapper();"; - protected final String TEXT_2274 = NL + "\t\t\t\treturn "; - protected final String TEXT_2275 = "();"; - protected final String TEXT_2276 = NL + "\t\t}"; - protected final String TEXT_2277 = NL + "\t\treturn super.eGet(featureID, resolve, coreType);"; - protected final String TEXT_2278 = NL + "\t\treturn eDynamicGet(featureID, resolve, coreType);"; - protected final String TEXT_2279 = NL + "\t}" + NL; - protected final String TEXT_2280 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2281 = NL + "\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2282 = NL + "\t@Override"; - protected final String TEXT_2283 = NL + "\tpublic void eSet(int featureID, Object newValue)" + NL + "\t{" + NL + "\t\tswitch (featureID"; - protected final String TEXT_2284 = ")" + NL + "\t\t{"; - protected final String TEXT_2285 = NL + "\t\t\tcase "; - protected final String TEXT_2286 = ":"; - protected final String TEXT_2287 = NL + "\t\t\t\t(("; - protected final String TEXT_2288 = ".Internal)(("; - protected final String TEXT_2289 = ".Internal.Wrapper)"; - protected final String TEXT_2290 = "()).featureMap()).set(newValue);"; - protected final String TEXT_2291 = NL + "\t\t\t\t(("; - protected final String TEXT_2292 = ".Internal)"; - protected final String TEXT_2293 = "()).set(newValue);"; - protected final String TEXT_2294 = NL + "\t\t\t\t(("; - protected final String TEXT_2295 = ".Setting)(("; - protected final String TEXT_2296 = ".InternalMapView"; - protected final String TEXT_2297 = ")"; - protected final String TEXT_2298 = "()).eMap()).set(newValue);"; - protected final String TEXT_2299 = NL + "\t\t\t\t(("; - protected final String TEXT_2300 = ".Setting)"; - protected final String TEXT_2301 = "()).set(newValue);"; - protected final String TEXT_2302 = NL + "\t\t\t\t"; - protected final String TEXT_2303 = "().clear();" + NL + "\t\t\t\t"; - protected final String TEXT_2304 = "().addAll(("; - protected final String TEXT_2305 = "<? extends "; - protected final String TEXT_2306 = ">"; - protected final String TEXT_2307 = ")newValue);"; - protected final String TEXT_2308 = NL + "\t\t\t\tset"; - protected final String TEXT_2309 = "((("; - protected final String TEXT_2310 = ")newValue)."; - protected final String TEXT_2311 = "());"; - protected final String TEXT_2312 = NL + "\t\t\t\tset"; - protected final String TEXT_2313 = "("; + protected final String TEXT_2105 = ")"; + protected final String TEXT_2106 = ");" + NL + "\t\t\t}" + NL + "\t\t\treturn result"; + protected final String TEXT_2107 = "."; + protected final String TEXT_2108 = "()"; + protected final String TEXT_2109 = ";" + NL + "\t\t}"; + protected final String TEXT_2110 = NL + "\t\treturn "; + protected final String TEXT_2111 = "."; + protected final String TEXT_2112 = "(this"; + protected final String TEXT_2113 = ", "; + protected final String TEXT_2114 = ");"; + protected final String TEXT_2115 = NL + "\t\tif ("; + protected final String TEXT_2116 = " == null)" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2117 = ".Helper helper = EOCL_ENV.createOCLHelper();" + NL + "\t\t\thelper.setOperationContext("; + protected final String TEXT_2118 = ", "; + protected final String TEXT_2119 = ".getEAllOperations().get("; + protected final String TEXT_2120 = "));" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_2121 = " = helper.createQuery("; + protected final String TEXT_2122 = "__EOCL_EXP);" + NL + "\t\t\t}" + NL + "\t\t\tcatch ("; + protected final String TEXT_2123 = " pe)" + NL + "\t\t\t{" + NL + "\t\t\t\tthrow new UnsupportedOperationException(pe.getLocalizedMessage());" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\t"; + protected final String TEXT_2124 = ".Query query = EOCL_ENV.createQuery("; + protected final String TEXT_2125 = ");"; + protected final String TEXT_2126 = NL + "\t\t"; + protected final String TEXT_2127 = "<?, ?, ?, ?, ?>"; + protected final String TEXT_2128 = " environment = query.getEvaluationEnvironment();"; + protected final String TEXT_2129 = NL + "\t\tenvironment.add(\""; + protected final String TEXT_2130 = "\", "; + protected final String TEXT_2131 = ");"; + protected final String TEXT_2132 = NL + "\t\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2133 = NL + "\t\t"; + protected final String TEXT_2134 = "<"; + protected final String TEXT_2135 = "> result = ("; + protected final String TEXT_2136 = "<"; + protected final String TEXT_2137 = ">) query.evaluate(this);" + NL + "\t\treturn new "; + protected final String TEXT_2138 = ".UnmodifiableEList<"; + protected final String TEXT_2139 = ">(result.size(), result.toArray());"; + protected final String TEXT_2140 = NL + "\t\treturn (("; + protected final String TEXT_2141 = ") query.evaluate(this))."; + protected final String TEXT_2142 = "();"; + protected final String TEXT_2143 = NL + "\t\treturn ("; + protected final String TEXT_2144 = ") query.evaluate(this);"; + protected final String TEXT_2145 = NL + "\t\t// TODO: implement this method" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_2146 = NL + "\t}" + NL; + protected final String TEXT_2147 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2148 = NL + "\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2149 = NL + "\t@Override"; + protected final String TEXT_2150 = NL + "\tpublic "; + protected final String TEXT_2151 = " eInverseAdd("; + protected final String TEXT_2152 = " otherEnd, int featureID, "; + protected final String TEXT_2153 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (featureID"; + protected final String TEXT_2154 = ")" + NL + "\t\t{"; + protected final String TEXT_2155 = NL + "\t\t\tcase "; + protected final String TEXT_2156 = ":"; + protected final String TEXT_2157 = NL + "\t\t\t\treturn (("; + protected final String TEXT_2158 = "("; + protected final String TEXT_2159 = ".InternalMapView"; + protected final String TEXT_2160 = ")"; + protected final String TEXT_2161 = "()).eMap()).basicAdd(otherEnd, msgs);"; + protected final String TEXT_2162 = NL + "\t\t\t\treturn ("; + protected final String TEXT_2163 = "()).basicAdd(otherEnd, msgs);"; + protected final String TEXT_2164 = NL + "\t\t\t\tif (eInternalContainer() != null)" + NL + "\t\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);"; + protected final String TEXT_2165 = NL + "\t\t\t\treturn basicSet"; + protected final String TEXT_2166 = "(("; + protected final String TEXT_2167 = ")otherEnd, msgs);"; + protected final String TEXT_2168 = NL + "\t\t\t\treturn eBasicSetContainer(otherEnd, "; + protected final String TEXT_2169 = ", msgs);"; + protected final String TEXT_2170 = NL + "\t\t\t\t"; + protected final String TEXT_2171 = " "; + protected final String TEXT_2172 = " = ("; + protected final String TEXT_2173 = ")eVirtualGet("; + protected final String TEXT_2174 = ");"; + protected final String TEXT_2175 = NL + "\t\t\t\t"; + protected final String TEXT_2176 = " "; + protected final String TEXT_2177 = " = "; + protected final String TEXT_2178 = "basicGet"; + protected final String TEXT_2179 = "();"; + protected final String TEXT_2180 = NL + "\t\t\t\tif ("; + protected final String TEXT_2181 = " != null)"; + protected final String TEXT_2182 = NL + "\t\t\t\t\tmsgs = (("; + protected final String TEXT_2183 = ")"; + protected final String TEXT_2184 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - "; + protected final String TEXT_2185 = ", null, msgs);"; + protected final String TEXT_2186 = NL + "\t\t\t\t\tmsgs = (("; + protected final String TEXT_2187 = ")"; + protected final String TEXT_2188 = ").eInverseRemove(this, "; + protected final String TEXT_2189 = ", "; + protected final String TEXT_2190 = ".class, msgs);"; + protected final String TEXT_2191 = NL + "\t\t\t\treturn basicSet"; + protected final String TEXT_2192 = "(("; + protected final String TEXT_2193 = ")otherEnd, msgs);"; + protected final String TEXT_2194 = NL + "\t\t}"; + protected final String TEXT_2195 = NL + "\t\treturn super.eInverseAdd(otherEnd, featureID, msgs);"; + protected final String TEXT_2196 = NL + "\t\treturn eDynamicInverseAdd(otherEnd, featureID, msgs);"; + protected final String TEXT_2197 = NL + "\t}" + NL; + protected final String TEXT_2198 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2199 = NL + "\t@Override"; + protected final String TEXT_2200 = NL + "\tpublic "; + protected final String TEXT_2201 = " eInverseRemove("; + protected final String TEXT_2202 = " otherEnd, int featureID, "; + protected final String TEXT_2203 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (featureID"; + protected final String TEXT_2204 = ")" + NL + "\t\t{"; + protected final String TEXT_2205 = NL + "\t\t\tcase "; + protected final String TEXT_2206 = ":"; + protected final String TEXT_2207 = NL + "\t\t\t\treturn (("; + protected final String TEXT_2208 = ")(("; + protected final String TEXT_2209 = ".InternalMapView"; + protected final String TEXT_2210 = ")"; + protected final String TEXT_2211 = "()).eMap()).basicRemove(otherEnd, msgs);"; + protected final String TEXT_2212 = NL + "\t\t\t\treturn (("; + protected final String TEXT_2213 = ")(("; + protected final String TEXT_2214 = ".Internal.Wrapper)"; + protected final String TEXT_2215 = "()).featureMap()).basicRemove(otherEnd, msgs);"; + protected final String TEXT_2216 = NL + "\t\t\t\treturn (("; + protected final String TEXT_2217 = ")"; + protected final String TEXT_2218 = "()).basicRemove(otherEnd, msgs);"; + protected final String TEXT_2219 = NL + "\t\t\t\treturn eBasicSetContainer(null, "; + protected final String TEXT_2220 = ", msgs);"; + protected final String TEXT_2221 = NL + "\t\t\t\treturn basicUnset"; + protected final String TEXT_2222 = "(msgs);"; + protected final String TEXT_2223 = NL + "\t\t\t\treturn basicSet"; + protected final String TEXT_2224 = "(null, msgs);"; + protected final String TEXT_2225 = NL + "\t\t}"; + protected final String TEXT_2226 = NL + "\t\treturn super.eInverseRemove(otherEnd, featureID, msgs);"; + protected final String TEXT_2227 = NL + "\t\treturn eDynamicInverseRemove(otherEnd, featureID, msgs);"; + protected final String TEXT_2228 = NL + "\t}" + NL; + protected final String TEXT_2229 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2230 = NL + "\t@Override"; + protected final String TEXT_2231 = NL + "\tpublic "; + protected final String TEXT_2232 = " eBasicRemoveFromContainerFeature("; + protected final String TEXT_2233 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (eContainerFeatureID()"; + protected final String TEXT_2234 = ")" + NL + "\t\t{"; + protected final String TEXT_2235 = NL + "\t\t\tcase "; + protected final String TEXT_2236 = ":" + NL + "\t\t\t\treturn eInternalContainer().eInverseRemove(this, "; + protected final String TEXT_2237 = ", "; + protected final String TEXT_2238 = ".class, msgs);"; + protected final String TEXT_2239 = NL + "\t\t}"; + protected final String TEXT_2240 = NL + "\t\treturn super.eBasicRemoveFromContainerFeature(msgs);"; + protected final String TEXT_2241 = NL + "\t\treturn eDynamicBasicRemoveFromContainer(msgs);"; + protected final String TEXT_2242 = NL + "\t}" + NL; + protected final String TEXT_2243 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2244 = NL + "\t@Override"; + protected final String TEXT_2245 = NL + "\tpublic Object eGet(int featureID, boolean resolve, boolean coreType)" + NL + "\t{" + NL + "\t\tswitch (featureID"; + protected final String TEXT_2246 = ")" + NL + "\t\t{"; + protected final String TEXT_2247 = NL + "\t\t\tcase "; + protected final String TEXT_2248 = ":"; + protected final String TEXT_2249 = NL + "\t\t\t\treturn "; + protected final String TEXT_2250 = "();"; + protected final String TEXT_2251 = NL + "\t\t\t\treturn "; + protected final String TEXT_2252 = "() ? Boolean.TRUE : Boolean.FALSE;"; + protected final String TEXT_2253 = NL + "\t\t\t\treturn new "; + protected final String TEXT_2254 = "("; + protected final String TEXT_2255 = "());"; + protected final String TEXT_2256 = NL + "\t\t\t\tif (resolve) return "; + protected final String TEXT_2257 = "();" + NL + "\t\t\t\treturn basicGet"; + protected final String TEXT_2258 = "();"; + protected final String TEXT_2259 = NL + "\t\t\t\tif (coreType) return (("; + protected final String TEXT_2260 = ".InternalMapView"; + protected final String TEXT_2261 = ")"; + protected final String TEXT_2262 = "()).eMap();" + NL + "\t\t\t\telse return "; + protected final String TEXT_2263 = "();"; + protected final String TEXT_2264 = NL + "\t\t\t\tif (coreType) return "; + protected final String TEXT_2265 = "();" + NL + "\t\t\t\telse return "; + protected final String TEXT_2266 = "().map();"; + protected final String TEXT_2267 = NL + "\t\t\t\tif (coreType) return (("; + protected final String TEXT_2268 = ".Internal.Wrapper)"; + protected final String TEXT_2269 = "()).featureMap();" + NL + "\t\t\t\treturn "; + protected final String TEXT_2270 = "();"; + protected final String TEXT_2271 = NL + "\t\t\t\tif (coreType) return "; + protected final String TEXT_2272 = "();" + NL + "\t\t\t\treturn (("; + protected final String TEXT_2273 = ".Internal)"; + protected final String TEXT_2274 = "()).getWrapper();"; + protected final String TEXT_2275 = NL + "\t\t\t\treturn "; + protected final String TEXT_2276 = "();"; + protected final String TEXT_2277 = NL + "\t\t}"; + protected final String TEXT_2278 = NL + "\t\treturn super.eGet(featureID, resolve, coreType);"; + protected final String TEXT_2279 = NL + "\t\treturn eDynamicGet(featureID, resolve, coreType);"; + protected final String TEXT_2280 = NL + "\t}" + NL; + protected final String TEXT_2281 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2282 = NL + "\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2283 = NL + "\t@Override"; + protected final String TEXT_2284 = NL + "\tpublic void eSet(int featureID, Object newValue)" + NL + "\t{" + NL + "\t\tswitch (featureID"; + protected final String TEXT_2285 = ")" + NL + "\t\t{"; + protected final String TEXT_2286 = NL + "\t\t\tcase "; + protected final String TEXT_2287 = ":"; + protected final String TEXT_2288 = NL + "\t\t\t\t(("; + protected final String TEXT_2289 = ".Internal)(("; + protected final String TEXT_2290 = ".Internal.Wrapper)"; + protected final String TEXT_2291 = "()).featureMap()).set(newValue);"; + protected final String TEXT_2292 = NL + "\t\t\t\t(("; + protected final String TEXT_2293 = ".Internal)"; + protected final String TEXT_2294 = "()).set(newValue);"; + protected final String TEXT_2295 = NL + "\t\t\t\t(("; + protected final String TEXT_2296 = ".Setting)(("; + protected final String TEXT_2297 = ".InternalMapView"; + protected final String TEXT_2298 = ")"; + protected final String TEXT_2299 = "()).eMap()).set(newValue);"; + protected final String TEXT_2300 = NL + "\t\t\t\t(("; + protected final String TEXT_2301 = ".Setting)"; + protected final String TEXT_2302 = "()).set(newValue);"; + protected final String TEXT_2303 = NL + "\t\t\t\t"; + protected final String TEXT_2304 = "().clear();" + NL + "\t\t\t\t"; + protected final String TEXT_2305 = "().addAll(("; + protected final String TEXT_2306 = "<? extends "; + protected final String TEXT_2307 = ">"; + protected final String TEXT_2308 = ")newValue);"; + protected final String TEXT_2309 = NL + "\t\t\t\tset"; + protected final String TEXT_2310 = "((("; + protected final String TEXT_2311 = ")newValue)."; + protected final String TEXT_2312 = "());"; + protected final String TEXT_2313 = NL + "\t\t\t\tset"; protected final String TEXT_2314 = "("; - protected final String TEXT_2315 = ")"; - protected final String TEXT_2316 = "newValue);"; - protected final String TEXT_2317 = NL + "\t\t\t\treturn;"; - protected final String TEXT_2318 = NL + "\t\t}"; - protected final String TEXT_2319 = NL + "\t\tsuper.eSet(featureID, newValue);"; - protected final String TEXT_2320 = NL + "\t\teDynamicSet(featureID, newValue);"; - protected final String TEXT_2321 = NL + "\t}" + NL; - protected final String TEXT_2322 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2323 = NL + "\t@Override"; - protected final String TEXT_2324 = NL + "\tpublic void eUnset(int featureID)" + NL + "\t{" + NL + "\t\tswitch (featureID"; - protected final String TEXT_2325 = ")" + NL + "\t\t{"; - protected final String TEXT_2326 = NL + "\t\t\tcase "; - protected final String TEXT_2327 = ":"; - protected final String TEXT_2328 = NL + "\t\t\t\t(("; - protected final String TEXT_2329 = ".Internal.Wrapper)"; - protected final String TEXT_2330 = "()).featureMap().clear();"; - protected final String TEXT_2331 = NL + "\t\t\t\t"; - protected final String TEXT_2332 = "().clear();"; - protected final String TEXT_2333 = NL + "\t\t\t\tunset"; - protected final String TEXT_2334 = "();"; - protected final String TEXT_2335 = NL + "\t\t\t\tset"; - protected final String TEXT_2336 = "(("; - protected final String TEXT_2337 = ")null);"; - protected final String TEXT_2338 = NL + "\t\t\t\tset"; - protected final String TEXT_2339 = "("; - protected final String TEXT_2340 = ");"; - protected final String TEXT_2341 = NL + "\t\t\t\treturn;"; - protected final String TEXT_2342 = NL + "\t\t}"; - protected final String TEXT_2343 = NL + "\t\tsuper.eUnset(featureID);"; - protected final String TEXT_2344 = NL + "\t\teDynamicUnset(featureID);"; - protected final String TEXT_2345 = NL + "\t}" + NL; - protected final String TEXT_2346 = NL; - protected final String TEXT_2347 = "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2348 = NL + "\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2349 = NL + "\t@Override"; - protected final String TEXT_2350 = NL + "\tpublic boolean eIsSet(int featureID)" + NL + "\t{" + NL + "\t\tswitch (featureID)" + NL + "\t\t{"; - protected final String TEXT_2351 = NL + "\t\t\tcase "; - protected final String TEXT_2352 = ":"; - protected final String TEXT_2353 = NL + "\t\t\t\treturn isSet"; - protected final String TEXT_2354 = "();"; - protected final String TEXT_2355 = NL + "\t\t\t\treturn isSet"; - protected final String TEXT_2356 = "();"; - protected final String TEXT_2357 = NL + "\t\t\t\treturn "; - protected final String TEXT_2358 = "__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);"; - protected final String TEXT_2359 = NL + "\t\t\t\treturn !(("; - protected final String TEXT_2360 = ".Internal.Wrapper)"; - protected final String TEXT_2361 = "()).featureMap().isEmpty();"; - protected final String TEXT_2362 = NL + "\t\t\t\treturn "; - protected final String TEXT_2363 = " != null && !"; - protected final String TEXT_2364 = ".featureMap().isEmpty();"; - protected final String TEXT_2365 = NL + "\t\t\t\treturn "; - protected final String TEXT_2366 = " != null && !"; - protected final String TEXT_2367 = ".isEmpty();"; - protected final String TEXT_2368 = NL + "\t\t\t\t"; - protected final String TEXT_2369 = " "; - protected final String TEXT_2370 = " = ("; - protected final String TEXT_2371 = ")eVirtualGet("; - protected final String TEXT_2372 = ");" + NL + "\t\t\t\treturn "; - protected final String TEXT_2373 = " != null && !"; - protected final String TEXT_2374 = ".isEmpty();"; - protected final String TEXT_2375 = NL + "\t\t\t\treturn !"; - protected final String TEXT_2376 = "().isEmpty();"; - protected final String TEXT_2377 = NL + "\t\t\t\treturn isSet"; - protected final String TEXT_2378 = "();"; - protected final String TEXT_2379 = NL + "\t\t\t\treturn "; - protected final String TEXT_2380 = " != null;"; - protected final String TEXT_2381 = NL + "\t\t\t\treturn eVirtualGet("; - protected final String TEXT_2382 = ") != null;"; - protected final String TEXT_2383 = NL + "\t\t\t\treturn basicGet"; - protected final String TEXT_2384 = "() != null;"; - protected final String TEXT_2385 = NL + "\t\t\t\treturn "; - protected final String TEXT_2386 = " != null;"; - protected final String TEXT_2387 = NL + "\t\t\t\treturn eVirtualGet("; - protected final String TEXT_2388 = ") != null;"; - protected final String TEXT_2389 = NL + "\t\t\t\treturn "; - protected final String TEXT_2390 = "() != null;"; - protected final String TEXT_2391 = NL + "\t\t\t\treturn (("; - protected final String TEXT_2392 = " & "; - protected final String TEXT_2393 = "_EFLAG) != 0) != "; - protected final String TEXT_2394 = ";"; - protected final String TEXT_2395 = NL + "\t\t\t\treturn ("; - protected final String TEXT_2396 = " & "; - protected final String TEXT_2397 = "_EFLAG) != "; - protected final String TEXT_2398 = "_EFLAG_DEFAULT;"; - protected final String TEXT_2399 = NL + "\t\t\t\treturn "; - protected final String TEXT_2400 = " != "; - protected final String TEXT_2401 = ";"; - protected final String TEXT_2402 = NL + "\t\t\t\treturn eVirtualGet("; - protected final String TEXT_2403 = ", "; - protected final String TEXT_2404 = ") != "; - protected final String TEXT_2405 = ";"; - protected final String TEXT_2406 = NL + "\t\t\t\treturn "; - protected final String TEXT_2407 = "() != "; - protected final String TEXT_2408 = ";"; - protected final String TEXT_2409 = NL + "\t\t\t\treturn "; - protected final String TEXT_2410 = " == null ? "; - protected final String TEXT_2411 = " != null : !"; - protected final String TEXT_2412 = ".equals("; - protected final String TEXT_2413 = ");"; - protected final String TEXT_2414 = NL + "\t\t\t\t"; - protected final String TEXT_2415 = " "; - protected final String TEXT_2416 = " = ("; - protected final String TEXT_2417 = ")eVirtualGet("; - protected final String TEXT_2418 = ", "; - protected final String TEXT_2419 = ");" + NL + "\t\t\t\treturn "; - protected final String TEXT_2420 = " == null ? "; - protected final String TEXT_2421 = " != null : !"; - protected final String TEXT_2422 = ".equals("; - protected final String TEXT_2423 = ");"; - protected final String TEXT_2424 = NL + "\t\t\t\treturn "; - protected final String TEXT_2425 = " == null ? "; - protected final String TEXT_2426 = "() != null : !"; - protected final String TEXT_2427 = ".equals("; - protected final String TEXT_2428 = "());"; - protected final String TEXT_2429 = NL + "\t\t}"; - protected final String TEXT_2430 = NL + "\t\treturn super.eIsSet(featureID);"; - protected final String TEXT_2431 = NL + "\t\treturn eDynamicIsSet(featureID);"; - protected final String TEXT_2432 = NL + "\t}" + NL; - protected final String TEXT_2433 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2434 = NL + "\t@Override"; - protected final String TEXT_2435 = NL + "\tpublic int eBaseStructuralFeatureID(int derivedFeatureID, Class"; - protected final String TEXT_2436 = " baseClass)" + NL + "\t{"; - protected final String TEXT_2437 = NL + "\t\tif (baseClass == "; - protected final String TEXT_2438 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (derivedFeatureID"; - protected final String TEXT_2439 = ")" + NL + "\t\t\t{"; - protected final String TEXT_2440 = NL + "\t\t\t\tcase "; - protected final String TEXT_2441 = ": return "; - protected final String TEXT_2442 = ";"; - protected final String TEXT_2443 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2444 = NL + "\t\treturn super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);" + NL + "\t}"; - protected final String TEXT_2445 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2446 = NL + "\t@Override"; - protected final String TEXT_2447 = NL + "\tpublic int eDerivedStructuralFeatureID(int baseFeatureID, Class"; - protected final String TEXT_2448 = " baseClass)" + NL + "\t{"; - protected final String TEXT_2449 = NL + "\t\tif (baseClass == "; - protected final String TEXT_2450 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID)" + NL + "\t\t\t{"; - protected final String TEXT_2451 = NL + "\t\t\t\tcase "; - protected final String TEXT_2452 = ": return "; - protected final String TEXT_2453 = ";"; - protected final String TEXT_2454 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2455 = NL + "\t\tif (baseClass == "; - protected final String TEXT_2456 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID"; - protected final String TEXT_2457 = ")" + NL + "\t\t\t{"; - protected final String TEXT_2458 = NL + "\t\t\t\tcase "; - protected final String TEXT_2459 = ": return "; - protected final String TEXT_2460 = ";"; - protected final String TEXT_2461 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2462 = NL + "\t\treturn super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);" + NL + "\t}" + NL; - protected final String TEXT_2463 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2464 = NL + "\t@Override"; - protected final String TEXT_2465 = NL + "\tpublic int eDerivedOperationID(int baseOperationID, Class"; - protected final String TEXT_2466 = " baseClass)" + NL + "\t{"; - protected final String TEXT_2467 = NL + "\t\tif (baseClass == "; - protected final String TEXT_2468 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{"; - protected final String TEXT_2469 = NL + "\t\t\t\tcase "; - protected final String TEXT_2470 = ": return "; - protected final String TEXT_2471 = ";"; - protected final String TEXT_2472 = NL + "\t\t\t\tdefault: return super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2473 = NL + "\t\tif (baseClass == "; - protected final String TEXT_2474 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{"; - protected final String TEXT_2475 = NL + "\t\t\t\tcase "; - protected final String TEXT_2476 = ": return "; - protected final String TEXT_2477 = ";"; - protected final String TEXT_2478 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2479 = NL + "\t\tif (baseClass == "; - protected final String TEXT_2480 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID"; - protected final String TEXT_2481 = ")" + NL + "\t\t\t{"; - protected final String TEXT_2482 = NL + "\t\t\t\tcase "; - protected final String TEXT_2483 = ": return "; - protected final String TEXT_2484 = ";"; - protected final String TEXT_2485 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2486 = NL + "\t\treturn super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t}" + NL; - protected final String TEXT_2487 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2488 = NL + "\t@Override"; - protected final String TEXT_2489 = NL + "\tprotected Object[] eVirtualValues()" + NL + "\t{" + NL + "\t\treturn "; - protected final String TEXT_2490 = ";" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2491 = NL + "\t@Override"; - protected final String TEXT_2492 = NL + "\tprotected void eSetVirtualValues(Object[] newValues)" + NL + "\t{" + NL + "\t\t"; - protected final String TEXT_2493 = " = newValues;" + NL + "\t}" + NL; - protected final String TEXT_2494 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2495 = NL + "\t@Override"; - protected final String TEXT_2496 = NL + "\tprotected int eVirtualIndexBits(int offset)" + NL + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{"; - protected final String TEXT_2497 = NL + "\t\t\tcase "; - protected final String TEXT_2498 = " :" + NL + "\t\t\t\treturn "; - protected final String TEXT_2499 = ";"; - protected final String TEXT_2500 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2501 = NL + "\t@Override"; - protected final String TEXT_2502 = NL + "\tprotected void eSetVirtualIndexBits(int offset, int newIndexBits)" + NL + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{"; - protected final String TEXT_2503 = NL + "\t\t\tcase "; - protected final String TEXT_2504 = " :" + NL + "\t\t\t\t"; - protected final String TEXT_2505 = " = newIndexBits;" + NL + "\t\t\t\tbreak;"; - protected final String TEXT_2506 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();" + NL + "\t\t}" + NL + "\t}" + NL; - protected final String TEXT_2507 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2508 = NL + "\t@Override"; - protected final String TEXT_2509 = NL + "\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2510 = NL + "\tpublic Object eInvoke(int operationID, "; - protected final String TEXT_2511 = " arguments) throws "; - protected final String TEXT_2512 = NL + "\t{" + NL + "\t\tswitch (operationID"; - protected final String TEXT_2513 = ")" + NL + "\t\t{"; - protected final String TEXT_2514 = NL + "\t\t\tcase "; - protected final String TEXT_2515 = ":"; - protected final String TEXT_2516 = NL + "\t\t\t\t"; - protected final String TEXT_2517 = "("; - protected final String TEXT_2518 = "("; - protected final String TEXT_2519 = "("; - protected final String TEXT_2520 = ")"; - protected final String TEXT_2521 = "arguments.get("; - protected final String TEXT_2522 = ")"; - protected final String TEXT_2523 = ")."; - protected final String TEXT_2524 = "()"; - protected final String TEXT_2525 = ", "; - protected final String TEXT_2526 = ");" + NL + "\t\t\t\treturn null;"; - protected final String TEXT_2527 = NL + "\t\t\t\treturn "; - protected final String TEXT_2528 = "new "; - protected final String TEXT_2529 = "("; - protected final String TEXT_2530 = "("; - protected final String TEXT_2531 = "("; - protected final String TEXT_2532 = "("; - protected final String TEXT_2533 = ")"; - protected final String TEXT_2534 = "arguments.get("; - protected final String TEXT_2535 = ")"; - protected final String TEXT_2536 = ")."; - protected final String TEXT_2537 = "()"; - protected final String TEXT_2538 = ", "; + protected final String TEXT_2315 = "("; + protected final String TEXT_2316 = ")"; + protected final String TEXT_2317 = "newValue);"; + protected final String TEXT_2318 = NL + "\t\t\t\treturn;"; + protected final String TEXT_2319 = NL + "\t\t}"; + protected final String TEXT_2320 = NL + "\t\tsuper.eSet(featureID, newValue);"; + protected final String TEXT_2321 = NL + "\t\teDynamicSet(featureID, newValue);"; + protected final String TEXT_2322 = NL + "\t}" + NL; + protected final String TEXT_2323 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2324 = NL + "\t@Override"; + protected final String TEXT_2325 = NL + "\tpublic void eUnset(int featureID)" + NL + "\t{" + NL + "\t\tswitch (featureID"; + protected final String TEXT_2326 = ")" + NL + "\t\t{"; + protected final String TEXT_2327 = NL + "\t\t\tcase "; + protected final String TEXT_2328 = ":"; + protected final String TEXT_2329 = NL + "\t\t\t\t(("; + protected final String TEXT_2330 = ".Internal.Wrapper)"; + protected final String TEXT_2331 = "()).featureMap().clear();"; + protected final String TEXT_2332 = NL + "\t\t\t\t"; + protected final String TEXT_2333 = "().clear();"; + protected final String TEXT_2334 = NL + "\t\t\t\tunset"; + protected final String TEXT_2335 = "();"; + protected final String TEXT_2336 = NL + "\t\t\t\tset"; + protected final String TEXT_2337 = "(("; + protected final String TEXT_2338 = ")null);"; + protected final String TEXT_2339 = NL + "\t\t\t\tset"; + protected final String TEXT_2340 = "("; + protected final String TEXT_2341 = ");"; + protected final String TEXT_2342 = NL + "\t\t\t\treturn;"; + protected final String TEXT_2343 = NL + "\t\t}"; + protected final String TEXT_2344 = NL + "\t\tsuper.eUnset(featureID);"; + protected final String TEXT_2345 = NL + "\t\teDynamicUnset(featureID);"; + protected final String TEXT_2346 = NL + "\t}" + NL; + protected final String TEXT_2347 = NL; + protected final String TEXT_2348 = "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2349 = NL + "\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2350 = NL + "\t@Override"; + protected final String TEXT_2351 = NL + "\tpublic boolean eIsSet(int featureID)" + NL + "\t{" + NL + "\t\tswitch (featureID)" + NL + "\t\t{"; + protected final String TEXT_2352 = NL + "\t\t\tcase "; + protected final String TEXT_2353 = ":"; + protected final String TEXT_2354 = NL + "\t\t\t\treturn isSet"; + protected final String TEXT_2355 = "();"; + protected final String TEXT_2356 = NL + "\t\t\t\treturn isSet"; + protected final String TEXT_2357 = "();"; + protected final String TEXT_2358 = NL + "\t\t\t\treturn "; + protected final String TEXT_2359 = "__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);"; + protected final String TEXT_2360 = NL + "\t\t\t\treturn !(("; + protected final String TEXT_2361 = ".Internal.Wrapper)"; + protected final String TEXT_2362 = "()).featureMap().isEmpty();"; + protected final String TEXT_2363 = NL + "\t\t\t\treturn "; + protected final String TEXT_2364 = " != null && !"; + protected final String TEXT_2365 = ".featureMap().isEmpty();"; + protected final String TEXT_2366 = NL + "\t\t\t\treturn "; + protected final String TEXT_2367 = " != null && !"; + protected final String TEXT_2368 = ".isEmpty();"; + protected final String TEXT_2369 = NL + "\t\t\t\t"; + protected final String TEXT_2370 = " "; + protected final String TEXT_2371 = " = ("; + protected final String TEXT_2372 = ")eVirtualGet("; + protected final String TEXT_2373 = ");" + NL + "\t\t\t\treturn "; + protected final String TEXT_2374 = " != null && !"; + protected final String TEXT_2375 = ".isEmpty();"; + protected final String TEXT_2376 = NL + "\t\t\t\treturn !"; + protected final String TEXT_2377 = "().isEmpty();"; + protected final String TEXT_2378 = NL + "\t\t\t\treturn isSet"; + protected final String TEXT_2379 = "();"; + protected final String TEXT_2380 = NL + "\t\t\t\treturn "; + protected final String TEXT_2381 = " != null;"; + protected final String TEXT_2382 = NL + "\t\t\t\treturn eVirtualGet("; + protected final String TEXT_2383 = ") != null;"; + protected final String TEXT_2384 = NL + "\t\t\t\treturn basicGet"; + protected final String TEXT_2385 = "() != null;"; + protected final String TEXT_2386 = NL + "\t\t\t\treturn "; + protected final String TEXT_2387 = " != null;"; + protected final String TEXT_2388 = NL + "\t\t\t\treturn eVirtualGet("; + protected final String TEXT_2389 = ") != null;"; + protected final String TEXT_2390 = NL + "\t\t\t\treturn "; + protected final String TEXT_2391 = "() != null;"; + protected final String TEXT_2392 = NL + "\t\t\t\treturn (("; + protected final String TEXT_2393 = " & "; + protected final String TEXT_2394 = "_EFLAG) != 0) != "; + protected final String TEXT_2395 = ";"; + protected final String TEXT_2396 = NL + "\t\t\t\treturn ("; + protected final String TEXT_2397 = " & "; + protected final String TEXT_2398 = "_EFLAG) != "; + protected final String TEXT_2399 = "_EFLAG_DEFAULT;"; + protected final String TEXT_2400 = NL + "\t\t\t\treturn "; + protected final String TEXT_2401 = " != "; + protected final String TEXT_2402 = ";"; + protected final String TEXT_2403 = NL + "\t\t\t\treturn eVirtualGet("; + protected final String TEXT_2404 = ", "; + protected final String TEXT_2405 = ") != "; + protected final String TEXT_2406 = ";"; + protected final String TEXT_2407 = NL + "\t\t\t\treturn "; + protected final String TEXT_2408 = "() != "; + protected final String TEXT_2409 = ";"; + protected final String TEXT_2410 = NL + "\t\t\t\treturn "; + protected final String TEXT_2411 = " == null ? "; + protected final String TEXT_2412 = " != null : !"; + protected final String TEXT_2413 = ".equals("; + protected final String TEXT_2414 = ");"; + protected final String TEXT_2415 = NL + "\t\t\t\t"; + protected final String TEXT_2416 = " "; + protected final String TEXT_2417 = " = ("; + protected final String TEXT_2418 = ")eVirtualGet("; + protected final String TEXT_2419 = ", "; + protected final String TEXT_2420 = ");" + NL + "\t\t\t\treturn "; + protected final String TEXT_2421 = " == null ? "; + protected final String TEXT_2422 = " != null : !"; + protected final String TEXT_2423 = ".equals("; + protected final String TEXT_2424 = ");"; + protected final String TEXT_2425 = NL + "\t\t\t\treturn "; + protected final String TEXT_2426 = " == null ? "; + protected final String TEXT_2427 = "() != null : !"; + protected final String TEXT_2428 = ".equals("; + protected final String TEXT_2429 = "());"; + protected final String TEXT_2430 = NL + "\t\t}"; + protected final String TEXT_2431 = NL + "\t\treturn super.eIsSet(featureID);"; + protected final String TEXT_2432 = NL + "\t\treturn eDynamicIsSet(featureID);"; + protected final String TEXT_2433 = NL + "\t}" + NL; + protected final String TEXT_2434 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2435 = NL + "\t@Override"; + protected final String TEXT_2436 = NL + "\tpublic int eBaseStructuralFeatureID(int derivedFeatureID, Class"; + protected final String TEXT_2437 = " baseClass)" + NL + "\t{"; + protected final String TEXT_2438 = NL + "\t\tif (baseClass == "; + protected final String TEXT_2439 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (derivedFeatureID"; + protected final String TEXT_2440 = ")" + NL + "\t\t\t{"; + protected final String TEXT_2441 = NL + "\t\t\t\tcase "; + protected final String TEXT_2442 = ": return "; + protected final String TEXT_2443 = ";"; + protected final String TEXT_2444 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2445 = NL + "\t\treturn super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);" + NL + "\t}"; + protected final String TEXT_2446 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2447 = NL + "\t@Override"; + protected final String TEXT_2448 = NL + "\tpublic int eDerivedStructuralFeatureID(int baseFeatureID, Class"; + protected final String TEXT_2449 = " baseClass)" + NL + "\t{"; + protected final String TEXT_2450 = NL + "\t\tif (baseClass == "; + protected final String TEXT_2451 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID)" + NL + "\t\t\t{"; + protected final String TEXT_2452 = NL + "\t\t\t\tcase "; + protected final String TEXT_2453 = ": return "; + protected final String TEXT_2454 = ";"; + protected final String TEXT_2455 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2456 = NL + "\t\tif (baseClass == "; + protected final String TEXT_2457 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID"; + protected final String TEXT_2458 = ")" + NL + "\t\t\t{"; + protected final String TEXT_2459 = NL + "\t\t\t\tcase "; + protected final String TEXT_2460 = ": return "; + protected final String TEXT_2461 = ";"; + protected final String TEXT_2462 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2463 = NL + "\t\treturn super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);" + NL + "\t}" + NL; + protected final String TEXT_2464 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2465 = NL + "\t@Override"; + protected final String TEXT_2466 = NL + "\tpublic int eDerivedOperationID(int baseOperationID, Class"; + protected final String TEXT_2467 = " baseClass)" + NL + "\t{"; + protected final String TEXT_2468 = NL + "\t\tif (baseClass == "; + protected final String TEXT_2469 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{"; + protected final String TEXT_2470 = NL + "\t\t\t\tcase "; + protected final String TEXT_2471 = ": return "; + protected final String TEXT_2472 = ";"; + protected final String TEXT_2473 = NL + "\t\t\t\tdefault: return super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2474 = NL + "\t\tif (baseClass == "; + protected final String TEXT_2475 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{"; + protected final String TEXT_2476 = NL + "\t\t\t\tcase "; + protected final String TEXT_2477 = ": return "; + protected final String TEXT_2478 = ";"; + protected final String TEXT_2479 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2480 = NL + "\t\tif (baseClass == "; + protected final String TEXT_2481 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID"; + protected final String TEXT_2482 = ")" + NL + "\t\t\t{"; + protected final String TEXT_2483 = NL + "\t\t\t\tcase "; + protected final String TEXT_2484 = ": return "; + protected final String TEXT_2485 = ";"; + protected final String TEXT_2486 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2487 = NL + "\t\treturn super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t}" + NL; + protected final String TEXT_2488 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2489 = NL + "\t@Override"; + protected final String TEXT_2490 = NL + "\tprotected Object[] eVirtualValues()" + NL + "\t{" + NL + "\t\treturn "; + protected final String TEXT_2491 = ";" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2492 = NL + "\t@Override"; + protected final String TEXT_2493 = NL + "\tprotected void eSetVirtualValues(Object[] newValues)" + NL + "\t{" + NL + "\t\t"; + protected final String TEXT_2494 = " = newValues;" + NL + "\t}" + NL; + protected final String TEXT_2495 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2496 = NL + "\t@Override"; + protected final String TEXT_2497 = NL + "\tprotected int eVirtualIndexBits(int offset)" + NL + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{"; + protected final String TEXT_2498 = NL + "\t\t\tcase "; + protected final String TEXT_2499 = " :" + NL + "\t\t\t\treturn "; + protected final String TEXT_2500 = ";"; + protected final String TEXT_2501 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();" + NL + "\t\t}" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2502 = NL + "\t@Override"; + protected final String TEXT_2503 = NL + "\tprotected void eSetVirtualIndexBits(int offset, int newIndexBits)" + NL + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{"; + protected final String TEXT_2504 = NL + "\t\t\tcase "; + protected final String TEXT_2505 = " :" + NL + "\t\t\t\t"; + protected final String TEXT_2506 = " = newIndexBits;" + NL + "\t\t\t\tbreak;"; + protected final String TEXT_2507 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();" + NL + "\t\t}" + NL + "\t}" + NL; + protected final String TEXT_2508 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2509 = NL + "\t@Override"; + protected final String TEXT_2510 = NL + "\t@SuppressWarnings("; + protected final String TEXT_2511 = "\"unchecked\""; + protected final String TEXT_2512 = "{\"rawtypes\", \"unchecked\" }"; + protected final String TEXT_2513 = ")"; + protected final String TEXT_2514 = NL + "\tpublic Object eInvoke(int operationID, "; + protected final String TEXT_2515 = " arguments) throws "; + protected final String TEXT_2516 = NL + "\t{" + NL + "\t\tswitch (operationID"; + protected final String TEXT_2517 = ")" + NL + "\t\t{"; + protected final String TEXT_2518 = NL + "\t\t\tcase "; + protected final String TEXT_2519 = ":"; + protected final String TEXT_2520 = NL + "\t\t\t\t"; + protected final String TEXT_2521 = "("; + protected final String TEXT_2522 = "("; + protected final String TEXT_2523 = "("; + protected final String TEXT_2524 = ")"; + protected final String TEXT_2525 = "arguments.get("; + protected final String TEXT_2526 = ")"; + protected final String TEXT_2527 = ")."; + protected final String TEXT_2528 = "()"; + protected final String TEXT_2529 = ", "; + protected final String TEXT_2530 = ");" + NL + "\t\t\t\treturn null;"; + protected final String TEXT_2531 = NL + "\t\t\t\treturn "; + protected final String TEXT_2532 = "new "; + protected final String TEXT_2533 = "("; + protected final String TEXT_2534 = "("; + protected final String TEXT_2535 = "("; + protected final String TEXT_2536 = "("; + protected final String TEXT_2537 = ")"; + protected final String TEXT_2538 = "arguments.get("; protected final String TEXT_2539 = ")"; - protected final String TEXT_2540 = ")"; - protected final String TEXT_2541 = ";"; - protected final String TEXT_2542 = NL + "\t\t}"; - protected final String TEXT_2543 = NL + "\t\treturn super.eInvoke(operationID, arguments);"; - protected final String TEXT_2544 = NL + "\t\treturn eDynamicInvoke(operationID, arguments);"; - protected final String TEXT_2545 = NL + "\t}" + NL; - protected final String TEXT_2546 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2547 = NL + "\t@Override"; - protected final String TEXT_2548 = NL + "\tpublic String toString()" + NL + "\t{" + NL + "\t\tif (eIsProxy()) return super.toString();" + NL + "" + NL + "\t\tStringBuffer result = new StringBuffer(super.toString());"; - protected final String TEXT_2549 = NL + "\t\tresult.append(\" ("; - protected final String TEXT_2550 = ": \");"; - protected final String TEXT_2551 = NL + "\t\tresult.append(\", "; - protected final String TEXT_2552 = ": \");"; - protected final String TEXT_2553 = NL + "\t\tif (eVirtualIsSet("; - protected final String TEXT_2554 = ")) result.append(eVirtualGet("; - protected final String TEXT_2555 = ")); else result.append(\"<unset>\");"; - protected final String TEXT_2556 = NL + "\t\tif ("; - protected final String TEXT_2557 = "("; - protected final String TEXT_2558 = " & "; - protected final String TEXT_2559 = "_ESETFLAG) != 0"; - protected final String TEXT_2560 = "ESet"; - protected final String TEXT_2561 = ") result.append(("; + protected final String TEXT_2540 = ")."; + protected final String TEXT_2541 = "()"; + protected final String TEXT_2542 = ", "; + protected final String TEXT_2543 = ")"; + protected final String TEXT_2544 = ")"; + protected final String TEXT_2545 = ";"; + protected final String TEXT_2546 = NL + "\t\t}"; + protected final String TEXT_2547 = NL + "\t\treturn super.eInvoke(operationID, arguments);"; + protected final String TEXT_2548 = NL + "\t\treturn eDynamicInvoke(operationID, arguments);"; + protected final String TEXT_2549 = NL + "\t}" + NL; + protected final String TEXT_2550 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2551 = NL + "\t@Override"; + protected final String TEXT_2552 = NL + "\tpublic String toString()" + NL + "\t{" + NL + "\t\tif (eIsProxy()) return super.toString();" + NL + "" + NL + "\t\tStringBuffer result = new StringBuffer(super.toString());"; + protected final String TEXT_2553 = NL + "\t\tresult.append(\" ("; + protected final String TEXT_2554 = ": \");"; + protected final String TEXT_2555 = NL + "\t\tresult.append(\", "; + protected final String TEXT_2556 = ": \");"; + protected final String TEXT_2557 = NL + "\t\tif (eVirtualIsSet("; + protected final String TEXT_2558 = ")) result.append(eVirtualGet("; + protected final String TEXT_2559 = ")); else result.append(\"<unset>\");"; + protected final String TEXT_2560 = NL + "\t\tif ("; + protected final String TEXT_2561 = "("; protected final String TEXT_2562 = " & "; - protected final String TEXT_2563 = "_EFLAG) != 0); else result.append(\"<unset>\");"; - protected final String TEXT_2564 = NL + "\t\tif ("; - protected final String TEXT_2565 = "("; + protected final String TEXT_2563 = "_ESETFLAG) != 0"; + protected final String TEXT_2564 = "ESet"; + protected final String TEXT_2565 = ") result.append(("; protected final String TEXT_2566 = " & "; - protected final String TEXT_2567 = "_ESETFLAG) != 0"; - protected final String TEXT_2568 = "ESet"; - protected final String TEXT_2569 = ") result.append("; - protected final String TEXT_2570 = "_EFLAG_VALUES[("; - protected final String TEXT_2571 = " & "; - protected final String TEXT_2572 = "_EFLAG) >>> "; - protected final String TEXT_2573 = "_EFLAG_OFFSET]); else result.append(\"<unset>\");"; - protected final String TEXT_2574 = NL + "\t\tif ("; - protected final String TEXT_2575 = "("; - protected final String TEXT_2576 = " & "; - protected final String TEXT_2577 = "_ESETFLAG) != 0"; - protected final String TEXT_2578 = "ESet"; - protected final String TEXT_2579 = ") result.append("; - protected final String TEXT_2580 = "); else result.append(\"<unset>\");"; - protected final String TEXT_2581 = NL + "\t\tresult.append(eVirtualGet("; - protected final String TEXT_2582 = ", "; - protected final String TEXT_2583 = "));"; - protected final String TEXT_2584 = NL + "\t\tresult.append(("; - protected final String TEXT_2585 = " & "; - protected final String TEXT_2586 = "_EFLAG) != 0);"; - protected final String TEXT_2587 = NL + "\t\tresult.append("; - protected final String TEXT_2588 = "_EFLAG_VALUES[("; + protected final String TEXT_2567 = "_EFLAG) != 0); else result.append(\"<unset>\");"; + protected final String TEXT_2568 = NL + "\t\tif ("; + protected final String TEXT_2569 = "("; + protected final String TEXT_2570 = " & "; + protected final String TEXT_2571 = "_ESETFLAG) != 0"; + protected final String TEXT_2572 = "ESet"; + protected final String TEXT_2573 = ") result.append("; + protected final String TEXT_2574 = "_EFLAG_VALUES[("; + protected final String TEXT_2575 = " & "; + protected final String TEXT_2576 = "_EFLAG) >>> "; + protected final String TEXT_2577 = "_EFLAG_OFFSET]); else result.append(\"<unset>\");"; + protected final String TEXT_2578 = NL + "\t\tif ("; + protected final String TEXT_2579 = "("; + protected final String TEXT_2580 = " & "; + protected final String TEXT_2581 = "_ESETFLAG) != 0"; + protected final String TEXT_2582 = "ESet"; + protected final String TEXT_2583 = ") result.append("; + protected final String TEXT_2584 = "); else result.append(\"<unset>\");"; + protected final String TEXT_2585 = NL + "\t\tresult.append(eVirtualGet("; + protected final String TEXT_2586 = ", "; + protected final String TEXT_2587 = "));"; + protected final String TEXT_2588 = NL + "\t\tresult.append(("; protected final String TEXT_2589 = " & "; - protected final String TEXT_2590 = "_EFLAG) >>> "; - protected final String TEXT_2591 = "_EFLAG_OFFSET]);"; - protected final String TEXT_2592 = NL + "\t\tresult.append("; - protected final String TEXT_2593 = ");"; - protected final String TEXT_2594 = NL + "\t\tresult.append(')');" + NL + "\t\treturn result.toString();" + NL + "\t}" + NL; - protected final String TEXT_2595 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2596 = NL + "\t@"; - protected final String TEXT_2597 = NL + "\tprotected int hash = -1;" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic int getHash()" + NL + "\t{" + NL + "\t\tif (hash == -1)" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2598 = " theKey = getKey();" + NL + "\t\t\thash = (theKey == null ? 0 : theKey.hashCode());" + NL + "\t\t}" + NL + "\t\treturn hash;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setHash(int hash)" + NL + "\t{" + NL + "\t\tthis.hash = hash;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic "; - protected final String TEXT_2599 = " getKey()" + NL + "\t{"; - protected final String TEXT_2600 = NL + "\t\treturn new "; - protected final String TEXT_2601 = "(getTypedKey());"; - protected final String TEXT_2602 = NL + "\t\treturn getTypedKey();"; - protected final String TEXT_2603 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setKey("; - protected final String TEXT_2604 = " key)" + NL + "\t{"; - protected final String TEXT_2605 = NL + "\t\tgetTypedKey().addAll("; - protected final String TEXT_2606 = "("; - protected final String TEXT_2607 = ")"; - protected final String TEXT_2608 = "key);"; - protected final String TEXT_2609 = NL + "\t\tsetTypedKey(key);"; - protected final String TEXT_2610 = NL + "\t\tsetTypedKey((("; - protected final String TEXT_2611 = ")key)."; - protected final String TEXT_2612 = "());"; - protected final String TEXT_2613 = NL + "\t\tsetTypedKey(("; - protected final String TEXT_2614 = ")key);"; - protected final String TEXT_2615 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic "; - protected final String TEXT_2616 = " getValue()" + NL + "\t{"; - protected final String TEXT_2617 = NL + "\t\treturn new "; - protected final String TEXT_2618 = "(getTypedValue());"; - protected final String TEXT_2619 = NL + "\t\treturn getTypedValue();"; - protected final String TEXT_2620 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic "; - protected final String TEXT_2621 = " setValue("; - protected final String TEXT_2622 = " value)" + NL + "\t{" + NL + "\t\t"; - protected final String TEXT_2623 = " oldValue = getValue();"; - protected final String TEXT_2624 = NL + "\t\tgetTypedValue().clear();" + NL + "\t\tgetTypedValue().addAll("; - protected final String TEXT_2625 = "("; - protected final String TEXT_2626 = ")"; - protected final String TEXT_2627 = "value);"; - protected final String TEXT_2628 = NL + "\t\tsetTypedValue(value);"; - protected final String TEXT_2629 = NL + "\t\tsetTypedValue((("; - protected final String TEXT_2630 = ")value)."; - protected final String TEXT_2631 = "());"; - protected final String TEXT_2632 = NL + "\t\tsetTypedValue(("; - protected final String TEXT_2633 = ")value);"; - protected final String TEXT_2634 = NL + "\t\treturn oldValue;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2635 = NL + "\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2636 = NL + "\tpublic "; - protected final String TEXT_2637 = " getEMap()" + NL + "\t{" + NL + "\t\t"; - protected final String TEXT_2638 = " container = eContainer();" + NL + "\t\treturn container == null ? null : ("; - protected final String TEXT_2639 = ")container.eGet(eContainmentFeature());" + NL + "\t}" + NL; - protected final String TEXT_2640 = NL + "\t/**" + NL + "\t * The cached environment for evaluating OCL expressions." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; - protected final String TEXT_2641 = " EOCL_ENV = "; - protected final String TEXT_2642 = ".newInstance();" + NL; - protected final String TEXT_2643 = NL + "\t/**" + NL + "\t * Creates a new instance of the specified Ecore class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param eClass The Ecore class of the instance to create." + NL + "\t * @return The new instance." + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected "; - protected final String TEXT_2644 = " create("; - protected final String TEXT_2645 = " eClass)" + NL + "\t{" + NL + "\t\treturn "; - protected final String TEXT_2646 = ".create(eClass);" + NL + "\t}" + NL; - protected final String TEXT_2647 = NL + "\t/**" + NL + "\t * Retrieves the cache adapter for this '<em><b>"; - protected final String TEXT_2648 = "</b></em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return The cache adapter for this '<em><b>"; - protected final String TEXT_2649 = "</b></em>'." + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected "; - protected final String TEXT_2650 = " getCacheAdapter()" + NL + "\t{" + NL + "\t\treturn "; - protected final String TEXT_2651 = ".getCacheAdapter(this);" + NL + "\t}" + NL; - protected final String TEXT_2652 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2653 = NL + "\t@Override"; - protected final String TEXT_2654 = NL + "\tprotected "; - protected final String TEXT_2655 = " "; - protected final String TEXT_2656 = "Helper("; - protected final String TEXT_2657 = " "; - protected final String TEXT_2658 = ")" + NL + "\t{"; - protected final String TEXT_2659 = NL + "\t\t"; - protected final String TEXT_2660 = ".addAll(super."; - protected final String TEXT_2661 = "());"; - protected final String TEXT_2662 = NL + "\t\tsuper."; - protected final String TEXT_2663 = "Helper("; - protected final String TEXT_2664 = ");"; - protected final String TEXT_2665 = NL + "\t\tif (isSet"; - protected final String TEXT_2666 = "())" + NL + "\t\t{" + NL + "\t\t\tfor ("; - protected final String TEXT_2667 = "<"; - protected final String TEXT_2668 = ">"; - protected final String TEXT_2669 = " i = (("; - protected final String TEXT_2670 = ") "; - protected final String TEXT_2671 = "()).basicIterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_2672 = ".add(i.next());" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2673 = NL + "\t\tif (eIsSet("; - protected final String TEXT_2674 = "))" + NL + "\t\t{" + NL + "\t\t\tfor ("; - protected final String TEXT_2675 = "<"; - protected final String TEXT_2676 = ">"; - protected final String TEXT_2677 = " i = (("; - protected final String TEXT_2678 = ") "; - protected final String TEXT_2679 = "()).basicIterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_2680 = ".add(i.next());" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2681 = NL + "\t\t"; - protected final String TEXT_2682 = " "; - protected final String TEXT_2683 = " = "; - protected final String TEXT_2684 = "();" + NL + "\t\tif (!"; - protected final String TEXT_2685 = ".isEmpty())" + NL + "\t\t{" + NL + "\t\t\tfor ("; - protected final String TEXT_2686 = "<"; - protected final String TEXT_2687 = ">"; - protected final String TEXT_2688 = " i = (("; - protected final String TEXT_2689 = ") "; - protected final String TEXT_2690 = ").basicIterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_2691 = ".add(i.next());" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2692 = NL + "\t\tif (isSet"; - protected final String TEXT_2693 = "())" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2694 = ".addAll("; - protected final String TEXT_2695 = "());" + NL + "\t\t}"; - protected final String TEXT_2696 = NL + "\t\tif (eIsSet("; - protected final String TEXT_2697 = "))" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2590 = "_EFLAG) != 0);"; + protected final String TEXT_2591 = NL + "\t\tresult.append("; + protected final String TEXT_2592 = "_EFLAG_VALUES[("; + protected final String TEXT_2593 = " & "; + protected final String TEXT_2594 = "_EFLAG) >>> "; + protected final String TEXT_2595 = "_EFLAG_OFFSET]);"; + protected final String TEXT_2596 = NL + "\t\tresult.append("; + protected final String TEXT_2597 = ");"; + protected final String TEXT_2598 = NL + "\t\tresult.append(')');" + NL + "\t\treturn result.toString();" + NL + "\t}" + NL; + protected final String TEXT_2599 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2600 = NL + "\t@"; + protected final String TEXT_2601 = NL + "\tprotected int hash = -1;" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic int getHash()" + NL + "\t{" + NL + "\t\tif (hash == -1)" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2602 = " theKey = getKey();" + NL + "\t\t\thash = (theKey == null ? 0 : theKey.hashCode());" + NL + "\t\t}" + NL + "\t\treturn hash;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setHash(int hash)" + NL + "\t{" + NL + "\t\tthis.hash = hash;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic "; + protected final String TEXT_2603 = " getKey()" + NL + "\t{"; + protected final String TEXT_2604 = NL + "\t\treturn new "; + protected final String TEXT_2605 = "(getTypedKey());"; + protected final String TEXT_2606 = NL + "\t\treturn getTypedKey();"; + protected final String TEXT_2607 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setKey("; + protected final String TEXT_2608 = " key)" + NL + "\t{"; + protected final String TEXT_2609 = NL + "\t\tgetTypedKey().addAll("; + protected final String TEXT_2610 = "("; + protected final String TEXT_2611 = ")"; + protected final String TEXT_2612 = "key);"; + protected final String TEXT_2613 = NL + "\t\tsetTypedKey(key);"; + protected final String TEXT_2614 = NL + "\t\tsetTypedKey((("; + protected final String TEXT_2615 = ")key)."; + protected final String TEXT_2616 = "());"; + protected final String TEXT_2617 = NL + "\t\tsetTypedKey(("; + protected final String TEXT_2618 = ")key);"; + protected final String TEXT_2619 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic "; + protected final String TEXT_2620 = " getValue()" + NL + "\t{"; + protected final String TEXT_2621 = NL + "\t\treturn new "; + protected final String TEXT_2622 = "(getTypedValue());"; + protected final String TEXT_2623 = NL + "\t\treturn getTypedValue();"; + protected final String TEXT_2624 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic "; + protected final String TEXT_2625 = " setValue("; + protected final String TEXT_2626 = " value)" + NL + "\t{" + NL + "\t\t"; + protected final String TEXT_2627 = " oldValue = getValue();"; + protected final String TEXT_2628 = NL + "\t\tgetTypedValue().clear();" + NL + "\t\tgetTypedValue().addAll("; + protected final String TEXT_2629 = "("; + protected final String TEXT_2630 = ")"; + protected final String TEXT_2631 = "value);"; + protected final String TEXT_2632 = NL + "\t\tsetTypedValue(value);"; + protected final String TEXT_2633 = NL + "\t\tsetTypedValue((("; + protected final String TEXT_2634 = ")value)."; + protected final String TEXT_2635 = "());"; + protected final String TEXT_2636 = NL + "\t\tsetTypedValue(("; + protected final String TEXT_2637 = ")value);"; + protected final String TEXT_2638 = NL + "\t\treturn oldValue;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2639 = NL + "\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2640 = NL + "\tpublic "; + protected final String TEXT_2641 = " getEMap()" + NL + "\t{" + NL + "\t\t"; + protected final String TEXT_2642 = " container = eContainer();" + NL + "\t\treturn container == null ? null : ("; + protected final String TEXT_2643 = ")container.eGet(eContainmentFeature());" + NL + "\t}" + NL; + protected final String TEXT_2644 = NL + "\t/**" + NL + "\t * The cached environment for evaluating OCL expressions." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; + protected final String TEXT_2645 = " EOCL_ENV = "; + protected final String TEXT_2646 = ".newInstance();" + NL; + protected final String TEXT_2647 = NL + "\t/**" + NL + "\t * Creates a new instance of the specified Ecore class." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param eClass The Ecore class of the instance to create." + NL + "\t * @return The new instance." + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected "; + protected final String TEXT_2648 = " create("; + protected final String TEXT_2649 = " eClass)" + NL + "\t{" + NL + "\t\treturn "; + protected final String TEXT_2650 = ".create(eClass);" + NL + "\t}" + NL; + protected final String TEXT_2651 = NL + "\t/**" + NL + "\t * Retrieves the cache adapter for this '<em><b>"; + protected final String TEXT_2652 = "</b></em>'." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return The cache adapter for this '<em><b>"; + protected final String TEXT_2653 = "</b></em>'." + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected "; + protected final String TEXT_2654 = " getCacheAdapter()" + NL + "\t{" + NL + "\t\treturn "; + protected final String TEXT_2655 = ".getCacheAdapter(this);" + NL + "\t}" + NL; + protected final String TEXT_2656 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2657 = NL + "\t@Override"; + protected final String TEXT_2658 = NL + "\tprotected "; + protected final String TEXT_2659 = " "; + protected final String TEXT_2660 = "Helper("; + protected final String TEXT_2661 = " "; + protected final String TEXT_2662 = ")" + NL + "\t{"; + protected final String TEXT_2663 = NL + "\t\t"; + protected final String TEXT_2664 = ".addAll(super."; + protected final String TEXT_2665 = "());"; + protected final String TEXT_2666 = NL + "\t\tsuper."; + protected final String TEXT_2667 = "Helper("; + protected final String TEXT_2668 = ");"; + protected final String TEXT_2669 = NL + "\t\tif (isSet"; + protected final String TEXT_2670 = "())" + NL + "\t\t{" + NL + "\t\t\tfor ("; + protected final String TEXT_2671 = "<"; + protected final String TEXT_2672 = ">"; + protected final String TEXT_2673 = " i = (("; + protected final String TEXT_2674 = ") "; + protected final String TEXT_2675 = "()).basicIterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_2676 = ".add(i.next());" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2677 = NL + "\t\tif (eIsSet("; + protected final String TEXT_2678 = "))" + NL + "\t\t{" + NL + "\t\t\tfor ("; + protected final String TEXT_2679 = "<"; + protected final String TEXT_2680 = ">"; + protected final String TEXT_2681 = " i = (("; + protected final String TEXT_2682 = ") "; + protected final String TEXT_2683 = "()).basicIterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_2684 = ".add(i.next());" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2685 = NL + "\t\t"; + protected final String TEXT_2686 = " "; + protected final String TEXT_2687 = " = "; + protected final String TEXT_2688 = "();" + NL + "\t\tif (!"; + protected final String TEXT_2689 = ".isEmpty())" + NL + "\t\t{" + NL + "\t\t\tfor ("; + protected final String TEXT_2690 = "<"; + protected final String TEXT_2691 = ">"; + protected final String TEXT_2692 = " i = (("; + protected final String TEXT_2693 = ") "; + protected final String TEXT_2694 = ").basicIterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_2695 = ".add(i.next());" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2696 = NL + "\t\tif (isSet"; + protected final String TEXT_2697 = "())" + NL + "\t\t{" + NL + "\t\t\t"; protected final String TEXT_2698 = ".addAll("; protected final String TEXT_2699 = "());" + NL + "\t\t}"; - protected final String TEXT_2700 = NL + "\t\t"; - protected final String TEXT_2701 = " "; - protected final String TEXT_2702 = " = "; - protected final String TEXT_2703 = "();" + NL + "\t\tif (!"; - protected final String TEXT_2704 = ".isEmpty())" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2705 = ".addAll("; - protected final String TEXT_2706 = ");" + NL + "\t\t}"; - protected final String TEXT_2707 = NL + "\t\tif (isSet"; - protected final String TEXT_2708 = "())" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2709 = ".add("; - protected final String TEXT_2710 = "basicGet"; - protected final String TEXT_2711 = "());" + NL + "\t\t}"; - protected final String TEXT_2712 = NL + "\t\t"; - protected final String TEXT_2713 = " "; - protected final String TEXT_2714 = " = "; - protected final String TEXT_2715 = "basicGet"; - protected final String TEXT_2716 = "();" + NL + "\t\tif ("; - protected final String TEXT_2717 = " != null)" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2718 = ".add("; - protected final String TEXT_2719 = ");" + NL + "\t\t}"; - protected final String TEXT_2720 = NL + "\t\treturn "; - protected final String TEXT_2721 = ";" + NL + "\t}" + NL; - protected final String TEXT_2722 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2723 = NL + "\t@Override"; - protected final String TEXT_2724 = NL + "\tpublic boolean isSet"; - protected final String TEXT_2725 = "()" + NL + "\t{"; - protected final String TEXT_2726 = NL + "\t\treturn super.isSet"; - protected final String TEXT_2727 = "()"; - protected final String TEXT_2728 = NL + "\t\treturn isSet"; - protected final String TEXT_2729 = "()"; - protected final String TEXT_2730 = ";"; - protected final String TEXT_2731 = NL + "\t\treturn !"; - protected final String TEXT_2732 = "().isEmpty()"; - protected final String TEXT_2733 = ";"; - protected final String TEXT_2734 = NL + "\t\treturn "; - protected final String TEXT_2735 = "basicGet"; - protected final String TEXT_2736 = "() != null"; + protected final String TEXT_2700 = NL + "\t\tif (eIsSet("; + protected final String TEXT_2701 = "))" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2702 = ".addAll("; + protected final String TEXT_2703 = "());" + NL + "\t\t}"; + protected final String TEXT_2704 = NL + "\t\t"; + protected final String TEXT_2705 = " "; + protected final String TEXT_2706 = " = "; + protected final String TEXT_2707 = "();" + NL + "\t\tif (!"; + protected final String TEXT_2708 = ".isEmpty())" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2709 = ".addAll("; + protected final String TEXT_2710 = ");" + NL + "\t\t}"; + protected final String TEXT_2711 = NL + "\t\tif (isSet"; + protected final String TEXT_2712 = "())" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2713 = ".add("; + protected final String TEXT_2714 = "basicGet"; + protected final String TEXT_2715 = "());" + NL + "\t\t}"; + protected final String TEXT_2716 = NL + "\t\t"; + protected final String TEXT_2717 = " "; + protected final String TEXT_2718 = " = "; + protected final String TEXT_2719 = "basicGet"; + protected final String TEXT_2720 = "();" + NL + "\t\tif ("; + protected final String TEXT_2721 = " != null)" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2722 = ".add("; + protected final String TEXT_2723 = ");" + NL + "\t\t}"; + protected final String TEXT_2724 = NL + "\t\treturn "; + protected final String TEXT_2725 = ";" + NL + "\t}" + NL; + protected final String TEXT_2726 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2727 = NL + "\t@Override"; + protected final String TEXT_2728 = NL + "\tpublic boolean isSet"; + protected final String TEXT_2729 = "()" + NL + "\t{"; + protected final String TEXT_2730 = NL + "\t\treturn super.isSet"; + protected final String TEXT_2731 = "()"; + protected final String TEXT_2732 = NL + "\t\treturn isSet"; + protected final String TEXT_2733 = "()"; + protected final String TEXT_2734 = ";"; + protected final String TEXT_2735 = NL + "\t\treturn !"; + protected final String TEXT_2736 = "().isEmpty()"; protected final String TEXT_2737 = ";"; - protected final String TEXT_2738 = NL + "\t\treturn eIsSet("; - protected final String TEXT_2739 = ")"; - protected final String TEXT_2740 = ";"; - protected final String TEXT_2741 = NL + "\t\t\t|| isSet"; - protected final String TEXT_2742 = "()"; - protected final String TEXT_2743 = ";"; - protected final String TEXT_2744 = NL + "\t\t\t|| !"; - protected final String TEXT_2745 = "().isEmpty()"; - protected final String TEXT_2746 = ";"; - protected final String TEXT_2747 = NL + "\t\t\t|| "; - protected final String TEXT_2748 = "basicGet"; - protected final String TEXT_2749 = "() != null"; + protected final String TEXT_2738 = NL + "\t\treturn "; + protected final String TEXT_2739 = "basicGet"; + protected final String TEXT_2740 = "() != null"; + protected final String TEXT_2741 = ";"; + protected final String TEXT_2742 = NL + "\t\treturn eIsSet("; + protected final String TEXT_2743 = ")"; + protected final String TEXT_2744 = ";"; + protected final String TEXT_2745 = NL + "\t\t\t|| isSet"; + protected final String TEXT_2746 = "()"; + protected final String TEXT_2747 = ";"; + protected final String TEXT_2748 = NL + "\t\t\t|| !"; + protected final String TEXT_2749 = "().isEmpty()"; protected final String TEXT_2750 = ";"; - protected final String TEXT_2751 = NL + "\t\t\t|| eIsSet("; - protected final String TEXT_2752 = ")"; - protected final String TEXT_2753 = ";"; - protected final String TEXT_2754 = NL + "\t\treturn super.isSet"; - protected final String TEXT_2755 = "();"; - protected final String TEXT_2756 = NL + "\t\treturn false;"; - protected final String TEXT_2757 = NL + "\t}" + NL; - protected final String TEXT_2758 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2759 = NL + "\t@Override"; - protected final String TEXT_2760 = NL + "\tpublic "; - protected final String TEXT_2761 = " "; - protected final String TEXT_2762 = "()" + NL + "\t{"; - protected final String TEXT_2763 = NL + "\t\t@SuppressWarnings(\"unchecked\")" + NL + "\t\t"; - protected final String TEXT_2764 = " "; - protected final String TEXT_2765 = " = ("; - protected final String TEXT_2766 = ")(("; - protected final String TEXT_2767 = ")"; - protected final String TEXT_2768 = "());" + NL + "\t\treturn "; - protected final String TEXT_2769 = ";"; - protected final String TEXT_2770 = NL + "\t\treturn "; - protected final String TEXT_2771 = "();"; - protected final String TEXT_2772 = NL + "\t\treturn new "; - protected final String TEXT_2773 = ".UnmodifiableEList"; - protected final String TEXT_2774 = "(this, "; - protected final String TEXT_2775 = "null"; - protected final String TEXT_2776 = ", 0, "; - protected final String TEXT_2777 = ".EMPTY_LIST.toArray());"; - protected final String TEXT_2778 = NL + "\t\treturn null;"; - protected final String TEXT_2779 = NL + "\t\treturn "; - protected final String TEXT_2780 = "();"; - protected final String TEXT_2781 = NL + "\t}" + NL; - protected final String TEXT_2782 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2783 = NL + "\t@Override"; - protected final String TEXT_2784 = NL + "\tpublic "; - protected final String TEXT_2785 = " basicGet"; - protected final String TEXT_2786 = "()" + NL + "\t{"; - protected final String TEXT_2787 = NL + "\t\treturn null;"; - protected final String TEXT_2788 = NL + "\t\treturn "; - protected final String TEXT_2789 = "basicGet"; - protected final String TEXT_2790 = "();"; - protected final String TEXT_2791 = NL + "\t}" + NL; - protected final String TEXT_2792 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2793 = NL + "\t@Override"; - protected final String TEXT_2794 = NL + "\tpublic "; - protected final String TEXT_2795 = " basicSet"; - protected final String TEXT_2796 = "("; - protected final String TEXT_2797 = " new"; - protected final String TEXT_2798 = ", "; - protected final String TEXT_2799 = " msgs)" + NL + "\t{"; - protected final String TEXT_2800 = NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_2801 = NL + "\t\tif (new"; - protected final String TEXT_2802 = " != null && !(new"; - protected final String TEXT_2803 = " instanceof "; - protected final String TEXT_2804 = "))" + NL + "\t\t{" + NL + "\t\t\tthrow new IllegalArgumentException(String.valueOf(new"; - protected final String TEXT_2805 = "));" + NL + "\t\t}"; - protected final String TEXT_2806 = NL + "\t\treturn basicSet"; - protected final String TEXT_2807 = "("; - protected final String TEXT_2808 = "("; - protected final String TEXT_2809 = ") "; - protected final String TEXT_2810 = "new"; - protected final String TEXT_2811 = ", msgs);"; - protected final String TEXT_2812 = NL + "\t\tset"; - protected final String TEXT_2813 = "("; - protected final String TEXT_2814 = "("; - protected final String TEXT_2815 = ") "; - protected final String TEXT_2816 = "new"; - protected final String TEXT_2817 = ");" + NL + "\t\treturn msgs;"; - protected final String TEXT_2818 = NL + "\t}" + NL; - protected final String TEXT_2819 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2820 = NL + "\t@Override"; - protected final String TEXT_2821 = NL + "\tpublic void set"; - protected final String TEXT_2822 = "("; - protected final String TEXT_2823 = " new"; - protected final String TEXT_2824 = ")" + NL + "\t{"; - protected final String TEXT_2825 = NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_2826 = NL + "\t\tif (new"; - protected final String TEXT_2827 = " != null && !(new"; - protected final String TEXT_2828 = " instanceof "; - protected final String TEXT_2829 = "))" + NL + "\t\t{" + NL + "\t\t\tthrow new IllegalArgumentException(String.valueOf(new"; - protected final String TEXT_2830 = "));" + NL + "\t\t}"; - protected final String TEXT_2831 = NL + "\t\tset"; - protected final String TEXT_2832 = "("; - protected final String TEXT_2833 = "("; - protected final String TEXT_2834 = ") "; - protected final String TEXT_2835 = "new"; - protected final String TEXT_2836 = ");"; - protected final String TEXT_2837 = NL + "\t}" + NL; - protected final String TEXT_2838 = NL + "\t/**" + NL + "\t * The array of subset feature identifiers for the '{@link #"; - protected final String TEXT_2839 = "() <em>"; - protected final String TEXT_2840 = "</em>}' "; - protected final String TEXT_2841 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_2842 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; - protected final String TEXT_2843 = "_ESUBSETS = "; - protected final String TEXT_2844 = ";" + NL; - protected final String TEXT_2845 = NL + "\t/**" + NL + "\t * The array of superset feature identifiers for the '{@link #"; - protected final String TEXT_2846 = "() <em>"; - protected final String TEXT_2847 = "</em>}' "; - protected final String TEXT_2848 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_2849 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; - protected final String TEXT_2850 = "_ESUPERSETS = "; - protected final String TEXT_2851 = ";" + NL; - protected final String TEXT_2852 = NL + "\t/**"; - protected final String TEXT_2853 = NL + "\t * Creates a new {@link "; - protected final String TEXT_2854 = "}, with the specified "; - protected final String TEXT_2855 = ", and appends it to the '<em><b>"; - protected final String TEXT_2856 = "</b></em>' "; - protected final String TEXT_2857 = "."; - protected final String TEXT_2858 = NL + "\t * Creates a new {@link "; - protected final String TEXT_2859 = "}, with the specified "; - protected final String TEXT_2860 = ", and sets the '<em><b>"; - protected final String TEXT_2861 = "</b></em>' "; - protected final String TEXT_2862 = "."; - protected final String TEXT_2863 = NL + "\t * Creates a new {@link "; - protected final String TEXT_2864 = "} and appends it to the '<em><b>"; + protected final String TEXT_2751 = NL + "\t\t\t|| "; + protected final String TEXT_2752 = "basicGet"; + protected final String TEXT_2753 = "() != null"; + protected final String TEXT_2754 = ";"; + protected final String TEXT_2755 = NL + "\t\t\t|| eIsSet("; + protected final String TEXT_2756 = ")"; + protected final String TEXT_2757 = ";"; + protected final String TEXT_2758 = NL + "\t\treturn super.isSet"; + protected final String TEXT_2759 = "();"; + protected final String TEXT_2760 = NL + "\t\treturn false;"; + protected final String TEXT_2761 = NL + "\t}" + NL; + protected final String TEXT_2762 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2763 = NL + "\t@Override"; + protected final String TEXT_2764 = NL + "\tpublic "; + protected final String TEXT_2765 = " "; + protected final String TEXT_2766 = "()" + NL + "\t{"; + protected final String TEXT_2767 = NL + "\t\t@SuppressWarnings(\"unchecked\")" + NL + "\t\t"; + protected final String TEXT_2768 = " "; + protected final String TEXT_2769 = " = ("; + protected final String TEXT_2770 = ")(("; + protected final String TEXT_2771 = ")"; + protected final String TEXT_2772 = "());" + NL + "\t\treturn "; + protected final String TEXT_2773 = ";"; + protected final String TEXT_2774 = NL + "\t\treturn "; + protected final String TEXT_2775 = "();"; + protected final String TEXT_2776 = NL + "\t\treturn new "; + protected final String TEXT_2777 = ".UnmodifiableEList"; + protected final String TEXT_2778 = "(this, "; + protected final String TEXT_2779 = "null"; + protected final String TEXT_2780 = ", 0, "; + protected final String TEXT_2781 = ".EMPTY_LIST.toArray());"; + protected final String TEXT_2782 = NL + "\t\treturn null;"; + protected final String TEXT_2783 = NL + "\t\treturn "; + protected final String TEXT_2784 = "();"; + protected final String TEXT_2785 = NL + "\t}" + NL; + protected final String TEXT_2786 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2787 = NL + "\t@Override"; + protected final String TEXT_2788 = NL + "\tpublic "; + protected final String TEXT_2789 = " basicGet"; + protected final String TEXT_2790 = "()" + NL + "\t{"; + protected final String TEXT_2791 = NL + "\t\treturn null;"; + protected final String TEXT_2792 = NL + "\t\treturn "; + protected final String TEXT_2793 = "basicGet"; + protected final String TEXT_2794 = "();"; + protected final String TEXT_2795 = NL + "\t}" + NL; + protected final String TEXT_2796 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2797 = NL + "\t@Override"; + protected final String TEXT_2798 = NL + "\tpublic "; + protected final String TEXT_2799 = " basicSet"; + protected final String TEXT_2800 = "("; + protected final String TEXT_2801 = " new"; + protected final String TEXT_2802 = ", "; + protected final String TEXT_2803 = " msgs)" + NL + "\t{"; + protected final String TEXT_2804 = NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_2805 = NL + "\t\tif (new"; + protected final String TEXT_2806 = " != null && !(new"; + protected final String TEXT_2807 = " instanceof "; + protected final String TEXT_2808 = "))" + NL + "\t\t{" + NL + "\t\t\tthrow new IllegalArgumentException(String.valueOf(new"; + protected final String TEXT_2809 = "));" + NL + "\t\t}"; + protected final String TEXT_2810 = NL + "\t\treturn basicSet"; + protected final String TEXT_2811 = "("; + protected final String TEXT_2812 = "("; + protected final String TEXT_2813 = ") "; + protected final String TEXT_2814 = "new"; + protected final String TEXT_2815 = ", msgs);"; + protected final String TEXT_2816 = NL + "\t\tset"; + protected final String TEXT_2817 = "("; + protected final String TEXT_2818 = "("; + protected final String TEXT_2819 = ") "; + protected final String TEXT_2820 = "new"; + protected final String TEXT_2821 = ");" + NL + "\t\treturn msgs;"; + protected final String TEXT_2822 = NL + "\t}" + NL; + protected final String TEXT_2823 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2824 = NL + "\t@Override"; + protected final String TEXT_2825 = NL + "\tpublic void set"; + protected final String TEXT_2826 = "("; + protected final String TEXT_2827 = " new"; + protected final String TEXT_2828 = ")" + NL + "\t{"; + protected final String TEXT_2829 = NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_2830 = NL + "\t\tif (new"; + protected final String TEXT_2831 = " != null && !(new"; + protected final String TEXT_2832 = " instanceof "; + protected final String TEXT_2833 = "))" + NL + "\t\t{" + NL + "\t\t\tthrow new IllegalArgumentException(String.valueOf(new"; + protected final String TEXT_2834 = "));" + NL + "\t\t}"; + protected final String TEXT_2835 = NL + "\t\tset"; + protected final String TEXT_2836 = "("; + protected final String TEXT_2837 = "("; + protected final String TEXT_2838 = ") "; + protected final String TEXT_2839 = "new"; + protected final String TEXT_2840 = ");"; + protected final String TEXT_2841 = NL + "\t}" + NL; + protected final String TEXT_2842 = NL + "\t/**" + NL + "\t * The array of subset feature identifiers for the '{@link #"; + protected final String TEXT_2843 = "() <em>"; + protected final String TEXT_2844 = "</em>}' "; + protected final String TEXT_2845 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_2846 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; + protected final String TEXT_2847 = "_ESUBSETS = "; + protected final String TEXT_2848 = ";" + NL; + protected final String TEXT_2849 = NL + "\t/**" + NL + "\t * The array of superset feature identifiers for the '{@link #"; + protected final String TEXT_2850 = "() <em>"; + protected final String TEXT_2851 = "</em>}' "; + protected final String TEXT_2852 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_2853 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; + protected final String TEXT_2854 = "_ESUPERSETS = "; + protected final String TEXT_2855 = ";" + NL; + protected final String TEXT_2856 = NL + "\t/**"; + protected final String TEXT_2857 = NL + "\t * Creates a new {@link "; + protected final String TEXT_2858 = "}, with the specified "; + protected final String TEXT_2859 = ", and appends it to the '<em><b>"; + protected final String TEXT_2860 = "</b></em>' "; + protected final String TEXT_2861 = "."; + protected final String TEXT_2862 = NL + "\t * Creates a new {@link "; + protected final String TEXT_2863 = "}, with the specified "; + protected final String TEXT_2864 = ", and sets the '<em><b>"; protected final String TEXT_2865 = "</b></em>' "; protected final String TEXT_2866 = "."; protected final String TEXT_2867 = NL + "\t * Creates a new {@link "; - protected final String TEXT_2868 = "} and sets the '<em><b>"; + protected final String TEXT_2868 = "} and appends it to the '<em><b>"; protected final String TEXT_2869 = "</b></em>' "; protected final String TEXT_2870 = "."; - protected final String TEXT_2871 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_2872 = NL + "\t * @param "; - protected final String TEXT_2873 = " The "; - protected final String TEXT_2874 = " for the new {@link "; - protected final String TEXT_2875 = "}, or <code>null</code>."; - protected final String TEXT_2876 = NL + "\t * @param eClass The Ecore class of the {@link "; - protected final String TEXT_2877 = "} to create." + NL + "\t * @return The new {@link "; - protected final String TEXT_2878 = "}." + NL + "\t * @see #"; - protected final String TEXT_2879 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2880 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2881 = NL + "\t"; - protected final String TEXT_2882 = " create"; - protected final String TEXT_2883 = "("; - protected final String TEXT_2884 = ", "; - protected final String TEXT_2885 = " eClass);" + NL; - protected final String TEXT_2886 = NL + "\t@Override"; - protected final String TEXT_2887 = NL + "\tpublic "; - protected final String TEXT_2888 = " create"; - protected final String TEXT_2889 = "("; - protected final String TEXT_2890 = ", "; - protected final String TEXT_2891 = " eClass)" + NL + "\t{" + NL + "\t\t"; - protected final String TEXT_2892 = " new"; - protected final String TEXT_2893 = " = ("; - protected final String TEXT_2894 = ") create(eClass);"; - protected final String TEXT_2895 = NL + "\t\t"; - protected final String TEXT_2896 = "().add(new"; - protected final String TEXT_2897 = ");"; - protected final String TEXT_2898 = NL + "\t\tset"; - protected final String TEXT_2899 = "(new"; - protected final String TEXT_2900 = ");"; - protected final String TEXT_2901 = NL + "\t\tint "; - protected final String TEXT_2902 = "ListSize = 0;"; - protected final String TEXT_2903 = NL + "\t\tint "; - protected final String TEXT_2904 = "Size = "; - protected final String TEXT_2905 = " == null ? 0 : "; - protected final String TEXT_2906 = ".size();" + NL + "\t\tif ("; - protected final String TEXT_2907 = "Size > "; - protected final String TEXT_2908 = "ListSize)" + NL + "\t\t\t"; - protected final String TEXT_2909 = "ListSize = "; - protected final String TEXT_2910 = "Size;"; - protected final String TEXT_2911 = NL + "\t\tfor (int i = 0; i < "; - protected final String TEXT_2912 = "ListSize; i++) {" + NL + "\t\t\tnew"; - protected final String TEXT_2913 = ".create"; - protected final String TEXT_2914 = "("; - protected final String TEXT_2915 = ", "; - protected final String TEXT_2916 = "i < "; - protected final String TEXT_2917 = "Size ? ("; - protected final String TEXT_2918 = ") "; - protected final String TEXT_2919 = ".get(i) : null"; - protected final String TEXT_2920 = ");" + NL + "\t\t}"; - protected final String TEXT_2921 = NL + "\t\tnew"; - protected final String TEXT_2922 = ".create"; - protected final String TEXT_2923 = "("; - protected final String TEXT_2924 = ", "; - protected final String TEXT_2925 = ");"; - protected final String TEXT_2926 = NL + "\t\tif ("; - protected final String TEXT_2927 = " != null)"; - protected final String TEXT_2928 = NL + "\t\t\tnew"; - protected final String TEXT_2929 = "."; - protected final String TEXT_2930 = "().addAll("; - protected final String TEXT_2931 = ");"; + protected final String TEXT_2871 = NL + "\t * Creates a new {@link "; + protected final String TEXT_2872 = "} and sets the '<em><b>"; + protected final String TEXT_2873 = "</b></em>' "; + protected final String TEXT_2874 = "."; + protected final String TEXT_2875 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_2876 = NL + "\t * @param "; + protected final String TEXT_2877 = " The "; + protected final String TEXT_2878 = " for the new {@link "; + protected final String TEXT_2879 = "}, or <code>null</code>."; + protected final String TEXT_2880 = NL + "\t * @param eClass The Ecore class of the {@link "; + protected final String TEXT_2881 = "} to create." + NL + "\t * @return The new {@link "; + protected final String TEXT_2882 = "}." + NL + "\t * @see #"; + protected final String TEXT_2883 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2884 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2885 = NL + "\t"; + protected final String TEXT_2886 = " create"; + protected final String TEXT_2887 = "("; + protected final String TEXT_2888 = ", "; + protected final String TEXT_2889 = " eClass);" + NL; + protected final String TEXT_2890 = NL + "\t@Override"; + protected final String TEXT_2891 = NL + "\tpublic "; + protected final String TEXT_2892 = " create"; + protected final String TEXT_2893 = "("; + protected final String TEXT_2894 = ", "; + protected final String TEXT_2895 = " eClass)" + NL + "\t{" + NL + "\t\t"; + protected final String TEXT_2896 = " new"; + protected final String TEXT_2897 = " = ("; + protected final String TEXT_2898 = ") create(eClass);"; + protected final String TEXT_2899 = NL + "\t\t"; + protected final String TEXT_2900 = "().add(new"; + protected final String TEXT_2901 = ");"; + protected final String TEXT_2902 = NL + "\t\tset"; + protected final String TEXT_2903 = "(new"; + protected final String TEXT_2904 = ");"; + protected final String TEXT_2905 = NL + "\t\tint "; + protected final String TEXT_2906 = "ListSize = 0;"; + protected final String TEXT_2907 = NL + "\t\tint "; + protected final String TEXT_2908 = "Size = "; + protected final String TEXT_2909 = " == null ? 0 : "; + protected final String TEXT_2910 = ".size();" + NL + "\t\tif ("; + protected final String TEXT_2911 = "Size > "; + protected final String TEXT_2912 = "ListSize)" + NL + "\t\t\t"; + protected final String TEXT_2913 = "ListSize = "; + protected final String TEXT_2914 = "Size;"; + protected final String TEXT_2915 = NL + "\t\tfor (int i = 0; i < "; + protected final String TEXT_2916 = "ListSize; i++) {" + NL + "\t\t\tnew"; + protected final String TEXT_2917 = ".create"; + protected final String TEXT_2918 = "("; + protected final String TEXT_2919 = ", "; + protected final String TEXT_2920 = "i < "; + protected final String TEXT_2921 = "Size ? ("; + protected final String TEXT_2922 = ") "; + protected final String TEXT_2923 = ".get(i) : null"; + protected final String TEXT_2924 = ");" + NL + "\t\t}"; + protected final String TEXT_2925 = NL + "\t\tnew"; + protected final String TEXT_2926 = ".create"; + protected final String TEXT_2927 = "("; + protected final String TEXT_2928 = ", "; + protected final String TEXT_2929 = ");"; + protected final String TEXT_2930 = NL + "\t\tif ("; + protected final String TEXT_2931 = " != null)"; protected final String TEXT_2932 = NL + "\t\t\tnew"; - protected final String TEXT_2933 = ".set"; - protected final String TEXT_2934 = "("; + protected final String TEXT_2933 = "."; + protected final String TEXT_2934 = "().addAll("; protected final String TEXT_2935 = ");"; - protected final String TEXT_2936 = NL + "\t\treturn new"; - protected final String TEXT_2937 = ";" + NL + "\t}" + NL; - protected final String TEXT_2938 = NL + "\t/**"; - protected final String TEXT_2939 = NL + "\t * Creates a new {@link "; - protected final String TEXT_2940 = "}, with the specified "; - protected final String TEXT_2941 = ", and appends it to the '<em><b>"; - protected final String TEXT_2942 = "</b></em>' "; - protected final String TEXT_2943 = "."; - protected final String TEXT_2944 = NL + "\t * Creates a new {@link "; - protected final String TEXT_2945 = "},with the specified "; - protected final String TEXT_2946 = ", and sets the '<em><b>"; - protected final String TEXT_2947 = "</b></em>' "; - protected final String TEXT_2948 = "."; - protected final String TEXT_2949 = NL + "\t * Creates a new {@link "; - protected final String TEXT_2950 = "} and appends it to the '<em><b>"; + protected final String TEXT_2936 = NL + "\t\t\tnew"; + protected final String TEXT_2937 = ".set"; + protected final String TEXT_2938 = "("; + protected final String TEXT_2939 = ");"; + protected final String TEXT_2940 = NL + "\t\treturn new"; + protected final String TEXT_2941 = ";" + NL + "\t}" + NL; + protected final String TEXT_2942 = NL + "\t/**"; + protected final String TEXT_2943 = NL + "\t * Creates a new {@link "; + protected final String TEXT_2944 = "}, with the specified "; + protected final String TEXT_2945 = ", and appends it to the '<em><b>"; + protected final String TEXT_2946 = "</b></em>' "; + protected final String TEXT_2947 = "."; + protected final String TEXT_2948 = NL + "\t * Creates a new {@link "; + protected final String TEXT_2949 = "},with the specified "; + protected final String TEXT_2950 = ", and sets the '<em><b>"; protected final String TEXT_2951 = "</b></em>' "; protected final String TEXT_2952 = "."; protected final String TEXT_2953 = NL + "\t * Creates a new {@link "; - protected final String TEXT_2954 = "} and sets the '<em><b>"; + protected final String TEXT_2954 = "} and appends it to the '<em><b>"; protected final String TEXT_2955 = "</b></em>' "; protected final String TEXT_2956 = "."; - protected final String TEXT_2957 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_2958 = NL + "\t * @param "; - protected final String TEXT_2959 = " The "; - protected final String TEXT_2960 = " for the new {@link "; - protected final String TEXT_2961 = "}, or <code>null</code>."; - protected final String TEXT_2962 = NL + "\t * @return The new {@link "; - protected final String TEXT_2963 = "}." + NL + "\t * @see #"; - protected final String TEXT_2964 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2965 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2966 = NL + "\t"; - protected final String TEXT_2967 = " create"; - protected final String TEXT_2968 = "("; - protected final String TEXT_2969 = ");" + NL; - protected final String TEXT_2970 = NL + "\t@Override"; - protected final String TEXT_2971 = NL + "\tpublic "; - protected final String TEXT_2972 = " create"; - protected final String TEXT_2973 = "("; - protected final String TEXT_2974 = ")" + NL + "\t{"; - protected final String TEXT_2975 = NL + "\t\treturn create"; - protected final String TEXT_2976 = "("; - protected final String TEXT_2977 = ", "; - protected final String TEXT_2978 = ");"; - protected final String TEXT_2979 = NL + "\t\t"; - protected final String TEXT_2980 = " new"; - protected final String TEXT_2981 = " = ("; - protected final String TEXT_2982 = ") create("; - protected final String TEXT_2983 = ");"; - protected final String TEXT_2984 = NL + "\t\t"; - protected final String TEXT_2985 = "().add(new"; - protected final String TEXT_2986 = ");"; - protected final String TEXT_2987 = NL + "\t\tset"; - protected final String TEXT_2988 = "(new"; - protected final String TEXT_2989 = ");"; - protected final String TEXT_2990 = NL + "\t\tint "; - protected final String TEXT_2991 = "ListSize = 0;"; - protected final String TEXT_2992 = NL + "\t\tint "; - protected final String TEXT_2993 = "Size = "; - protected final String TEXT_2994 = " == null ? 0 : "; - protected final String TEXT_2995 = ".size();" + NL + "\t\tif ("; - protected final String TEXT_2996 = "Size > "; - protected final String TEXT_2997 = "ListSize)" + NL + "\t\t\t"; - protected final String TEXT_2998 = "ListSize = "; - protected final String TEXT_2999 = "Size;"; - protected final String TEXT_3000 = NL + "\t\tfor (int i = 0; i < "; - protected final String TEXT_3001 = "ListSize; i++) {" + NL + "\t\t\tnew"; - protected final String TEXT_3002 = ".create"; - protected final String TEXT_3003 = "("; - protected final String TEXT_3004 = ", "; - protected final String TEXT_3005 = "i < "; - protected final String TEXT_3006 = "Size ? ("; - protected final String TEXT_3007 = ") "; - protected final String TEXT_3008 = ".get(i) : null"; - protected final String TEXT_3009 = ");" + NL + "\t\t}"; - protected final String TEXT_3010 = NL + "\t\tnew"; - protected final String TEXT_3011 = ".create"; - protected final String TEXT_3012 = "("; - protected final String TEXT_3013 = ", "; - protected final String TEXT_3014 = ");"; - protected final String TEXT_3015 = NL + "\t\tif ("; - protected final String TEXT_3016 = " != null)"; - protected final String TEXT_3017 = NL + "\t\t\tnew"; - protected final String TEXT_3018 = "."; - protected final String TEXT_3019 = "().addAll("; - protected final String TEXT_3020 = ");"; + protected final String TEXT_2957 = NL + "\t * Creates a new {@link "; + protected final String TEXT_2958 = "} and sets the '<em><b>"; + protected final String TEXT_2959 = "</b></em>' "; + protected final String TEXT_2960 = "."; + protected final String TEXT_2961 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_2962 = NL + "\t * @param "; + protected final String TEXT_2963 = " The "; + protected final String TEXT_2964 = " for the new {@link "; + protected final String TEXT_2965 = "}, or <code>null</code>."; + protected final String TEXT_2966 = NL + "\t * @return The new {@link "; + protected final String TEXT_2967 = "}." + NL + "\t * @see #"; + protected final String TEXT_2968 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2969 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2970 = NL + "\t"; + protected final String TEXT_2971 = " create"; + protected final String TEXT_2972 = "("; + protected final String TEXT_2973 = ");" + NL; + protected final String TEXT_2974 = NL + "\t@Override"; + protected final String TEXT_2975 = NL + "\tpublic "; + protected final String TEXT_2976 = " create"; + protected final String TEXT_2977 = "("; + protected final String TEXT_2978 = ")" + NL + "\t{"; + protected final String TEXT_2979 = NL + "\t\treturn create"; + protected final String TEXT_2980 = "("; + protected final String TEXT_2981 = ", "; + protected final String TEXT_2982 = ");"; + protected final String TEXT_2983 = NL + "\t\t"; + protected final String TEXT_2984 = " new"; + protected final String TEXT_2985 = " = ("; + protected final String TEXT_2986 = ") create("; + protected final String TEXT_2987 = ");"; + protected final String TEXT_2988 = NL + "\t\t"; + protected final String TEXT_2989 = "().add(new"; + protected final String TEXT_2990 = ");"; + protected final String TEXT_2991 = NL + "\t\tset"; + protected final String TEXT_2992 = "(new"; + protected final String TEXT_2993 = ");"; + protected final String TEXT_2994 = NL + "\t\tint "; + protected final String TEXT_2995 = "ListSize = 0;"; + protected final String TEXT_2996 = NL + "\t\tint "; + protected final String TEXT_2997 = "Size = "; + protected final String TEXT_2998 = " == null ? 0 : "; + protected final String TEXT_2999 = ".size();" + NL + "\t\tif ("; + protected final String TEXT_3000 = "Size > "; + protected final String TEXT_3001 = "ListSize)" + NL + "\t\t\t"; + protected final String TEXT_3002 = "ListSize = "; + protected final String TEXT_3003 = "Size;"; + protected final String TEXT_3004 = NL + "\t\tfor (int i = 0; i < "; + protected final String TEXT_3005 = "ListSize; i++) {" + NL + "\t\t\tnew"; + protected final String TEXT_3006 = ".create"; + protected final String TEXT_3007 = "("; + protected final String TEXT_3008 = ", "; + protected final String TEXT_3009 = "i < "; + protected final String TEXT_3010 = "Size ? ("; + protected final String TEXT_3011 = ") "; + protected final String TEXT_3012 = ".get(i) : null"; + protected final String TEXT_3013 = ");" + NL + "\t\t}"; + protected final String TEXT_3014 = NL + "\t\tnew"; + protected final String TEXT_3015 = ".create"; + protected final String TEXT_3016 = "("; + protected final String TEXT_3017 = ", "; + protected final String TEXT_3018 = ");"; + protected final String TEXT_3019 = NL + "\t\tif ("; + protected final String TEXT_3020 = " != null)"; protected final String TEXT_3021 = NL + "\t\t\tnew"; - protected final String TEXT_3022 = ".set"; - protected final String TEXT_3023 = "("; + protected final String TEXT_3022 = "."; + protected final String TEXT_3023 = "().addAll("; protected final String TEXT_3024 = ");"; - protected final String TEXT_3025 = NL + "\t\treturn new"; - protected final String TEXT_3026 = ";"; - protected final String TEXT_3027 = NL + "\t}" + NL; - protected final String TEXT_3028 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; - protected final String TEXT_3029 = "} with the specified "; - protected final String TEXT_3030 = " from the '<em><b>"; - protected final String TEXT_3031 = "</b></em>' "; - protected final String TEXT_3032 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_3033 = NL + "\t * @param "; - protected final String TEXT_3034 = " The "; - protected final String TEXT_3035 = " of the {@link "; - protected final String TEXT_3036 = "} to retrieve, or <code>null</code>."; - protected final String TEXT_3037 = NL + "\t * @return The first {@link "; - protected final String TEXT_3038 = "} with the specified "; - protected final String TEXT_3039 = ", or <code>null</code>." + NL + "\t * @see #"; - protected final String TEXT_3040 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_3041 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_3042 = NL + "\t"; - protected final String TEXT_3043 = " get"; - protected final String TEXT_3044 = "("; - protected final String TEXT_3045 = ");" + NL; - protected final String TEXT_3046 = NL + "\t@Override"; - protected final String TEXT_3047 = NL + "\tpublic "; - protected final String TEXT_3048 = " get"; - protected final String TEXT_3049 = "("; - protected final String TEXT_3050 = ")" + NL + "\t{" + NL + "\t\treturn get"; - protected final String TEXT_3051 = "("; - protected final String TEXT_3052 = ", false"; - protected final String TEXT_3053 = ", null"; - protected final String TEXT_3054 = ", false"; - protected final String TEXT_3055 = ");" + NL + "\t}" + NL; - protected final String TEXT_3056 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; - protected final String TEXT_3057 = "} with the specified "; - protected final String TEXT_3058 = " from the '<em><b>"; - protected final String TEXT_3059 = "</b></em>' "; - protected final String TEXT_3060 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_3061 = NL + "\t * @param "; - protected final String TEXT_3062 = " The "; - protected final String TEXT_3063 = " of the {@link "; - protected final String TEXT_3064 = "} to retrieve, or <code>null</code>."; - protected final String TEXT_3065 = NL + "\t * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons."; - protected final String TEXT_3066 = NL + "\t * @param eClass The Ecore class of the {@link "; - protected final String TEXT_3067 = "} to retrieve, or <code>null</code>."; - protected final String TEXT_3068 = NL + "\t * @param createOnDemand Whether to create a {@link "; - protected final String TEXT_3069 = "} on demand if not found."; - protected final String TEXT_3070 = NL + "\t * @return The first {@link "; - protected final String TEXT_3071 = "} with the specified "; - protected final String TEXT_3072 = ", or <code>null</code>." + NL + "\t * @see #"; - protected final String TEXT_3073 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_3074 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_3075 = NL + "\t"; - protected final String TEXT_3076 = " get"; - protected final String TEXT_3077 = "("; - protected final String TEXT_3078 = ", boolean ignoreCase"; - protected final String TEXT_3079 = ", "; - protected final String TEXT_3080 = " eClass"; - protected final String TEXT_3081 = ", boolean createOnDemand"; - protected final String TEXT_3082 = ");" + NL; - protected final String TEXT_3083 = NL + "\t@Override"; - protected final String TEXT_3084 = NL + "\tpublic "; - protected final String TEXT_3085 = " get"; - protected final String TEXT_3086 = "("; - protected final String TEXT_3087 = ", boolean ignoreCase"; - protected final String TEXT_3088 = ", "; - protected final String TEXT_3089 = " eClass"; - protected final String TEXT_3090 = ", boolean createOnDemand"; - protected final String TEXT_3091 = ")" + NL + "\t{"; - protected final String TEXT_3092 = NL + "\t\t"; - protected final String TEXT_3093 = "Loop: for ("; - protected final String TEXT_3094 = " "; - protected final String TEXT_3095 = " : "; - protected final String TEXT_3096 = "())" + NL + "\t\t{"; - protected final String TEXT_3097 = NL + "\t\t"; - protected final String TEXT_3098 = "Loop: for ("; - protected final String TEXT_3099 = " i = "; - protected final String TEXT_3100 = "().iterator(); i.hasNext(); )" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_3101 = " "; - protected final String TEXT_3102 = " = ("; - protected final String TEXT_3103 = ") i.next();"; - protected final String TEXT_3104 = NL + "\t\t\tif (eClass != null && !eClass.isInstance("; - protected final String TEXT_3105 = "))" + NL + "\t\t\t\tcontinue "; - protected final String TEXT_3106 = "Loop;"; - protected final String TEXT_3107 = NL + "\t\t\t"; - protected final String TEXT_3108 = " "; - protected final String TEXT_3109 = "List = "; - protected final String TEXT_3110 = "."; - protected final String TEXT_3111 = "();" + NL + "\t\t\tint "; - protected final String TEXT_3112 = "ListSize = "; - protected final String TEXT_3113 = "List.size();" + NL + "\t\t\tif ("; - protected final String TEXT_3114 = " || ("; - protected final String TEXT_3115 = " != null && "; - protected final String TEXT_3116 = ".size() != "; - protected final String TEXT_3117 = "ListSize"; - protected final String TEXT_3118 = ")"; - protected final String TEXT_3119 = ")" + NL + "\t\t\t\tcontinue "; - protected final String TEXT_3120 = "Loop;" + NL + "\t\t\tfor (int j = 0; j < "; - protected final String TEXT_3121 = "ListSize; j++)" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_3122 = " "; - protected final String TEXT_3123 = " = "; - protected final String TEXT_3124 = "("; - protected final String TEXT_3125 = ") "; - protected final String TEXT_3126 = "List.get(j);"; - protected final String TEXT_3127 = NL + "\t\t\t\tif ("; - protected final String TEXT_3128 = " != null && !(ignoreCase ? ("; - protected final String TEXT_3129 = "("; - protected final String TEXT_3130 = ")"; - protected final String TEXT_3131 = ".get(j)).equalsIgnoreCase("; - protected final String TEXT_3132 = "."; - protected final String TEXT_3133 = "()) : "; - protected final String TEXT_3134 = ".get(j).equals("; - protected final String TEXT_3135 = "."; - protected final String TEXT_3136 = "())))"; - protected final String TEXT_3137 = NL + "\t\t\t\tif ("; - protected final String TEXT_3138 = " != null && !"; - protected final String TEXT_3139 = ".get(j).equals("; - protected final String TEXT_3140 = "."; - protected final String TEXT_3141 = "()))"; - protected final String TEXT_3142 = NL + "\t\t\t\t\tcontinue "; - protected final String TEXT_3143 = "Loop;"; - protected final String TEXT_3144 = NL + "\t\t\t}"; - protected final String TEXT_3145 = NL + "\t\t\t"; - protected final String TEXT_3146 = " "; - protected final String TEXT_3147 = " = "; - protected final String TEXT_3148 = "."; - protected final String TEXT_3149 = "();" + NL + "\t\t\tif ("; - protected final String TEXT_3150 = " == null)" + NL + "\t\t\t\tcontinue "; - protected final String TEXT_3151 = "Loop;"; - protected final String TEXT_3152 = NL + "\t\t\tif ("; - protected final String TEXT_3153 = " != null && !(ignoreCase ? "; - protected final String TEXT_3154 = ".equalsIgnoreCase("; - protected final String TEXT_3155 = "."; - protected final String TEXT_3156 = "()) : "; - protected final String TEXT_3157 = ".equals("; - protected final String TEXT_3158 = "."; - protected final String TEXT_3159 = "())))"; - protected final String TEXT_3160 = NL + "\t\t\tif ("; - protected final String TEXT_3161 = " != null && !"; - protected final String TEXT_3162 = ".equals("; - protected final String TEXT_3163 = "."; - protected final String TEXT_3164 = "()))"; - protected final String TEXT_3165 = NL + "\t\t\t\tcontinue "; - protected final String TEXT_3166 = "Loop;"; - protected final String TEXT_3167 = NL + "\t\t\tif ("; - protected final String TEXT_3168 = " != null && !(ignoreCase ? "; - protected final String TEXT_3169 = ".equalsIgnoreCase("; - protected final String TEXT_3170 = "."; - protected final String TEXT_3171 = "()) : "; - protected final String TEXT_3172 = ".equals("; - protected final String TEXT_3173 = "."; - protected final String TEXT_3174 = "())))"; - protected final String TEXT_3175 = NL + "\t\t\tif ("; - protected final String TEXT_3176 = " != null && !"; - protected final String TEXT_3177 = ".equals("; - protected final String TEXT_3178 = "."; - protected final String TEXT_3179 = "()))"; - protected final String TEXT_3180 = NL + "\t\t\t\tcontinue "; - protected final String TEXT_3181 = "Loop;"; - protected final String TEXT_3182 = NL + "\t\t\treturn "; - protected final String TEXT_3183 = ";" + NL + "\t\t}"; - protected final String TEXT_3184 = NL + "\t\treturn createOnDemand"; - protected final String TEXT_3185 = " && eClass != null"; - protected final String TEXT_3186 = " ? create"; - protected final String TEXT_3187 = "("; - protected final String TEXT_3188 = ", eClass"; - protected final String TEXT_3189 = ") : null;"; - protected final String TEXT_3190 = NL + "\t\treturn null;"; - protected final String TEXT_3191 = NL + "\t}" + NL; - protected final String TEXT_3192 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic boolean isSet"; - protected final String TEXT_3193 = "()" + NL + "\t{"; - protected final String TEXT_3194 = NL + " \t\treturn false;"; - protected final String TEXT_3195 = NL + "\t\treturn eIsSet("; - protected final String TEXT_3196 = ");"; - protected final String TEXT_3197 = NL + "\t\treturn !(("; - protected final String TEXT_3198 = ".Internal.Wrapper)"; - protected final String TEXT_3199 = "()).featureMap().isEmpty();"; - protected final String TEXT_3200 = NL + "\t\treturn "; - protected final String TEXT_3201 = " != null && !"; - protected final String TEXT_3202 = ".featureMap().isEmpty();"; - protected final String TEXT_3203 = NL + "\t\treturn "; - protected final String TEXT_3204 = " != null && !"; - protected final String TEXT_3205 = ".isEmpty();"; - protected final String TEXT_3206 = NL + "\t\t"; - protected final String TEXT_3207 = " "; - protected final String TEXT_3208 = " = ("; - protected final String TEXT_3209 = ")eVirtualGet("; - protected final String TEXT_3210 = ");" + NL + "\t\treturn "; - protected final String TEXT_3211 = " != null && !"; - protected final String TEXT_3212 = ".isEmpty();"; - protected final String TEXT_3213 = NL + "\t\treturn !"; - protected final String TEXT_3214 = "().isEmpty();"; - protected final String TEXT_3215 = NL + "\t\treturn "; - protected final String TEXT_3216 = " != null;"; - protected final String TEXT_3217 = NL + "\t\treturn eVirtualGet("; - protected final String TEXT_3218 = ") != null;"; - protected final String TEXT_3219 = NL + "\t\treturn basicGet"; - protected final String TEXT_3220 = "() != null;"; - protected final String TEXT_3221 = NL + "\t\treturn "; - protected final String TEXT_3222 = " != null;"; - protected final String TEXT_3223 = NL + "\t\treturn eVirtualGet("; - protected final String TEXT_3224 = ") != null;"; + protected final String TEXT_3025 = NL + "\t\t\tnew"; + protected final String TEXT_3026 = ".set"; + protected final String TEXT_3027 = "("; + protected final String TEXT_3028 = ");"; + protected final String TEXT_3029 = NL + "\t\treturn new"; + protected final String TEXT_3030 = ";"; + protected final String TEXT_3031 = NL + "\t}" + NL; + protected final String TEXT_3032 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; + protected final String TEXT_3033 = "} with the specified "; + protected final String TEXT_3034 = " from the '<em><b>"; + protected final String TEXT_3035 = "</b></em>' "; + protected final String TEXT_3036 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_3037 = NL + "\t * @param "; + protected final String TEXT_3038 = " The "; + protected final String TEXT_3039 = " of the {@link "; + protected final String TEXT_3040 = "} to retrieve, or <code>null</code>."; + protected final String TEXT_3041 = NL + "\t * @return The first {@link "; + protected final String TEXT_3042 = "} with the specified "; + protected final String TEXT_3043 = ", or <code>null</code>." + NL + "\t * @see #"; + protected final String TEXT_3044 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3045 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3046 = NL + "\t"; + protected final String TEXT_3047 = " get"; + protected final String TEXT_3048 = "("; + protected final String TEXT_3049 = ");" + NL; + protected final String TEXT_3050 = NL + "\t@Override"; + protected final String TEXT_3051 = NL + "\tpublic "; + protected final String TEXT_3052 = " get"; + protected final String TEXT_3053 = "("; + protected final String TEXT_3054 = ")" + NL + "\t{" + NL + "\t\treturn get"; + protected final String TEXT_3055 = "("; + protected final String TEXT_3056 = ", false"; + protected final String TEXT_3057 = ", null"; + protected final String TEXT_3058 = ", false"; + protected final String TEXT_3059 = ");" + NL + "\t}" + NL; + protected final String TEXT_3060 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; + protected final String TEXT_3061 = "} with the specified "; + protected final String TEXT_3062 = " from the '<em><b>"; + protected final String TEXT_3063 = "</b></em>' "; + protected final String TEXT_3064 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_3065 = NL + "\t * @param "; + protected final String TEXT_3066 = " The "; + protected final String TEXT_3067 = " of the {@link "; + protected final String TEXT_3068 = "} to retrieve, or <code>null</code>."; + protected final String TEXT_3069 = NL + "\t * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons."; + protected final String TEXT_3070 = NL + "\t * @param eClass The Ecore class of the {@link "; + protected final String TEXT_3071 = "} to retrieve, or <code>null</code>."; + protected final String TEXT_3072 = NL + "\t * @param createOnDemand Whether to create a {@link "; + protected final String TEXT_3073 = "} on demand if not found."; + protected final String TEXT_3074 = NL + "\t * @return The first {@link "; + protected final String TEXT_3075 = "} with the specified "; + protected final String TEXT_3076 = ", or <code>null</code>." + NL + "\t * @see #"; + protected final String TEXT_3077 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3078 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3079 = NL + "\t"; + protected final String TEXT_3080 = " get"; + protected final String TEXT_3081 = "("; + protected final String TEXT_3082 = ", boolean ignoreCase"; + protected final String TEXT_3083 = ", "; + protected final String TEXT_3084 = " eClass"; + protected final String TEXT_3085 = ", boolean createOnDemand"; + protected final String TEXT_3086 = ");" + NL; + protected final String TEXT_3087 = NL + "\t@Override"; + protected final String TEXT_3088 = NL + "\tpublic "; + protected final String TEXT_3089 = " get"; + protected final String TEXT_3090 = "("; + protected final String TEXT_3091 = ", boolean ignoreCase"; + protected final String TEXT_3092 = ", "; + protected final String TEXT_3093 = " eClass"; + protected final String TEXT_3094 = ", boolean createOnDemand"; + protected final String TEXT_3095 = ")" + NL + "\t{"; + protected final String TEXT_3096 = NL + "\t\t"; + protected final String TEXT_3097 = "Loop: for ("; + protected final String TEXT_3098 = " "; + protected final String TEXT_3099 = " : "; + protected final String TEXT_3100 = "())" + NL + "\t\t{"; + protected final String TEXT_3101 = NL + "\t\t"; + protected final String TEXT_3102 = "Loop: for ("; + protected final String TEXT_3103 = " i = "; + protected final String TEXT_3104 = "().iterator(); i.hasNext(); )" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_3105 = " "; + protected final String TEXT_3106 = " = ("; + protected final String TEXT_3107 = ") i.next();"; + protected final String TEXT_3108 = NL + "\t\t\tif (eClass != null && !eClass.isInstance("; + protected final String TEXT_3109 = "))" + NL + "\t\t\t\tcontinue "; + protected final String TEXT_3110 = "Loop;"; + protected final String TEXT_3111 = NL + "\t\t\t"; + protected final String TEXT_3112 = " "; + protected final String TEXT_3113 = "List = "; + protected final String TEXT_3114 = "."; + protected final String TEXT_3115 = "();" + NL + "\t\t\tint "; + protected final String TEXT_3116 = "ListSize = "; + protected final String TEXT_3117 = "List.size();" + NL + "\t\t\tif ("; + protected final String TEXT_3118 = " || ("; + protected final String TEXT_3119 = " != null && "; + protected final String TEXT_3120 = ".size() != "; + protected final String TEXT_3121 = "ListSize"; + protected final String TEXT_3122 = ")"; + protected final String TEXT_3123 = ")" + NL + "\t\t\t\tcontinue "; + protected final String TEXT_3124 = "Loop;" + NL + "\t\t\tfor (int j = 0; j < "; + protected final String TEXT_3125 = "ListSize; j++)" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_3126 = " "; + protected final String TEXT_3127 = " = "; + protected final String TEXT_3128 = "("; + protected final String TEXT_3129 = ") "; + protected final String TEXT_3130 = "List.get(j);"; + protected final String TEXT_3131 = NL + "\t\t\t\tif ("; + protected final String TEXT_3132 = " != null && !(ignoreCase ? ("; + protected final String TEXT_3133 = "("; + protected final String TEXT_3134 = ")"; + protected final String TEXT_3135 = ".get(j)).equalsIgnoreCase("; + protected final String TEXT_3136 = "."; + protected final String TEXT_3137 = "()) : "; + protected final String TEXT_3138 = ".get(j).equals("; + protected final String TEXT_3139 = "."; + protected final String TEXT_3140 = "())))"; + protected final String TEXT_3141 = NL + "\t\t\t\tif ("; + protected final String TEXT_3142 = " != null && !"; + protected final String TEXT_3143 = ".get(j).equals("; + protected final String TEXT_3144 = "."; + protected final String TEXT_3145 = "()))"; + protected final String TEXT_3146 = NL + "\t\t\t\t\tcontinue "; + protected final String TEXT_3147 = "Loop;"; + protected final String TEXT_3148 = NL + "\t\t\t}"; + protected final String TEXT_3149 = NL + "\t\t\t"; + protected final String TEXT_3150 = " "; + protected final String TEXT_3151 = " = "; + protected final String TEXT_3152 = "."; + protected final String TEXT_3153 = "();" + NL + "\t\t\tif ("; + protected final String TEXT_3154 = " == null)" + NL + "\t\t\t\tcontinue "; + protected final String TEXT_3155 = "Loop;"; + protected final String TEXT_3156 = NL + "\t\t\tif ("; + protected final String TEXT_3157 = " != null && !(ignoreCase ? "; + protected final String TEXT_3158 = ".equalsIgnoreCase("; + protected final String TEXT_3159 = "."; + protected final String TEXT_3160 = "()) : "; + protected final String TEXT_3161 = ".equals("; + protected final String TEXT_3162 = "."; + protected final String TEXT_3163 = "())))"; + protected final String TEXT_3164 = NL + "\t\t\tif ("; + protected final String TEXT_3165 = " != null && !"; + protected final String TEXT_3166 = ".equals("; + protected final String TEXT_3167 = "."; + protected final String TEXT_3168 = "()))"; + protected final String TEXT_3169 = NL + "\t\t\t\tcontinue "; + protected final String TEXT_3170 = "Loop;"; + protected final String TEXT_3171 = NL + "\t\t\tif ("; + protected final String TEXT_3172 = " != null && !(ignoreCase ? "; + protected final String TEXT_3173 = ".equalsIgnoreCase("; + protected final String TEXT_3174 = "."; + protected final String TEXT_3175 = "()) : "; + protected final String TEXT_3176 = ".equals("; + protected final String TEXT_3177 = "."; + protected final String TEXT_3178 = "())))"; + protected final String TEXT_3179 = NL + "\t\t\tif ("; + protected final String TEXT_3180 = " != null && !"; + protected final String TEXT_3181 = ".equals("; + protected final String TEXT_3182 = "."; + protected final String TEXT_3183 = "()))"; + protected final String TEXT_3184 = NL + "\t\t\t\tcontinue "; + protected final String TEXT_3185 = "Loop;"; + protected final String TEXT_3186 = NL + "\t\t\treturn "; + protected final String TEXT_3187 = ";" + NL + "\t\t}"; + protected final String TEXT_3188 = NL + "\t\treturn createOnDemand"; + protected final String TEXT_3189 = " && eClass != null"; + protected final String TEXT_3190 = " ? create"; + protected final String TEXT_3191 = "("; + protected final String TEXT_3192 = ", eClass"; + protected final String TEXT_3193 = ") : null;"; + protected final String TEXT_3194 = NL + "\t\treturn null;"; + protected final String TEXT_3195 = NL + "\t}" + NL; + protected final String TEXT_3196 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic boolean isSet"; + protected final String TEXT_3197 = "()" + NL + "\t{"; + protected final String TEXT_3198 = NL + " \t\treturn false;"; + protected final String TEXT_3199 = NL + "\t\treturn eIsSet("; + protected final String TEXT_3200 = ");"; + protected final String TEXT_3201 = NL + "\t\treturn !(("; + protected final String TEXT_3202 = ".Internal.Wrapper)"; + protected final String TEXT_3203 = "()).featureMap().isEmpty();"; + protected final String TEXT_3204 = NL + "\t\treturn "; + protected final String TEXT_3205 = " != null && !"; + protected final String TEXT_3206 = ".featureMap().isEmpty();"; + protected final String TEXT_3207 = NL + "\t\treturn "; + protected final String TEXT_3208 = " != null && !"; + protected final String TEXT_3209 = ".isEmpty();"; + protected final String TEXT_3210 = NL + "\t\t"; + protected final String TEXT_3211 = " "; + protected final String TEXT_3212 = " = ("; + protected final String TEXT_3213 = ")eVirtualGet("; + protected final String TEXT_3214 = ");" + NL + "\t\treturn "; + protected final String TEXT_3215 = " != null && !"; + protected final String TEXT_3216 = ".isEmpty();"; + protected final String TEXT_3217 = NL + "\t\treturn !"; + protected final String TEXT_3218 = "().isEmpty();"; + protected final String TEXT_3219 = NL + "\t\treturn "; + protected final String TEXT_3220 = " != null;"; + protected final String TEXT_3221 = NL + "\t\treturn eVirtualGet("; + protected final String TEXT_3222 = ") != null;"; + protected final String TEXT_3223 = NL + "\t\treturn basicGet"; + protected final String TEXT_3224 = "() != null;"; protected final String TEXT_3225 = NL + "\t\treturn "; - protected final String TEXT_3226 = "() != null;"; - protected final String TEXT_3227 = NL + "\t\t\t\treturn (("; - protected final String TEXT_3228 = " & "; - protected final String TEXT_3229 = "_EFLAG) != 0) != "; - protected final String TEXT_3230 = ";"; - protected final String TEXT_3231 = NL + "\t\t\t\treturn ("; + protected final String TEXT_3226 = " != null;"; + protected final String TEXT_3227 = NL + "\t\treturn eVirtualGet("; + protected final String TEXT_3228 = ") != null;"; + protected final String TEXT_3229 = NL + "\t\treturn "; + protected final String TEXT_3230 = "() != null;"; + protected final String TEXT_3231 = NL + "\t\t\t\treturn (("; protected final String TEXT_3232 = " & "; - protected final String TEXT_3233 = "_EFLAG) != "; - protected final String TEXT_3234 = "_EFLAG_DEFAULT;"; - protected final String TEXT_3235 = NL + "\t\treturn "; - protected final String TEXT_3236 = " != "; - protected final String TEXT_3237 = ";"; - protected final String TEXT_3238 = NL + "\t\treturn eVirtualGet("; - protected final String TEXT_3239 = ", "; - protected final String TEXT_3240 = ") != "; + protected final String TEXT_3233 = "_EFLAG) != 0) != "; + protected final String TEXT_3234 = ";"; + protected final String TEXT_3235 = NL + "\t\t\t\treturn ("; + protected final String TEXT_3236 = " & "; + protected final String TEXT_3237 = "_EFLAG) != "; + protected final String TEXT_3238 = "_EFLAG_DEFAULT;"; + protected final String TEXT_3239 = NL + "\t\treturn "; + protected final String TEXT_3240 = " != "; protected final String TEXT_3241 = ";"; - protected final String TEXT_3242 = NL + "\t\treturn "; - protected final String TEXT_3243 = "() != "; - protected final String TEXT_3244 = ";"; - protected final String TEXT_3245 = NL + "\t\treturn "; - protected final String TEXT_3246 = " == null ? "; - protected final String TEXT_3247 = " != null : !"; - protected final String TEXT_3248 = ".equals("; - protected final String TEXT_3249 = ");"; - protected final String TEXT_3250 = NL + "\t\t"; - protected final String TEXT_3251 = " "; - protected final String TEXT_3252 = " = ("; - protected final String TEXT_3253 = ")eVirtualGet("; - protected final String TEXT_3254 = ", "; - protected final String TEXT_3255 = ");" + NL + "\t\treturn "; - protected final String TEXT_3256 = " == null ? "; - protected final String TEXT_3257 = " != null : !"; - protected final String TEXT_3258 = ".equals("; - protected final String TEXT_3259 = ");"; - protected final String TEXT_3260 = NL + "\t\treturn "; - protected final String TEXT_3261 = " == null ? "; - protected final String TEXT_3262 = "() != null : !"; - protected final String TEXT_3263 = ".equals("; - protected final String TEXT_3264 = "());"; - protected final String TEXT_3265 = NL + "\t\treturn eIsSet("; - protected final String TEXT_3266 = ");"; - protected final String TEXT_3267 = NL + "\t\t"; - protected final String TEXT_3268 = " "; - protected final String TEXT_3269 = " = ("; - protected final String TEXT_3270 = ")eVirtualGet("; - protected final String TEXT_3271 = ");"; - protected final String TEXT_3272 = NL + "\t\treturn "; - protected final String TEXT_3273 = " != null && (("; - protected final String TEXT_3274 = ".Unsettable"; - protected final String TEXT_3275 = ")"; - protected final String TEXT_3276 = ").isSet();"; - protected final String TEXT_3277 = NL + "\t\treturn eVirtualIsSet("; - protected final String TEXT_3278 = ");"; - protected final String TEXT_3279 = NL + "\t\treturn ("; - protected final String TEXT_3280 = " & "; - protected final String TEXT_3281 = "_ESETFLAG) != 0;"; - protected final String TEXT_3282 = NL + "\t\treturn "; - protected final String TEXT_3283 = "ESet;"; - protected final String TEXT_3284 = NL + "\t\treturn !(("; - protected final String TEXT_3285 = ".Internal)(("; - protected final String TEXT_3286 = ".Internal.Wrapper)get"; - protected final String TEXT_3287 = "()).featureMap()).isEmpty("; - protected final String TEXT_3288 = ");"; - protected final String TEXT_3289 = NL + "\t\treturn !(("; - protected final String TEXT_3290 = ".Internal)get"; - protected final String TEXT_3291 = "()).isEmpty("; + protected final String TEXT_3242 = NL + "\t\treturn eVirtualGet("; + protected final String TEXT_3243 = ", "; + protected final String TEXT_3244 = ") != "; + protected final String TEXT_3245 = ";"; + protected final String TEXT_3246 = NL + "\t\treturn "; + protected final String TEXT_3247 = "() != "; + protected final String TEXT_3248 = ";"; + protected final String TEXT_3249 = NL + "\t\treturn "; + protected final String TEXT_3250 = " == null ? "; + protected final String TEXT_3251 = " != null : !"; + protected final String TEXT_3252 = ".equals("; + protected final String TEXT_3253 = ");"; + protected final String TEXT_3254 = NL + "\t\t"; + protected final String TEXT_3255 = " "; + protected final String TEXT_3256 = " = ("; + protected final String TEXT_3257 = ")eVirtualGet("; + protected final String TEXT_3258 = ", "; + protected final String TEXT_3259 = ");" + NL + "\t\treturn "; + protected final String TEXT_3260 = " == null ? "; + protected final String TEXT_3261 = " != null : !"; + protected final String TEXT_3262 = ".equals("; + protected final String TEXT_3263 = ");"; + protected final String TEXT_3264 = NL + "\t\treturn "; + protected final String TEXT_3265 = " == null ? "; + protected final String TEXT_3266 = "() != null : !"; + protected final String TEXT_3267 = ".equals("; + protected final String TEXT_3268 = "());"; + protected final String TEXT_3269 = NL + "\t\treturn eIsSet("; + protected final String TEXT_3270 = ");"; + protected final String TEXT_3271 = NL + "\t\t"; + protected final String TEXT_3272 = " "; + protected final String TEXT_3273 = " = ("; + protected final String TEXT_3274 = ")eVirtualGet("; + protected final String TEXT_3275 = ");"; + protected final String TEXT_3276 = NL + "\t\treturn "; + protected final String TEXT_3277 = " != null && (("; + protected final String TEXT_3278 = ".Unsettable"; + protected final String TEXT_3279 = ")"; + protected final String TEXT_3280 = ").isSet();"; + protected final String TEXT_3281 = NL + "\t\treturn eVirtualIsSet("; + protected final String TEXT_3282 = ");"; + protected final String TEXT_3283 = NL + "\t\treturn ("; + protected final String TEXT_3284 = " & "; + protected final String TEXT_3285 = "_ESETFLAG) != 0;"; + protected final String TEXT_3286 = NL + "\t\treturn "; + protected final String TEXT_3287 = "ESet;"; + protected final String TEXT_3288 = NL + "\t\treturn !(("; + protected final String TEXT_3289 = ".Internal)(("; + protected final String TEXT_3290 = ".Internal.Wrapper)get"; + protected final String TEXT_3291 = "()).featureMap()).isEmpty("; protected final String TEXT_3292 = ");"; - protected final String TEXT_3293 = NL + "\t\treturn "; - protected final String TEXT_3294 = "."; - protected final String TEXT_3295 = "(this);"; - protected final String TEXT_3296 = NL + "\t\t// TODO: implement this method to return whether the '"; - protected final String TEXT_3297 = "' "; - protected final String TEXT_3298 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_3299 = NL + "\t}" + NL; - protected final String TEXT_3300 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_3301 = NL + "\t@Override"; - protected final String TEXT_3302 = NL + "\tpublic "; - protected final String TEXT_3303 = " "; - protected final String TEXT_3304 = "("; - protected final String TEXT_3305 = ")"; - protected final String TEXT_3306 = NL + "\t{"; - protected final String TEXT_3307 = NL + "\t\t"; + protected final String TEXT_3293 = NL + "\t\treturn !(("; + protected final String TEXT_3294 = ".Internal)get"; + protected final String TEXT_3295 = "()).isEmpty("; + protected final String TEXT_3296 = ");"; + protected final String TEXT_3297 = NL + "\t\treturn "; + protected final String TEXT_3298 = "."; + protected final String TEXT_3299 = "(this);"; + protected final String TEXT_3300 = NL + "\t\t// TODO: implement this method to return whether the '"; + protected final String TEXT_3301 = "' "; + protected final String TEXT_3302 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_3303 = NL + "\t}" + NL; + protected final String TEXT_3304 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3305 = NL + "\t@Override"; + protected final String TEXT_3306 = NL + "\tpublic "; + protected final String TEXT_3307 = " "; protected final String TEXT_3308 = "("; - protected final String TEXT_3309 = ");"; - protected final String TEXT_3310 = NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_3311 = NL + "\t\treturn "; + protected final String TEXT_3309 = ")"; + protected final String TEXT_3310 = NL + "\t{"; + protected final String TEXT_3311 = NL + "\t\t"; protected final String TEXT_3312 = "("; protected final String TEXT_3313 = ");"; - protected final String TEXT_3314 = NL + "\t}" + NL; - protected final String TEXT_3315 = NL + "} //"; - protected final String TEXT_3316 = NL; + protected final String TEXT_3314 = NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_3315 = NL + "\t\treturn "; + protected final String TEXT_3316 = "("; + protected final String TEXT_3317 = ");"; + protected final String TEXT_3318 = NL + "\t}" + NL; + protected final String TEXT_3319 = NL + "} //"; + protected final String TEXT_3320 = NL; public String generate(Object argument) { @@ -4550,2368 +4554,2373 @@ if (index != -1) { head = typeName.substring(0, index); tail = typeName.substrin } else if (genClass.getGetAccessorOperation(genFeature) != null) { stringBuffer.append(TEXT_512); stringBuffer.append(genClass.getGetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer))); + } else if (genFeature.hasGetterBody()) { + stringBuffer.append(TEXT_513); + stringBuffer.append(genFeature.getGetterBody(genModel.getIndentation(stringBuffer))); } else { { GenOperation genOperation = UML2GenModelUtil.getImplementedCollidingGetGenOperation(genClass, genFeature); if (genOperation != null && UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { if (UML2GenModelUtil.isCacheAdapterSupport(genModel) && UML2GenModelUtil.isCached(genOperation)) { - stringBuffer.append(TEXT_513); - stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); stringBuffer.append(TEXT_514); - if (genModel.useGenerics() && genOperation.isUncheckedCast()) { + stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); stringBuffer.append(TEXT_515); - } + if (genModel.useGenerics() && genOperation.isUncheckedCast()) { stringBuffer.append(TEXT_516); - stringBuffer.append(genOperation.getObjectType(genClass)); + } stringBuffer.append(TEXT_517); stringBuffer.append(genOperation.getObjectType(genClass)); stringBuffer.append(TEXT_518); - if (UML2GenModelUtil.isResourceCacheAdapterScope(genOperation)) { + stringBuffer.append(genOperation.getObjectType(genClass)); stringBuffer.append(TEXT_519); - } + if (UML2GenModelUtil.isResourceCacheAdapterScope(genOperation)) { stringBuffer.append(TEXT_520); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + } stringBuffer.append(TEXT_521); - if (UML2GenModelUtil.isResourceCacheAdapterScope(genOperation)) { + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_522); - } + if (UML2GenModelUtil.isResourceCacheAdapterScope(genOperation)) { stringBuffer.append(TEXT_523); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + } stringBuffer.append(TEXT_524); - if (genOperation.isPrimitiveType()) { + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_525); - stringBuffer.append(genOperation.getObjectType(genClass)); + if (genOperation.isPrimitiveType()) { stringBuffer.append(TEXT_526); + stringBuffer.append(genOperation.getObjectType(genClass)); + stringBuffer.append(TEXT_527); } stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); - stringBuffer.append(TEXT_527); - stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_528); - if (genOperation.isPrimitiveType()) { + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_529); - } - stringBuffer.append(TEXT_530); if (genOperation.isPrimitiveType()) { + stringBuffer.append(TEXT_530); + } stringBuffer.append(TEXT_531); - stringBuffer.append(genOperation.getPrimitiveValueFunction()); + if (genOperation.isPrimitiveType()) { stringBuffer.append(TEXT_532); - } + stringBuffer.append(genOperation.getPrimitiveValueFunction()); stringBuffer.append(TEXT_533); } stringBuffer.append(TEXT_534); - stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); + } stringBuffer.append(TEXT_535); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_536); + stringBuffer.append(genOperation.getName()); + stringBuffer.append(TEXT_537); } else if (UML2GenModelUtil.getImplementedUnionGenFeatures(genClass).contains(genFeature)) { if (genFeature.isListType()) { if (UML2GenModelUtil.isDerivedUnionListType(genClass, genFeature)) { if (UML2GenModelUtil.isCacheAdapterSupport(genModel) && UML2GenModelUtil.isCached(genFeature)) { - stringBuffer.append(TEXT_537); - stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); stringBuffer.append(TEXT_538); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); + stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); stringBuffer.append(TEXT_539); - if (genModel.useGenerics() && genFeature.isUncheckedCast()) { + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); stringBuffer.append(TEXT_540); - } + if (genModel.useGenerics() && genFeature.isUncheckedCast()) { stringBuffer.append(TEXT_541); - stringBuffer.append(genFeature.getImportedType(genClass)); + } stringBuffer.append(TEXT_542); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_543); stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_543); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_544); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_545); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_546); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_547); + stringBuffer.append(TEXT_546); stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_547); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_548); - stringBuffer.append(genClass.getListConstructor(genFeature)); - stringBuffer.append(TEXT_549); stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_549); + stringBuffer.append(genClass.getListConstructor(genFeature)); stringBuffer.append(TEXT_550); - } + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_551); - stringBuffer.append(genClass.getListConstructor(genFeature)); + } stringBuffer.append(TEXT_552); + stringBuffer.append(genClass.getListConstructor(genFeature)); + stringBuffer.append(TEXT_553); } else { if (UML2GenModelUtil.isCacheAdapterSupport(genModel) && UML2GenModelUtil.isCached(genFeature)) { - stringBuffer.append(TEXT_553); - stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); stringBuffer.append(TEXT_554); - if (UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { + stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); stringBuffer.append(TEXT_555); - stringBuffer.append(genModel.getImportedName("java.lang.reflect.Method")); + if (UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { stringBuffer.append(TEXT_556); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("java.lang.reflect.Method")); stringBuffer.append(TEXT_557); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_558); stringBuffer.append(genModel.getNonNLS()); if (genModel.useGenerics() && genFeature.isUncheckedCast()) { - stringBuffer.append(TEXT_558); - } stringBuffer.append(TEXT_559); - stringBuffer.append(genFeature.getImportedType(genClass)); + } stringBuffer.append(TEXT_560); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_561); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_562); + stringBuffer.append(TEXT_561); stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_562); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_563); - stringBuffer.append(genModel.getImportedName("java.util.List")); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_564); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("java.util.List")); stringBuffer.append(TEXT_565); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.UniqueEList")); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_566); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.UniqueEList")); stringBuffer.append(TEXT_567); - stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.UnionEObjectEList")); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_568); - if (UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { + stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.UnionEObjectEList")); stringBuffer.append(TEXT_569); + if (UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { + stringBuffer.append(TEXT_570); } else { stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); } - stringBuffer.append(TEXT_570); - stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_571); - stringBuffer.append(genModel.getImportedName("java.lang.NoSuchMethodException")); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_572); + stringBuffer.append(genModel.getImportedName("java.lang.NoSuchMethodException")); + stringBuffer.append(TEXT_573); } else { if (genModel.useGenerics() && genFeature.isUncheckedCast()) { - stringBuffer.append(TEXT_573); - } stringBuffer.append(TEXT_574); - stringBuffer.append(genFeature.getImportedType(genClass)); + } stringBuffer.append(TEXT_575); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_576); stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_576); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_577); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_578); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_579); - stringBuffer.append(genModel.getImportedName("java.util.List")); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_580); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("java.util.List")); stringBuffer.append(TEXT_581); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.UniqueEList")); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_582); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.UniqueEList")); stringBuffer.append(TEXT_583); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_584); - stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.UnionEObjectEList")); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_585); - if (UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { + stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.UnionEObjectEList")); stringBuffer.append(TEXT_586); + if (UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { + stringBuffer.append(TEXT_587); } else { stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); } - stringBuffer.append(TEXT_587); - stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_588); - } + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_589); } stringBuffer.append(TEXT_590); - stringBuffer.append(genModel.getImportedName("java.util.List")); + } stringBuffer.append(TEXT_591); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("java.util.List")); stringBuffer.append(TEXT_592); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.UniqueEList")); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_593); - stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.UnionEObjectEList")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.UniqueEList")); stringBuffer.append(TEXT_594); - if (UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { + stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.UnionEObjectEList")); stringBuffer.append(TEXT_595); + if (UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { + stringBuffer.append(TEXT_596); } else { stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); } - stringBuffer.append(TEXT_596); + stringBuffer.append(TEXT_597); } } else { for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature)) { if (!genClass.getExtendedGenFeatures().contains(subsetGenFeature)) { if (subsetGenFeature.isIsSet() || UML2GenModelUtil.isUnion(subsetGenFeature) || UML2GenModelUtil.isRedefinition(subsetGenFeature) || UML2GenModelUtil.isRedefined(genClass, subsetGenFeature)) { - stringBuffer.append(TEXT_597); - stringBuffer.append(subsetGenFeature.getAccessorName()); stringBuffer.append(TEXT_598); - stringBuffer.append(subsetGenFeature.getGetAccessor()); + stringBuffer.append(subsetGenFeature.getAccessorName()); stringBuffer.append(TEXT_599); + stringBuffer.append(subsetGenFeature.getGetAccessor()); + stringBuffer.append(TEXT_600); } else { if (genClass.isField(subsetGenFeature) && !subsetGenFeature.isBasicGet()) { - stringBuffer.append(TEXT_600); - stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); stringBuffer.append(TEXT_601); - stringBuffer.append(subsetGenFeature.getGetAccessor()); + stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); stringBuffer.append(TEXT_602); - } else { + stringBuffer.append(subsetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_603); - stringBuffer.append(subsetGenFeature.getImportedType(genClass)); + } else { stringBuffer.append(TEXT_604); - stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(subsetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_605); - stringBuffer.append(subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_606); stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(TEXT_606); + stringBuffer.append(subsetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_607); stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_608); + stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(TEXT_609); } } } } - stringBuffer.append(TEXT_609); - if (genClass.getExtendedGenFeatures().contains(genFeature)) { stringBuffer.append(TEXT_610); - stringBuffer.append(genFeature.getGetAccessor()); + if (genClass.getExtendedGenFeatures().contains(genFeature)) { stringBuffer.append(TEXT_611); - } else { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_612); - } + } else { stringBuffer.append(TEXT_613); } - } else { stringBuffer.append(TEXT_614); - stringBuffer.append(genFeature.getFormattedName()); + } + } else { stringBuffer.append(TEXT_615); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_616); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_617); } } //Class/getGenFeature.todo.override.javajetinc } } - stringBuffer.append(TEXT_617); + stringBuffer.append(TEXT_618); } //Class/getGenFeature.override.javajetinc } if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicGet()) { - stringBuffer.append(TEXT_618); + stringBuffer.append(TEXT_619); if (isJDK50) { //Class/basicGetGenFeature.annotations.insert.javajetinc if (genClass.getExtendedGenFeatures().contains(genFeature) || (UML2GenModelUtil.isDuplicate(genFeature) && (!UML2GenModelUtil.isRedefinition(genFeature) || genClass.getExtendedGenFeatures().contains(UML2GenModelUtil.getRedefinedGenFeatures(genFeature).iterator().next())))) { - stringBuffer.append(TEXT_619); + stringBuffer.append(TEXT_620); } } - stringBuffer.append(TEXT_620); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_621); - stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_622); - if (genModel.isDynamicDelegation()) { + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_623); - stringBuffer.append(genFeature.getImportedType(genClass)); + if (genModel.isDynamicDelegation()) { stringBuffer.append(TEXT_624); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_625); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_626); - stringBuffer.append(!genFeature.isEffectiveSuppressEMFTypes()); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_627); - } else if (genFeature.hasSettingDelegate()) { + stringBuffer.append(!genFeature.isEffectiveSuppressEMFTypes()); stringBuffer.append(TEXT_628); - if (!isJDK50 && genFeature.isPrimitiveType()) { + } else if (genFeature.hasSettingDelegate()) { stringBuffer.append(TEXT_629); - } + if (!isJDK50 && genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_630); - stringBuffer.append(genFeature.getObjectType(genClass)); + } stringBuffer.append(TEXT_631); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genFeature.getObjectType(genClass)); stringBuffer.append(TEXT_632); - if (!isJDK50 && genFeature.isPrimitiveType()) { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_633); - stringBuffer.append(genFeature.getPrimitiveValueFunction()); + if (!isJDK50 && genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_634); - } + stringBuffer.append(genFeature.getPrimitiveValueFunction()); stringBuffer.append(TEXT_635); - } else if (genFeature.isContainer()) { + } stringBuffer.append(TEXT_636); + } else if (genFeature.isContainer()) { + stringBuffer.append(TEXT_637); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_637); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_638); + stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_639); } else if (!genFeature.isVolatile()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_639); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_640); + stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_641); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_641); - } else { stringBuffer.append(TEXT_642); - stringBuffer.append(genFeature.getSafeName()); + } else { stringBuffer.append(TEXT_643); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_644); } } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_644); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_645); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_646); - stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_647); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(delegateFeature.getAccessorName()); stringBuffer.append(TEXT_648); - } else { + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_649); - stringBuffer.append(genFeature.getImportedType(genClass)); + } else { stringBuffer.append(TEXT_650); - stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_651); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(delegateFeature.getAccessorName()); stringBuffer.append(TEXT_652); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(TEXT_653); } } else { { GenOperation genOperation = UML2GenModelUtil.getImplementedCollidingGetGenOperation(genClass, genFeature); if (genOperation != null && UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { - stringBuffer.append(TEXT_653); - stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_654); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_655); + stringBuffer.append(genOperation.getName()); + stringBuffer.append(TEXT_656); } else if (UML2GenModelUtil.getImplementedUnionGenFeatures(genClass).contains(genFeature)) { for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature)) { if (!genClass.getExtendedGenFeatures().contains(subsetGenFeature)) { if (subsetGenFeature.isIsSet() || UML2GenModelUtil.isUnion(subsetGenFeature) || UML2GenModelUtil.isRedefinition(subsetGenFeature) || UML2GenModelUtil.isRedefined(genClass, subsetGenFeature)) { - stringBuffer.append(TEXT_656); - stringBuffer.append(subsetGenFeature.getAccessorName()); stringBuffer.append(TEXT_657); - if (subsetGenFeature.isBasicGet()) { + stringBuffer.append(subsetGenFeature.getAccessorName()); stringBuffer.append(TEXT_658); + if (subsetGenFeature.isBasicGet()) { + stringBuffer.append(TEXT_659); stringBuffer.append(subsetGenFeature.getAccessorName()); } else { stringBuffer.append(subsetGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_659); + stringBuffer.append(TEXT_660); } else { if (genClass.isField(subsetGenFeature)) { - stringBuffer.append(TEXT_660); - stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); stringBuffer.append(TEXT_661); - if (subsetGenFeature.isBasicGet()) { + stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); stringBuffer.append(TEXT_662); + if (subsetGenFeature.isBasicGet()) { + stringBuffer.append(TEXT_663); stringBuffer.append(subsetGenFeature.getAccessorName()); } else { stringBuffer.append(subsetGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_663); - } else { stringBuffer.append(TEXT_664); - stringBuffer.append(subsetGenFeature.getImportedType(genClass)); + } else { stringBuffer.append(TEXT_665); - stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(subsetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_666); - if (subsetGenFeature.isBasicGet()) { + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_667); + if (subsetGenFeature.isBasicGet()) { + stringBuffer.append(TEXT_668); stringBuffer.append(subsetGenFeature.getAccessorName()); } else { stringBuffer.append(subsetGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_668); - stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_669); stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_670); + stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(TEXT_671); } } } } - stringBuffer.append(TEXT_671); - if (genClass.getExtendedGenFeatures().contains(genFeature)) { stringBuffer.append(TEXT_672); - stringBuffer.append(genFeature.getAccessorName()); + if (genClass.getExtendedGenFeatures().contains(genFeature)) { stringBuffer.append(TEXT_673); - } else { + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_674); - } - stringBuffer.append(TEXT_675); } else { + stringBuffer.append(TEXT_675); + } stringBuffer.append(TEXT_676); - stringBuffer.append(genFeature.getFormattedName()); + } else { stringBuffer.append(TEXT_677); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_678); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_679); } } //Class/basicGetGenFeature.todo.override.javajetinc } - stringBuffer.append(TEXT_679); + stringBuffer.append(TEXT_680); //Class/basicGetGenFeature.override.javajetinc } if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicSet()) { - stringBuffer.append(TEXT_680); + stringBuffer.append(TEXT_681); if (isJDK50) { //Class/basicSetGenFeature.annotations.insert.javajetinc if (genClass.getExtendedGenFeatures().contains(genFeature) || (UML2GenModelUtil.isDuplicate(genFeature) && (!UML2GenModelUtil.isRedefinition(genFeature) || genClass.getExtendedGenFeatures().contains(UML2GenModelUtil.getRedefinedGenFeatures(genFeature).iterator().next())))) { - stringBuffer.append(TEXT_681); + stringBuffer.append(TEXT_682); } } - stringBuffer.append(TEXT_682); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_683); - stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_684); - stringBuffer.append(genFeature.getImportedInternalType(genClass)); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_685); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getImportedInternalType(genClass)); stringBuffer.append(TEXT_686); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_687); - if (genFeature.isContainer()) { + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_688); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); + if (genFeature.isContainer()) { stringBuffer.append(TEXT_689); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_690); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_691); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_691); - if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false).isEmpty() || !UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true).isEmpty()) { stringBuffer.append(TEXT_692); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); + if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false).isEmpty() || !UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true).isEmpty()) { stringBuffer.append(TEXT_693); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); + stringBuffer.append(TEXT_694); for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false)) { if (subsetGenFeature.isContainer()) { - stringBuffer.append(TEXT_694); - stringBuffer.append(subsetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_695); - stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(subsetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_696); - stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_697); - } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { + stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_698); - stringBuffer.append(subsetGenFeature.getSafeName()); + } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { stringBuffer.append(TEXT_699); - stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_700); - } + stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); stringBuffer.append(TEXT_701); - stringBuffer.append(subsetGenFeature.getSafeName()); + } stringBuffer.append(TEXT_702); stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_703); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_704); - stringBuffer.append(subsetGenFeature.getAccessorName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_705); + stringBuffer.append(subsetGenFeature.getAccessorName()); + stringBuffer.append(TEXT_706); } for (GenFeature supersetGenFeature : UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true)) { - stringBuffer.append(TEXT_706); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_707); - if (supersetGenFeature.isListType()) { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_708); - stringBuffer.append(supersetGenFeature.getImportedType(genClass)); + if (supersetGenFeature.isListType()) { stringBuffer.append(TEXT_709); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_710); - stringBuffer.append(supersetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_711); stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(TEXT_711); + stringBuffer.append(supersetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_712); - stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_713); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_714); + stringBuffer.append(TEXT_713); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_714); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_715); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_716); } else { if (supersetGenFeature.isContainer()) { - stringBuffer.append(TEXT_716); - stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_717); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_718); - stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_719); - } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { + stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_720); - stringBuffer.append(supersetGenFeature.getSafeName()); + } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { stringBuffer.append(TEXT_721); - stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_722); - } + stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); stringBuffer.append(TEXT_723); - stringBuffer.append(genFeature.getCapName()); + } stringBuffer.append(TEXT_724); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_725); - stringBuffer.append(supersetGenFeature.getAccessorName()); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_726); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(supersetGenFeature.getAccessorName()); stringBuffer.append(TEXT_727); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_728); } stringBuffer.append(TEXT_729); } stringBuffer.append(TEXT_730); - } else if (genModel.isDynamicDelegation()) { + } stringBuffer.append(TEXT_731); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); + } else if (genModel.isDynamicDelegation()) { stringBuffer.append(TEXT_732); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_733); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_734); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_734); - if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false).isEmpty() || !UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true).isEmpty()) { stringBuffer.append(TEXT_735); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); + if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false).isEmpty() || !UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true).isEmpty()) { stringBuffer.append(TEXT_736); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); + stringBuffer.append(TEXT_737); for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false)) { if (subsetGenFeature.isContainer()) { - stringBuffer.append(TEXT_737); - stringBuffer.append(subsetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_738); - stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(subsetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_739); - stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_740); - } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { + stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_741); - stringBuffer.append(subsetGenFeature.getSafeName()); + } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { stringBuffer.append(TEXT_742); - stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_743); - } + stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); stringBuffer.append(TEXT_744); - stringBuffer.append(subsetGenFeature.getSafeName()); + } stringBuffer.append(TEXT_745); stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_746); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_747); - stringBuffer.append(subsetGenFeature.getAccessorName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_748); + stringBuffer.append(subsetGenFeature.getAccessorName()); + stringBuffer.append(TEXT_749); } for (GenFeature supersetGenFeature : UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true)) { - stringBuffer.append(TEXT_749); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_750); - if (supersetGenFeature.isListType()) { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_751); - stringBuffer.append(supersetGenFeature.getImportedType(genClass)); + if (supersetGenFeature.isListType()) { stringBuffer.append(TEXT_752); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_753); - stringBuffer.append(supersetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_754); stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(TEXT_754); + stringBuffer.append(supersetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_755); - stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_756); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_757); + stringBuffer.append(TEXT_756); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_757); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_758); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_759); } else { if (supersetGenFeature.isContainer()) { - stringBuffer.append(TEXT_759); - stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_760); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_761); - stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_762); - } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { + stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_763); - stringBuffer.append(supersetGenFeature.getSafeName()); + } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { stringBuffer.append(TEXT_764); - stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_765); - } + stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); stringBuffer.append(TEXT_766); - stringBuffer.append(genFeature.getCapName()); + } stringBuffer.append(TEXT_767); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_768); - stringBuffer.append(supersetGenFeature.getAccessorName()); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_769); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(supersetGenFeature.getAccessorName()); stringBuffer.append(TEXT_770); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_771); } stringBuffer.append(TEXT_772); } stringBuffer.append(TEXT_773); + } + stringBuffer.append(TEXT_774); } else if (!genFeature.isVolatile()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_774); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_775); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_776); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_776); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_777); - } else { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_778); - stringBuffer.append(genFeature.getImportedType(genClass)); + } else { stringBuffer.append(TEXT_779); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_780); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_781); stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_782); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_783); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_784); } if (genFeature.isUnsettable()) { if (genModel.isVirtualDelegation()) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_784); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_785); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_786); } } else if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_786); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_787); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_788); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_789); - if (!genModel.isSuppressNotification()) { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_790); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + if (!genModel.isSuppressNotification()) { stringBuffer.append(TEXT_791); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_792); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_793); } } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_793); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_794); - stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_795); - } - stringBuffer.append(TEXT_796); stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_796); + } stringBuffer.append(TEXT_797); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_798); } } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_798); - if (genFeature.isUnsettable()) { stringBuffer.append(TEXT_799); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); + if (genFeature.isUnsettable()) { stringBuffer.append(TEXT_800); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_801); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_802); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(TEXT_803); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_803); - if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_804); - stringBuffer.append(genFeature.getCapName()); - } else { + if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_805); stringBuffer.append(genFeature.getCapName()); - } + } else { stringBuffer.append(TEXT_806); stringBuffer.append(genFeature.getCapName()); + } stringBuffer.append(TEXT_807); - if (genModel.isVirtualDelegation()) { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_808); - } else { + if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_809); - stringBuffer.append(genFeature.getCapName()); + } else { stringBuffer.append(TEXT_810); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_811); - } else { + } stringBuffer.append(TEXT_812); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); + } else { stringBuffer.append(TEXT_813); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_814); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_815); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(TEXT_816); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_816); - if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_817); - stringBuffer.append(genFeature.getCapName()); + if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_818); stringBuffer.append(genFeature.getCapName()); - } else { stringBuffer.append(TEXT_819); stringBuffer.append(genFeature.getCapName()); - } + } else { stringBuffer.append(TEXT_820); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_821); } + stringBuffer.append(TEXT_821); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_822); } - if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false).isEmpty() || !UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true).isEmpty()) { stringBuffer.append(TEXT_823); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); + } + if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false).isEmpty() || !UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true).isEmpty()) { stringBuffer.append(TEXT_824); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); + stringBuffer.append(TEXT_825); for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false)) { if (subsetGenFeature.isContainer()) { - stringBuffer.append(TEXT_825); - stringBuffer.append(subsetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_826); - stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(subsetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_827); - stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_828); - } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { + stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_829); - stringBuffer.append(subsetGenFeature.getSafeName()); + } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { stringBuffer.append(TEXT_830); - stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_831); - } + stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); stringBuffer.append(TEXT_832); - stringBuffer.append(subsetGenFeature.getSafeName()); + } stringBuffer.append(TEXT_833); stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_834); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_835); - stringBuffer.append(subsetGenFeature.getAccessorName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_836); + stringBuffer.append(subsetGenFeature.getAccessorName()); + stringBuffer.append(TEXT_837); } for (GenFeature supersetGenFeature : UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true)) { - stringBuffer.append(TEXT_837); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_838); - if (supersetGenFeature.isListType()) { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_839); - stringBuffer.append(supersetGenFeature.getImportedType(genClass)); + if (supersetGenFeature.isListType()) { stringBuffer.append(TEXT_840); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_841); - stringBuffer.append(supersetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_842); stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(TEXT_842); + stringBuffer.append(supersetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_843); - stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_844); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_845); + stringBuffer.append(TEXT_844); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_845); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_846); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_847); } else { if (supersetGenFeature.isContainer()) { - stringBuffer.append(TEXT_847); - stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_848); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_849); - stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_850); - } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { + stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_851); - stringBuffer.append(supersetGenFeature.getSafeName()); + } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { stringBuffer.append(TEXT_852); - stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_853); - } + stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); stringBuffer.append(TEXT_854); - stringBuffer.append(genFeature.getCapName()); + } stringBuffer.append(TEXT_855); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_856); - stringBuffer.append(supersetGenFeature.getAccessorName()); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_857); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(supersetGenFeature.getAccessorName()); stringBuffer.append(TEXT_858); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_859); } stringBuffer.append(TEXT_860); } stringBuffer.append(TEXT_861); + } + stringBuffer.append(TEXT_862); } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_862); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_863); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_864); - stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_865); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(delegateFeature.getAccessorName()); stringBuffer.append(TEXT_866); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_867); - } else { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_868); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); + } else { stringBuffer.append(TEXT_869); - stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_870); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(delegateFeature.getAccessorName()); stringBuffer.append(TEXT_871); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_872); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_873); } } else { - stringBuffer.append(TEXT_873); - stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_874); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_875); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_876); //Class/basicSetGenFeature.todo.override.javajetinc } - stringBuffer.append(TEXT_876); + stringBuffer.append(TEXT_877); //Class/basicSetGenFeature.override.javajetinc } if (genFeature.isSet() && (isImplementation || !genFeature.isSuppressedSetVisibility())) { if (isInterface) { - stringBuffer.append(TEXT_877); - stringBuffer.append(genClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_878); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_879); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_880); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_881); + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_882); - stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_883); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_884); - if (genFeature.isEnumType()) { + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_885); + if (genFeature.isEnumType()) { + stringBuffer.append(TEXT_886); stringBuffer.append(genFeature.getTypeGenEnum().getQualifiedName()); } if (genFeature.isUnsettable()) { if (!genFeature.isSuppressedIsSetVisibility()) { - stringBuffer.append(TEXT_886); - stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_887); + stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(TEXT_888); } if (!genFeature.isSuppressedUnsetVisibility()) { - stringBuffer.append(TEXT_888); - stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_889); + stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(TEXT_890); } } - stringBuffer.append(TEXT_890); - stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_891); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_892); //Class/setGenFeature.javadoc.override.javajetinc } else { - stringBuffer.append(TEXT_892); + stringBuffer.append(TEXT_893); if (isJDK50) { //Class/setGenFeature.annotations.insert.javajetinc if (genClass.getExtendedGenFeatures().contains(genFeature) || (UML2GenModelUtil.isDuplicate(genFeature) && (!UML2GenModelUtil.isRedefinition(genFeature) || genClass.getExtendedGenFeatures().contains(UML2GenModelUtil.getRedefinedGenFeatures(genFeature).iterator().next())))) { - stringBuffer.append(TEXT_893); + stringBuffer.append(TEXT_894); } } } if (!isImplementation) { - stringBuffer.append(TEXT_894); - stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_895); - stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_896); - } else { GenOperation setAccessorOperation = genClass.getSetAccessorOperation(genFeature); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_897); + } else { GenOperation setAccessorOperation = genClass.getSetAccessorOperation(genFeature); + stringBuffer.append(TEXT_898); stringBuffer.append(genFeature.getAccessorName()); if (genClass.hasCollidingSetAccessorOperation(genFeature)) { - stringBuffer.append(TEXT_898); - } stringBuffer.append(TEXT_899); - stringBuffer.append(genFeature.getImportedType(genClass)); + } stringBuffer.append(TEXT_900); - stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_901); - if (genFeature.isStringType() && UML2GenModelUtil.isSafeStrings(genModel)) { + stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName()); stringBuffer.append(TEXT_902); - stringBuffer.append(genFeature.getCapName()); + if (genFeature.isStringType() && UML2GenModelUtil.isSafeStrings(genModel)) { stringBuffer.append(TEXT_903); stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_904); - stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_905); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_905); + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_906); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_907); } if (genModel.isDynamicDelegation()) { - stringBuffer.append(TEXT_907); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_908); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_909); - if (!isJDK50 && genFeature.isPrimitiveType()) { + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_910); - stringBuffer.append(genFeature.getObjectType(genClass)); + if (!isJDK50 && genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_911); - } + stringBuffer.append(genFeature.getObjectType(genClass)); stringBuffer.append(TEXT_912); + } + stringBuffer.append(TEXT_913); stringBuffer.append(genFeature.getCapName()); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_913); - } stringBuffer.append(TEXT_914); - } else if (genModel.isReflectiveDelegation()) { + } stringBuffer.append(TEXT_915); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + } else if (genModel.isReflectiveDelegation()) { stringBuffer.append(TEXT_916); - if (!isJDK50 && genFeature.isPrimitiveType()) { + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_917); - stringBuffer.append(genFeature.getObjectType(genClass)); + if (!isJDK50 && genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_918); - } + stringBuffer.append(genFeature.getObjectType(genClass)); stringBuffer.append(TEXT_919); + } + stringBuffer.append(TEXT_920); stringBuffer.append(genFeature.getCapName()); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_920); - } stringBuffer.append(TEXT_921); - } else if (genFeature.hasSettingDelegate()) { + } stringBuffer.append(TEXT_922); - stringBuffer.append(genFeature.getUpperName()); + } else if (genFeature.hasSettingDelegate()) { stringBuffer.append(TEXT_923); - if (!isJDK50 && genFeature.isPrimitiveType()) { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_924); - stringBuffer.append(genFeature.getObjectType(genClass)); + if (!isJDK50 && genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_925); - } + stringBuffer.append(genFeature.getObjectType(genClass)); stringBuffer.append(TEXT_926); + } + stringBuffer.append(TEXT_927); stringBuffer.append(genFeature.getCapName()); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_927); - } stringBuffer.append(TEXT_928); + } + stringBuffer.append(TEXT_929); } else if (!genFeature.isVolatile()) { if (genFeature.isContainer()) { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : ""; - stringBuffer.append(TEXT_929); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_930); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_931); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_931); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_932); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil")); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_933); - stringBuffer.append(genFeature.getEObjectCast()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil")); stringBuffer.append(TEXT_934); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getEObjectCast()); stringBuffer.append(TEXT_935); - stringBuffer.append(genModel.getImportedName("java.lang.IllegalArgumentException")); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_936); - stringBuffer.append(genModel.getNonNLS()); + stringBuffer.append(genModel.getImportedName("java.lang.IllegalArgumentException")); stringBuffer.append(TEXT_937); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); + stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_938); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_939); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_940); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_940); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_941); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_942); stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature)); stringBuffer.append(reverseOffsetCorrection); - stringBuffer.append(TEXT_942); - stringBuffer.append(targetClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_943); - stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(targetClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_944); - stringBuffer.append(genFeature.getInternalTypeCast()); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_945); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getInternalTypeCast()); stringBuffer.append(TEXT_946); - if (!genModel.isSuppressNotification()) { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_947); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); + if (!genModel.isSuppressNotification()) { stringBuffer.append(TEXT_948); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_949); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(TEXT_950); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_950); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_951); stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_952); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_953); } } else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_953); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_954); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_955); stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_955); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_956); + stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_957); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_957); - } stringBuffer.append(TEXT_958); - stringBuffer.append(genFeature.getCapName()); + } stringBuffer.append(TEXT_959); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_960); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_961); stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_961); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_962); - if (!genFeature.isBidirectional()) { + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_963); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); + if (!genFeature.isBidirectional()) { stringBuffer.append(TEXT_964); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_965); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_966); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_966); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_967); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_968); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_968); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_969); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_970); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_970); - } else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : ""; stringBuffer.append(TEXT_971); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); + } else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : ""; stringBuffer.append(TEXT_972); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_973); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_974); stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature)); stringBuffer.append(reverseOffsetCorrection); - stringBuffer.append(TEXT_974); - stringBuffer.append(targetClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_975); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(targetClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_976); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_977); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_977); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_978); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_979); stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature)); stringBuffer.append(reverseOffsetCorrection); - stringBuffer.append(TEXT_979); - stringBuffer.append(targetClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_980); - } + stringBuffer.append(targetClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_981); - stringBuffer.append(genFeature.getAccessorName()); + } stringBuffer.append(TEXT_982); - stringBuffer.append(genFeature.getInternalTypeCast()); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_983); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getInternalTypeCast()); stringBuffer.append(TEXT_984); - if (genFeature.isUnsettable()) { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_985); - if (genModel.isVirtualDelegation()) { + if (genFeature.isUnsettable()) { stringBuffer.append(TEXT_986); - stringBuffer.append(genFeature.getCapName()); + if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_987); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_988); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_988); + stringBuffer.append(TEXT_989); } else if (genClass.isESetFlag(genFeature)) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_989); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_990); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_991); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_992); - } + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_993); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + } stringBuffer.append(TEXT_994); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_995); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_996); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_996); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_997); - stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_998); - } - stringBuffer.append(TEXT_999); stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_999); + } stringBuffer.append(TEXT_1000); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1001); } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1001); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1002); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1003); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(TEXT_1004); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1004); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1005); stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1006); stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1007); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1008); + } + stringBuffer.append(TEXT_1009); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1009); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1010); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1011); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(TEXT_1012); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1012); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1013); stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1014); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1015); } } } else { if (genClass.isFlag(genFeature)) { if (!genModel.isSuppressNotification()) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_1015); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1016); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1017); - stringBuffer.append(genClass.getFlagsField(genFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1018); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1019); - } else { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1020); - stringBuffer.append(genFeature.getImportedType(genClass)); + } else { stringBuffer.append(TEXT_1021); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1022); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1023); - stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1024); stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1024); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1025); stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1026); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1027); } } if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_1027); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1028); - stringBuffer.append(genClass.getFlagsField(genFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1029); - stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1030); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1031); + stringBuffer.append(TEXT_1030); stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1031); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1032); - } else { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1033); - stringBuffer.append(genFeature.getCapName()); + } else { stringBuffer.append(TEXT_1034); stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1035); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1036); - stringBuffer.append(genClass.getFlagsField(genFeature)); + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1037); stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1038); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1039); - if (isJDK50) { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1040); - stringBuffer.append(genFeature.getCapName()); + if (isJDK50) { stringBuffer.append(TEXT_1041); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1042); } else { stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1042); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1043); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1044); - stringBuffer.append(genFeature.getUpperName()); + } stringBuffer.append(TEXT_1045); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1046); } } else { if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1046); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1047); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1048); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1049); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1050); } } if (genFeature.isEnumType()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1050); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1051); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1052); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1053); - stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1054); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1054); + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1055); - } else { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1056); - stringBuffer.append(genFeature.getSafeName()); + } else { stringBuffer.append(TEXT_1057); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1058); - stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1059); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1059); + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1060); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1061); } } else { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1061); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1062); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1063); - stringBuffer.append(genFeature.getInternalTypeCast()); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1064); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getInternalTypeCast()); stringBuffer.append(TEXT_1065); - } else { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1066); - stringBuffer.append(genFeature.getSafeName()); + } else { stringBuffer.append(TEXT_1067); - stringBuffer.append(genFeature.getInternalTypeCast()); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1068); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getInternalTypeCast()); stringBuffer.append(TEXT_1069); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1070); } } if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1070); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1071); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1072); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1072); - stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1073); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1074); } } if (genFeature.isUnsettable()) { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1074); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1075); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1076); } else if (genClass.isESetFlag(genFeature)) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1076); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1077); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1078); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1079); - } + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1080); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + } stringBuffer.append(TEXT_1081); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1082); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1083); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1083); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1084); - stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1085); - } - stringBuffer.append(TEXT_1086); stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1086); + } stringBuffer.append(TEXT_1087); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1088); } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1088); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1089); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1090); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(TEXT_1091); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1091); - if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_1092); - stringBuffer.append(genFeature.getEDefault()); + if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_1093); + stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(TEXT_1094); stringBuffer.append(genFeature.getCapName()); } else { - stringBuffer.append(TEXT_1094); + stringBuffer.append(TEXT_1095); stringBuffer.append(genFeature.getCapName()); } - stringBuffer.append(TEXT_1095); - if (genClass.isFlag(genFeature)) { stringBuffer.append(TEXT_1096); + if (genClass.isFlag(genFeature)) { + stringBuffer.append(TEXT_1097); stringBuffer.append(genFeature.getCapName()); } else { stringBuffer.append(genFeature.getSafeName()); } - stringBuffer.append(TEXT_1097); - if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_1098); - } else { + if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_1099); - stringBuffer.append(genFeature.getCapName()); + } else { stringBuffer.append(TEXT_1100); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1101); } + stringBuffer.append(TEXT_1102); + } } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1102); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1103); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1104); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(TEXT_1105); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1105); - if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_1106); - stringBuffer.append(genFeature.getCapName()); + if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_1107); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1108); + stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(TEXT_1109); stringBuffer.append(genFeature.getCapName()); } else { - stringBuffer.append(TEXT_1109); + stringBuffer.append(TEXT_1110); stringBuffer.append(genFeature.getCapName()); } - stringBuffer.append(TEXT_1110); - if (genClass.isFlag(genFeature)) { stringBuffer.append(TEXT_1111); + if (genClass.isFlag(genFeature)) { + stringBuffer.append(TEXT_1112); stringBuffer.append(genFeature.getCapName()); } else { stringBuffer.append(genFeature.getSafeName()); } - stringBuffer.append(TEXT_1112); + stringBuffer.append(TEXT_1113); } } } if (!genFeature.isBasicSet()) { if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false).isEmpty() || !UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true).isEmpty()) { - stringBuffer.append(TEXT_1113); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); stringBuffer.append(TEXT_1114); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); + stringBuffer.append(TEXT_1115); for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false)) { if (subsetGenFeature.isContainer()) { - stringBuffer.append(TEXT_1115); - stringBuffer.append(subsetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1116); - stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(subsetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1117); - stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_1118); - } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { + stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1119); - stringBuffer.append(subsetGenFeature.getSafeName()); + } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { stringBuffer.append(TEXT_1120); - stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_1121); - } + stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); stringBuffer.append(TEXT_1122); - stringBuffer.append(subsetGenFeature.getSafeName()); + } stringBuffer.append(TEXT_1123); stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_1124); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_1125); - stringBuffer.append(subsetGenFeature.getAccessorName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1126); + stringBuffer.append(subsetGenFeature.getAccessorName()); + stringBuffer.append(TEXT_1127); } for (GenFeature supersetGenFeature : UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true)) { - stringBuffer.append(TEXT_1127); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1128); - if (supersetGenFeature.isListType()) { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1129); - stringBuffer.append(supersetGenFeature.getImportedType(genClass)); + if (supersetGenFeature.isListType()) { stringBuffer.append(TEXT_1130); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1131); - stringBuffer.append(supersetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1132); stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(TEXT_1132); + stringBuffer.append(supersetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1133); - stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1134); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_1135); + stringBuffer.append(TEXT_1134); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1135); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_1136); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1137); } else { if (supersetGenFeature.isContainer()) { - stringBuffer.append(TEXT_1137); - stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1138); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1139); - stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_1140); - } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { + stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1141); - stringBuffer.append(supersetGenFeature.getSafeName()); + } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { stringBuffer.append(TEXT_1142); - stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_1143); - } + stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); stringBuffer.append(TEXT_1144); - stringBuffer.append(genFeature.getCapName()); + } stringBuffer.append(TEXT_1145); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1146); - stringBuffer.append(supersetGenFeature.getAccessorName()); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_1147); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(supersetGenFeature.getAccessorName()); stringBuffer.append(TEXT_1148); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1149); } stringBuffer.append(TEXT_1150); } + stringBuffer.append(TEXT_1151); + } } } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_1151); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1152); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1153); - stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1154); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(delegateFeature.getAccessorName()); stringBuffer.append(TEXT_1155); - if (!isJDK50 && genFeature.isPrimitiveType()) { + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_1156); - stringBuffer.append(genFeature.getObjectType(genClass)); + if (!isJDK50 && genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_1157); - } + stringBuffer.append(genFeature.getObjectType(genClass)); stringBuffer.append(TEXT_1158); + } + stringBuffer.append(TEXT_1159); stringBuffer.append(genFeature.getCapName()); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1159); - } stringBuffer.append(TEXT_1160); - } else { + } stringBuffer.append(TEXT_1161); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); + } else { stringBuffer.append(TEXT_1162); - stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1163); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(delegateFeature.getAccessorName()); stringBuffer.append(TEXT_1164); - if (!isJDK50 && genFeature.isPrimitiveType()) { + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_1165); - stringBuffer.append(genFeature.getObjectType(genClass)); + if (!isJDK50 && genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_1166); - } + stringBuffer.append(genFeature.getObjectType(genClass)); stringBuffer.append(TEXT_1167); + } + stringBuffer.append(TEXT_1168); stringBuffer.append(genFeature.getCapName()); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1168); - } stringBuffer.append(TEXT_1169); } - } else if (setAccessorOperation != null) { stringBuffer.append(TEXT_1170); + } + } else if (setAccessorOperation != null) { + stringBuffer.append(TEXT_1171); stringBuffer.append(setAccessorOperation.getBody(genModel.getIndentation(stringBuffer))); } else { { GenOperation genOperation = UML2GenModelUtil.getImplementedCollidingSetGenOperation(genClass, genFeature); if (genOperation != null && UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { - stringBuffer.append(TEXT_1171); - stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_1172); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_1173); - stringBuffer.append(genOperation.getParameterNames(", ")); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1174); - } else { + stringBuffer.append(genOperation.getParameterNames(", ")); stringBuffer.append(TEXT_1175); - stringBuffer.append(genFeature.getFormattedName()); + } else { stringBuffer.append(TEXT_1176); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1177); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_1178); } } //Class/setGenFeature.todo.override.javajetinc } - stringBuffer.append(TEXT_1178); + stringBuffer.append(TEXT_1179); } //Class/setGenFeature.override.javajetinc } if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicUnset()) { - stringBuffer.append(TEXT_1179); + stringBuffer.append(TEXT_1180); if (isJDK50) { //Class/basicUnsetGenFeature.annotations.insert.javajetinc if (genClass.getExtendedGenFeatures().contains(genFeature) || (UML2GenModelUtil.isDuplicate(genFeature) && (!UML2GenModelUtil.isRedefinition(genFeature) || genClass.getExtendedGenFeatures().contains(UML2GenModelUtil.getRedefinedGenFeatures(genFeature).iterator().next())))) { - stringBuffer.append(TEXT_1180); + stringBuffer.append(TEXT_1181); } } - stringBuffer.append(TEXT_1181); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_1182); - stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1183); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); + stringBuffer.append(TEXT_1183); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1184); - if (genModel.isDynamicDelegation()) { + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_1185); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); + if (genModel.isDynamicDelegation()) { stringBuffer.append(TEXT_1186); - if (genFeature.isResolveProxies()) { + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_1187); + if (genFeature.isResolveProxies()) { + stringBuffer.append(TEXT_1188); stringBuffer.append(genFeature.getAccessorName()); } else { stringBuffer.append(genFeature.getGetAccessor()); } - stringBuffer.append(TEXT_1188); + stringBuffer.append(TEXT_1189); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1189); + stringBuffer.append(TEXT_1190); } else if (!genFeature.isVolatile()) { if (genModel.isVirtualDelegation()) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1190); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1191); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1192); + } + stringBuffer.append(TEXT_1193); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1193); + stringBuffer.append(TEXT_1194); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1194); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1195); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1196); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1197); - } - stringBuffer.append(TEXT_1198); stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1198); + } stringBuffer.append(TEXT_1199); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1200); } if (genModel.isVirtualDelegation()) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1200); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1201); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1202); } } else if (genClass.isESetFlag(genFeature)) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1202); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1203); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1204); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1205); - } + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1206); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + } stringBuffer.append(TEXT_1207); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1208); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1209); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1209); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1210); - stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1211); - } - stringBuffer.append(TEXT_1212); stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1212); + } stringBuffer.append(TEXT_1213); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1214); } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1214); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1215); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1216); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1217); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(TEXT_1218); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1218); - if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_1219); - stringBuffer.append(genFeature.getCapName()); + if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_1220); - } else { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1221); + } else { + stringBuffer.append(TEXT_1222); stringBuffer.append(genFeature.getCapName()); } - stringBuffer.append(TEXT_1222); - if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_1223); - } else { + if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_1224); - stringBuffer.append(genFeature.getCapName()); + } else { stringBuffer.append(TEXT_1225); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1226); } - } else { stringBuffer.append(TEXT_1227); - stringBuffer.append(genFeature.getFormattedName()); + } + } else { stringBuffer.append(TEXT_1228); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1229); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_1230); //Class/basicUnsetGenFeature.todo.override.javajetinc } - stringBuffer.append(TEXT_1230); + stringBuffer.append(TEXT_1231); //Class.basicUnsetGenFeature.override.javajetinc } if (genFeature.isUnset() && (isImplementation || !genFeature.isSuppressedUnsetVisibility())) { if (isInterface) { - stringBuffer.append(TEXT_1231); - stringBuffer.append(genClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_1232); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_1233); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1234); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1235); + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_1236); - if (!genFeature.isSuppressedIsSetVisibility()) { stringBuffer.append(TEXT_1237); - stringBuffer.append(genFeature.getAccessorName()); + if (!genFeature.isSuppressedIsSetVisibility()) { stringBuffer.append(TEXT_1238); - } + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1239); - stringBuffer.append(genFeature.getGetAccessor()); + } stringBuffer.append(TEXT_1240); - if (!genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1241); - stringBuffer.append(genFeature.getAccessorName()); + if (!genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) { stringBuffer.append(TEXT_1242); - stringBuffer.append(genFeature.getRawImportedBoundType()); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1243); - } + stringBuffer.append(genFeature.getRawImportedBoundType()); stringBuffer.append(TEXT_1244); + } + stringBuffer.append(TEXT_1245); //Class/unsetGenFeature.javadoc.override.javajetinc } else { - stringBuffer.append(TEXT_1245); + stringBuffer.append(TEXT_1246); if (isJDK50) { //Class/unsetGenFeature.annotations.insert.javajetinc if (genClass.getExtendedGenFeatures().contains(genFeature) || (UML2GenModelUtil.isDuplicate(genFeature) && (!UML2GenModelUtil.isRedefinition(genFeature) || genClass.getExtendedGenFeatures().contains(UML2GenModelUtil.getRedefinedGenFeatures(genFeature).iterator().next())))) { - stringBuffer.append(TEXT_1246); + stringBuffer.append(TEXT_1247); } } } if (!isImplementation) { - stringBuffer.append(TEXT_1247); - stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1248); - } else { + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1249); + } else { + stringBuffer.append(TEXT_1250); stringBuffer.append(genFeature.getAccessorName()); if (genClass.hasCollidingUnsetAccessorOperation(genFeature)) { - stringBuffer.append(TEXT_1250); - } stringBuffer.append(TEXT_1251); - if (genModel.isDynamicDelegation()) { + } stringBuffer.append(TEXT_1252); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + if (genModel.isDynamicDelegation()) { stringBuffer.append(TEXT_1253); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1254); - } else if (genModel.isReflectiveDelegation()) { - stringBuffer.append(TEXT_1255); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(TEXT_1255); + } else if (genModel.isReflectiveDelegation()) { stringBuffer.append(TEXT_1256); - } else if (genFeature.hasSettingDelegate()) { + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_1257); - stringBuffer.append(genFeature.getUpperName()); + } else if (genFeature.hasSettingDelegate()) { stringBuffer.append(TEXT_1258); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1259); } else if (!genFeature.isVolatile()) { if (genFeature.isListType()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1259); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1260); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1261); stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_1261); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1262); + stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_1263); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1263); - } stringBuffer.append(TEXT_1264); - stringBuffer.append(genFeature.getSafeName()); + } stringBuffer.append(TEXT_1265); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1266); - stringBuffer.append(singleWildcard); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); stringBuffer.append(TEXT_1267); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(singleWildcard); stringBuffer.append(TEXT_1268); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1269); } else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1269); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1270); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1271); stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_1271); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1272); + stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_1273); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1273); - } stringBuffer.append(TEXT_1274); - stringBuffer.append(genFeature.getSafeName()); + } stringBuffer.append(TEXT_1275); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1276); - if (!genFeature.isBidirectional()) { + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_1277); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); + if (!genFeature.isBidirectional()) { stringBuffer.append(TEXT_1278); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_1279); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1280); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_1280); - } else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : ""; stringBuffer.append(TEXT_1281); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); + } else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : ""; stringBuffer.append(TEXT_1282); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_1283); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1284); stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature)); stringBuffer.append(reverseOffsetCorrection); - stringBuffer.append(TEXT_1284); - stringBuffer.append(targetClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_1285); - } + stringBuffer.append(targetClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_1286); - stringBuffer.append(genFeature.getAccessorName()); + } stringBuffer.append(TEXT_1287); - if (genModel.isVirtualDelegation()) { + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1288); - stringBuffer.append(genFeature.getCapName()); + if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_1289); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1290); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1290); + stringBuffer.append(TEXT_1291); } else if (genClass.isESetFlag(genFeature)) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1291); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1292); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1293); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1294); - } + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1295); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + } stringBuffer.append(TEXT_1296); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1297); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1298); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1298); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1299); - stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1300); - } - stringBuffer.append(TEXT_1301); stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1301); + } stringBuffer.append(TEXT_1302); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1303); } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1303); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1304); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1305); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(TEXT_1306); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1306); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1307); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1308); + } + stringBuffer.append(TEXT_1309); } else { if (genClass.isFlag(genFeature)) { if (!genModel.isSuppressNotification()) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_1309); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1310); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1311); - stringBuffer.append(genClass.getFlagsField(genFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1312); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1313); - } else { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1314); - stringBuffer.append(genFeature.getImportedType(genClass)); + } else { stringBuffer.append(TEXT_1315); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1316); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1317); - stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1318); stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1318); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1319); stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1320); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1321); } } } else if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1321); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1322); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1323); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1323); + stringBuffer.append(TEXT_1324); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1324); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1325); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1326); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1327); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1328); } } if (!genModel.isSuppressNotification()) { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1328); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1329); - } else if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_1330); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1330); + } else if (genClass.isESetFlag(genFeature)) { stringBuffer.append(TEXT_1331); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1332); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1333); - } else { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1334); - stringBuffer.append(genFeature.getCapName()); + } else { stringBuffer.append(TEXT_1335); - stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1336); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1337); } } if (genFeature.isReferenceType()) { - stringBuffer.append(TEXT_1337); - stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1338); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1339); if (!genModel.isVirtualDelegation()) { if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_1339); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1340); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1341); - } else { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1342); - stringBuffer.append(genFeature.getUncapName()); + } else { stringBuffer.append(TEXT_1343); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1344); } } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1344); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1345); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1346); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(TEXT_1347); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1347); - if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_1348); - stringBuffer.append(genFeature.getCapName()); + if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_1349); - } else { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1350); + } else { + stringBuffer.append(TEXT_1351); stringBuffer.append(genFeature.getCapName()); } - stringBuffer.append(TEXT_1351); - if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_1352); - } else { + if (genModel.isVirtualDelegation()) { stringBuffer.append(TEXT_1353); - stringBuffer.append(genFeature.getCapName()); + } else { stringBuffer.append(TEXT_1354); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1355); } + stringBuffer.append(TEXT_1356); + } } else { if (genClass.isFlag(genFeature)) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_1356); - stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1357); - stringBuffer.append(genClass.getFlagsField(genFeature)); + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1358); - stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1359); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1360); + stringBuffer.append(TEXT_1359); stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1360); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1361); - } else { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1362); - stringBuffer.append(genClass.getFlagsField(genFeature)); + } else { stringBuffer.append(TEXT_1363); stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1364); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1365); stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1366); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1367); } } else if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1367); - stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1368); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1369); + stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(TEXT_1370); } if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) { if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_1370); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1371); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1372); - } else { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1373); - stringBuffer.append(genFeature.getUncapName()); + } else { stringBuffer.append(TEXT_1374); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1375); } } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1375); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1376); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); stringBuffer.append(TEXT_1377); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); + stringBuffer.append(TEXT_1378); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1378); - if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_1379); - stringBuffer.append(genFeature.getCapName()); + if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_1380); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1381); stringBuffer.append(genFeature.getEDefault()); } else { - stringBuffer.append(TEXT_1381); + stringBuffer.append(TEXT_1382); stringBuffer.append(genFeature.getCapName()); } - stringBuffer.append(TEXT_1382); - stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1383); - if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1384); - } else { + if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_1385); - stringBuffer.append(genFeature.getCapName()); + } else { stringBuffer.append(TEXT_1386); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1387); } + stringBuffer.append(TEXT_1388); + } } } } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_1388); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1389); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1390); - stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1391); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(delegateFeature.getAccessorName()); stringBuffer.append(TEXT_1392); - } else { + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_1393); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); + } else { stringBuffer.append(TEXT_1394); - stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1395); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(delegateFeature.getAccessorName()); stringBuffer.append(TEXT_1396); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(TEXT_1397); } } else if (genClass.getUnsetAccessorOperation(genFeature) != null) { - stringBuffer.append(TEXT_1397); + stringBuffer.append(TEXT_1398); stringBuffer.append(genClass.getUnsetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer))); } else { { GenOperation genOperation = UML2GenModelUtil.getImplementedCollidingUnsetGenOperation(genClass, genFeature); if (genOperation != null && UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { - stringBuffer.append(TEXT_1398); - stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_1399); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_1400); - } else { + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1401); - stringBuffer.append(genFeature.getFormattedName()); + } else { stringBuffer.append(TEXT_1402); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1403); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_1404); } } //Class/unsetGenFeature.todo.override.javajetinc } - stringBuffer.append(TEXT_1404); + stringBuffer.append(TEXT_1405); } //Class/unsetGenFeature.override.javajetinc } if (genFeature.isIsSet() && (isImplementation || !genFeature.isSuppressedIsSetVisibility())) { if (isInterface) { - stringBuffer.append(TEXT_1405); - stringBuffer.append(genClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_1406); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_1407); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1408); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1409); + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_1410); - stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1411); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1412); - if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) { + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_1413); - stringBuffer.append(genFeature.getAccessorName()); + if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) { stringBuffer.append(TEXT_1414); - } + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1415); - stringBuffer.append(genFeature.getGetAccessor()); + } stringBuffer.append(TEXT_1416); - if (!genFeature.isListType() && genFeature.isChangeable() && !genFeature.isSuppressedSetVisibility()) { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1417); - stringBuffer.append(genFeature.getAccessorName()); + if (!genFeature.isListType() && genFeature.isChangeable() && !genFeature.isSuppressedSetVisibility()) { stringBuffer.append(TEXT_1418); - stringBuffer.append(genFeature.getRawImportedBoundType()); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1419); - } + stringBuffer.append(genFeature.getRawImportedBoundType()); stringBuffer.append(TEXT_1420); + } + stringBuffer.append(TEXT_1421); //Class/isSetGenFeature.javadoc.override.javajetinc } else { - stringBuffer.append(TEXT_1421); + stringBuffer.append(TEXT_1422); if (isJDK50) { //Class/isSetGenFeature.annotations.insert.javajetinc if (genClass.getExtendedGenFeatures().contains(genFeature) || (UML2GenModelUtil.isDuplicate(genFeature) && (!UML2GenModelUtil.isRedefinition(genFeature) || genClass.getExtendedGenFeatures().contains(UML2GenModelUtil.getRedefinedGenFeatures(genFeature).iterator().next())))) { - stringBuffer.append(TEXT_1422); + stringBuffer.append(TEXT_1423); } } } if (!isImplementation) { - stringBuffer.append(TEXT_1423); - stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1424); - } else { + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1425); + } else { + stringBuffer.append(TEXT_1426); stringBuffer.append(genFeature.getAccessorName()); if (genClass.hasCollidingIsSetAccessorOperation(genFeature)) { - stringBuffer.append(TEXT_1426); - } stringBuffer.append(TEXT_1427); - if (genModel.isDynamicDelegation()) { + } stringBuffer.append(TEXT_1428); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + if (genModel.isDynamicDelegation()) { stringBuffer.append(TEXT_1429); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1430); - } else if (genModel.isReflectiveDelegation()) { - stringBuffer.append(TEXT_1431); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(TEXT_1431); + } else if (genModel.isReflectiveDelegation()) { stringBuffer.append(TEXT_1432); - } else if (genFeature.hasSettingDelegate()) { + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_1433); - stringBuffer.append(genFeature.getUpperName()); + } else if (genFeature.hasSettingDelegate()) { stringBuffer.append(TEXT_1434); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1435); } else if (!genFeature.isVolatile()) { if (genFeature.isListType()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1435); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1436); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1437); stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_1437); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1438); + stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_1439); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1439); - } stringBuffer.append(TEXT_1440); - stringBuffer.append(genFeature.getSafeName()); + } stringBuffer.append(TEXT_1441); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1442); - stringBuffer.append(singleWildcard); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); stringBuffer.append(TEXT_1443); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(singleWildcard); stringBuffer.append(TEXT_1444); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1445); } else { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1445); + stringBuffer.append(TEXT_1446); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1446); - } else if (genClass.isESetFlag(genFeature)) { stringBuffer.append(TEXT_1447); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + } else if (genClass.isESetFlag(genFeature)) { stringBuffer.append(TEXT_1448); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1449); - } else { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1450); - stringBuffer.append(genFeature.getUncapName()); + } else { stringBuffer.append(TEXT_1451); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1452); } } } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_1452); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1453); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1454); - stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1455); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(delegateFeature.getAccessorName()); stringBuffer.append(TEXT_1456); - } else { + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_1457); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); + } else { stringBuffer.append(TEXT_1458); - stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1459); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(delegateFeature.getAccessorName()); stringBuffer.append(TEXT_1460); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(TEXT_1461); } } else if (genClass.getIsSetAccessorOperation(genFeature) != null) { - stringBuffer.append(TEXT_1461); + stringBuffer.append(TEXT_1462); stringBuffer.append(genClass.getIsSetAccessorOperation(genFeature).getBody(genModel.getIndentation(stringBuffer))); } else { { GenOperation genOperation = UML2GenModelUtil.getImplementedCollidingIsSetGenOperation(genClass, genFeature); if (genOperation != null && UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { - stringBuffer.append(TEXT_1462); - stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_1463); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_1464); - } else { + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1465); - stringBuffer.append(genFeature.getFormattedName()); + } else { stringBuffer.append(TEXT_1466); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1467); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_1468); } } //Class/isSetGenFeature.todo.override.javajetinc } - stringBuffer.append(TEXT_1468); + stringBuffer.append(TEXT_1469); } //Class/isSetGenFeature.override.javajetinc } if (isImplementation && genFeature.isListType()) { if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, UML2GenModelUtil.isDerivedUnionListType(genClass, genFeature)).isEmpty()) { - stringBuffer.append(TEXT_1469); - stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1470); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1471); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1472); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_1473); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1474); - stringBuffer.append(UML2GenModelUtil.getSubsetFeatureIDArray(genClass, genFeature, UML2GenModelUtil.isDerivedUnionListType(genClass, genFeature))); + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1475); + stringBuffer.append(UML2GenModelUtil.getSubsetFeatureIDArray(genClass, genFeature, UML2GenModelUtil.isDerivedUnionListType(genClass, genFeature))); + stringBuffer.append(TEXT_1476); } if (!UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false).isEmpty()) { - stringBuffer.append(TEXT_1476); - stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1477); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1478); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1479); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_1480); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1481); - stringBuffer.append(UML2GenModelUtil.getSupersetFeatureIDArray(genClass, genFeature)); + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1482); + stringBuffer.append(UML2GenModelUtil.getSupersetFeatureIDArray(genClass, genFeature)); + stringBuffer.append(TEXT_1483); } } if (!genClass.getExtendedGenFeatures().contains(genFeature) && UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { List<GenFeature> keyGenFeatures = UML2GenModelUtil.getKeyGenFeatures(genFeature); if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { if (isInterface) { - stringBuffer.append(TEXT_1483); + if (!genFeature.isSuppressedGetVisibility()) { + stringBuffer.append(TEXT_1484); if (!keyGenFeatures.isEmpty()) { if (genFeature.isListType()) { - stringBuffer.append(TEXT_1484); - stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1485); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); + stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1486); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); stringBuffer.append(TEXT_1487); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1488); - } else { + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_1489); - stringBuffer.append(genFeature.getType(genClass)); + } else { stringBuffer.append(TEXT_1490); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); + stringBuffer.append(genFeature.getType(genClass)); stringBuffer.append(TEXT_1491); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); stringBuffer.append(TEXT_1492); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1493); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_1494); } } else { if (genFeature.isListType()) { - stringBuffer.append(TEXT_1494); - stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1495); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1496); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1497); - } else { + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_1498); - stringBuffer.append(genFeature.getType(genClass)); + } else { stringBuffer.append(TEXT_1499); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(genFeature.getType(genClass)); stringBuffer.append(TEXT_1500); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1501); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_1502); } } - stringBuffer.append(TEXT_1502); - for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { stringBuffer.append(TEXT_1503); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { stringBuffer.append(TEXT_1504); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1505); - stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); stringBuffer.append(TEXT_1506); - } - stringBuffer.append(TEXT_1507); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); + stringBuffer.append(TEXT_1507); + } stringBuffer.append(TEXT_1508); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1509); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1510); - } else { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1511); } - if (!isImplementation) { + } else { stringBuffer.append(TEXT_1512); - stringBuffer.append(genFeature.getListItemType(genClass)); + } + if (!isImplementation) { + if (!genFeature.isSuppressedGetVisibility()) { stringBuffer.append(TEXT_1513); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getListItemType(genClass)); stringBuffer.append(TEXT_1514); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1515); if (!keyGenFeatures.isEmpty()) { stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_1515); + stringBuffer.append(TEXT_1516); } stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_1516); - } else { int index = 0; - if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { stringBuffer.append(TEXT_1517); } + } else { int index = 0; + if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { stringBuffer.append(TEXT_1518); - stringBuffer.append(genFeature.getListItemType(genClass)); + } stringBuffer.append(TEXT_1519); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getListItemType(genClass)); stringBuffer.append(TEXT_1520); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1521); if (!keyGenFeatures.isEmpty()) { stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_1521); + stringBuffer.append(TEXT_1522); } stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_1522); - stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); stringBuffer.append(TEXT_1523); - stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1524); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); + stringBuffer.append(TEXT_1524); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1525); - if (genFeature.isListType()) { + stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); stringBuffer.append(TEXT_1526); - stringBuffer.append(genFeature.getGetAccessor()); + if (genFeature.isListType()) { stringBuffer.append(TEXT_1527); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1528); - } else { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1529); - stringBuffer.append(genFeature.getAccessorName()); + } else { stringBuffer.append(TEXT_1530); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1531); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1532); } for (GenFeature keyGenFeature : UML2GenModelUtil.getKeyGenFeatures(genFeature.getTypeGenClass())) { if (keyGenFeature.isContains()) { List<GenFeature> nestedKeyGenFeatures = UML2GenModelUtil.getKeyGenFeatures(keyGenFeature.getTypeGenClass(), false); boolean first = true; if (keyGenFeature.isListType()) { - stringBuffer.append(TEXT_1532); - stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1533); - for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1534); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { stringBuffer.append(TEXT_1535); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1536); @@ -6919,198 +6928,202 @@ if (index != -1) { head = typeName.substring(0, index); tail = typeName.substrin stringBuffer.append(TEXT_1537); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1538); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1539); stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1540); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1541); - index++;} + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1542); - stringBuffer.append(keyGenFeature.getUncapName()); + index++;} stringBuffer.append(TEXT_1543); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1544); - stringBuffer.append(keyGenFeature.getCapName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1545); + stringBuffer.append(keyGenFeature.getCapName()); + stringBuffer.append(TEXT_1546); for (int n = nestedKeyGenFeatures.size(); n > 0; n--) { GenFeature nestedKeyGenFeature = nestedKeyGenFeatures.get(nestedKeyGenFeatures.size() - n); if (first) { first = false; } else { - stringBuffer.append(TEXT_1546); - } stringBuffer.append(TEXT_1547); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); + } stringBuffer.append(TEXT_1548); - stringBuffer.append(nestedKeyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1549); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); + stringBuffer.append(TEXT_1549); + stringBuffer.append(nestedKeyGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1550); - } + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); stringBuffer.append(TEXT_1551); - } else { + } stringBuffer.append(TEXT_1552); - stringBuffer.append(genFeature.getCapName()); + } else { stringBuffer.append(TEXT_1553); - stringBuffer.append(keyGenFeature.getCapName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1554); + stringBuffer.append(keyGenFeature.getCapName()); + stringBuffer.append(TEXT_1555); for (int n = 0; n < nestedKeyGenFeatures.size(); n++) { if (first) { first = false; } else { - stringBuffer.append(TEXT_1555); + stringBuffer.append(TEXT_1556); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); index++;} - stringBuffer.append(TEXT_1556); + stringBuffer.append(TEXT_1557); } } else { - stringBuffer.append(TEXT_1557); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1558); - if (keyGenFeature.isListType()) { + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1559); - stringBuffer.append(genFeature.getCapName()); + if (keyGenFeature.isListType()) { stringBuffer.append(TEXT_1560); - stringBuffer.append(keyGenFeature.getGetAccessor()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1561); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(keyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1562); - } else { + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1563); - stringBuffer.append(genFeature.getCapName()); + } else { stringBuffer.append(TEXT_1564); - stringBuffer.append(keyGenFeature.getAccessorName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1565); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(keyGenFeature.getAccessorName()); stringBuffer.append(TEXT_1566); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(TEXT_1567); } index++;} } - stringBuffer.append(TEXT_1567); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1568); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1569); } } if (genClass.getChildrenClasses(genFeature).size() == 1 || !genFeature.getTypeGenClass().isAbstract()) { GenClass childGenClass = genClass.getChildrenClasses(genFeature).get(0); if (isInterface) { - stringBuffer.append(TEXT_1569); + if (!genFeature.isSuppressedGetVisibility()) { + stringBuffer.append(TEXT_1570); if (!keyGenFeatures.isEmpty()) { if (genFeature.isListType()) { - stringBuffer.append(TEXT_1570); - stringBuffer.append(childGenClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_1571); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); + stringBuffer.append(childGenClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_1572); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); stringBuffer.append(TEXT_1573); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1574); - } else { + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_1575); - stringBuffer.append(childGenClass.getQualifiedInterfaceName()); + } else { stringBuffer.append(TEXT_1576); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); + stringBuffer.append(childGenClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_1577); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); stringBuffer.append(TEXT_1578); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1579); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_1580); } } else { if (genFeature.isListType()) { - stringBuffer.append(TEXT_1580); - stringBuffer.append(childGenClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_1581); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(childGenClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_1582); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1583); - } else { + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_1584); - stringBuffer.append(childGenClass.getQualifiedInterfaceName()); + } else { stringBuffer.append(TEXT_1585); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(childGenClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_1586); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1587); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_1588); } } - stringBuffer.append(TEXT_1588); - for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { stringBuffer.append(TEXT_1589); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { stringBuffer.append(TEXT_1590); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1591); - stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); stringBuffer.append(TEXT_1592); - } + stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1593); - stringBuffer.append(childGenClass.getQualifiedInterfaceName()); + } stringBuffer.append(TEXT_1594); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(childGenClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_1595); - } else { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1596); } - if (!isImplementation) { + } else { stringBuffer.append(TEXT_1597); - stringBuffer.append(genFeature.getListItemType(genClass)); + } + if (!isImplementation) { + if (!genFeature.isSuppressedGetVisibility()) { stringBuffer.append(TEXT_1598); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getListItemType(genClass)); stringBuffer.append(TEXT_1599); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1600); - } else { int index = 0; - if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); stringBuffer.append(TEXT_1601); } + } else { int index = 0; + if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { stringBuffer.append(TEXT_1602); - stringBuffer.append(genFeature.getListItemType(genClass)); + } stringBuffer.append(TEXT_1603); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getListItemType(genClass)); stringBuffer.append(TEXT_1604); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1605); - if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); stringBuffer.append(TEXT_1606); - stringBuffer.append(genFeature.getCapName()); + if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { stringBuffer.append(TEXT_1607); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1608); if (!keyGenFeatures.isEmpty()) { stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature, false)); - stringBuffer.append(TEXT_1608); + stringBuffer.append(TEXT_1609); } stringBuffer.append(genFeature.getTypeGenClass().getQualifiedClassifierAccessor()); - stringBuffer.append(TEXT_1609); - } else { stringBuffer.append(TEXT_1610); - stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); + } else { stringBuffer.append(TEXT_1611); - stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1612); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); + stringBuffer.append(TEXT_1612); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1613); - stringBuffer.append(genFeature.getTypeGenClass().getQualifiedClassifierAccessor()); + stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); stringBuffer.append(TEXT_1614); - if (genFeature.isListType()) { + stringBuffer.append(genFeature.getTypeGenClass().getQualifiedClassifierAccessor()); stringBuffer.append(TEXT_1615); - stringBuffer.append(genFeature.getGetAccessor()); + if (genFeature.isListType()) { stringBuffer.append(TEXT_1616); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1617); - } else { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1618); - stringBuffer.append(genFeature.getAccessorName()); + } else { stringBuffer.append(TEXT_1619); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1620); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1621); } for (GenFeature keyGenFeature : UML2GenModelUtil.getKeyGenFeatures(genFeature.getTypeGenClass())) { if (keyGenFeature.isContains()) { List<GenFeature> nestedKeyGenFeatures = UML2GenModelUtil.getKeyGenFeatures(keyGenFeature.getTypeGenClass(), false); boolean first = true; if (keyGenFeature.isListType()) { - stringBuffer.append(TEXT_1621); - stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1622); - for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1623); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { stringBuffer.append(TEXT_1624); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1625); @@ -7118,1119 +7131,1129 @@ if (index != -1) { head = typeName.substring(0, index); tail = typeName.substrin stringBuffer.append(TEXT_1626); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1627); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1628); stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1629); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1630); - index++;} + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1631); - stringBuffer.append(keyGenFeature.getUncapName()); + index++;} stringBuffer.append(TEXT_1632); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1633); - stringBuffer.append(keyGenFeature.getCapName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1634); + stringBuffer.append(keyGenFeature.getCapName()); + stringBuffer.append(TEXT_1635); for (int n = nestedKeyGenFeatures.size(); n > 0; n--) { GenFeature nestedKeyGenFeature = nestedKeyGenFeatures.get(nestedKeyGenFeatures.size() - n); if (first) { first = false; } else { - stringBuffer.append(TEXT_1635); - } stringBuffer.append(TEXT_1636); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); + } stringBuffer.append(TEXT_1637); - stringBuffer.append(nestedKeyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1638); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); + stringBuffer.append(TEXT_1638); + stringBuffer.append(nestedKeyGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1639); - } + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); stringBuffer.append(TEXT_1640); - } else { + } stringBuffer.append(TEXT_1641); - stringBuffer.append(genFeature.getCapName()); + } else { stringBuffer.append(TEXT_1642); - stringBuffer.append(keyGenFeature.getCapName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1643); + stringBuffer.append(keyGenFeature.getCapName()); + stringBuffer.append(TEXT_1644); for (int n = 0; n < nestedKeyGenFeatures.size(); n++) { if (first) { first = false; } else { - stringBuffer.append(TEXT_1644); + stringBuffer.append(TEXT_1645); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); index++;} - stringBuffer.append(TEXT_1645); + stringBuffer.append(TEXT_1646); } } else { - stringBuffer.append(TEXT_1646); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1647); - if (keyGenFeature.isListType()) { + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1648); - stringBuffer.append(genFeature.getCapName()); + if (keyGenFeature.isListType()) { stringBuffer.append(TEXT_1649); - stringBuffer.append(keyGenFeature.getGetAccessor()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1650); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(keyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1651); - } else { + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1652); - stringBuffer.append(genFeature.getCapName()); + } else { stringBuffer.append(TEXT_1653); - stringBuffer.append(keyGenFeature.getAccessorName()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1654); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(keyGenFeature.getAccessorName()); stringBuffer.append(TEXT_1655); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(TEXT_1656); } index++;} } - stringBuffer.append(TEXT_1656); - stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1657); - } + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1658); } + stringBuffer.append(TEXT_1659); + } } } if (!genClass.getExtendedGenFeatures().contains(genFeature) && genFeature.isListType() && genFeature.isReferenceType()) { List<GenFeature> keyGenFeatures = UML2GenModelUtil.getKeyGenFeatures(genFeature); if (!keyGenFeatures.isEmpty()) { if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature) || UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { if (isInterface) { - stringBuffer.append(TEXT_1659); - stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); + if (!genFeature.isSuppressedGetVisibility()) { stringBuffer.append(TEXT_1660); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); + stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1661); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); stringBuffer.append(TEXT_1662); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1663); - for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_1664); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { stringBuffer.append(TEXT_1665); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1666); - stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); stringBuffer.append(TEXT_1667); - } - stringBuffer.append(TEXT_1668); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); + stringBuffer.append(TEXT_1668); + } stringBuffer.append(TEXT_1669); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); + stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1670); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); stringBuffer.append(TEXT_1671); - } else { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1672); } - if (!isImplementation) { + } else { stringBuffer.append(TEXT_1673); - stringBuffer.append(genFeature.getListItemType(genClass)); + } + if (!isImplementation) { + if (!genFeature.isSuppressedGetVisibility()) { stringBuffer.append(TEXT_1674); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getListItemType(genClass)); stringBuffer.append(TEXT_1675); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_1676); - } else { - if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); stringBuffer.append(TEXT_1677); } + } else { + if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { stringBuffer.append(TEXT_1678); - stringBuffer.append(genFeature.getListItemType(genClass)); + } stringBuffer.append(TEXT_1679); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getListItemType(genClass)); stringBuffer.append(TEXT_1680); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_1681); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1681); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); stringBuffer.append(TEXT_1682); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1683); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature, false)); if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_1683); - } - if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { stringBuffer.append(TEXT_1684); } - if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { + if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { stringBuffer.append(TEXT_1685); } + if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { stringBuffer.append(TEXT_1686); } + stringBuffer.append(TEXT_1687); + } } if (isInterface) { - stringBuffer.append(TEXT_1687); - stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); + if (!genFeature.isSuppressedGetVisibility()) { stringBuffer.append(TEXT_1688); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); + stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1689); - stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); stringBuffer.append(TEXT_1690); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1691); - for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { + stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_1692); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { stringBuffer.append(TEXT_1693); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1694); - stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); stringBuffer.append(TEXT_1695); + stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); + stringBuffer.append(TEXT_1696); } if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_1696); + stringBuffer.append(TEXT_1697); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1697); - stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1698); + stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); + stringBuffer.append(TEXT_1699); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_1699); - stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1700); - } - stringBuffer.append(TEXT_1701); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); + stringBuffer.append(TEXT_1701); + } stringBuffer.append(TEXT_1702); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); + stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_1703); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); stringBuffer.append(TEXT_1704); - } else { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1705); } - if (!isImplementation) { + } else { stringBuffer.append(TEXT_1706); - stringBuffer.append(genFeature.getListItemType(genClass)); + } + if (!isImplementation) { + if (!genFeature.isSuppressedGetVisibility()) { stringBuffer.append(TEXT_1707); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getListItemType(genClass)); stringBuffer.append(TEXT_1708); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1709); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_1709); + stringBuffer.append(TEXT_1710); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1710); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); stringBuffer.append(TEXT_1711); - } - if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); stringBuffer.append(TEXT_1712); } + if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { stringBuffer.append(TEXT_1713); - } else { int index = 0; - if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { + } stringBuffer.append(TEXT_1714); } + } else { int index = 0; + if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { stringBuffer.append(TEXT_1715); - stringBuffer.append(genFeature.getListItemType(genClass)); + } stringBuffer.append(TEXT_1716); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genFeature.getListItemType(genClass)); stringBuffer.append(TEXT_1717); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1718); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_1718); + stringBuffer.append(TEXT_1719); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1719); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); stringBuffer.append(TEXT_1720); - } - if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); stringBuffer.append(TEXT_1721); } + if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { stringBuffer.append(TEXT_1722); - if (isJDK50) { + } stringBuffer.append(TEXT_1723); - stringBuffer.append(genFeature.getUncapName()); + if (isJDK50) { stringBuffer.append(TEXT_1724); - stringBuffer.append(genModel.getImportedName(genFeature.getListItemType(genClass))); - stringBuffer.append(TEXT_1725); stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1725); + stringBuffer.append(genModel.getImportedName(genFeature.getListItemType(genClass))); stringBuffer.append(TEXT_1726); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1727); - } else { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1728); - stringBuffer.append(genFeature.getUncapName()); + } else { stringBuffer.append(TEXT_1729); - stringBuffer.append(genModel.getImportedName("java.util.Iterator")); + stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1730); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_1731); - stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1732); - stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1733); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); + stringBuffer.append(TEXT_1733); + stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1734); + stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); + stringBuffer.append(TEXT_1735); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1735); - stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1736); stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1737); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1738); } for (GenFeature keyGenFeature : UML2GenModelUtil.getKeyGenFeatures(genFeature.getTypeGenClass())) { if (keyGenFeature.isContains()) { List<GenFeature> nestedKeyGenFeatures = UML2GenModelUtil.getKeyGenFeatures(keyGenFeature.getTypeGenClass(), false); boolean first = true; if (keyGenFeature.isListType()) { - stringBuffer.append(TEXT_1738); - stringBuffer.append(keyGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1739); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(keyGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1740); - stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1741); - stringBuffer.append(keyGenFeature.getGetAccessor()); + stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1742); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(keyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1743); stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1744); + stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(TEXT_1745); for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { if (!first) { - stringBuffer.append(TEXT_1745); - } - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index + n, false)); stringBuffer.append(TEXT_1746); + } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index + n, false)); stringBuffer.append(TEXT_1747); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index + n, false)); stringBuffer.append(TEXT_1748); + stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(TEXT_1749); if (first) {first = false; } else { - stringBuffer.append(TEXT_1749); + stringBuffer.append(TEXT_1750); } } - stringBuffer.append(TEXT_1750); - stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1751); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1752); - stringBuffer.append(genModel.getImportedName(keyGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_1753); stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(TEXT_1753); + stringBuffer.append(genModel.getImportedName(keyGenFeature.getQualifiedListItemType(genClass))); stringBuffer.append(TEXT_1754); - if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) { + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1755); - stringBuffer.append(genModel.getImportedName(keyGenFeature.getQualifiedListItemType(genClass))); + if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) { stringBuffer.append(TEXT_1756); + stringBuffer.append(genModel.getImportedName(keyGenFeature.getQualifiedListItemType(genClass))); + stringBuffer.append(TEXT_1757); } stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1757); + stringBuffer.append(TEXT_1758); for (GenFeature nestedKeyGenFeature : nestedKeyGenFeatures) { if (nestedKeyGenFeature.isStringType()) { - stringBuffer.append(TEXT_1758); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1759); - if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) { + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1760); - stringBuffer.append(genModel.getImportedName("java.lang.String")); + if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) { stringBuffer.append(TEXT_1761); + stringBuffer.append(genModel.getImportedName("java.lang.String")); + stringBuffer.append(TEXT_1762); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1762); - stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1763); - stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1764); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1765); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1766); - stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1767); - } else { + stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1768); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + } else { stringBuffer.append(TEXT_1769); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1770); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1771); - stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1772); - } + stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1773); - stringBuffer.append(genFeature.getUncapName()); + } stringBuffer.append(TEXT_1774); - index++;} + stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1775); - } else { + index++;} stringBuffer.append(TEXT_1776); - stringBuffer.append(keyGenFeature.getImportedType(genClass)); + } else { stringBuffer.append(TEXT_1777); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(keyGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1778); - stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1779); - stringBuffer.append(keyGenFeature.getGetAccessor()); + stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1780); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(keyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1781); - stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1782); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1783); for (GenFeature nestedKeyGenFeature : nestedKeyGenFeatures) { if (nestedKeyGenFeature.isStringType()) { - stringBuffer.append(TEXT_1783); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1784); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1785); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1786); - stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1787); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1788); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1789); - stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1790); - } else { + stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1791); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + } else { stringBuffer.append(TEXT_1792); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1793); - stringBuffer.append(keyGenFeature.getUncapName()); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1794); - stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); + stringBuffer.append(keyGenFeature.getUncapName()); stringBuffer.append(TEXT_1795); - } + stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1796); - stringBuffer.append(genFeature.getUncapName()); + } stringBuffer.append(TEXT_1797); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1798); index++;} } } else { if (keyGenFeature.isStringType()) { - stringBuffer.append(TEXT_1798); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1799); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1800); - stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1801); - stringBuffer.append(keyGenFeature.getGetAccessor()); + stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1802); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(keyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1803); - stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1804); - stringBuffer.append(keyGenFeature.getGetAccessor()); + stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1805); - } else { + stringBuffer.append(keyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1806); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + } else { stringBuffer.append(TEXT_1807); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1808); - stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_1809); - stringBuffer.append(keyGenFeature.getGetAccessor()); + stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1810); - } + stringBuffer.append(keyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_1811); - stringBuffer.append(genFeature.getUncapName()); + } stringBuffer.append(TEXT_1812); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1813); index++;} } - stringBuffer.append(TEXT_1813); - stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1814); - if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { + stringBuffer.append(genFeature.getUncapName()); stringBuffer.append(TEXT_1815); - if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { + if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { stringBuffer.append(TEXT_1816); - } + if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { stringBuffer.append(TEXT_1817); - stringBuffer.append(genFeature.getCapName()); + } stringBuffer.append(TEXT_1818); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1819); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature, false)); if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1819); - } stringBuffer.append(TEXT_1820); - } else { - stringBuffer.append(TEXT_1821); } + stringBuffer.append(TEXT_1821); + } else { stringBuffer.append(TEXT_1822); } + stringBuffer.append(TEXT_1823); + } } } if (isImplementation && ((UML2GenModelUtil.isRedefinition(genFeature) && !genFeature.isIsSet()) || UML2GenModelUtil.isRedefined(genClass, genFeature))) { - stringBuffer.append(TEXT_1823); - stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_1824); + stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(TEXT_1825); if (!genFeature.isUnsettable()) { if (UML2GenModelUtil.isRedefined(genClass, genFeature)) { - stringBuffer.append(TEXT_1825); - } else if (genModel.isReflectiveDelegation()) { stringBuffer.append(TEXT_1826); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + } else if (genModel.isReflectiveDelegation()) { stringBuffer.append(TEXT_1827); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(TEXT_1828); } else if (genFeature.isListType()) { if (genFeature.isWrappedFeatureMapType()) { if (genFeature.isVolatile()) { - stringBuffer.append(TEXT_1828); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1829); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1830); - } else { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1831); - stringBuffer.append(genFeature.getSafeName()); + } else { stringBuffer.append(TEXT_1832); stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1833); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1834); } } else { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_1834); - stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1835); stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1836); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1837); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_1837); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1838); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1839); stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_1839); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1840); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1841); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1842); stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1843); - } else { + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1844); - stringBuffer.append(genFeature.getGetAccessor()); + } else { stringBuffer.append(TEXT_1845); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_1846); } } } } else if (genFeature.isResolveProxies()) { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_1846); - stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1847); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1848); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_1848); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1849); - } else { + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1850); - stringBuffer.append(genFeature.getAccessorName()); + } else { stringBuffer.append(TEXT_1851); + stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(TEXT_1852); } } } else if (genFeature.isReferenceType()) { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_1852); - stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1853); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1854); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_1854); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1855); - } else { + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1856); - stringBuffer.append(genFeature.getGetAccessor()); + } else { stringBuffer.append(TEXT_1857); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_1858); } } } else if (genFeature.isPrimitiveType() || genFeature.isEnumType()) { if (genClass.isField(genFeature)) { if (genClass.isFlag(genFeature)) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_1858); - stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1859); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1860); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1861); - } else { + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1862); - stringBuffer.append(genClass.getFlagsField(genFeature)); + } else { stringBuffer.append(TEXT_1863); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_1864); stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1865); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_1866); } } else { - stringBuffer.append(TEXT_1866); - stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1867); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1868); + stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(TEXT_1869); } } else { if (genFeature.isEnumType() && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_1869); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1870); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1871); stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1872); - } else { + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1873); - stringBuffer.append(genFeature.getGetAccessor()); + } else { stringBuffer.append(TEXT_1874); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_1875); + stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(TEXT_1876); } } } else {//datatype if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_1876); - stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1877); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1878); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1879); + stringBuffer.append(TEXT_1878); stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1879); + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1880); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1881); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_1881); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1882); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1883); stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_1883); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1884); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1885); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1886); stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1887); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1888); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1889); + stringBuffer.append(TEXT_1888); stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1889); + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1890); - } else { + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1891); - stringBuffer.append(genFeature.getEDefault()); + } else { stringBuffer.append(TEXT_1892); - stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1893); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1894); + stringBuffer.append(TEXT_1893); stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_1894); + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_1895); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_1896); } } } } else { if (genModel.isReflectiveDelegation()) { - stringBuffer.append(TEXT_1896); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_1897); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(TEXT_1898); } else if (!genFeature.isVolatile()) { if (genFeature.isListType()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1898); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1899); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1900); stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_1900); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1901); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_1902); - } + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1903); - stringBuffer.append(genFeature.getSafeName()); + } stringBuffer.append(TEXT_1904); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_1905); - stringBuffer.append(singleWildcard); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); stringBuffer.append(TEXT_1906); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(singleWildcard); stringBuffer.append(TEXT_1907); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_1908); } else { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1908); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1909); - } else if (genClass.isESetFlag(genFeature)) { + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_1910); - stringBuffer.append(genClass.getESetFlagsField(genFeature)); + } else if (genClass.isESetFlag(genFeature)) { stringBuffer.append(TEXT_1911); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getESetFlagsField(genFeature)); stringBuffer.append(TEXT_1912); - } else { + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_1913); - stringBuffer.append(genFeature.getUncapName()); + } else { stringBuffer.append(TEXT_1914); + stringBuffer.append(genFeature.getUncapName()); + stringBuffer.append(TEXT_1915); } } } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_1915); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1916); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1917); - stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1918); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(delegateFeature.getAccessorName()); stringBuffer.append(TEXT_1919); - } else { + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_1920); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); + } else { stringBuffer.append(TEXT_1921); - stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_1922); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(delegateFeature.getAccessorName()); stringBuffer.append(TEXT_1923); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(TEXT_1924); } } else { { GenOperation genOperation = UML2GenModelUtil.getImplementedCollidingIsSetGenOperation(genClass, genFeature); if (genOperation != null && UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { - stringBuffer.append(TEXT_1924); - stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_1925); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_1926); - } else { + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1927); - stringBuffer.append(genFeature.getFormattedName()); + } else { stringBuffer.append(TEXT_1928); - stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_1929); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_1930); } } //isSetGenFeature.todo.override.javajetinc } } - stringBuffer.append(TEXT_1930); + stringBuffer.append(TEXT_1931); } //Class/genFeature.override.javajetinc }//for }}.run(); for (GenOperation genOperation : (isImplementation ? genClass.getImplementedGenOperations() : genClass.getDeclaredGenOperations())) { if (isImplementation && !UML2GenModelUtil.hasOperationsClass(genClass, genOperation) && UML2GenModelUtil.hasOCLBody(genOperation)) { - stringBuffer.append(TEXT_1931); - stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1932); - stringBuffer.append(genOperation.getParameterTypes(", ")); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1933); - stringBuffer.append(genOperation.getFormattedName()); + stringBuffer.append(genOperation.getParameterTypes(", ")); stringBuffer.append(TEXT_1934); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(genOperation.getFormattedName()); stringBuffer.append(TEXT_1935); - stringBuffer.append(genOperation.getParameterTypes(", ")); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1936); - stringBuffer.append(genModel.getImportedName("java.lang.String")); + stringBuffer.append(genOperation.getParameterTypes(", ")); stringBuffer.append(TEXT_1937); + stringBuffer.append(genModel.getImportedName("java.lang.String")); + stringBuffer.append(TEXT_1938); stringBuffer.append(UML2GenModelUtil.getUpperName(genOperation.getName())); stringBuffer.append(genOperation.getGenParameters().size() == 0 ? "" : "__" + UML2GenModelUtil.getUpperName(genOperation.getParameterTypes("_", false))); - stringBuffer.append(TEXT_1938); - stringBuffer.append(UML2GenModelUtil.getOCLBody(genOperation)); stringBuffer.append(TEXT_1939); - stringBuffer.append(genModel.getNonNLS()); + stringBuffer.append(UML2GenModelUtil.getOCLBody(genOperation)); stringBuffer.append(TEXT_1940); - if (genOperation.isInvariant()) { + stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_1941); - stringBuffer.append(genOperation.getName()); + if (genOperation.isInvariant()) { stringBuffer.append(TEXT_1942); - stringBuffer.append(genOperation.getParameterTypes(", ")); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1943); - stringBuffer.append(genOperation.getFormattedName()); + stringBuffer.append(genOperation.getParameterTypes(", ")); stringBuffer.append(TEXT_1944); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(genOperation.getFormattedName()); stringBuffer.append(TEXT_1945); - stringBuffer.append(genOperation.getParameterTypes(", ")); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1946); - stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.Constraint")); + stringBuffer.append(genOperation.getParameterTypes(", ")); stringBuffer.append(TEXT_1947); + stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.Constraint")); + stringBuffer.append(TEXT_1948); stringBuffer.append(UML2GenModelUtil.getUpperName(genOperation.getName())); stringBuffer.append(genOperation.getGenParameters().size() == 0 ? "" : "__" + UML2GenModelUtil.getUpperName(genOperation.getParameterTypes("_", false))); - stringBuffer.append(TEXT_1948); - } else { stringBuffer.append(TEXT_1949); - stringBuffer.append(genOperation.getName()); + } else { stringBuffer.append(TEXT_1950); - stringBuffer.append(genOperation.getParameterTypes(", ")); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1951); - stringBuffer.append(genOperation.getFormattedName()); + stringBuffer.append(genOperation.getParameterTypes(", ")); stringBuffer.append(TEXT_1952); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(genOperation.getFormattedName()); stringBuffer.append(TEXT_1953); - stringBuffer.append(genOperation.getParameterTypes(", ")); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1954); + stringBuffer.append(genOperation.getParameterTypes(", ")); + stringBuffer.append(TEXT_1955); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.expressions.OCLExpression")); if (isJDK50) { - stringBuffer.append(TEXT_1955); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClassifier")); stringBuffer.append(TEXT_1956); - } + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClassifier")); stringBuffer.append(TEXT_1957); + } + stringBuffer.append(TEXT_1958); stringBuffer.append(UML2GenModelUtil.getUpperName(genOperation.getName())); stringBuffer.append(genOperation.getGenParameters().size() == 0 ? "" : "__" + UML2GenModelUtil.getUpperName(genOperation.getParameterTypes("_", false))); - stringBuffer.append(TEXT_1958); + stringBuffer.append(TEXT_1959); } } if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE && isImplementation) { if (genOperation.isInvariant() && genOperation.hasInvariantExpression()) { - stringBuffer.append(TEXT_1959); - stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1960); - stringBuffer.append(genOperation.getParameterTypes(", ")); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1961); - stringBuffer.append(genOperation.getFormattedName()); + stringBuffer.append(genOperation.getParameterTypes(", ")); stringBuffer.append(TEXT_1962); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(genOperation.getFormattedName()); stringBuffer.append(TEXT_1963); - stringBuffer.append(genOperation.getParameterTypes(", ")); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1964); - stringBuffer.append(genModel.getImportedName("java.lang.String")); + stringBuffer.append(genOperation.getParameterTypes(", ")); stringBuffer.append(TEXT_1965); - stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); + stringBuffer.append(genModel.getImportedName("java.lang.String")); stringBuffer.append(TEXT_1966); - stringBuffer.append(genOperation.getInvariantExpression("\t\t")); + stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); stringBuffer.append(TEXT_1967); - stringBuffer.append(genModel.getNonNLS()); + stringBuffer.append(genOperation.getInvariantExpression("\t\t")); stringBuffer.append(TEXT_1968); - } else if (genOperation.hasInvocationDelegate()) { + stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_1969); - stringBuffer.append(genOperation.getName()); + } else if (genOperation.hasInvocationDelegate()) { stringBuffer.append(TEXT_1970); - stringBuffer.append(genOperation.getParameterTypes(", ")); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1971); - stringBuffer.append(genOperation.getFormattedName()); + stringBuffer.append(genOperation.getParameterTypes(", ")); stringBuffer.append(TEXT_1972); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(genOperation.getFormattedName()); stringBuffer.append(TEXT_1973); - stringBuffer.append(genOperation.getParameterTypes(", ")); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_1974); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation")); + stringBuffer.append(genOperation.getParameterTypes(", ")); stringBuffer.append(TEXT_1975); - stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); - stringBuffer.append(TEXT_1976); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation")); + stringBuffer.append(TEXT_1976); + stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); stringBuffer.append(TEXT_1977); - stringBuffer.append(genOperation.getQualifiedOperationAccessor()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation")); stringBuffer.append(TEXT_1978); + stringBuffer.append(genOperation.getQualifiedOperationAccessor()); + stringBuffer.append(TEXT_1979); } } if (isInterface) { - stringBuffer.append(TEXT_1979); - if (UML2GenModelUtil.isRedefinition(genOperation)) { stringBuffer.append(TEXT_1980); - for (GenOperation redefinedGenOperation : UML2GenModelUtil.getRedefinedGenOperations(genOperation)) { + if (UML2GenModelUtil.isRedefinition(genOperation)) { stringBuffer.append(TEXT_1981); - stringBuffer.append(redefinedGenOperation.getGenClass().getQualifiedInterfaceName()); + for (GenOperation redefinedGenOperation : UML2GenModelUtil.getRedefinedGenOperations(genOperation)) { stringBuffer.append(TEXT_1982); - stringBuffer.append(redefinedGenOperation.getName()); + stringBuffer.append(redefinedGenOperation.getGenClass().getQualifiedInterfaceName()); stringBuffer.append(TEXT_1983); - stringBuffer.append(redefinedGenOperation.getParameterTypes(", ")); + stringBuffer.append(redefinedGenOperation.getName()); stringBuffer.append(TEXT_1984); - stringBuffer.append(redefinedGenOperation.getFormattedName()); + stringBuffer.append(redefinedGenOperation.getParameterTypes(", ")); stringBuffer.append(TEXT_1985); - } + stringBuffer.append(redefinedGenOperation.getFormattedName()); stringBuffer.append(TEXT_1986); } stringBuffer.append(TEXT_1987); - if (genOperation.hasDocumentation() || genOperation.hasParameterDocumentation()) { + } stringBuffer.append(TEXT_1988); - if (genOperation.hasDocumentation()) { + if (genOperation.hasDocumentation() || genOperation.hasParameterDocumentation()) { stringBuffer.append(TEXT_1989); + if (genOperation.hasDocumentation()) { + stringBuffer.append(TEXT_1990); stringBuffer.append(genOperation.getDocumentation(genModel.getIndentation(stringBuffer))); } for (GenParameter genParameter : genOperation.getGenParameters()) { if (genParameter.hasDocumentation()) { String documentation = genParameter.getDocumentation(""); if (documentation.contains("\n") || documentation.contains("\r")) { - stringBuffer.append(TEXT_1990); - stringBuffer.append(genParameter.getName()); stringBuffer.append(TEXT_1991); + stringBuffer.append(genParameter.getName()); + stringBuffer.append(TEXT_1992); stringBuffer.append(genParameter.getDocumentation(genModel.getIndentation(stringBuffer))); } else { - stringBuffer.append(TEXT_1992); - stringBuffer.append(genParameter.getName()); stringBuffer.append(TEXT_1993); + stringBuffer.append(genParameter.getName()); + stringBuffer.append(TEXT_1994); stringBuffer.append(genParameter.getDocumentation(genModel.getIndentation(stringBuffer))); } } } - stringBuffer.append(TEXT_1994); + stringBuffer.append(TEXT_1995); } if (!genModel.isSuppressEMFModelTags()) { boolean first = true; for (StringTokenizer stringTokenizer = new StringTokenizer(genOperation.getModelInfo(), "\n\r"); stringTokenizer.hasMoreTokens(); ) { String modelInfo = stringTokenizer.nextToken(); if (first) { first = false; - stringBuffer.append(TEXT_1995); + stringBuffer.append(TEXT_1996); stringBuffer.append(modelInfo); } else { - stringBuffer.append(TEXT_1996); + stringBuffer.append(TEXT_1997); stringBuffer.append(modelInfo); }} if (first) { - stringBuffer.append(TEXT_1997); - }} stringBuffer.append(TEXT_1998); - } else { + }} stringBuffer.append(TEXT_1999); + } else { + stringBuffer.append(TEXT_2000); if (isJDK50) { if (genClass.getExtendedGenOperations().contains(genOperation) || (UML2GenModelUtil.isDuplicate(genOperation) && (!UML2GenModelUtil.isRedefinition(genOperation) || genClass.getExtendedGenOperations().contains(UML2GenModelUtil.getRedefinedGenOperations(genOperation).iterator().next())))) { - stringBuffer.append(TEXT_2000); + stringBuffer.append(TEXT_2001); } } } if (!isImplementation) { - stringBuffer.append(TEXT_2001); + stringBuffer.append(TEXT_2002); stringBuffer.append(genOperation.getTypeParameters(genClass)); stringBuffer.append(genOperation.getImportedType(genClass)); - stringBuffer.append(TEXT_2002); - stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_2003); - stringBuffer.append(genOperation.getParameters(genClass)); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_2004); - stringBuffer.append(genOperation.getThrows(genClass)); + stringBuffer.append(genOperation.getParameters(genClass)); stringBuffer.append(TEXT_2005); + stringBuffer.append(genOperation.getThrows(genClass)); + stringBuffer.append(TEXT_2006); } else { if (genModel.useGenerics() && !genOperation.hasBody() && !genOperation.isInvariant() && genOperation.hasInvocationDelegate() && genOperation.isUncheckedCast(genClass)) { - stringBuffer.append(TEXT_2006); - } stringBuffer.append(TEXT_2007); + } + stringBuffer.append(TEXT_2008); stringBuffer.append(genOperation.getTypeParameters(genClass)); stringBuffer.append(genOperation.getImportedType(genClass)); - stringBuffer.append(TEXT_2008); - stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_2009); - stringBuffer.append(genOperation.getParameters(genClass)); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_2010); - stringBuffer.append(genOperation.getThrows(genClass)); + stringBuffer.append(genOperation.getParameters(genClass)); stringBuffer.append(TEXT_2011); - if (genOperation.hasBody()) { + stringBuffer.append(genOperation.getThrows(genClass)); stringBuffer.append(TEXT_2012); + if (genOperation.hasBody()) { + stringBuffer.append(TEXT_2013); stringBuffer.append(genOperation.getBody(genModel.getIndentation(stringBuffer))); } else if (genOperation.isInvariant()) {GenClass opClass = genOperation.getGenClass(); String diagnostics = genOperation.getGenParameters().get(0).getName(); String context = genOperation.getGenParameters().get(1).getName(); if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE && genOperation.hasInvariantExpression()) { - stringBuffer.append(TEXT_2013); - stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); stringBuffer.append(TEXT_2014); - stringBuffer.append(genClass.getQualifiedClassifierAccessor()); + stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); stringBuffer.append(TEXT_2015); - stringBuffer.append(diagnostics); + stringBuffer.append(genClass.getQualifiedClassifierAccessor()); stringBuffer.append(TEXT_2016); - stringBuffer.append(context); + stringBuffer.append(diagnostics); stringBuffer.append(TEXT_2017); - stringBuffer.append(genOperation.getValidationDelegate()); + stringBuffer.append(context); stringBuffer.append(TEXT_2018); - stringBuffer.append(genModel.getNonNLS()); + stringBuffer.append(genOperation.getValidationDelegate()); stringBuffer.append(TEXT_2019); - stringBuffer.append(genOperation.getQualifiedOperationAccessor()); + stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_2020); - stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); + stringBuffer.append(genOperation.getQualifiedOperationAccessor()); stringBuffer.append(TEXT_2021); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")); + stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); stringBuffer.append(TEXT_2022); - stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")); stringBuffer.append(TEXT_2023); stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); stringBuffer.append(TEXT_2024); - stringBuffer.append(opClass.getOperationID(genOperation)); + stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); stringBuffer.append(TEXT_2025); + stringBuffer.append(opClass.getOperationID(genOperation)); + stringBuffer.append(TEXT_2026); } else { if (UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { - stringBuffer.append(TEXT_2026); - stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_2027); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_2028); - stringBuffer.append(diagnostics); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_2029); - stringBuffer.append(context); + stringBuffer.append(diagnostics); stringBuffer.append(TEXT_2030); + stringBuffer.append(context); + stringBuffer.append(TEXT_2031); } else { if (UML2GenModelUtil.hasOCLBody(genOperation)) { String oclInv = UML2GenModelUtil.getUpperName(genOperation.getName()) + (genOperation.getGenParameters().size() == 0 ? "" : "__" + UML2GenModelUtil.getUpperName(genOperation.getParameterTypes("_", false))) + "__EOCL_INV"; - stringBuffer.append(TEXT_2031); - stringBuffer.append(oclInv); stringBuffer.append(TEXT_2032); - stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); + stringBuffer.append(oclInv); stringBuffer.append(TEXT_2033); - stringBuffer.append(opClass.getQualifiedClassifierAccessor()); + stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); stringBuffer.append(TEXT_2034); - stringBuffer.append(oclInv); + stringBuffer.append(opClass.getQualifiedClassifierAccessor()); stringBuffer.append(TEXT_2035); + stringBuffer.append(oclInv); + stringBuffer.append(TEXT_2036); stringBuffer.append(UML2GenModelUtil.getUpperName(genOperation.getName())); stringBuffer.append(genOperation.getGenParameters().size() == 0 ? "" : "__" + UML2GenModelUtil.getUpperName(genOperation.getParameterTypes("_", false))); - stringBuffer.append(TEXT_2036); - stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ParserException")); stringBuffer.append(TEXT_2037); - stringBuffer.append(oclInv); + stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ParserException")); stringBuffer.append(TEXT_2038); - } else { + stringBuffer.append(oclInv); stringBuffer.append(TEXT_2039); - } + } else { stringBuffer.append(TEXT_2040); - stringBuffer.append(diagnostics); + } stringBuffer.append(TEXT_2041); - stringBuffer.append(TEXT_2042); stringBuffer.append(diagnostics); + stringBuffer.append(TEXT_2042); stringBuffer.append(TEXT_2043); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic")); + stringBuffer.append(diagnostics); stringBuffer.append(TEXT_2044); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic")); stringBuffer.append(TEXT_2045); - stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")); stringBuffer.append(TEXT_2046); stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); stringBuffer.append(TEXT_2047); - stringBuffer.append(opClass.getOperationID(genOperation)); + stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); stringBuffer.append(TEXT_2048); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin")); + stringBuffer.append(opClass.getOperationID(genOperation)); stringBuffer.append(TEXT_2049); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin")); stringBuffer.append(TEXT_2050); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator")); + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_2051); - stringBuffer.append(context); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator")); stringBuffer.append(TEXT_2052); + stringBuffer.append(context); + stringBuffer.append(TEXT_2053); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(genModel.getNonNLS(2)); - stringBuffer.append(TEXT_2053); - //genOperation.diagnostics.override.javajetinc stringBuffer.append(TEXT_2054); + //genOperation.diagnostics.override.javajetinc + stringBuffer.append(TEXT_2055); } } } else if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE && genOperation.hasInvocationDelegate()) { int size = genOperation.getGenParameters().size(); - stringBuffer.append(TEXT_2055); - if (genOperation.isVoid()) { stringBuffer.append(TEXT_2056); - stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); + if (genOperation.isVoid()) { stringBuffer.append(TEXT_2057); - if (size > 0) { + stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); stringBuffer.append(TEXT_2058); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")); + if (size > 0) { stringBuffer.append(TEXT_2059); - stringBuffer.append(size); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")); stringBuffer.append(TEXT_2060); - stringBuffer.append(genOperation.getParametersArray(genClass)); + stringBuffer.append(size); stringBuffer.append(TEXT_2061); - } else { + stringBuffer.append(genOperation.getParametersArray(genClass)); stringBuffer.append(TEXT_2062); - } - stringBuffer.append(TEXT_2063); } else { + stringBuffer.append(TEXT_2063); + } stringBuffer.append(TEXT_2064); - if (!isJDK50 && genOperation.isPrimitiveType()) { + } else { stringBuffer.append(TEXT_2065); - } + if (!isJDK50 && genOperation.isPrimitiveType()) { stringBuffer.append(TEXT_2066); - stringBuffer.append(genOperation.getObjectType(genClass)); + } stringBuffer.append(TEXT_2067); - stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); + stringBuffer.append(genOperation.getObjectType(genClass)); stringBuffer.append(TEXT_2068); - if (size > 0) { + stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); stringBuffer.append(TEXT_2069); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")); + if (size > 0) { stringBuffer.append(TEXT_2070); - stringBuffer.append(size); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")); stringBuffer.append(TEXT_2071); - stringBuffer.append(genOperation.getParametersArray(genClass)); + stringBuffer.append(size); stringBuffer.append(TEXT_2072); - } else { + stringBuffer.append(genOperation.getParametersArray(genClass)); stringBuffer.append(TEXT_2073); - } + } else { stringBuffer.append(TEXT_2074); - if (!isJDK50 && genOperation.isPrimitiveType()) { + } stringBuffer.append(TEXT_2075); - stringBuffer.append(genOperation.getPrimitiveValueFunction()); + if (!isJDK50 && genOperation.isPrimitiveType()) { stringBuffer.append(TEXT_2076); - } + stringBuffer.append(genOperation.getPrimitiveValueFunction()); stringBuffer.append(TEXT_2077); } stringBuffer.append(TEXT_2078); - stringBuffer.append(genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")); + } stringBuffer.append(TEXT_2079); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.WrappedException")); + stringBuffer.append(genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")); stringBuffer.append(TEXT_2080); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.WrappedException")); + stringBuffer.append(TEXT_2081); } else { if (UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { if (genOperation.isVoid()) { - stringBuffer.append(TEXT_2081); - stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_2082); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_2083); - if (genOperation.getGenParameters().size() > 0) { + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_2084); + if (genOperation.getGenParameters().size() > 0) { + stringBuffer.append(TEXT_2085); stringBuffer.append(genOperation.getParameterNames(", ")); } - stringBuffer.append(TEXT_2085); + stringBuffer.append(TEXT_2086); } else { if (UML2GenModelUtil.isCacheAdapterSupport(genModel) && UML2GenModelUtil.isCached(genOperation)) { - stringBuffer.append(TEXT_2086); - stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); stringBuffer.append(TEXT_2087); - if (genModel.useGenerics() && genOperation.isUncheckedCast()) { + stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); stringBuffer.append(TEXT_2088); - } + if (genModel.useGenerics() && genOperation.isUncheckedCast()) { stringBuffer.append(TEXT_2089); - stringBuffer.append(genOperation.getObjectType(genClass)); + } stringBuffer.append(TEXT_2090); stringBuffer.append(genOperation.getObjectType(genClass)); stringBuffer.append(TEXT_2091); - if (UML2GenModelUtil.isResourceCacheAdapterScope(genOperation)) { + stringBuffer.append(genOperation.getObjectType(genClass)); stringBuffer.append(TEXT_2092); - } + if (UML2GenModelUtil.isResourceCacheAdapterScope(genOperation)) { stringBuffer.append(TEXT_2093); - stringBuffer.append(genOperation.getQualifiedOperationAccessor()); + } stringBuffer.append(TEXT_2094); - if (UML2GenModelUtil.isResourceCacheAdapterScope(genOperation)) { + stringBuffer.append(genOperation.getQualifiedOperationAccessor()); stringBuffer.append(TEXT_2095); - } + if (UML2GenModelUtil.isResourceCacheAdapterScope(genOperation)) { stringBuffer.append(TEXT_2096); - stringBuffer.append(genOperation.getQualifiedOperationAccessor()); + } stringBuffer.append(TEXT_2097); - if (genOperation.isPrimitiveType()) { + stringBuffer.append(genOperation.getQualifiedOperationAccessor()); stringBuffer.append(TEXT_2098); - stringBuffer.append(genOperation.getObjectType(genClass)); + if (genOperation.isPrimitiveType()) { stringBuffer.append(TEXT_2099); + stringBuffer.append(genOperation.getObjectType(genClass)); + stringBuffer.append(TEXT_2100); } stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); - stringBuffer.append(TEXT_2100); - stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_2101); - if (genOperation.getGenParameters().size() > 0) { + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_2102); + if (genOperation.getGenParameters().size() > 0) { + stringBuffer.append(TEXT_2103); stringBuffer.append(genOperation.getParameterNames(", ")); } - stringBuffer.append(TEXT_2103); - if (genOperation.isPrimitiveType()) { stringBuffer.append(TEXT_2104); - } - stringBuffer.append(TEXT_2105); if (genOperation.isPrimitiveType()) { + stringBuffer.append(TEXT_2105); + } stringBuffer.append(TEXT_2106); - stringBuffer.append(genOperation.getPrimitiveValueFunction()); + if (genOperation.isPrimitiveType()) { stringBuffer.append(TEXT_2107); - } + stringBuffer.append(genOperation.getPrimitiveValueFunction()); stringBuffer.append(TEXT_2108); } stringBuffer.append(TEXT_2109); - stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); + } stringBuffer.append(TEXT_2110); - stringBuffer.append(genOperation.getName()); + stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); stringBuffer.append(TEXT_2111); - if (genOperation.getGenParameters().size() > 0) { + stringBuffer.append(genOperation.getName()); stringBuffer.append(TEXT_2112); + if (genOperation.getGenParameters().size() > 0) { + stringBuffer.append(TEXT_2113); stringBuffer.append(genOperation.getParameterNames(", ")); } - stringBuffer.append(TEXT_2113); + stringBuffer.append(TEXT_2114); } } else if (UML2GenModelUtil.hasOCLBody(genOperation)) { String oclQry = UML2GenModelUtil.getUpperName(genOperation.getName()) + (genOperation.getGenParameters().size() == 0 ? "" : "__" + UML2GenModelUtil.getUpperName(genOperation.getParameterTypes("_", false))) + "__EOCL_QRY"; GenOperation redefinedGenOperation = genOperation; @@ -8243,1300 +8266,1303 @@ if (index != -1) { head = typeName.substring(0, index); tail = typeName.substrin } } int index = genOperation.getGenClass().getAllGenOperations().indexOf(redefinedGenOperation); - stringBuffer.append(TEXT_2114); - stringBuffer.append(oclQry); stringBuffer.append(TEXT_2115); - stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); + stringBuffer.append(oclQry); stringBuffer.append(TEXT_2116); - stringBuffer.append(genOperation.getGenClass().getQualifiedClassifierAccessor()); + stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); stringBuffer.append(TEXT_2117); stringBuffer.append(genOperation.getGenClass().getQualifiedClassifierAccessor()); stringBuffer.append(TEXT_2118); - stringBuffer.append(index); + stringBuffer.append(genOperation.getGenClass().getQualifiedClassifierAccessor()); stringBuffer.append(TEXT_2119); - stringBuffer.append(oclQry); + stringBuffer.append(index); stringBuffer.append(TEXT_2120); + stringBuffer.append(oclQry); + stringBuffer.append(TEXT_2121); stringBuffer.append(UML2GenModelUtil.getUpperName(genOperation.getName())); stringBuffer.append(genOperation.getGenParameters().size() == 0 ? "" : "__" + UML2GenModelUtil.getUpperName(genOperation.getParameterTypes("_", false))); - stringBuffer.append(TEXT_2121); - stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ParserException")); stringBuffer.append(TEXT_2122); - stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); + stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ParserException")); stringBuffer.append(TEXT_2123); - stringBuffer.append(oclQry); + stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); stringBuffer.append(TEXT_2124); - if (!genOperation.getGenParameters().isEmpty()) { + stringBuffer.append(oclQry); stringBuffer.append(TEXT_2125); + if (!genOperation.getGenParameters().isEmpty()) { + stringBuffer.append(TEXT_2126); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.EvaluationEnvironment")); if (isJDK50) { - stringBuffer.append(TEXT_2126); - } stringBuffer.append(TEXT_2127); - for (GenParameter genParameter : genOperation.getGenParameters()) { + } stringBuffer.append(TEXT_2128); - stringBuffer.append(genParameter.getName()); + for (GenParameter genParameter : genOperation.getGenParameters()) { stringBuffer.append(TEXT_2129); stringBuffer.append(genParameter.getName()); stringBuffer.append(TEXT_2130); + stringBuffer.append(genParameter.getName()); + stringBuffer.append(TEXT_2131); stringBuffer.append(genModel.getNonNLS()); } } if (genOperation.isListType()) { if (isJDK50) { - stringBuffer.append(TEXT_2131); - } stringBuffer.append(TEXT_2132); - stringBuffer.append(genModel.getImportedName("java.util.Collection")); + } stringBuffer.append(TEXT_2133); - stringBuffer.append(genOperation.getListItemType(null)); - stringBuffer.append(TEXT_2134); stringBuffer.append(genModel.getImportedName("java.util.Collection")); - stringBuffer.append(TEXT_2135); + stringBuffer.append(TEXT_2134); stringBuffer.append(genOperation.getListItemType(null)); + stringBuffer.append(TEXT_2135); + stringBuffer.append(genModel.getImportedName("java.util.Collection")); stringBuffer.append(TEXT_2136); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")); - stringBuffer.append(TEXT_2137); stringBuffer.append(genOperation.getListItemType(null)); + stringBuffer.append(TEXT_2137); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")); stringBuffer.append(TEXT_2138); - } else if (genOperation.isPrimitiveType()) { + stringBuffer.append(genOperation.getListItemType(null)); stringBuffer.append(TEXT_2139); - stringBuffer.append(genOperation.getObjectType(null)); + } else if (genOperation.isPrimitiveType()) { stringBuffer.append(TEXT_2140); - stringBuffer.append(genOperation.getPrimitiveValueFunction()); + stringBuffer.append(genOperation.getObjectType(null)); stringBuffer.append(TEXT_2141); - } else { + stringBuffer.append(genOperation.getPrimitiveValueFunction()); stringBuffer.append(TEXT_2142); - stringBuffer.append(genOperation.getImportedType(null)); + } else { stringBuffer.append(TEXT_2143); + stringBuffer.append(genOperation.getImportedType(null)); + stringBuffer.append(TEXT_2144); } } else { - stringBuffer.append(TEXT_2144); + stringBuffer.append(TEXT_2145); } } - stringBuffer.append(TEXT_2145); + stringBuffer.append(TEXT_2146); } //Class/implementedGenOperation.override.javajetinc }//for if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseAddGenFeatures())) { - stringBuffer.append(TEXT_2146); + stringBuffer.append(TEXT_2147); if (genModel.useGenerics()) { for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) { if (genFeature.isUncheckedCast(genClass)) { - stringBuffer.append(TEXT_2147); + stringBuffer.append(TEXT_2148); break; } } } if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2148); - } stringBuffer.append(TEXT_2149); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); + } stringBuffer.append(TEXT_2150); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_2151); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); + stringBuffer.append(TEXT_2151); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_2152); - stringBuffer.append(negativeOffsetCorrection); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_2153); - for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) { + stringBuffer.append(negativeOffsetCorrection); stringBuffer.append(TEXT_2154); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) { stringBuffer.append(TEXT_2155); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(TEXT_2156); if (genFeature.isListType()) { String cast = "(" + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + (!genModel.useGenerics() ? ")" : "<" + genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject") + ">)(" + genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList") + "<?>)"); if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) { - stringBuffer.append(TEXT_2156); - stringBuffer.append(cast); stringBuffer.append(TEXT_2157); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap")); + stringBuffer.append(cast); stringBuffer.append(TEXT_2158); - stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass)); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap")); stringBuffer.append(TEXT_2159); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass)); stringBuffer.append(TEXT_2160); - } else { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2161); + } else { + stringBuffer.append(TEXT_2162); stringBuffer.append(cast); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2162); + stringBuffer.append(TEXT_2163); } } else if (genFeature.isContainer()) { - stringBuffer.append(TEXT_2163); - if (genFeature.isBasicSet()) { stringBuffer.append(TEXT_2164); - stringBuffer.append(genFeature.getAccessorName()); + if (genFeature.isBasicSet()) { stringBuffer.append(TEXT_2165); - stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_2166); - } else { + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_2167); + } else { + stringBuffer.append(TEXT_2168); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2168); + stringBuffer.append(TEXT_2169); } } else { if (genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2169); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_2170); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2171); stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_2171); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_2172); + stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_2173); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2173); - } else if (genFeature.isVolatile() || genClass.getImplementingGenModel(genFeature).isDynamicDelegation()) { stringBuffer.append(TEXT_2174); - stringBuffer.append(genFeature.getImportedType(genClass)); + } else if (genFeature.isVolatile() || genClass.getImplementingGenModel(genFeature).isDynamicDelegation()) { stringBuffer.append(TEXT_2175); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_2176); - if (genFeature.isResolveProxies()) { + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_2177); + if (genFeature.isResolveProxies()) { + stringBuffer.append(TEXT_2178); stringBuffer.append(genFeature.getAccessorName()); } else { stringBuffer.append(genFeature.getGetAccessor()); } - stringBuffer.append(TEXT_2178); - } stringBuffer.append(TEXT_2179); - stringBuffer.append(genFeature.getSafeName()); + } stringBuffer.append(TEXT_2180); - if (genFeature.isEffectiveContains()) { + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_2181); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); + if (genFeature.isEffectiveContains()) { stringBuffer.append(TEXT_2182); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_2183); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_2184); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_2184); - } else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : ""; stringBuffer.append(TEXT_2185); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); + } else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : ""; stringBuffer.append(TEXT_2186); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_2187); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_2188); stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature)); stringBuffer.append(reverseOffsetCorrection); - stringBuffer.append(TEXT_2188); - stringBuffer.append(targetClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_2189); - } + stringBuffer.append(targetClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_2190); - stringBuffer.append(genFeature.getAccessorName()); + } stringBuffer.append(TEXT_2191); - stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_2192); + stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_2193); } } - stringBuffer.append(TEXT_2193); - if (genModel.isMinimalReflectiveMethods()) { stringBuffer.append(TEXT_2194); - } else { + if (genModel.isMinimalReflectiveMethods()) { stringBuffer.append(TEXT_2195); - } + } else { stringBuffer.append(TEXT_2196); } - if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseRemoveGenFeatures())) { stringBuffer.append(TEXT_2197); - if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2198); } + if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseRemoveGenFeatures())) { + stringBuffer.append(TEXT_2198); + if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2199); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); + } stringBuffer.append(TEXT_2200); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_2201); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); + stringBuffer.append(TEXT_2201); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_2202); - stringBuffer.append(negativeOffsetCorrection); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_2203); - for (GenFeature genFeature : genClass.getEInverseRemoveGenFeatures()) { + stringBuffer.append(negativeOffsetCorrection); stringBuffer.append(TEXT_2204); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + for (GenFeature genFeature : genClass.getEInverseRemoveGenFeatures()) { stringBuffer.append(TEXT_2205); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(TEXT_2206); if (genFeature.isListType()) { if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) { - stringBuffer.append(TEXT_2206); + stringBuffer.append(TEXT_2207); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_2207); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap")); stringBuffer.append(TEXT_2208); - stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass)); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap")); stringBuffer.append(TEXT_2209); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass)); stringBuffer.append(TEXT_2210); - } else if (genFeature.isWrappedFeatureMapType()) { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2211); + } else if (genFeature.isWrappedFeatureMapType()) { + stringBuffer.append(TEXT_2212); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_2212); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2213); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2214); - } else { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2215); + } else { + stringBuffer.append(TEXT_2216); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_2216); - stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2217); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2218); } } else if (genFeature.isContainer() && !genFeature.isBasicSet()) { - stringBuffer.append(TEXT_2218); + stringBuffer.append(TEXT_2219); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2219); - } else if (genFeature.isUnsettable()) { stringBuffer.append(TEXT_2220); - stringBuffer.append(genFeature.getAccessorName()); + } else if (genFeature.isUnsettable()) { stringBuffer.append(TEXT_2221); - } else { - stringBuffer.append(TEXT_2222); stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(TEXT_2222); + } else { stringBuffer.append(TEXT_2223); + stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(TEXT_2224); } } - stringBuffer.append(TEXT_2224); - if (genModel.isMinimalReflectiveMethods()) { stringBuffer.append(TEXT_2225); - } else { + if (genModel.isMinimalReflectiveMethods()) { stringBuffer.append(TEXT_2226); - } + } else { stringBuffer.append(TEXT_2227); } - if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEBasicRemoveFromContainerGenFeatures())) { stringBuffer.append(TEXT_2228); - if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2229); } + if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEBasicRemoveFromContainerGenFeatures())) { + stringBuffer.append(TEXT_2229); + if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2230); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); + } stringBuffer.append(TEXT_2231); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_2232); - stringBuffer.append(negativeOffsetCorrection); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_2233); + stringBuffer.append(negativeOffsetCorrection); + stringBuffer.append(TEXT_2234); for (GenFeature genFeature : genClass.getEBasicRemoveFromContainerGenFeatures()) { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : ""; - stringBuffer.append(TEXT_2234); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_2235); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(TEXT_2236); stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature)); stringBuffer.append(reverseOffsetCorrection); - stringBuffer.append(TEXT_2236); - stringBuffer.append(targetClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_2237); - } + stringBuffer.append(targetClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_2238); - if (genModel.isMinimalReflectiveMethods()) { + } stringBuffer.append(TEXT_2239); - } else { + if (genModel.isMinimalReflectiveMethods()) { stringBuffer.append(TEXT_2240); - } + } else { stringBuffer.append(TEXT_2241); } - if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEGetGenFeatures())) { stringBuffer.append(TEXT_2242); - if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2243); } + if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEGetGenFeatures())) { + stringBuffer.append(TEXT_2243); + if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2244); - stringBuffer.append(negativeOffsetCorrection); + } stringBuffer.append(TEXT_2245); - for (GenFeature genFeature : genClass.getEGetGenFeatures()) { + stringBuffer.append(negativeOffsetCorrection); stringBuffer.append(TEXT_2246); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + for (GenFeature genFeature : genClass.getEGetGenFeatures()) { stringBuffer.append(TEXT_2247); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(TEXT_2248); if (genFeature.isPrimitiveType()) { if (isJDK50) { - stringBuffer.append(TEXT_2248); - stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2249); - } else if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_2250); stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2250); + } else if (genFeature.isBooleanType()) { stringBuffer.append(TEXT_2251); - } else { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2252); - stringBuffer.append(genFeature.getObjectType(genClass)); + } else { stringBuffer.append(TEXT_2253); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genFeature.getObjectType(genClass)); stringBuffer.append(TEXT_2254); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2255); } } else if (genFeature.isResolveProxies() && !genFeature.isListType()) { - stringBuffer.append(TEXT_2255); - stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2256); - stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2257); + stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(TEXT_2258); } else if (genFeature.isMapType()) { if (genFeature.isEffectiveSuppressEMFTypes()) { - stringBuffer.append(TEXT_2258); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap")); stringBuffer.append(TEXT_2259); - stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass)); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap")); stringBuffer.append(TEXT_2260); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass)); stringBuffer.append(TEXT_2261); stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2262); - } else { - stringBuffer.append(TEXT_2263); stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2263); + } else { stringBuffer.append(TEXT_2264); stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2265); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2266); } } else if (genFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_2266); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2267); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2268); stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2269); - } else if (genFeature.isFeatureMapType()) { - stringBuffer.append(TEXT_2270); stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2270); + } else if (genFeature.isFeatureMapType()) { stringBuffer.append(TEXT_2271); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_2272); stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2272); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2273); - } else { - stringBuffer.append(TEXT_2274); stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2274); + } else { stringBuffer.append(TEXT_2275); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2276); } } - stringBuffer.append(TEXT_2276); - if (genModel.isMinimalReflectiveMethods()) { stringBuffer.append(TEXT_2277); - } else { + if (genModel.isMinimalReflectiveMethods()) { stringBuffer.append(TEXT_2278); - } + } else { stringBuffer.append(TEXT_2279); } - if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getESetGenFeatures())) { stringBuffer.append(TEXT_2280); + } + if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getESetGenFeatures())) { + stringBuffer.append(TEXT_2281); if (genModel.useGenerics()) { for (GenFeature genFeature : genClass.getESetGenFeatures()) { if (genFeature.isUncheckedCast(genClass) && !genFeature.isFeatureMapType() && !genFeature.isMapType()) { - stringBuffer.append(TEXT_2281); + stringBuffer.append(TEXT_2282); break; } } } if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2282); - } stringBuffer.append(TEXT_2283); - stringBuffer.append(negativeOffsetCorrection); + } stringBuffer.append(TEXT_2284); - for (GenFeature genFeature : genClass.getESetGenFeatures()) { + stringBuffer.append(negativeOffsetCorrection); stringBuffer.append(TEXT_2285); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + for (GenFeature genFeature : genClass.getESetGenFeatures()) { stringBuffer.append(TEXT_2286); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(TEXT_2287); if (genFeature.isListType()) { if (genFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_2287); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2288); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2289); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2290); - } else if (genFeature.isFeatureMapType()) { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2291); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); + } else if (genFeature.isFeatureMapType()) { stringBuffer.append(TEXT_2292); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2293); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2294); } else if (genFeature.isMapType()) { if (genFeature.isEffectiveSuppressEMFTypes()) { - stringBuffer.append(TEXT_2294); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")); stringBuffer.append(TEXT_2295); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap")); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")); stringBuffer.append(TEXT_2296); - stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass)); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap")); stringBuffer.append(TEXT_2297); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass)); stringBuffer.append(TEXT_2298); - } else { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2299); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")); + } else { stringBuffer.append(TEXT_2300); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")); stringBuffer.append(TEXT_2301); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2302); } } else { - stringBuffer.append(TEXT_2302); - stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2303); stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2304); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2305); stringBuffer.append(genModel.getImportedName("java.util.Collection")); if (isJDK50) { - stringBuffer.append(TEXT_2305); - stringBuffer.append(genFeature.getListItemType(genClass)); stringBuffer.append(TEXT_2306); - } + stringBuffer.append(genFeature.getListItemType(genClass)); stringBuffer.append(TEXT_2307); } - } else if (!isJDK50 && genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_2308); - stringBuffer.append(genFeature.getAccessorName()); + } + } else if (!isJDK50 && genFeature.isPrimitiveType()) { stringBuffer.append(TEXT_2309); - stringBuffer.append(genFeature.getObjectType(genClass)); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_2310); - stringBuffer.append(genFeature.getPrimitiveValueFunction()); + stringBuffer.append(genFeature.getObjectType(genClass)); stringBuffer.append(TEXT_2311); - } else { + stringBuffer.append(genFeature.getPrimitiveValueFunction()); stringBuffer.append(TEXT_2312); - stringBuffer.append(genFeature.getAccessorName()); + } else { stringBuffer.append(TEXT_2313); - if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType() || !genFeature.getRawType().equals(genFeature.getType(genClass))) { + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_2314); - stringBuffer.append(genFeature.getObjectType(genClass)); + if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType() || !genFeature.getRawType().equals(genFeature.getType(genClass))) { stringBuffer.append(TEXT_2315); - } + stringBuffer.append(genFeature.getObjectType(genClass)); stringBuffer.append(TEXT_2316); } stringBuffer.append(TEXT_2317); } stringBuffer.append(TEXT_2318); - if (genModel.isMinimalReflectiveMethods()) { + } stringBuffer.append(TEXT_2319); - } else { + if (genModel.isMinimalReflectiveMethods()) { stringBuffer.append(TEXT_2320); - } + } else { stringBuffer.append(TEXT_2321); } - if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEUnsetGenFeatures())) { stringBuffer.append(TEXT_2322); - if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2323); } + if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEUnsetGenFeatures())) { + stringBuffer.append(TEXT_2323); + if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2324); - stringBuffer.append(negativeOffsetCorrection); + } stringBuffer.append(TEXT_2325); - for (GenFeature genFeature : genClass.getEUnsetGenFeatures()) { + stringBuffer.append(negativeOffsetCorrection); stringBuffer.append(TEXT_2326); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + for (GenFeature genFeature : genClass.getEUnsetGenFeatures()) { stringBuffer.append(TEXT_2327); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(TEXT_2328); if (genFeature.isListType() && !genFeature.isUnsettable()) { if (genFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_2328); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2329); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2330); - } else { - stringBuffer.append(TEXT_2331); stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2331); + } else { stringBuffer.append(TEXT_2332); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2333); } } else if (genFeature.isUnsettable()) { - stringBuffer.append(TEXT_2333); - stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_2334); - } else if (!genFeature.hasEDefault()) { - stringBuffer.append(TEXT_2335); stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(TEXT_2335); + } else if (!genFeature.hasEDefault()) { stringBuffer.append(TEXT_2336); - stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_2337); - } else { + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_2338); - stringBuffer.append(genFeature.getAccessorName()); + } else { stringBuffer.append(TEXT_2339); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_2340); - } + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_2341); } stringBuffer.append(TEXT_2342); - if (genModel.isMinimalReflectiveMethods()) { + } stringBuffer.append(TEXT_2343); - } else { + if (genModel.isMinimalReflectiveMethods()) { stringBuffer.append(TEXT_2344); - } + } else { stringBuffer.append(TEXT_2345); + } + stringBuffer.append(TEXT_2346); //Class/eUnset.override.javajetinc } if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEIsSetGenFeatures())) { - stringBuffer.append(TEXT_2346); stringBuffer.append(TEXT_2347); + stringBuffer.append(TEXT_2348); if (genModel.useGenerics()) { for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) { if (genFeature.isListType() && !genFeature.isUnsettable() && !genFeature.isWrappedFeatureMapType() && !genClass.isField(genFeature) && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2348); + stringBuffer.append(TEXT_2349); break; } } } if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2349); - } stringBuffer.append(TEXT_2350); - for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) { String safeNameAccessor = genFeature.getSafeName(); if ("featureID".equals(safeNameAccessor)) { safeNameAccessor = "this." + safeNameAccessor; } + } stringBuffer.append(TEXT_2351); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) { String safeNameAccessor = genFeature.getSafeName(); if ("featureID".equals(safeNameAccessor)) { safeNameAccessor = "this." + safeNameAccessor; } stringBuffer.append(TEXT_2352); - if (UML2GenModelUtil.isUnion(genFeature) || UML2GenModelUtil.isRedefinition(genFeature) || UML2GenModelUtil.isRedefined(genClass, genFeature)) { + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_2353); - stringBuffer.append(genFeature.getAccessorName()); + if (UML2GenModelUtil.isUnion(genFeature) || UML2GenModelUtil.isRedefinition(genFeature) || UML2GenModelUtil.isRedefined(genClass, genFeature)) { stringBuffer.append(TEXT_2354); + stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(TEXT_2355); } else { if (genFeature.hasSettingDelegate()) { if (genFeature.isUnsettable()) { - stringBuffer.append(TEXT_2355); - stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_2356); - } else { + stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_2357); - stringBuffer.append(genFeature.getUpperName()); + } else { stringBuffer.append(TEXT_2358); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_2359); } } else if (genFeature.isListType() && !genFeature.isUnsettable()) { if (genFeature.isWrappedFeatureMapType()) { if (genFeature.isVolatile()) { - stringBuffer.append(TEXT_2359); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2360); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_2361); - } else { + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2362); - stringBuffer.append(safeNameAccessor); + } else { stringBuffer.append(TEXT_2363); stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2364); + stringBuffer.append(safeNameAccessor); + stringBuffer.append(TEXT_2365); } } else { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_2365); - stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2366); stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2367); + stringBuffer.append(safeNameAccessor); + stringBuffer.append(TEXT_2368); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2368); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_2369); - stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2370); stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_2370); + stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2371); + stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_2372); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2372); - stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2373); stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2374); - } else { + stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2375); - stringBuffer.append(genFeature.getGetAccessor()); + } else { stringBuffer.append(TEXT_2376); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2377); } } } } else if (genFeature.isUnsettable()) { - stringBuffer.append(TEXT_2377); - stringBuffer.append(genFeature.getAccessorName()); stringBuffer.append(TEXT_2378); + stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(TEXT_2379); } else if (genFeature.isResolveProxies()) { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_2379); - stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2380); + stringBuffer.append(safeNameAccessor); + stringBuffer.append(TEXT_2381); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2381); + stringBuffer.append(TEXT_2382); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2382); - } else { stringBuffer.append(TEXT_2383); - stringBuffer.append(genFeature.getAccessorName()); + } else { stringBuffer.append(TEXT_2384); + stringBuffer.append(genFeature.getAccessorName()); + stringBuffer.append(TEXT_2385); } } } else if (!genFeature.hasEDefault()) { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_2385); - stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2386); + stringBuffer.append(safeNameAccessor); + stringBuffer.append(TEXT_2387); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2387); + stringBuffer.append(TEXT_2388); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2388); - } else { stringBuffer.append(TEXT_2389); - stringBuffer.append(genFeature.getGetAccessor()); + } else { stringBuffer.append(TEXT_2390); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2391); } } } else if (genFeature.isPrimitiveType() || genFeature.isEnumType()) { if (genClass.isField(genFeature)) { if (genClass.isFlag(genFeature)) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_2391); - stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_2392); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_2393); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_2394); - } else { + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_2395); - stringBuffer.append(genClass.getFlagsField(genFeature)); + } else { stringBuffer.append(TEXT_2396); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_2397); stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_2398); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_2399); } } else { - stringBuffer.append(TEXT_2399); - stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2400); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2401); + stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(TEXT_2402); } } else { if (genFeature.isEnumType() && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2402); + stringBuffer.append(TEXT_2403); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2403); - stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_2404); stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_2405); - } else { + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_2406); - stringBuffer.append(genFeature.getGetAccessor()); + } else { stringBuffer.append(TEXT_2407); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genFeature.getGetAccessor()); stringBuffer.append(TEXT_2408); + stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(TEXT_2409); } } } else {//datatype if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_2409); - stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_2410); - stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2411); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2412); + stringBuffer.append(TEXT_2411); stringBuffer.append(safeNameAccessor); + stringBuffer.append(TEXT_2412); + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_2413); + stringBuffer.append(safeNameAccessor); + stringBuffer.append(TEXT_2414); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2414); - stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_2415); - stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2416); stringBuffer.append(genFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_2416); + stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2417); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(genFeature.getImportedType(genClass)); stringBuffer.append(TEXT_2418); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_2419); stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_2420); - stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2421); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2422); + stringBuffer.append(TEXT_2421); stringBuffer.append(safeNameAccessor); + stringBuffer.append(TEXT_2422); + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_2423); - } else { + stringBuffer.append(safeNameAccessor); stringBuffer.append(TEXT_2424); - stringBuffer.append(genFeature.getEDefault()); + } else { stringBuffer.append(TEXT_2425); - stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2426); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2427); + stringBuffer.append(TEXT_2426); stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2427); + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_2428); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_2429); } } } } } - stringBuffer.append(TEXT_2429); - if (genModel.isMinimalReflectiveMethods()) { stringBuffer.append(TEXT_2430); - } else { + if (genModel.isMinimalReflectiveMethods()) { stringBuffer.append(TEXT_2431); - } + } else { stringBuffer.append(TEXT_2432); + } + stringBuffer.append(TEXT_2433); //Class/eIsSet.override.javajetinc } if (isImplementation && (!genClass.getMixinGenFeatures().isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty())) { if (!genClass.getMixinGenFeatures().isEmpty()) { - stringBuffer.append(TEXT_2433); - if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2434); - } + if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2435); - stringBuffer.append(singleWildcard); + } stringBuffer.append(TEXT_2436); - for (GenClass mixinGenClass : genClass.getMixinGenClasses()) { + stringBuffer.append(singleWildcard); stringBuffer.append(TEXT_2437); - stringBuffer.append(mixinGenClass.getRawImportedInterfaceName()); + for (GenClass mixinGenClass : genClass.getMixinGenClasses()) { stringBuffer.append(TEXT_2438); - stringBuffer.append(negativeOffsetCorrection); + stringBuffer.append(mixinGenClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_2439); - for (GenFeature genFeature : mixinGenClass.getGenFeatures()) { + stringBuffer.append(negativeOffsetCorrection); stringBuffer.append(TEXT_2440); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + for (GenFeature genFeature : mixinGenClass.getGenFeatures()) { stringBuffer.append(TEXT_2441); - stringBuffer.append(mixinGenClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_2442); - } + stringBuffer.append(mixinGenClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_2443); } stringBuffer.append(TEXT_2444); } stringBuffer.append(TEXT_2445); - if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2446); } + stringBuffer.append(TEXT_2446); + if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2447); - stringBuffer.append(singleWildcard); + } stringBuffer.append(TEXT_2448); - for (GenClass mixinGenClass : genClass.getMixinGenClasses()) { + stringBuffer.append(singleWildcard); stringBuffer.append(TEXT_2449); - stringBuffer.append(mixinGenClass.getRawImportedInterfaceName()); + for (GenClass mixinGenClass : genClass.getMixinGenClasses()) { stringBuffer.append(TEXT_2450); - for (GenFeature genFeature : mixinGenClass.getGenFeatures()) { + stringBuffer.append(mixinGenClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_2451); - stringBuffer.append(mixinGenClass.getQualifiedFeatureID(genFeature)); + for (GenFeature genFeature : mixinGenClass.getGenFeatures()) { stringBuffer.append(TEXT_2452); + stringBuffer.append(mixinGenClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(TEXT_2453); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2453); - } stringBuffer.append(TEXT_2454); } - if (genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty()) { stringBuffer.append(TEXT_2455); - stringBuffer.append(genClass.getRawImportedInterfaceName()); + } + if (genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty()) { stringBuffer.append(TEXT_2456); - stringBuffer.append(negativeOffsetCorrection); + stringBuffer.append(genClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_2457); - for (GenFeature genFeature : genClass.getGenFeatures()) { + stringBuffer.append(negativeOffsetCorrection); stringBuffer.append(TEXT_2458); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + for (GenFeature genFeature : genClass.getGenFeatures()) { stringBuffer.append(TEXT_2459); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(positiveOffsetCorrection); stringBuffer.append(TEXT_2460); - } + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(positiveOffsetCorrection); stringBuffer.append(TEXT_2461); } stringBuffer.append(TEXT_2462); } - if (genModel.isOperationReflection() && isImplementation && (!genClass.getMixinGenOperations().isEmpty() || !genClass.getOverrideGenOperations(genClass.getExtendedGenOperations(), genClass.getImplementedGenOperations()).isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty())) { stringBuffer.append(TEXT_2463); - if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2464); } + if (genModel.isOperationReflection() && isImplementation && (!genClass.getMixinGenOperations().isEmpty() || !genClass.getOverrideGenOperations(genClass.getExtendedGenOperations(), genClass.getImplementedGenOperations()).isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty())) { + stringBuffer.append(TEXT_2464); + if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2465); - stringBuffer.append(singleWildcard); + } stringBuffer.append(TEXT_2466); + stringBuffer.append(singleWildcard); + stringBuffer.append(TEXT_2467); for (GenClass extendedGenClass : genClass.getExtendedGenClasses()) { List<GenOperation> extendedImplementedGenOperations = extendedGenClass.getImplementedGenOperations(); List<GenOperation> implementedGenOperations = genClass.getImplementedGenOperations(); if (!genClass.getOverrideGenOperations(extendedImplementedGenOperations, implementedGenOperations).isEmpty()) { - stringBuffer.append(TEXT_2467); - stringBuffer.append(extendedGenClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_2468); + stringBuffer.append(extendedGenClass.getRawImportedInterfaceName()); + stringBuffer.append(TEXT_2469); for (GenOperation genOperation : extendedImplementedGenOperations) { GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation); if (implementedGenOperations.contains(overrideGenOperation)) { - stringBuffer.append(TEXT_2469); - stringBuffer.append(extendedGenClass.getQualifiedOperationID(genOperation)); stringBuffer.append(TEXT_2470); + stringBuffer.append(extendedGenClass.getQualifiedOperationID(genOperation)); + stringBuffer.append(TEXT_2471); stringBuffer.append(genClass.getQualifiedOperationID(overrideGenOperation)); stringBuffer.append(positiveOperationOffsetCorrection); - stringBuffer.append(TEXT_2471); + stringBuffer.append(TEXT_2472); } } - stringBuffer.append(TEXT_2472); + stringBuffer.append(TEXT_2473); } } for (GenClass mixinGenClass : genClass.getMixinGenClasses()) { - stringBuffer.append(TEXT_2473); - stringBuffer.append(mixinGenClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_2474); - for (GenOperation genOperation : mixinGenClass.getGenOperations()) { GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation); + stringBuffer.append(mixinGenClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_2475); - stringBuffer.append(mixinGenClass.getQualifiedOperationID(genOperation)); + for (GenOperation genOperation : mixinGenClass.getGenOperations()) { GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation); stringBuffer.append(TEXT_2476); + stringBuffer.append(mixinGenClass.getQualifiedOperationID(genOperation)); + stringBuffer.append(TEXT_2477); stringBuffer.append(genClass.getQualifiedOperationID(overrideGenOperation != null ? overrideGenOperation : genOperation)); stringBuffer.append(positiveOperationOffsetCorrection); - stringBuffer.append(TEXT_2477); - } stringBuffer.append(TEXT_2478); } - if (genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty()) { stringBuffer.append(TEXT_2479); - stringBuffer.append(genClass.getRawImportedInterfaceName()); + } + if (genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty()) { stringBuffer.append(TEXT_2480); - stringBuffer.append(negativeOperationOffsetCorrection); + stringBuffer.append(genClass.getRawImportedInterfaceName()); stringBuffer.append(TEXT_2481); - for (GenOperation genOperation : genClass.getGenOperations()) { + stringBuffer.append(negativeOperationOffsetCorrection); stringBuffer.append(TEXT_2482); - stringBuffer.append(genClass.getQualifiedOperationID(genOperation)); + for (GenOperation genOperation : genClass.getGenOperations()) { stringBuffer.append(TEXT_2483); stringBuffer.append(genClass.getQualifiedOperationID(genOperation)); - stringBuffer.append(positiveOperationOffsetCorrection); stringBuffer.append(TEXT_2484); - } + stringBuffer.append(genClass.getQualifiedOperationID(genOperation)); + stringBuffer.append(positiveOperationOffsetCorrection); stringBuffer.append(TEXT_2485); } stringBuffer.append(TEXT_2486); } + stringBuffer.append(TEXT_2487); + } if (isImplementation && genModel.isVirtualDelegation()) { String eVirtualValuesField = genClass.getEVirtualValuesField(); if (eVirtualValuesField != null) { - stringBuffer.append(TEXT_2487); - if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2488); - } + if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2489); - stringBuffer.append(eVirtualValuesField); + } stringBuffer.append(TEXT_2490); - if (genModel.useClassOverrideAnnotation()) { + stringBuffer.append(eVirtualValuesField); stringBuffer.append(TEXT_2491); - } + if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2492); - stringBuffer.append(eVirtualValuesField); + } stringBuffer.append(TEXT_2493); + stringBuffer.append(eVirtualValuesField); + stringBuffer.append(TEXT_2494); } { List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>()); if (!eVirtualIndexBitFields.isEmpty()) { List<String> allEVirtualIndexBitFields = genClass.getAllEVirtualIndexBitFields(new ArrayList<String>()); - stringBuffer.append(TEXT_2494); - if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2495); - } + if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2496); - for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) { + } stringBuffer.append(TEXT_2497); - stringBuffer.append(i); + for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) { stringBuffer.append(TEXT_2498); - stringBuffer.append(allEVirtualIndexBitFields.get(i)); + stringBuffer.append(i); stringBuffer.append(TEXT_2499); - } + stringBuffer.append(allEVirtualIndexBitFields.get(i)); stringBuffer.append(TEXT_2500); - if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2501); } + stringBuffer.append(TEXT_2501); + if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2502); - for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) { + } stringBuffer.append(TEXT_2503); - stringBuffer.append(i); + for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) { stringBuffer.append(TEXT_2504); - stringBuffer.append(allEVirtualIndexBitFields.get(i)); + stringBuffer.append(i); stringBuffer.append(TEXT_2505); - } + stringBuffer.append(allEVirtualIndexBitFields.get(i)); stringBuffer.append(TEXT_2506); } + stringBuffer.append(TEXT_2507); + } } } if (genModel.isOperationReflection() && isImplementation && !genClass.getImplementedGenOperations().isEmpty()) { - stringBuffer.append(TEXT_2507); - if (genModel.useClassOverrideAnnotation()) { stringBuffer.append(TEXT_2508); + if (genModel.useClassOverrideAnnotation()) { + stringBuffer.append(TEXT_2509); } if (genModel.useGenerics()) { - LOOP: for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) { - for (GenParameter genParameter : genOperation.getGenParameters()) { - if (genParameter.isUncheckedCast()) { - stringBuffer.append(TEXT_2509); - break LOOP;} + boolean isUnchecked = false; boolean isRaw = false; LOOP: for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) { for (GenParameter genParameter : genOperation.getGenParameters()) { if (genParameter.isUncheckedCast()) { if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType()) { isUnchecked = true; } if (genParameter.usesOperationTypeParameters() && !genParameter.getEcoreParameter().getEGenericType().getETypeArguments().isEmpty()) { isRaw = true; break LOOP; }}}} + if (isUnchecked) { + stringBuffer.append(TEXT_2510); + if (!isRaw) { + stringBuffer.append(TEXT_2511); + } else { + stringBuffer.append(TEXT_2512); } + stringBuffer.append(TEXT_2513); } } - stringBuffer.append(TEXT_2510); + stringBuffer.append(TEXT_2514); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EList")); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_2511); + stringBuffer.append(TEXT_2515); stringBuffer.append(genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")); - stringBuffer.append(TEXT_2512); + stringBuffer.append(TEXT_2516); stringBuffer.append(negativeOperationOffsetCorrection); - stringBuffer.append(TEXT_2513); + stringBuffer.append(TEXT_2517); for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) { List<GenParameter> genParameters = genOperation.getGenParameters(); int size = genParameters.size(); - stringBuffer.append(TEXT_2514); + stringBuffer.append(TEXT_2518); stringBuffer.append(genClass.getQualifiedOperationID(genOperation)); - stringBuffer.append(TEXT_2515); + stringBuffer.append(TEXT_2519); if (genOperation.isVoid()) { - stringBuffer.append(TEXT_2516); + stringBuffer.append(TEXT_2520); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2517); + stringBuffer.append(TEXT_2521); for (int i = 0; i < size; i++) { GenParameter genParameter = genParameters.get(i); if (!isJDK50 && genParameter.isPrimitiveType()) { - stringBuffer.append(TEXT_2518); + stringBuffer.append(TEXT_2522); } - if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.getRawType().equals(genParameter.getType(genClass))) { - stringBuffer.append(TEXT_2519); - stringBuffer.append(genParameter.getObjectType(genClass)); - stringBuffer.append(TEXT_2520); + if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) { + stringBuffer.append(TEXT_2523); + stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass)); + stringBuffer.append(TEXT_2524); } - stringBuffer.append(TEXT_2521); + stringBuffer.append(TEXT_2525); stringBuffer.append(i); - stringBuffer.append(TEXT_2522); + stringBuffer.append(TEXT_2526); if (!isJDK50 && genParameter.isPrimitiveType()) { - stringBuffer.append(TEXT_2523); + stringBuffer.append(TEXT_2527); stringBuffer.append(genParameter.getPrimitiveValueFunction()); - stringBuffer.append(TEXT_2524); + stringBuffer.append(TEXT_2528); } if (i < (size - 1)) { - stringBuffer.append(TEXT_2525); + stringBuffer.append(TEXT_2529); } } - stringBuffer.append(TEXT_2526); + stringBuffer.append(TEXT_2530); } else { - stringBuffer.append(TEXT_2527); + stringBuffer.append(TEXT_2531); if (!isJDK50 && genOperation.isPrimitiveType()) { - stringBuffer.append(TEXT_2528); + stringBuffer.append(TEXT_2532); stringBuffer.append(genOperation.getObjectType(genClass)); - stringBuffer.append(TEXT_2529); + stringBuffer.append(TEXT_2533); } stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2530); + stringBuffer.append(TEXT_2534); for (int i = 0; i < size; i++) { GenParameter genParameter = genParameters.get(i); if (!isJDK50 && genParameter.isPrimitiveType()) { - stringBuffer.append(TEXT_2531); + stringBuffer.append(TEXT_2535); } - if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.getRawType().equals(genParameter.getType(genClass))) { - stringBuffer.append(TEXT_2532); - stringBuffer.append(genParameter.getObjectType(genClass)); - stringBuffer.append(TEXT_2533); + if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) { + stringBuffer.append(TEXT_2536); + stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass)); + stringBuffer.append(TEXT_2537); } - stringBuffer.append(TEXT_2534); + stringBuffer.append(TEXT_2538); stringBuffer.append(i); - stringBuffer.append(TEXT_2535); + stringBuffer.append(TEXT_2539); if (!isJDK50 && genParameter.isPrimitiveType()) { - stringBuffer.append(TEXT_2536); + stringBuffer.append(TEXT_2540); stringBuffer.append(genParameter.getPrimitiveValueFunction()); - stringBuffer.append(TEXT_2537); + stringBuffer.append(TEXT_2541); } if (i < (size - 1)) { - stringBuffer.append(TEXT_2538); + stringBuffer.append(TEXT_2542); } } - stringBuffer.append(TEXT_2539); + stringBuffer.append(TEXT_2543); if (!isJDK50 && genOperation.isPrimitiveType()) { - stringBuffer.append(TEXT_2540); + stringBuffer.append(TEXT_2544); } - stringBuffer.append(TEXT_2541); + stringBuffer.append(TEXT_2545); } } - stringBuffer.append(TEXT_2542); + stringBuffer.append(TEXT_2546); if (genModel.isMinimalReflectiveMethods()) { - stringBuffer.append(TEXT_2543); + stringBuffer.append(TEXT_2547); } else { - stringBuffer.append(TEXT_2544); + stringBuffer.append(TEXT_2548); } - stringBuffer.append(TEXT_2545); + stringBuffer.append(TEXT_2549); } if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation() && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) { - stringBuffer.append(TEXT_2546); + stringBuffer.append(TEXT_2550); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2547); + stringBuffer.append(TEXT_2551); } - stringBuffer.append(TEXT_2548); + stringBuffer.append(TEXT_2552); { boolean first = true; for (GenFeature genFeature : genClass.getToStringGenFeatures()) { if (first) { first = false; - stringBuffer.append(TEXT_2549); + stringBuffer.append(TEXT_2553); stringBuffer.append(genFeature.getName()); - stringBuffer.append(TEXT_2550); + stringBuffer.append(TEXT_2554); stringBuffer.append(genModel.getNonNLS()); } else { - stringBuffer.append(TEXT_2551); + stringBuffer.append(TEXT_2555); stringBuffer.append(genFeature.getName()); - stringBuffer.append(TEXT_2552); + stringBuffer.append(TEXT_2556); stringBuffer.append(genModel.getNonNLS()); } if (genFeature.isUnsettable() && !genFeature.isListType()) { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2553); + stringBuffer.append(TEXT_2557); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2554); + stringBuffer.append(TEXT_2558); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2555); + stringBuffer.append(TEXT_2559); stringBuffer.append(genModel.getNonNLS()); } else { if (genClass.isFlag(genFeature)) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_2556); + stringBuffer.append(TEXT_2560); if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_2557); + stringBuffer.append(TEXT_2561); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_2558); + stringBuffer.append(TEXT_2562); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2559); + stringBuffer.append(TEXT_2563); } else { stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_2560); + stringBuffer.append(TEXT_2564); } - stringBuffer.append(TEXT_2561); + stringBuffer.append(TEXT_2565); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_2562); + stringBuffer.append(TEXT_2566); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2563); + stringBuffer.append(TEXT_2567); stringBuffer.append(genModel.getNonNLS()); } else { - stringBuffer.append(TEXT_2564); + stringBuffer.append(TEXT_2568); if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_2565); + stringBuffer.append(TEXT_2569); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_2566); + stringBuffer.append(TEXT_2570); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2567); + stringBuffer.append(TEXT_2571); } else { stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_2568); + stringBuffer.append(TEXT_2572); } - stringBuffer.append(TEXT_2569); + stringBuffer.append(TEXT_2573); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2570); + stringBuffer.append(TEXT_2574); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_2571); + stringBuffer.append(TEXT_2575); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2572); + stringBuffer.append(TEXT_2576); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2573); + stringBuffer.append(TEXT_2577); stringBuffer.append(genModel.getNonNLS()); } } else { - stringBuffer.append(TEXT_2574); + stringBuffer.append(TEXT_2578); if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_2575); + stringBuffer.append(TEXT_2579); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_2576); + stringBuffer.append(TEXT_2580); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2577); + stringBuffer.append(TEXT_2581); } else { stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_2578); + stringBuffer.append(TEXT_2582); } - stringBuffer.append(TEXT_2579); + stringBuffer.append(TEXT_2583); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2580); + stringBuffer.append(TEXT_2584); stringBuffer.append(genModel.getNonNLS()); } } } else { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2581); + stringBuffer.append(TEXT_2585); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); if (!genFeature.isListType() && !genFeature.isReferenceType()){ - stringBuffer.append(TEXT_2582); + stringBuffer.append(TEXT_2586); stringBuffer.append(genFeature.getEDefault()); } - stringBuffer.append(TEXT_2583); + stringBuffer.append(TEXT_2587); } else { if (genClass.isFlag(genFeature)) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_2584); + stringBuffer.append(TEXT_2588); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_2585); + stringBuffer.append(TEXT_2589); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2586); + stringBuffer.append(TEXT_2590); } else { - stringBuffer.append(TEXT_2587); + stringBuffer.append(TEXT_2591); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2588); + stringBuffer.append(TEXT_2592); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_2589); + stringBuffer.append(TEXT_2593); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2590); + stringBuffer.append(TEXT_2594); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2591); + stringBuffer.append(TEXT_2595); } } else { - stringBuffer.append(TEXT_2592); + stringBuffer.append(TEXT_2596); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2593); + stringBuffer.append(TEXT_2597); } } } } } - stringBuffer.append(TEXT_2594); + stringBuffer.append(TEXT_2598); } if (isImplementation && genClass.isMapEntry()) { GenFeature keyFeature = genClass.getMapEntryKeyFeature(); GenFeature valueFeature = genClass.getMapEntryValueFeature(); String objectType = genModel.getImportedName("java.lang.Object"); String keyType = isJDK50 ? keyFeature.getObjectType(genClass) : objectType; String valueType = isJDK50 ? valueFeature.getObjectType(genClass) : objectType; String eMapType = genModel.getImportedName("org.eclipse.emf.common.util.EMap") + (isJDK50 ? "<" + keyType + ", " + valueType + ">" : ""); - stringBuffer.append(TEXT_2595); + stringBuffer.append(TEXT_2599); if (isGWT) { - stringBuffer.append(TEXT_2596); + stringBuffer.append(TEXT_2600); stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")); } - stringBuffer.append(TEXT_2597); + stringBuffer.append(TEXT_2601); stringBuffer.append(objectType); - stringBuffer.append(TEXT_2598); + stringBuffer.append(TEXT_2602); stringBuffer.append(keyType); - stringBuffer.append(TEXT_2599); + stringBuffer.append(TEXT_2603); if (!isJDK50 && keyFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2600); + stringBuffer.append(TEXT_2604); stringBuffer.append(keyFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_2601); + stringBuffer.append(TEXT_2605); } else { - stringBuffer.append(TEXT_2602); + stringBuffer.append(TEXT_2606); } - stringBuffer.append(TEXT_2603); + stringBuffer.append(TEXT_2607); stringBuffer.append(keyType); - stringBuffer.append(TEXT_2604); + stringBuffer.append(TEXT_2608); if (keyFeature.isListType()) { - stringBuffer.append(TEXT_2605); + stringBuffer.append(TEXT_2609); if (!genModel.useGenerics()) { - stringBuffer.append(TEXT_2606); + stringBuffer.append(TEXT_2610); stringBuffer.append(genModel.getImportedName("java.util.Collection")); - stringBuffer.append(TEXT_2607); + stringBuffer.append(TEXT_2611); } - stringBuffer.append(TEXT_2608); + stringBuffer.append(TEXT_2612); } else if (isJDK50) { - stringBuffer.append(TEXT_2609); + stringBuffer.append(TEXT_2613); } else if (keyFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2610); + stringBuffer.append(TEXT_2614); stringBuffer.append(keyFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_2611); + stringBuffer.append(TEXT_2615); stringBuffer.append(keyFeature.getPrimitiveValueFunction()); - stringBuffer.append(TEXT_2612); + stringBuffer.append(TEXT_2616); } else { - stringBuffer.append(TEXT_2613); + stringBuffer.append(TEXT_2617); stringBuffer.append(keyFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2614); + stringBuffer.append(TEXT_2618); } - stringBuffer.append(TEXT_2615); + stringBuffer.append(TEXT_2619); stringBuffer.append(valueType); - stringBuffer.append(TEXT_2616); + stringBuffer.append(TEXT_2620); if (!isJDK50 && valueFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2617); + stringBuffer.append(TEXT_2621); stringBuffer.append(valueFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_2618); + stringBuffer.append(TEXT_2622); } else { - stringBuffer.append(TEXT_2619); + stringBuffer.append(TEXT_2623); } - stringBuffer.append(TEXT_2620); + stringBuffer.append(TEXT_2624); stringBuffer.append(valueType); - stringBuffer.append(TEXT_2621); + stringBuffer.append(TEXT_2625); stringBuffer.append(valueType); - stringBuffer.append(TEXT_2622); + stringBuffer.append(TEXT_2626); stringBuffer.append(valueType); - stringBuffer.append(TEXT_2623); + stringBuffer.append(TEXT_2627); if (valueFeature.isListType()) { - stringBuffer.append(TEXT_2624); + stringBuffer.append(TEXT_2628); if (!genModel.useGenerics()) { - stringBuffer.append(TEXT_2625); + stringBuffer.append(TEXT_2629); stringBuffer.append(genModel.getImportedName("java.util.Collection")); - stringBuffer.append(TEXT_2626); + stringBuffer.append(TEXT_2630); } - stringBuffer.append(TEXT_2627); + stringBuffer.append(TEXT_2631); } else if (isJDK50) { - stringBuffer.append(TEXT_2628); + stringBuffer.append(TEXT_2632); } else if (valueFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2629); + stringBuffer.append(TEXT_2633); stringBuffer.append(valueFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_2630); + stringBuffer.append(TEXT_2634); stringBuffer.append(valueFeature.getPrimitiveValueFunction()); - stringBuffer.append(TEXT_2631); + stringBuffer.append(TEXT_2635); } else { - stringBuffer.append(TEXT_2632); + stringBuffer.append(TEXT_2636); stringBuffer.append(valueFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2633); + stringBuffer.append(TEXT_2637); } - stringBuffer.append(TEXT_2634); + stringBuffer.append(TEXT_2638); if (genModel.useGenerics()) { - stringBuffer.append(TEXT_2635); + stringBuffer.append(TEXT_2639); } - stringBuffer.append(TEXT_2636); + stringBuffer.append(TEXT_2640); stringBuffer.append(eMapType); - stringBuffer.append(TEXT_2637); + stringBuffer.append(TEXT_2641); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject")); - stringBuffer.append(TEXT_2638); + stringBuffer.append(TEXT_2642); stringBuffer.append(eMapType); - stringBuffer.append(TEXT_2639); + stringBuffer.append(TEXT_2643); } if (isImplementation) { if (!UML2GenModelUtil.isOperationsClasses(genPackage) && UML2GenModelUtil.hasOCLOperationBodies(genClass) && (!UML2GenModelUtil.hasOCLOperationBodies(genClass.getClassExtendsGenClass()) || UML2GenModelUtil.isOperationsClasses(genClass.getClassExtendsGenClass().getGenPackage()))) { - stringBuffer.append(TEXT_2640); + stringBuffer.append(TEXT_2644); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); - stringBuffer.append(TEXT_2641); + stringBuffer.append(TEXT_2645); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); - stringBuffer.append(TEXT_2642); + stringBuffer.append(TEXT_2646); } if (genClass.isModelRoot()) { if (UML2GenModelUtil.isFactoryMethods(genClass)) { - stringBuffer.append(TEXT_2643); + stringBuffer.append(TEXT_2647); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject")); - stringBuffer.append(TEXT_2644); + stringBuffer.append(TEXT_2648); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_2645); + stringBuffer.append(TEXT_2649); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil")); - stringBuffer.append(TEXT_2646); + stringBuffer.append(TEXT_2650); } if (UML2GenModelUtil.isCacheAdapterSupport(genClass)) { - stringBuffer.append(TEXT_2647); + stringBuffer.append(TEXT_2651); stringBuffer.append(genClass.getFormattedName()); - stringBuffer.append(TEXT_2648); + stringBuffer.append(TEXT_2652); stringBuffer.append(genClass.getFormattedName()); - stringBuffer.append(TEXT_2649); + stringBuffer.append(TEXT_2653); stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); - stringBuffer.append(TEXT_2650); + stringBuffer.append(TEXT_2654); stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); - stringBuffer.append(TEXT_2651); + stringBuffer.append(TEXT_2655); } } for (GenFeature genFeature : UML2GenModelUtil.getImplementedUnionGenFeatures(genClass)) { if (genFeature.isGet()) { if (genFeature.isListType()) { if (!UML2GenModelUtil.isDerivedUnionListType(genClass, genFeature)) { - stringBuffer.append(TEXT_2652); + stringBuffer.append(TEXT_2656); if (genModel.useClassOverrideAnnotation() && genClass.getExtendedGenFeatures().contains(genFeature)) { - stringBuffer.append(TEXT_2653); + stringBuffer.append(TEXT_2657); } - stringBuffer.append(TEXT_2654); + stringBuffer.append(TEXT_2658); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2655); + stringBuffer.append(TEXT_2659); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2656); + stringBuffer.append(TEXT_2660); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2657); + stringBuffer.append(TEXT_2661); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2658); + stringBuffer.append(TEXT_2662); if (genClass.getExtendedGenFeatures().contains(genFeature)) { if (UML2GenModelUtil.isDerivedUnionListType(genClass.getClassExtendsGenClass(), genFeature)) { - stringBuffer.append(TEXT_2659); + stringBuffer.append(TEXT_2663); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2660); + stringBuffer.append(TEXT_2664); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2661); + stringBuffer.append(TEXT_2665); } else { - stringBuffer.append(TEXT_2662); + stringBuffer.append(TEXT_2666); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2663); + stringBuffer.append(TEXT_2667); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2664); + stringBuffer.append(TEXT_2668); } } for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature)) { @@ -9544,699 +9570,696 @@ if (index != -1) { head = typeName.substring(0, index); tail = typeName.substrin if (subsetGenFeature.isListType()) { if (subsetGenFeature.isResolveProxies() || UML2GenModelUtil.isUnion(subsetGenFeature)) { if (subsetGenFeature.isIsSet() || UML2GenModelUtil.isUnion(subsetGenFeature) || UML2GenModelUtil.isRedefinition(subsetGenFeature) || UML2GenModelUtil.isRedefined(genClass, subsetGenFeature)) { - stringBuffer.append(TEXT_2665); + stringBuffer.append(TEXT_2669); stringBuffer.append(subsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2666); + stringBuffer.append(TEXT_2670); stringBuffer.append(genModel.getImportedName("java.util.Iterator")); if (genModel.useGenerics()) { - stringBuffer.append(TEXT_2667); + stringBuffer.append(TEXT_2671); stringBuffer.append(genModel.getImportedName(subsetGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_2668); + stringBuffer.append(TEXT_2672); } - stringBuffer.append(TEXT_2669); + stringBuffer.append(TEXT_2673); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); - stringBuffer.append(TEXT_2670); + stringBuffer.append(TEXT_2674); stringBuffer.append(subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2671); + stringBuffer.append(TEXT_2675); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2672); + stringBuffer.append(TEXT_2676); } else { if (genClass.isField(subsetGenFeature)) { - stringBuffer.append(TEXT_2673); + stringBuffer.append(TEXT_2677); stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); - stringBuffer.append(TEXT_2674); + stringBuffer.append(TEXT_2678); stringBuffer.append(genModel.getImportedName("java.util.Iterator")); if (genModel.useGenerics()) { - stringBuffer.append(TEXT_2675); + stringBuffer.append(TEXT_2679); stringBuffer.append(genModel.getImportedName(subsetGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_2676); + stringBuffer.append(TEXT_2680); } - stringBuffer.append(TEXT_2677); + stringBuffer.append(TEXT_2681); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); - stringBuffer.append(TEXT_2678); + stringBuffer.append(TEXT_2682); stringBuffer.append(subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2679); + stringBuffer.append(TEXT_2683); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2680); + stringBuffer.append(TEXT_2684); } else { - stringBuffer.append(TEXT_2681); + stringBuffer.append(TEXT_2685); stringBuffer.append(subsetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2682); + stringBuffer.append(TEXT_2686); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2683); + stringBuffer.append(TEXT_2687); stringBuffer.append(subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2684); + stringBuffer.append(TEXT_2688); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2685); + stringBuffer.append(TEXT_2689); stringBuffer.append(genModel.getImportedName("java.util.Iterator")); if (genModel.useGenerics()) { - stringBuffer.append(TEXT_2686); + stringBuffer.append(TEXT_2690); stringBuffer.append(genModel.getImportedName(subsetGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_2687); + stringBuffer.append(TEXT_2691); } - stringBuffer.append(TEXT_2688); + stringBuffer.append(TEXT_2692); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); - stringBuffer.append(TEXT_2689); + stringBuffer.append(TEXT_2693); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2690); + stringBuffer.append(TEXT_2694); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2691); + stringBuffer.append(TEXT_2695); } } } else { if (subsetGenFeature.isIsSet() || UML2GenModelUtil.isUnion(subsetGenFeature) || UML2GenModelUtil.isRedefinition(subsetGenFeature) || UML2GenModelUtil.isRedefined(genClass, subsetGenFeature)) { - stringBuffer.append(TEXT_2692); - stringBuffer.append(subsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2693); - stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2694); - stringBuffer.append(subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2695); - } else { - if (genClass.isField(subsetGenFeature)) { stringBuffer.append(TEXT_2696); - stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); + stringBuffer.append(subsetGenFeature.getAccessorName()); stringBuffer.append(TEXT_2697); stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_2698); stringBuffer.append(subsetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_2699); } else { + if (genClass.isField(subsetGenFeature)) { stringBuffer.append(TEXT_2700); - stringBuffer.append(subsetGenFeature.getImportedType(genClass)); + stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); stringBuffer.append(TEXT_2701); - stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_2702); stringBuffer.append(subsetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_2703); - stringBuffer.append(subsetGenFeature.getSafeName()); + } else { stringBuffer.append(TEXT_2704); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(subsetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_2705); stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_2706); + stringBuffer.append(subsetGenFeature.getGetAccessor()); + stringBuffer.append(TEXT_2707); + stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(TEXT_2708); + stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(TEXT_2709); + stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(TEXT_2710); } } } } else { if (subsetGenFeature.isIsSet() || UML2GenModelUtil.isUnion(subsetGenFeature) || UML2GenModelUtil.isRedefinition(subsetGenFeature) || UML2GenModelUtil.isRedefined(genClass, subsetGenFeature)) { - stringBuffer.append(TEXT_2707); + stringBuffer.append(TEXT_2711); stringBuffer.append(subsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2708); + stringBuffer.append(TEXT_2712); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2709); + stringBuffer.append(TEXT_2713); if (subsetGenFeature.isBasicGet()) { - stringBuffer.append(TEXT_2710); + stringBuffer.append(TEXT_2714); stringBuffer.append(subsetGenFeature.getAccessorName()); } else { stringBuffer.append(subsetGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_2711); + stringBuffer.append(TEXT_2715); } else { - stringBuffer.append(TEXT_2712); + stringBuffer.append(TEXT_2716); stringBuffer.append(subsetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2713); + stringBuffer.append(TEXT_2717); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2714); + stringBuffer.append(TEXT_2718); if (subsetGenFeature.isBasicGet()) { - stringBuffer.append(TEXT_2715); + stringBuffer.append(TEXT_2719); stringBuffer.append(subsetGenFeature.getAccessorName()); } else { stringBuffer.append(subsetGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_2716); + stringBuffer.append(TEXT_2720); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2717); + stringBuffer.append(TEXT_2721); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2718); + stringBuffer.append(TEXT_2722); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2719); + stringBuffer.append(TEXT_2723); } } } } - stringBuffer.append(TEXT_2720); + stringBuffer.append(TEXT_2724); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2721); + stringBuffer.append(TEXT_2725); } } } - stringBuffer.append(TEXT_2722); + stringBuffer.append(TEXT_2726); if (isJDK50) { //isSetGenFeature.annotations.insert.javajetinc if (genClass.getExtendedGenFeatures().contains(genFeature) || (UML2GenModelUtil.isDuplicate(genFeature) && (!UML2GenModelUtil.isRedefinition(genFeature) || genClass.getExtendedGenFeatures().contains(UML2GenModelUtil.getRedefinedGenFeatures(genFeature).iterator().next())))) { - stringBuffer.append(TEXT_2723); + stringBuffer.append(TEXT_2727); } } - stringBuffer.append(TEXT_2724); + stringBuffer.append(TEXT_2728); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2725); + stringBuffer.append(TEXT_2729); if (!UML2GenModelUtil.getIsSetSubsetGenFeatures(genClass, genFeature).isEmpty()) { boolean first = true; if (first && genClass.getExtendedGenFeatures().contains(genFeature)) { first = false; - stringBuffer.append(TEXT_2726); + stringBuffer.append(TEXT_2730); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2727); + stringBuffer.append(TEXT_2731); } for (Iterator<GenFeature> isSetSubsetGenFeatures = UML2GenModelUtil.getIsSetSubsetGenFeatures(genClass, genFeature).iterator(); isSetSubsetGenFeatures.hasNext();) { GenFeature isSetSubsetGenFeature = isSetSubsetGenFeatures.next(); if (first) { first = false; if (isSetSubsetGenFeature.isIsSet() || UML2GenModelUtil.isUnion(isSetSubsetGenFeature) || UML2GenModelUtil.isRedefinition(isSetSubsetGenFeature) || UML2GenModelUtil.isRedefined(genClass, isSetSubsetGenFeature)) { - stringBuffer.append(TEXT_2728); + stringBuffer.append(TEXT_2732); stringBuffer.append(isSetSubsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2729); + stringBuffer.append(TEXT_2733); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2730); + stringBuffer.append(TEXT_2734); } } else if (UML2GenModelUtil.isDuplicate(isSetSubsetGenFeature) && !UML2GenModelUtil.isRedefinition(isSetSubsetGenFeature)) { if (isSetSubsetGenFeature.isListType()) { - stringBuffer.append(TEXT_2731); + stringBuffer.append(TEXT_2735); stringBuffer.append(isSetSubsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2732); + stringBuffer.append(TEXT_2736); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2733); + stringBuffer.append(TEXT_2737); } } else { - stringBuffer.append(TEXT_2734); + stringBuffer.append(TEXT_2738); if (isSetSubsetGenFeature.isBasicGet()) { - stringBuffer.append(TEXT_2735); + stringBuffer.append(TEXT_2739); stringBuffer.append(isSetSubsetGenFeature.getAccessorName()); } else { stringBuffer.append(isSetSubsetGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_2736); + stringBuffer.append(TEXT_2740); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2737); + stringBuffer.append(TEXT_2741); } } } else { - stringBuffer.append(TEXT_2738); + stringBuffer.append(TEXT_2742); stringBuffer.append(genClass.getQualifiedFeatureID(isSetSubsetGenFeature)); - stringBuffer.append(TEXT_2739); + stringBuffer.append(TEXT_2743); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2740); + stringBuffer.append(TEXT_2744); } } } else { if (isSetSubsetGenFeature.isIsSet() || UML2GenModelUtil.isUnion(isSetSubsetGenFeature) || UML2GenModelUtil.isRedefinition(isSetSubsetGenFeature) || UML2GenModelUtil.isRedefined(genClass, isSetSubsetGenFeature)) { - stringBuffer.append(TEXT_2741); + stringBuffer.append(TEXT_2745); stringBuffer.append(isSetSubsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2742); + stringBuffer.append(TEXT_2746); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2743); + stringBuffer.append(TEXT_2747); } } else if (UML2GenModelUtil.isDuplicate(isSetSubsetGenFeature) && !UML2GenModelUtil.isRedefinition(isSetSubsetGenFeature)) { if (isSetSubsetGenFeature.isListType()) { - stringBuffer.append(TEXT_2744); + stringBuffer.append(TEXT_2748); stringBuffer.append(isSetSubsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2745); + stringBuffer.append(TEXT_2749); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2746); + stringBuffer.append(TEXT_2750); } } else { - stringBuffer.append(TEXT_2747); + stringBuffer.append(TEXT_2751); if (isSetSubsetGenFeature.isBasicGet()) { - stringBuffer.append(TEXT_2748); + stringBuffer.append(TEXT_2752); stringBuffer.append(isSetSubsetGenFeature.getAccessorName()); } else { stringBuffer.append(isSetSubsetGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_2749); + stringBuffer.append(TEXT_2753); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2750); + stringBuffer.append(TEXT_2754); } } } else { - stringBuffer.append(TEXT_2751); + stringBuffer.append(TEXT_2755); stringBuffer.append(genClass.getQualifiedFeatureID(isSetSubsetGenFeature)); - stringBuffer.append(TEXT_2752); + stringBuffer.append(TEXT_2756); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2753); + stringBuffer.append(TEXT_2757); } } } } } else { if (genClass.getExtendedGenFeatures().contains(genFeature)) { - stringBuffer.append(TEXT_2754); + stringBuffer.append(TEXT_2758); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2755); + stringBuffer.append(TEXT_2759); } else { - stringBuffer.append(TEXT_2756); + stringBuffer.append(TEXT_2760); } } - stringBuffer.append(TEXT_2757); + stringBuffer.append(TEXT_2761); } for (GenFeature genFeature : UML2GenModelUtil.getImplementedRedefinedGenFeatures(genClass)) { GenFeature redefinitionGenFeature = UML2GenModelUtil.getRedefinitionGenFeatures(genClass, genFeature).iterator().next(); if (genFeature.isGet()) { - stringBuffer.append(TEXT_2758); + stringBuffer.append(TEXT_2762); if (isJDK50) { //getGenFeature.annotations.insert.javajetinc if (genClass.getExtendedGenFeatures().contains(genFeature) || (UML2GenModelUtil.isDuplicate(genFeature) && (!UML2GenModelUtil.isRedefinition(genFeature) || genClass.getExtendedGenFeatures().contains(UML2GenModelUtil.getRedefinedGenFeatures(genFeature).iterator().next())))) { - stringBuffer.append(TEXT_2759); + stringBuffer.append(TEXT_2763); } } - stringBuffer.append(TEXT_2760); + stringBuffer.append(TEXT_2764); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2761); + stringBuffer.append(TEXT_2765); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2762); + stringBuffer.append(TEXT_2766); if (genFeature.isListType()) { if (redefinitionGenFeature.isListType()) { if (genModel.useGenerics() && !redefinitionGenFeature.getListItemType(genClass).equals(genFeature.getListItemType(genClass))) { - stringBuffer.append(TEXT_2763); + stringBuffer.append(TEXT_2767); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2764); + stringBuffer.append(TEXT_2768); stringBuffer.append(redefinitionGenFeature.getUncapName()); - stringBuffer.append(TEXT_2765); + stringBuffer.append(TEXT_2769); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2766); + stringBuffer.append(TEXT_2770); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EList") + "<?>"); - stringBuffer.append(TEXT_2767); + stringBuffer.append(TEXT_2771); stringBuffer.append(redefinitionGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2768); + stringBuffer.append(TEXT_2772); stringBuffer.append(redefinitionGenFeature.getUncapName()); - stringBuffer.append(TEXT_2769); + stringBuffer.append(TEXT_2773); } else { - stringBuffer.append(TEXT_2770); + stringBuffer.append(TEXT_2774); stringBuffer.append(redefinitionGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2771); + stringBuffer.append(TEXT_2775); } } else { - stringBuffer.append(TEXT_2772); + stringBuffer.append(TEXT_2776); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreEList")); - stringBuffer.append(TEXT_2773); + stringBuffer.append(TEXT_2777); if (genModel.useGenerics()) { stringBuffer.append("<" + genFeature.getListItemType(genClass) + ">"); } - stringBuffer.append(TEXT_2774); + stringBuffer.append(TEXT_2778); if (UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_2775); + stringBuffer.append(TEXT_2779); } else { stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); } - stringBuffer.append(TEXT_2776); + stringBuffer.append(TEXT_2780); stringBuffer.append(genModel.getImportedName("java.util.Collections")); - stringBuffer.append(TEXT_2777); + stringBuffer.append(TEXT_2781); } } else { if (redefinitionGenFeature.isListType()) { - stringBuffer.append(TEXT_2778); + stringBuffer.append(TEXT_2782); } else { - stringBuffer.append(TEXT_2779); + stringBuffer.append(TEXT_2783); stringBuffer.append(redefinitionGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2780); + stringBuffer.append(TEXT_2784); } } - stringBuffer.append(TEXT_2781); + stringBuffer.append(TEXT_2785); } if (genFeature.isBasicGet()) { - stringBuffer.append(TEXT_2782); + stringBuffer.append(TEXT_2786); if (isJDK50) { //basicGetGenFeature.annotations.insert.javajetinc if (genClass.getExtendedGenFeatures().contains(genFeature) || (UML2GenModelUtil.isDuplicate(genFeature) && (!UML2GenModelUtil.isRedefinition(genFeature) || genClass.getExtendedGenFeatures().contains(UML2GenModelUtil.getRedefinedGenFeatures(genFeature).iterator().next())))) { - stringBuffer.append(TEXT_2783); + stringBuffer.append(TEXT_2787); } } - stringBuffer.append(TEXT_2784); + stringBuffer.append(TEXT_2788); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2785); + stringBuffer.append(TEXT_2789); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2786); + stringBuffer.append(TEXT_2790); if (redefinitionGenFeature.isListType()) { - stringBuffer.append(TEXT_2787); + stringBuffer.append(TEXT_2791); } else { - stringBuffer.append(TEXT_2788); + stringBuffer.append(TEXT_2792); if (redefinitionGenFeature.isBasicGet()) { - stringBuffer.append(TEXT_2789); + stringBuffer.append(TEXT_2793); stringBuffer.append(redefinitionGenFeature.getAccessorName()); } else { stringBuffer.append(redefinitionGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_2790); + stringBuffer.append(TEXT_2794); } - stringBuffer.append(TEXT_2791); + stringBuffer.append(TEXT_2795); } if (genFeature.isBasicSet()) { - stringBuffer.append(TEXT_2792); + stringBuffer.append(TEXT_2796); if (isJDK50) { //basicSetGenFeature.annotations.insert.javajetinc if (genClass.getExtendedGenFeatures().contains(genFeature) || (UML2GenModelUtil.isDuplicate(genFeature) && (!UML2GenModelUtil.isRedefinition(genFeature) || genClass.getExtendedGenFeatures().contains(UML2GenModelUtil.getRedefinedGenFeatures(genFeature).iterator().next())))) { - stringBuffer.append(TEXT_2793); + stringBuffer.append(TEXT_2797); } } - stringBuffer.append(TEXT_2794); + stringBuffer.append(TEXT_2798); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_2795); + stringBuffer.append(TEXT_2799); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2796); + stringBuffer.append(TEXT_2800); stringBuffer.append(genFeature.getImportedInternalType(genClass)); - stringBuffer.append(TEXT_2797); + stringBuffer.append(TEXT_2801); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2798); + stringBuffer.append(TEXT_2802); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_2799); + stringBuffer.append(TEXT_2803); if (!redefinitionGenFeature.isSet() || redefinitionGenFeature.isListType()) { - stringBuffer.append(TEXT_2800); + stringBuffer.append(TEXT_2804); } else { if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) { - stringBuffer.append(TEXT_2801); + stringBuffer.append(TEXT_2805); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2802); + stringBuffer.append(TEXT_2806); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2803); + stringBuffer.append(TEXT_2807); stringBuffer.append(redefinitionGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2804); + stringBuffer.append(TEXT_2808); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2805); + stringBuffer.append(TEXT_2809); } if (redefinitionGenFeature.isBasicSet()) { - stringBuffer.append(TEXT_2806); + stringBuffer.append(TEXT_2810); stringBuffer.append(redefinitionGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2807); + stringBuffer.append(TEXT_2811); if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) { - stringBuffer.append(TEXT_2808); + stringBuffer.append(TEXT_2812); stringBuffer.append(redefinitionGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2809); + stringBuffer.append(TEXT_2813); } - stringBuffer.append(TEXT_2810); + stringBuffer.append(TEXT_2814); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2811); + stringBuffer.append(TEXT_2815); } else { - stringBuffer.append(TEXT_2812); + stringBuffer.append(TEXT_2816); stringBuffer.append(redefinitionGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2813); + stringBuffer.append(TEXT_2817); if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) { - stringBuffer.append(TEXT_2814); + stringBuffer.append(TEXT_2818); stringBuffer.append(redefinitionGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2815); + stringBuffer.append(TEXT_2819); } - stringBuffer.append(TEXT_2816); + stringBuffer.append(TEXT_2820); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2817); + stringBuffer.append(TEXT_2821); } } - stringBuffer.append(TEXT_2818); + stringBuffer.append(TEXT_2822); } if (genFeature.isSet()) { - stringBuffer.append(TEXT_2819); + stringBuffer.append(TEXT_2823); if (isJDK50) { //setGenFeature.annotations.insert.javajetinc if (genClass.getExtendedGenFeatures().contains(genFeature) || (UML2GenModelUtil.isDuplicate(genFeature) && (!UML2GenModelUtil.isRedefinition(genFeature) || genClass.getExtendedGenFeatures().contains(UML2GenModelUtil.getRedefinedGenFeatures(genFeature).iterator().next())))) { - stringBuffer.append(TEXT_2820); + stringBuffer.append(TEXT_2824); } } - stringBuffer.append(TEXT_2821); + stringBuffer.append(TEXT_2825); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2822); + stringBuffer.append(TEXT_2826); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2823); + stringBuffer.append(TEXT_2827); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2824); + stringBuffer.append(TEXT_2828); if (!redefinitionGenFeature.isSet() || redefinitionGenFeature.isListType()) { - stringBuffer.append(TEXT_2825); + stringBuffer.append(TEXT_2829); } else { if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) { - stringBuffer.append(TEXT_2826); + stringBuffer.append(TEXT_2830); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2827); + stringBuffer.append(TEXT_2831); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2828); + stringBuffer.append(TEXT_2832); stringBuffer.append(redefinitionGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2829); + stringBuffer.append(TEXT_2833); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2830); + stringBuffer.append(TEXT_2834); } - stringBuffer.append(TEXT_2831); + stringBuffer.append(TEXT_2835); stringBuffer.append(redefinitionGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2832); + stringBuffer.append(TEXT_2836); if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) { - stringBuffer.append(TEXT_2833); + stringBuffer.append(TEXT_2837); stringBuffer.append(redefinitionGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2834); + stringBuffer.append(TEXT_2838); } - stringBuffer.append(TEXT_2835); + stringBuffer.append(TEXT_2839); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2836); + stringBuffer.append(TEXT_2840); } - stringBuffer.append(TEXT_2837); + stringBuffer.append(TEXT_2841); } if (isImplementation && genFeature.isListType()) { if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, UML2GenModelUtil.isDerivedUnionListType(genClass, genFeature)).isEmpty()) { - stringBuffer.append(TEXT_2838); + stringBuffer.append(TEXT_2842); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2839); + stringBuffer.append(TEXT_2843); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2840); + stringBuffer.append(TEXT_2844); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_2841); + stringBuffer.append(TEXT_2845); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2842); + stringBuffer.append(TEXT_2846); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2843); + stringBuffer.append(TEXT_2847); stringBuffer.append(UML2GenModelUtil.getSubsetFeatureIDArray(genClass, genFeature, UML2GenModelUtil.isDerivedUnionListType(genClass, genFeature))); - stringBuffer.append(TEXT_2844); + stringBuffer.append(TEXT_2848); } if (!UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false).isEmpty()) { - stringBuffer.append(TEXT_2845); + stringBuffer.append(TEXT_2849); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2846); + stringBuffer.append(TEXT_2850); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2847); + stringBuffer.append(TEXT_2851); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_2848); + stringBuffer.append(TEXT_2852); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2849); + stringBuffer.append(TEXT_2853); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2850); + stringBuffer.append(TEXT_2854); stringBuffer.append(UML2GenModelUtil.getSupersetFeatureIDArray(genClass, genFeature)); - stringBuffer.append(TEXT_2851); + stringBuffer.append(TEXT_2855); } } if (!genClass.getExtendedGenFeatures().contains(genFeature) && UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { List<GenFeature> keyGenFeatures = UML2GenModelUtil.getKeyGenFeatures(genFeature); if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { if (isInterface) { - stringBuffer.append(TEXT_2852); + if (!genFeature.isSuppressedGetVisibility()) { + stringBuffer.append(TEXT_2856); if (!keyGenFeatures.isEmpty()) { if (genFeature.isListType()) { - stringBuffer.append(TEXT_2853); - stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_2854); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_2855); - stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2856); - stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_2857); - } else { + stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_2858); - stringBuffer.append(genFeature.getType(genClass)); - stringBuffer.append(TEXT_2859); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_2860); + stringBuffer.append(TEXT_2859); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2861); + stringBuffer.append(TEXT_2860); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_2862); - } + stringBuffer.append(TEXT_2861); } else { - if (genFeature.isListType()) { + stringBuffer.append(TEXT_2862); + stringBuffer.append(genFeature.getType(genClass)); stringBuffer.append(TEXT_2863); - stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); stringBuffer.append(TEXT_2864); stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_2865); stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_2866); + } } else { + if (genFeature.isListType()) { stringBuffer.append(TEXT_2867); - stringBuffer.append(genFeature.getType(genClass)); + stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); stringBuffer.append(TEXT_2868); stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_2869); stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_2870); + } else { + stringBuffer.append(TEXT_2871); + stringBuffer.append(genFeature.getType(genClass)); + stringBuffer.append(TEXT_2872); + stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(TEXT_2873); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_2874); } } - stringBuffer.append(TEXT_2871); + stringBuffer.append(TEXT_2875); for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { - stringBuffer.append(TEXT_2872); + stringBuffer.append(TEXT_2876); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2873); + stringBuffer.append(TEXT_2877); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); - stringBuffer.append(TEXT_2874); + stringBuffer.append(TEXT_2878); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_2875); + stringBuffer.append(TEXT_2879); } - stringBuffer.append(TEXT_2876); + stringBuffer.append(TEXT_2880); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_2877); + stringBuffer.append(TEXT_2881); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_2878); + stringBuffer.append(TEXT_2882); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2879); + stringBuffer.append(TEXT_2883); + } } else { - stringBuffer.append(TEXT_2880); + stringBuffer.append(TEXT_2884); } if (!isImplementation) { - stringBuffer.append(TEXT_2881); + if (!genFeature.isSuppressedGetVisibility()) { + stringBuffer.append(TEXT_2885); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_2882); + stringBuffer.append(TEXT_2886); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2883); + stringBuffer.append(TEXT_2887); if (!keyGenFeatures.isEmpty()) { stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_2884); + stringBuffer.append(TEXT_2888); } stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_2885); + stringBuffer.append(TEXT_2889); + } } else { int index = 0; if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_2886); + stringBuffer.append(TEXT_2890); } - stringBuffer.append(TEXT_2887); + stringBuffer.append(TEXT_2891); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_2888); + stringBuffer.append(TEXT_2892); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2889); + stringBuffer.append(TEXT_2893); if (!keyGenFeatures.isEmpty()) { stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_2890); + stringBuffer.append(TEXT_2894); } stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_2891); + stringBuffer.append(TEXT_2895); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_2892); + stringBuffer.append(TEXT_2896); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2893); + stringBuffer.append(TEXT_2897); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_2894); + stringBuffer.append(TEXT_2898); if (genFeature.isListType()) { - stringBuffer.append(TEXT_2895); + stringBuffer.append(TEXT_2899); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2896); + stringBuffer.append(TEXT_2900); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2897); + stringBuffer.append(TEXT_2901); } else { - stringBuffer.append(TEXT_2898); + stringBuffer.append(TEXT_2902); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2899); + stringBuffer.append(TEXT_2903); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2900); + stringBuffer.append(TEXT_2904); } for (GenFeature keyGenFeature : UML2GenModelUtil.getKeyGenFeatures(genFeature.getTypeGenClass())) { if (keyGenFeature.isContains()) { List<GenFeature> nestedKeyGenFeatures = UML2GenModelUtil.getKeyGenFeatures(keyGenFeature.getTypeGenClass(), false); boolean first = true; if (keyGenFeature.isListType()) { - stringBuffer.append(TEXT_2901); + stringBuffer.append(TEXT_2905); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_2902); + stringBuffer.append(TEXT_2906); for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { - stringBuffer.append(TEXT_2903); + stringBuffer.append(TEXT_2907); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2904); + stringBuffer.append(TEXT_2908); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2905); + stringBuffer.append(TEXT_2909); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2906); + stringBuffer.append(TEXT_2910); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2907); + stringBuffer.append(TEXT_2911); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_2908); + stringBuffer.append(TEXT_2912); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_2909); + stringBuffer.append(TEXT_2913); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2910); + stringBuffer.append(TEXT_2914); index++;} - stringBuffer.append(TEXT_2911); + stringBuffer.append(TEXT_2915); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_2912); + stringBuffer.append(TEXT_2916); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2913); + stringBuffer.append(TEXT_2917); stringBuffer.append(keyGenFeature.getCapName()); - stringBuffer.append(TEXT_2914); + stringBuffer.append(TEXT_2918); for (int n = nestedKeyGenFeatures.size(); n > 0; n--) { GenFeature nestedKeyGenFeature = nestedKeyGenFeatures.get(nestedKeyGenFeatures.size() - n); if (first) { first = false; } else { - stringBuffer.append(TEXT_2915); + stringBuffer.append(TEXT_2919); } - stringBuffer.append(TEXT_2916); + stringBuffer.append(TEXT_2920); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); - stringBuffer.append(TEXT_2917); + stringBuffer.append(TEXT_2921); stringBuffer.append(nestedKeyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2918); + stringBuffer.append(TEXT_2922); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); - stringBuffer.append(TEXT_2919); + stringBuffer.append(TEXT_2923); } - stringBuffer.append(TEXT_2920); + stringBuffer.append(TEXT_2924); } else { - stringBuffer.append(TEXT_2921); + stringBuffer.append(TEXT_2925); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2922); + stringBuffer.append(TEXT_2926); stringBuffer.append(keyGenFeature.getCapName()); - stringBuffer.append(TEXT_2923); + stringBuffer.append(TEXT_2927); for (int n = 0; n < nestedKeyGenFeatures.size(); n++) { if (first) { first = false; } else { - stringBuffer.append(TEXT_2924); + stringBuffer.append(TEXT_2928); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); index++;} - stringBuffer.append(TEXT_2925); + stringBuffer.append(TEXT_2929); } } else { - stringBuffer.append(TEXT_2926); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2927); - if (keyGenFeature.isListType()) { - stringBuffer.append(TEXT_2928); - stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2929); - stringBuffer.append(keyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_2930); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_2931); - } else { + if (keyGenFeature.isListType()) { stringBuffer.append(TEXT_2932); stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_2933); - stringBuffer.append(keyGenFeature.getAccessorName()); + stringBuffer.append(keyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_2934); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_2935); + } else { + stringBuffer.append(TEXT_2936); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_2937); + stringBuffer.append(keyGenFeature.getAccessorName()); + stringBuffer.append(TEXT_2938); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(TEXT_2939); } index++;} } - stringBuffer.append(TEXT_2936); + stringBuffer.append(TEXT_2940); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2937); + stringBuffer.append(TEXT_2941); } } if (genClass.getChildrenClasses(genFeature).size() == 1 || !genFeature.getTypeGenClass().isAbstract()) { GenClass childGenClass = genClass.getChildrenClasses(genFeature).get(0); if (isInterface) { - stringBuffer.append(TEXT_2938); + if (!genFeature.isSuppressedGetVisibility()) { + stringBuffer.append(TEXT_2942); if (!keyGenFeatures.isEmpty()) { if (genFeature.isListType()) { - stringBuffer.append(TEXT_2939); - stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_2940); - stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_2941); - stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2942); - stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_2943); - } else { - stringBuffer.append(TEXT_2944); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_2945); + stringBuffer.append(TEXT_2944); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_2946); + stringBuffer.append(TEXT_2945); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2947); + stringBuffer.append(TEXT_2946); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_2948); - } + stringBuffer.append(TEXT_2947); } else { - if (genFeature.isListType()) { - stringBuffer.append(TEXT_2949); + stringBuffer.append(TEXT_2948); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); + stringBuffer.append(TEXT_2949); + stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); stringBuffer.append(TEXT_2950); stringBuffer.append(genFeature.getFormattedName()); stringBuffer.append(TEXT_2951); stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_2952); + } } else { + if (genFeature.isListType()) { stringBuffer.append(TEXT_2953); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); stringBuffer.append(TEXT_2954); @@ -10244,163 +10267,174 @@ if (index != -1) { head = typeName.substring(0, index); tail = typeName.substrin stringBuffer.append(TEXT_2955); stringBuffer.append(genFeature.getFeatureKind()); stringBuffer.append(TEXT_2956); + } else { + stringBuffer.append(TEXT_2957); + stringBuffer.append(childGenClass.getQualifiedInterfaceName()); + stringBuffer.append(TEXT_2958); + stringBuffer.append(genFeature.getFormattedName()); + stringBuffer.append(TEXT_2959); + stringBuffer.append(genFeature.getFeatureKind()); + stringBuffer.append(TEXT_2960); } } - stringBuffer.append(TEXT_2957); + stringBuffer.append(TEXT_2961); for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { - stringBuffer.append(TEXT_2958); + stringBuffer.append(TEXT_2962); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2959); + stringBuffer.append(TEXT_2963); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); - stringBuffer.append(TEXT_2960); + stringBuffer.append(TEXT_2964); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_2961); + stringBuffer.append(TEXT_2965); } - stringBuffer.append(TEXT_2962); + stringBuffer.append(TEXT_2966); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_2963); + stringBuffer.append(TEXT_2967); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2964); + stringBuffer.append(TEXT_2968); + } } else { - stringBuffer.append(TEXT_2965); + stringBuffer.append(TEXT_2969); } if (!isImplementation) { - stringBuffer.append(TEXT_2966); + if (!genFeature.isSuppressedGetVisibility()) { + stringBuffer.append(TEXT_2970); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_2967); + stringBuffer.append(TEXT_2971); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2968); + stringBuffer.append(TEXT_2972); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_2969); + stringBuffer.append(TEXT_2973); + } } else { int index = 0; if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_2970); + stringBuffer.append(TEXT_2974); } - stringBuffer.append(TEXT_2971); + stringBuffer.append(TEXT_2975); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_2972); + stringBuffer.append(TEXT_2976); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2973); + stringBuffer.append(TEXT_2977); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_2974); + stringBuffer.append(TEXT_2978); if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_2975); + stringBuffer.append(TEXT_2979); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2976); + stringBuffer.append(TEXT_2980); if (!keyGenFeatures.isEmpty()) { stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature, false)); - stringBuffer.append(TEXT_2977); + stringBuffer.append(TEXT_2981); } stringBuffer.append(genFeature.getTypeGenClass().getQualifiedClassifierAccessor()); - stringBuffer.append(TEXT_2978); + stringBuffer.append(TEXT_2982); } else { - stringBuffer.append(TEXT_2979); + stringBuffer.append(TEXT_2983); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_2980); + stringBuffer.append(TEXT_2984); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2981); + stringBuffer.append(TEXT_2985); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_2982); + stringBuffer.append(TEXT_2986); stringBuffer.append(genFeature.getTypeGenClass().getQualifiedClassifierAccessor()); - stringBuffer.append(TEXT_2983); + stringBuffer.append(TEXT_2987); if (genFeature.isListType()) { - stringBuffer.append(TEXT_2984); + stringBuffer.append(TEXT_2988); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2985); + stringBuffer.append(TEXT_2989); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2986); + stringBuffer.append(TEXT_2990); } else { - stringBuffer.append(TEXT_2987); + stringBuffer.append(TEXT_2991); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2988); + stringBuffer.append(TEXT_2992); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2989); + stringBuffer.append(TEXT_2993); } for (GenFeature keyGenFeature : UML2GenModelUtil.getKeyGenFeatures(genFeature.getTypeGenClass())) { if (keyGenFeature.isContains()) { List<GenFeature> nestedKeyGenFeatures = UML2GenModelUtil.getKeyGenFeatures(keyGenFeature.getTypeGenClass(), false); boolean first = true; if (keyGenFeature.isListType()) { - stringBuffer.append(TEXT_2990); + stringBuffer.append(TEXT_2994); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_2991); + stringBuffer.append(TEXT_2995); for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { - stringBuffer.append(TEXT_2992); + stringBuffer.append(TEXT_2996); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2993); + stringBuffer.append(TEXT_2997); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2994); + stringBuffer.append(TEXT_2998); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2995); + stringBuffer.append(TEXT_2999); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2996); + stringBuffer.append(TEXT_3000); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_2997); + stringBuffer.append(TEXT_3001); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_2998); + stringBuffer.append(TEXT_3002); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2999); + stringBuffer.append(TEXT_3003); index++;} - stringBuffer.append(TEXT_3000); + stringBuffer.append(TEXT_3004); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3001); + stringBuffer.append(TEXT_3005); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3002); + stringBuffer.append(TEXT_3006); stringBuffer.append(keyGenFeature.getCapName()); - stringBuffer.append(TEXT_3003); + stringBuffer.append(TEXT_3007); for (int n = nestedKeyGenFeatures.size(); n > 0; n--) { GenFeature nestedKeyGenFeature = nestedKeyGenFeatures.get(nestedKeyGenFeatures.size() - n); if (first) { first = false; } else { - stringBuffer.append(TEXT_3004); + stringBuffer.append(TEXT_3008); } - stringBuffer.append(TEXT_3005); + stringBuffer.append(TEXT_3009); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); - stringBuffer.append(TEXT_3006); + stringBuffer.append(TEXT_3010); stringBuffer.append(nestedKeyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3007); + stringBuffer.append(TEXT_3011); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); - stringBuffer.append(TEXT_3008); + stringBuffer.append(TEXT_3012); } - stringBuffer.append(TEXT_3009); + stringBuffer.append(TEXT_3013); } else { - stringBuffer.append(TEXT_3010); + stringBuffer.append(TEXT_3014); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3011); + stringBuffer.append(TEXT_3015); stringBuffer.append(keyGenFeature.getCapName()); - stringBuffer.append(TEXT_3012); + stringBuffer.append(TEXT_3016); for (int n = 0; n < nestedKeyGenFeatures.size(); n++) { if (first) { first = false; } else { - stringBuffer.append(TEXT_3013); + stringBuffer.append(TEXT_3017); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); index++;} - stringBuffer.append(TEXT_3014); + stringBuffer.append(TEXT_3018); } } else { - stringBuffer.append(TEXT_3015); - stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3016); - if (keyGenFeature.isListType()) { - stringBuffer.append(TEXT_3017); - stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3018); - stringBuffer.append(keyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_3019); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_3020); - } else { + if (keyGenFeature.isListType()) { stringBuffer.append(TEXT_3021); stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_3022); - stringBuffer.append(keyGenFeature.getAccessorName()); + stringBuffer.append(keyGenFeature.getGetAccessor()); stringBuffer.append(TEXT_3023); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); stringBuffer.append(TEXT_3024); + } else { + stringBuffer.append(TEXT_3025); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_3026); + stringBuffer.append(keyGenFeature.getAccessorName()); + stringBuffer.append(TEXT_3027); + stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); + stringBuffer.append(TEXT_3028); } index++;} } - stringBuffer.append(TEXT_3025); + stringBuffer.append(TEXT_3029); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3026); + stringBuffer.append(TEXT_3030); } - stringBuffer.append(TEXT_3027); + stringBuffer.append(TEXT_3031); } } } @@ -10408,603 +10442,603 @@ if (index != -1) { head = typeName.substring(0, index); tail = typeName.substrin if (!keyGenFeatures.isEmpty()) { if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature) || UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { if (isInterface) { - stringBuffer.append(TEXT_3028); + if (!genFeature.isSuppressedGetVisibility()) { + stringBuffer.append(TEXT_3032); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3029); + stringBuffer.append(TEXT_3033); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_3030); + stringBuffer.append(TEXT_3034); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_3031); + stringBuffer.append(TEXT_3035); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_3032); + stringBuffer.append(TEXT_3036); for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { - stringBuffer.append(TEXT_3033); + stringBuffer.append(TEXT_3037); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3034); + stringBuffer.append(TEXT_3038); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); - stringBuffer.append(TEXT_3035); + stringBuffer.append(TEXT_3039); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3036); + stringBuffer.append(TEXT_3040); } - stringBuffer.append(TEXT_3037); + stringBuffer.append(TEXT_3041); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3038); + stringBuffer.append(TEXT_3042); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_3039); + stringBuffer.append(TEXT_3043); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3040); + stringBuffer.append(TEXT_3044); + } } else { - stringBuffer.append(TEXT_3041); + stringBuffer.append(TEXT_3045); } if (!isImplementation) { - stringBuffer.append(TEXT_3042); + if (!genFeature.isSuppressedGetVisibility()) { + stringBuffer.append(TEXT_3046); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_3043); + stringBuffer.append(TEXT_3047); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3044); + stringBuffer.append(TEXT_3048); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_3045); + stringBuffer.append(TEXT_3049); + } } else { if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_3046); + stringBuffer.append(TEXT_3050); } - stringBuffer.append(TEXT_3047); + stringBuffer.append(TEXT_3051); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_3048); + stringBuffer.append(TEXT_3052); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3049); + stringBuffer.append(TEXT_3053); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_3050); + stringBuffer.append(TEXT_3054); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3051); + stringBuffer.append(TEXT_3055); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature, false)); if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_3052); + stringBuffer.append(TEXT_3056); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3053); + stringBuffer.append(TEXT_3057); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_3054); + stringBuffer.append(TEXT_3058); } - stringBuffer.append(TEXT_3055); + stringBuffer.append(TEXT_3059); } } if (isInterface) { - stringBuffer.append(TEXT_3056); + if (!genFeature.isSuppressedGetVisibility()) { + stringBuffer.append(TEXT_3060); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3057); + stringBuffer.append(TEXT_3061); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_3058); + stringBuffer.append(TEXT_3062); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_3059); + stringBuffer.append(TEXT_3063); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_3060); + stringBuffer.append(TEXT_3064); for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { - stringBuffer.append(TEXT_3061); + stringBuffer.append(TEXT_3065); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3062); + stringBuffer.append(TEXT_3066); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); - stringBuffer.append(TEXT_3063); + stringBuffer.append(TEXT_3067); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3064); + stringBuffer.append(TEXT_3068); } if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_3065); + stringBuffer.append(TEXT_3069); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3066); + stringBuffer.append(TEXT_3070); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3067); + stringBuffer.append(TEXT_3071); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_3068); + stringBuffer.append(TEXT_3072); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3069); + stringBuffer.append(TEXT_3073); } - stringBuffer.append(TEXT_3070); + stringBuffer.append(TEXT_3074); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3071); + stringBuffer.append(TEXT_3075); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_3072); + stringBuffer.append(TEXT_3076); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3073); + stringBuffer.append(TEXT_3077); + } } else { - stringBuffer.append(TEXT_3074); + stringBuffer.append(TEXT_3078); } if (!isImplementation) { - stringBuffer.append(TEXT_3075); + if (!genFeature.isSuppressedGetVisibility()) { + stringBuffer.append(TEXT_3079); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_3076); + stringBuffer.append(TEXT_3080); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3077); + stringBuffer.append(TEXT_3081); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_3078); + stringBuffer.append(TEXT_3082); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3079); + stringBuffer.append(TEXT_3083); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_3080); + stringBuffer.append(TEXT_3084); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_3081); + stringBuffer.append(TEXT_3085); + } + stringBuffer.append(TEXT_3086); } - stringBuffer.append(TEXT_3082); } else { int index = 0; if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_3083); + stringBuffer.append(TEXT_3087); } - stringBuffer.append(TEXT_3084); + stringBuffer.append(TEXT_3088); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_3085); + stringBuffer.append(TEXT_3089); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3086); + stringBuffer.append(TEXT_3090); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_3087); + stringBuffer.append(TEXT_3091); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3088); + stringBuffer.append(TEXT_3092); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_3089); + stringBuffer.append(TEXT_3093); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_3090); + stringBuffer.append(TEXT_3094); } - stringBuffer.append(TEXT_3091); + stringBuffer.append(TEXT_3095); if (isJDK50) { - stringBuffer.append(TEXT_3092); + stringBuffer.append(TEXT_3096); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3093); + stringBuffer.append(TEXT_3097); stringBuffer.append(genModel.getImportedName(genFeature.getListItemType(genClass))); - stringBuffer.append(TEXT_3094); + stringBuffer.append(TEXT_3098); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3095); + stringBuffer.append(TEXT_3099); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3096); + stringBuffer.append(TEXT_3100); } else { - stringBuffer.append(TEXT_3097); + stringBuffer.append(TEXT_3101); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3098); + stringBuffer.append(TEXT_3102); stringBuffer.append(genModel.getImportedName("java.util.Iterator")); - stringBuffer.append(TEXT_3099); + stringBuffer.append(TEXT_3103); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3100); + stringBuffer.append(TEXT_3104); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_3101); + stringBuffer.append(TEXT_3105); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3102); + stringBuffer.append(TEXT_3106); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_3103); + stringBuffer.append(TEXT_3107); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3104); + stringBuffer.append(TEXT_3108); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3105); + stringBuffer.append(TEXT_3109); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3106); + stringBuffer.append(TEXT_3110); } for (GenFeature keyGenFeature : UML2GenModelUtil.getKeyGenFeatures(genFeature.getTypeGenClass())) { if (keyGenFeature.isContains()) { List<GenFeature> nestedKeyGenFeatures = UML2GenModelUtil.getKeyGenFeatures(keyGenFeature.getTypeGenClass(), false); boolean first = true; if (keyGenFeature.isListType()) { - stringBuffer.append(TEXT_3107); + stringBuffer.append(TEXT_3111); stringBuffer.append(keyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3108); + stringBuffer.append(TEXT_3112); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3109); + stringBuffer.append(TEXT_3113); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3110); + stringBuffer.append(TEXT_3114); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3111); + stringBuffer.append(TEXT_3115); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3112); + stringBuffer.append(TEXT_3116); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3113); + stringBuffer.append(TEXT_3117); for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { if (!first) { - stringBuffer.append(TEXT_3114); + stringBuffer.append(TEXT_3118); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index + n, false)); - stringBuffer.append(TEXT_3115); + stringBuffer.append(TEXT_3119); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index + n, false)); - stringBuffer.append(TEXT_3116); + stringBuffer.append(TEXT_3120); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3117); + stringBuffer.append(TEXT_3121); if (first) {first = false; } else { - stringBuffer.append(TEXT_3118); + stringBuffer.append(TEXT_3122); } } - stringBuffer.append(TEXT_3119); + stringBuffer.append(TEXT_3123); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3120); + stringBuffer.append(TEXT_3124); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3121); + stringBuffer.append(TEXT_3125); stringBuffer.append(genModel.getImportedName(keyGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_3122); + stringBuffer.append(TEXT_3126); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3123); + stringBuffer.append(TEXT_3127); if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) { - stringBuffer.append(TEXT_3124); + stringBuffer.append(TEXT_3128); stringBuffer.append(genModel.getImportedName(keyGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_3125); + stringBuffer.append(TEXT_3129); } stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3126); + stringBuffer.append(TEXT_3130); for (GenFeature nestedKeyGenFeature : nestedKeyGenFeatures) { if (nestedKeyGenFeature.isStringType()) { - stringBuffer.append(TEXT_3127); + stringBuffer.append(TEXT_3131); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3128); + stringBuffer.append(TEXT_3132); if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) { - stringBuffer.append(TEXT_3129); + stringBuffer.append(TEXT_3133); stringBuffer.append(genModel.getImportedName("java.lang.String")); - stringBuffer.append(TEXT_3130); + stringBuffer.append(TEXT_3134); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3131); + stringBuffer.append(TEXT_3135); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3132); + stringBuffer.append(TEXT_3136); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3133); + stringBuffer.append(TEXT_3137); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3134); + stringBuffer.append(TEXT_3138); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3135); + stringBuffer.append(TEXT_3139); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3136); + stringBuffer.append(TEXT_3140); } else { - stringBuffer.append(TEXT_3137); + stringBuffer.append(TEXT_3141); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3138); + stringBuffer.append(TEXT_3142); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3139); + stringBuffer.append(TEXT_3143); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3140); + stringBuffer.append(TEXT_3144); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3141); + stringBuffer.append(TEXT_3145); } - stringBuffer.append(TEXT_3142); + stringBuffer.append(TEXT_3146); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3143); + stringBuffer.append(TEXT_3147); index++;} - stringBuffer.append(TEXT_3144); + stringBuffer.append(TEXT_3148); } else { - stringBuffer.append(TEXT_3145); + stringBuffer.append(TEXT_3149); stringBuffer.append(keyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3146); + stringBuffer.append(TEXT_3150); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3147); + stringBuffer.append(TEXT_3151); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3148); + stringBuffer.append(TEXT_3152); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3149); + stringBuffer.append(TEXT_3153); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3150); + stringBuffer.append(TEXT_3154); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3151); + stringBuffer.append(TEXT_3155); for (GenFeature nestedKeyGenFeature : nestedKeyGenFeatures) { if (nestedKeyGenFeature.isStringType()) { - stringBuffer.append(TEXT_3152); + stringBuffer.append(TEXT_3156); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3153); + stringBuffer.append(TEXT_3157); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3154); + stringBuffer.append(TEXT_3158); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3155); + stringBuffer.append(TEXT_3159); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3156); + stringBuffer.append(TEXT_3160); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3157); + stringBuffer.append(TEXT_3161); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3158); + stringBuffer.append(TEXT_3162); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3159); + stringBuffer.append(TEXT_3163); } else { - stringBuffer.append(TEXT_3160); + stringBuffer.append(TEXT_3164); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3161); + stringBuffer.append(TEXT_3165); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3162); + stringBuffer.append(TEXT_3166); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3163); + stringBuffer.append(TEXT_3167); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3164); + stringBuffer.append(TEXT_3168); } - stringBuffer.append(TEXT_3165); + stringBuffer.append(TEXT_3169); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3166); + stringBuffer.append(TEXT_3170); index++;} } } else { if (keyGenFeature.isStringType()) { - stringBuffer.append(TEXT_3167); + stringBuffer.append(TEXT_3171); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3168); + stringBuffer.append(TEXT_3172); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3169); + stringBuffer.append(TEXT_3173); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3170); + stringBuffer.append(TEXT_3174); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3171); + stringBuffer.append(TEXT_3175); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3172); + stringBuffer.append(TEXT_3176); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3173); + stringBuffer.append(TEXT_3177); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3174); + stringBuffer.append(TEXT_3178); } else { - stringBuffer.append(TEXT_3175); + stringBuffer.append(TEXT_3179); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3176); + stringBuffer.append(TEXT_3180); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3177); + stringBuffer.append(TEXT_3181); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3178); + stringBuffer.append(TEXT_3182); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3179); + stringBuffer.append(TEXT_3183); } - stringBuffer.append(TEXT_3180); + stringBuffer.append(TEXT_3184); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3181); + stringBuffer.append(TEXT_3185); index++;} } - stringBuffer.append(TEXT_3182); + stringBuffer.append(TEXT_3186); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3183); + stringBuffer.append(TEXT_3187); if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_3184); + stringBuffer.append(TEXT_3188); if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3185); + stringBuffer.append(TEXT_3189); } - stringBuffer.append(TEXT_3186); + stringBuffer.append(TEXT_3190); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3187); + stringBuffer.append(TEXT_3191); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature, false)); if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3188); + stringBuffer.append(TEXT_3192); } - stringBuffer.append(TEXT_3189); + stringBuffer.append(TEXT_3193); } else { - stringBuffer.append(TEXT_3190); + stringBuffer.append(TEXT_3194); } - stringBuffer.append(TEXT_3191); + stringBuffer.append(TEXT_3195); } } } if (isImplementation && ((UML2GenModelUtil.isRedefinition(genFeature) && !genFeature.isIsSet()) || UML2GenModelUtil.isRedefined(genClass, genFeature))) { - stringBuffer.append(TEXT_3192); + stringBuffer.append(TEXT_3196); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_3193); + stringBuffer.append(TEXT_3197); if (!genFeature.isUnsettable()) { if (UML2GenModelUtil.isRedefined(genClass, genFeature)) { - stringBuffer.append(TEXT_3194); + stringBuffer.append(TEXT_3198); } else if (genModel.isReflectiveDelegation()) { - stringBuffer.append(TEXT_3195); + stringBuffer.append(TEXT_3199); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_3196); + stringBuffer.append(TEXT_3200); } else if (genFeature.isListType()) { if (genFeature.isWrappedFeatureMapType()) { if (genFeature.isVolatile()) { - stringBuffer.append(TEXT_3197); + stringBuffer.append(TEXT_3201); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_3198); + stringBuffer.append(TEXT_3202); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3199); + stringBuffer.append(TEXT_3203); } else { - stringBuffer.append(TEXT_3200); + stringBuffer.append(TEXT_3204); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3201); + stringBuffer.append(TEXT_3205); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3202); + stringBuffer.append(TEXT_3206); } } else { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_3203); + stringBuffer.append(TEXT_3207); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3204); + stringBuffer.append(TEXT_3208); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3205); + stringBuffer.append(TEXT_3209); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_3206); + stringBuffer.append(TEXT_3210); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3207); + stringBuffer.append(TEXT_3211); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3208); + stringBuffer.append(TEXT_3212); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3209); + stringBuffer.append(TEXT_3213); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3210); + stringBuffer.append(TEXT_3214); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3211); + stringBuffer.append(TEXT_3215); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3212); + stringBuffer.append(TEXT_3216); } else { - stringBuffer.append(TEXT_3213); + stringBuffer.append(TEXT_3217); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3214); + stringBuffer.append(TEXT_3218); } } } } else if (genFeature.isResolveProxies()) { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_3215); + stringBuffer.append(TEXT_3219); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3216); + stringBuffer.append(TEXT_3220); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_3217); + stringBuffer.append(TEXT_3221); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3218); + stringBuffer.append(TEXT_3222); } else { - stringBuffer.append(TEXT_3219); + stringBuffer.append(TEXT_3223); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_3220); + stringBuffer.append(TEXT_3224); } } } else if (genFeature.isReferenceType()) { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_3221); + stringBuffer.append(TEXT_3225); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3222); + stringBuffer.append(TEXT_3226); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_3223); + stringBuffer.append(TEXT_3227); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3224); + stringBuffer.append(TEXT_3228); } else { - stringBuffer.append(TEXT_3225); + stringBuffer.append(TEXT_3229); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3226); + stringBuffer.append(TEXT_3230); } } } else if (genFeature.isPrimitiveType() || genFeature.isEnumType()) { if (genClass.isField(genFeature)) { if (genClass.isFlag(genFeature)) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_3227); - stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_3228); - stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_3229); - stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3230); - } else { stringBuffer.append(TEXT_3231); stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_3232); stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_3233); - stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_3234); - } } else { stringBuffer.append(TEXT_3235); - stringBuffer.append(genFeature.getSafeName()); + stringBuffer.append(genClass.getFlagsField(genFeature)); stringBuffer.append(TEXT_3236); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genFeature.getUpperName()); stringBuffer.append(TEXT_3237); + stringBuffer.append(genFeature.getUpperName()); + stringBuffer.append(TEXT_3238); } } else { - if (genFeature.isEnumType() && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_3238); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_3239); - stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(genFeature.getSafeName()); stringBuffer.append(TEXT_3240); stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_3241); + } } else { + if (genFeature.isEnumType() && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { stringBuffer.append(TEXT_3242); - stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(TEXT_3243); stringBuffer.append(genFeature.getEDefault()); stringBuffer.append(TEXT_3244); + stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(TEXT_3245); + } else { + stringBuffer.append(TEXT_3246); + stringBuffer.append(genFeature.getGetAccessor()); + stringBuffer.append(TEXT_3247); + stringBuffer.append(genFeature.getEDefault()); + stringBuffer.append(TEXT_3248); } } } else {//datatype if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_3245); + stringBuffer.append(TEXT_3249); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3246); + stringBuffer.append(TEXT_3250); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3247); + stringBuffer.append(TEXT_3251); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3248); + stringBuffer.append(TEXT_3252); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3249); + stringBuffer.append(TEXT_3253); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_3250); + stringBuffer.append(TEXT_3254); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3251); + stringBuffer.append(TEXT_3255); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3252); + stringBuffer.append(TEXT_3256); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3253); + stringBuffer.append(TEXT_3257); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3254); + stringBuffer.append(TEXT_3258); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3255); + stringBuffer.append(TEXT_3259); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3256); + stringBuffer.append(TEXT_3260); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3257); + stringBuffer.append(TEXT_3261); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3258); + stringBuffer.append(TEXT_3262); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3259); + stringBuffer.append(TEXT_3263); } else { - stringBuffer.append(TEXT_3260); + stringBuffer.append(TEXT_3264); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3261); + stringBuffer.append(TEXT_3265); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3262); + stringBuffer.append(TEXT_3266); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3263); + stringBuffer.append(TEXT_3267); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3264); + stringBuffer.append(TEXT_3268); } } } } else { if (genModel.isReflectiveDelegation()) { - stringBuffer.append(TEXT_3265); + stringBuffer.append(TEXT_3269); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_3266); + stringBuffer.append(TEXT_3270); } else if (!genFeature.isVolatile()) { if (genFeature.isListType()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_3267); + stringBuffer.append(TEXT_3271); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3268); + stringBuffer.append(TEXT_3272); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3269); + stringBuffer.append(TEXT_3273); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3270); + stringBuffer.append(TEXT_3274); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3271); + stringBuffer.append(TEXT_3275); } - stringBuffer.append(TEXT_3272); + stringBuffer.append(TEXT_3276); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3273); + stringBuffer.append(TEXT_3277); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); - stringBuffer.append(TEXT_3274); + stringBuffer.append(TEXT_3278); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_3275); + stringBuffer.append(TEXT_3279); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3276); + stringBuffer.append(TEXT_3280); } else { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_3277); + stringBuffer.append(TEXT_3281); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3278); + stringBuffer.append(TEXT_3282); } else if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_3279); + stringBuffer.append(TEXT_3283); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_3280); + stringBuffer.append(TEXT_3284); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_3281); + stringBuffer.append(TEXT_3285); } else { - stringBuffer.append(TEXT_3282); + stringBuffer.append(TEXT_3286); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3283); + stringBuffer.append(TEXT_3287); } } } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_3284); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_3285); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_3286); - stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_3287); - stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_3288); - } else { + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_3289); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_3290); @@ -11012,71 +11046,79 @@ if (index != -1) { head = typeName.substring(0, index); tail = typeName.substrin stringBuffer.append(TEXT_3291); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); stringBuffer.append(TEXT_3292); + } else { + stringBuffer.append(TEXT_3293); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); + stringBuffer.append(TEXT_3294); + stringBuffer.append(delegateFeature.getAccessorName()); + stringBuffer.append(TEXT_3295); + stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); + stringBuffer.append(TEXT_3296); } } else { { GenOperation genOperation = UML2GenModelUtil.getImplementedCollidingIsSetGenOperation(genClass, genFeature); if (genOperation != null && UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { - stringBuffer.append(TEXT_3293); + stringBuffer.append(TEXT_3297); stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); - stringBuffer.append(TEXT_3294); + stringBuffer.append(TEXT_3298); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_3295); + stringBuffer.append(TEXT_3299); } else { - stringBuffer.append(TEXT_3296); + stringBuffer.append(TEXT_3300); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_3297); + stringBuffer.append(TEXT_3301); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_3298); + stringBuffer.append(TEXT_3302); } } //isSetGenFeature.todo.override.javajetinc } } - stringBuffer.append(TEXT_3299); + stringBuffer.append(TEXT_3303); } } for (GenOperation genOperation : UML2GenModelUtil.getImplementedRedefinedGenOperations(genClass)) { GenOperation redefinitionGenOperation = UML2GenModelUtil.getRedefinitionGenOperations(genClass, genOperation).iterator().next(); - stringBuffer.append(TEXT_3300); + stringBuffer.append(TEXT_3304); if (isJDK50) { //genOperation.annotations.insert.javajetinc if (genClass.getExtendedGenOperations().contains(genOperation) || (UML2GenModelUtil.isDuplicate(genOperation) && (!UML2GenModelUtil.isRedefinition(genOperation) || genClass.getExtendedGenOperations().contains(UML2GenModelUtil.getRedefinedGenOperations(genOperation).iterator().next())))) { - stringBuffer.append(TEXT_3301); + stringBuffer.append(TEXT_3305); } } - stringBuffer.append(TEXT_3302); + stringBuffer.append(TEXT_3306); stringBuffer.append(genOperation.getTypeParameters(genClass)); stringBuffer.append(genOperation.getImportedType(genClass)); - stringBuffer.append(TEXT_3303); + stringBuffer.append(TEXT_3307); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_3304); + stringBuffer.append(TEXT_3308); stringBuffer.append(genOperation.getParameters(genClass)); - stringBuffer.append(TEXT_3305); + stringBuffer.append(TEXT_3309); stringBuffer.append(genOperation.getThrows(genClass)); - stringBuffer.append(TEXT_3306); + stringBuffer.append(TEXT_3310); if (genOperation.isVoid()) { - stringBuffer.append(TEXT_3307); + stringBuffer.append(TEXT_3311); stringBuffer.append(redefinitionGenOperation.getName()); - stringBuffer.append(TEXT_3308); + stringBuffer.append(TEXT_3312); stringBuffer.append(genOperation.getParameterNames(", ")); - stringBuffer.append(TEXT_3309); + stringBuffer.append(TEXT_3313); } else { if (redefinitionGenOperation.isVoid()) { - stringBuffer.append(TEXT_3310); + stringBuffer.append(TEXT_3314); } else { - stringBuffer.append(TEXT_3311); + stringBuffer.append(TEXT_3315); stringBuffer.append(redefinitionGenOperation.getName()); - stringBuffer.append(TEXT_3312); + stringBuffer.append(TEXT_3316); stringBuffer.append(genOperation.getParameterNames(", ")); - stringBuffer.append(TEXT_3313); + stringBuffer.append(TEXT_3317); } } - stringBuffer.append(TEXT_3314); + stringBuffer.append(TEXT_3318); } } - stringBuffer.append(TEXT_3315); + stringBuffer.append(TEXT_3319); stringBuffer.append(isInterface ? " " + genClass.getInterfaceName() : genClass.getClassName()); // TODO fix the space above genModel.emitSortedImports(); - stringBuffer.append(TEXT_3316); + stringBuffer.append(TEXT_3320); return stringBuffer.toString(); } } diff --git a/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/genFeature.insert.javajetinc b/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/genFeature.insert.javajetinc index 698465aa..39ec77f0 100644 --- a/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/genFeature.insert.javajetinc +++ b/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/genFeature.insert.javajetinc @@ -27,30 +27,32 @@ <%if (!genClass.getExtendedGenFeatures().contains(genFeature) && UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { List<GenFeature> keyGenFeatures = UML2GenModelUtil.getKeyGenFeatures(genFeature);%> <%if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) {%> <%if (isInterface) {%> + <%if (!genFeature.isSuppressedGetVisibility()) {%> /** - <%if (!keyGenFeatures.isEmpty()) {%> - <%if (genFeature.isListType()) {%> + <%if (!keyGenFeatures.isEmpty()) {%> + <%if (genFeature.isListType()) {%> * Creates a new {@link <%=genFeature.getQualifiedListItemType(genClass)%>}, with the specified <%=UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)%>, and appends it to the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. - <%} else {%> + <%} else {%> * Creates a new {@link <%=genFeature.getType(genClass)%>}, with the specified <%=UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)%>, and sets the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. - <%}%> - <%} else {%> - <%if (genFeature.isListType()) {%> - * Creates a new {@link <%=genFeature.getQualifiedListItemType(genClass)%>} and appends it to the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. + <%}%> <%} else {%> + <%if (genFeature.isListType()) {%> + * Creates a new {@link <%=genFeature.getQualifiedListItemType(genClass)%>} and appends it to the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. + <%} else {%> * Creates a new {@link <%=genFeature.getType(genClass)%>} and sets the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. + <%}%> <%}%> - <%}%> * <!-- begin-user-doc --> * <!-- end-user-doc --> - <%for (int index = 0, size = keyGenFeatures.size(); index < size; index++) {%> + <%for (int index = 0, size = keyGenFeatures.size(); index < size; index++) {%> * @param <%=UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)%> The <%=UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)%> for the new {@link <%=genFeature.getQualifiedListItemType(genClass)%>}, or <code>null</code>. - <%}%> + <%}%> * @param eClass The Ecore class of the {@link <%=genFeature.getQualifiedListItemType(genClass)%>} to create. * @return The new {@link <%=genFeature.getQualifiedListItemType(genClass)%>}. * @see #<%=genFeature.getGetAccessor()%>() * @generated */ + <%}%> <%} else {%> /** * <!-- begin-user-doc --> @@ -59,8 +61,10 @@ */ <%}%> <%if (!isImplementation) {%> + <%if (!genFeature.isSuppressedGetVisibility()) {%> <%=genFeature.getListItemType(genClass)%> create<%=genFeature.getCapName()%>(<%if (!keyGenFeatures.isEmpty()) {%><%=UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)%>, <%}%><%=genModel.getImportedName("org.eclipse.emf.ecore.EClass")%> eClass); + <%}%> <%} else { int index = 0;%> <%if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) {%> @Override @@ -104,29 +108,31 @@ <%}%> <%if (genClass.getChildrenClasses(genFeature).size() == 1 || !genFeature.getTypeGenClass().isAbstract()) { GenClass childGenClass = genClass.getChildrenClasses(genFeature).get(0);%> <%if (isInterface) {%> + <%if (!genFeature.isSuppressedGetVisibility()) {%> /** - <%if (!keyGenFeatures.isEmpty()) {%> - <%if (genFeature.isListType()) {%> + <%if (!keyGenFeatures.isEmpty()) {%> + <%if (genFeature.isListType()) {%> * Creates a new {@link <%=childGenClass.getQualifiedInterfaceName()%>}, with the specified <%=UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)%>, and appends it to the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. - <%} else {%> + <%} else {%> * Creates a new {@link <%=childGenClass.getQualifiedInterfaceName()%>},with the specified <%=UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)%>, and sets the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. - <%}%> - <%} else {%> - <%if (genFeature.isListType()) {%> - * Creates a new {@link <%=childGenClass.getQualifiedInterfaceName()%>} and appends it to the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. + <%}%> <%} else {%> + <%if (genFeature.isListType()) {%> + * Creates a new {@link <%=childGenClass.getQualifiedInterfaceName()%>} and appends it to the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. + <%} else {%> * Creates a new {@link <%=childGenClass.getQualifiedInterfaceName()%>} and sets the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. + <%}%> <%}%> - <%}%> * <!-- begin-user-doc --> * <!-- end-user-doc --> - <%for (int index = 0, size = keyGenFeatures.size(); index < size; index++) {%> + <%for (int index = 0, size = keyGenFeatures.size(); index < size; index++) {%> * @param <%=UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)%> The <%=UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)%> for the new {@link <%=genFeature.getQualifiedListItemType(genClass)%>}, or <code>null</code>. - <%}%> + <%}%> * @return The new {@link <%=childGenClass.getQualifiedInterfaceName()%>}. * @see #<%=genFeature.getGetAccessor()%>() * @generated */ + <%}%> <%} else {%> /** * <!-- begin-user-doc --> @@ -135,8 +141,10 @@ */ <%}%> <%if (!isImplementation) {%> + <%if (!genFeature.isSuppressedGetVisibility()) {%> <%=genFeature.getListItemType(genClass)%> create<%=genFeature.getCapName()%>(<%=UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)%>); + <%}%> <%} else { int index = 0;%> <%if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) {%> @Override @@ -187,17 +195,19 @@ <%if (!keyGenFeatures.isEmpty()) {%> <%if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature) || UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) {%> <%if (isInterface) {%> + <%if (!genFeature.isSuppressedGetVisibility()) {%> /** * Retrieves the first {@link <%=genFeature.getQualifiedListItemType(genClass)%>} with the specified <%=UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)%> from the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. * <!-- begin-user-doc --> * <!-- end-user-doc --> - <%for (int index = 0, size = keyGenFeatures.size(); index < size; index++) {%> + <%for (int index = 0, size = keyGenFeatures.size(); index < size; index++) {%> * @param <%=UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)%> The <%=UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)%> of the {@link <%=genFeature.getQualifiedListItemType(genClass)%>} to retrieve, or <code>null</code>. - <%}%> + <%}%> * @return The first {@link <%=genFeature.getQualifiedListItemType(genClass)%>} with the specified <%=UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)%>, or <code>null</code>. * @see #<%=genFeature.getGetAccessor()%>() * @generated */ + <%}%> <%} else {%> /** * <!-- begin-user-doc --> @@ -206,8 +216,10 @@ */ <%}%> <%if (!isImplementation) {%> + <%if (!genFeature.isSuppressedGetVisibility()) {%> <%=genFeature.getListItemType(genClass)%> get<%=genFeature.getCapName()%>(<%=UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)%>); + <%}%> <%} else {%> <%if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) {%> @Override @@ -220,6 +232,7 @@ <%}%> <%}%> <%if (isInterface) {%> + <%if (!genFeature.isSuppressedGetVisibility()) {%> /** * Retrieves the first {@link <%=genFeature.getQualifiedListItemType(genClass)%>} with the specified <%=UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)%> from the '<em><b><%=genFeature.getFormattedName()%></b></em>' <%=genFeature.getFeatureKind()%>. * <!-- begin-user-doc --> @@ -240,6 +253,7 @@ * @see #<%=genFeature.getGetAccessor()%>() * @generated */ + <%}%> <%} else {%> /** * <!-- begin-user-doc --> @@ -248,8 +262,10 @@ */ <%}%> <%if (!isImplementation) {%> + <%if (!genFeature.isSuppressedGetVisibility()) {%> <%=genFeature.getListItemType(genClass)%> get<%=genFeature.getCapName()%>(<%=UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)%><%if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) {%>, boolean ignoreCase<%}%><%if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) {%>, <%=genModel.getImportedName("org.eclipse.emf.ecore.EClass")%> eClass<%}%><%if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) {%>, boolean createOnDemand<%}%>); + <%}%> <%} else { int index = 0;%> <%if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) {%> @Override |