diff options
author | Kenn Hussey | 2013-03-21 15:59:30 +0000 |
---|---|---|
committer | Kenn Hussey | 2013-03-21 15:59:30 +0000 |
commit | 0ee035ec61c58e00e99eafd8606f90320ff943e3 (patch) | |
tree | 19cfeec0086c8f2072d1e187aa89e915cdbcfa90 | |
parent | fdd2da82f14869a3df8f0d34508e3b81975eaa6a (diff) | |
download | org.eclipse.uml2-0ee035ec61c58e00e99eafd8606f90320ff943e3.tar.gz org.eclipse.uml2-0ee035ec61c58e00e99eafd8606f90320ff943e3.tar.xz org.eclipse.uml2-0ee035ec61c58e00e99eafd8606f90320ff943e3.zip |
[212765] Adding better codegen support for redefined types.
18 files changed, 5507 insertions, 5403 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 9fa323fde..8d503311f 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 @@ -781,1005 +781,1005 @@ public class Class protected final String TEXT_762 = " new"; protected final String TEXT_763 = ", "; protected final String TEXT_764 = " msgs)" + NL + "\t{"; - protected final String TEXT_765 = NL + "\t\tmsgs = eBasicSetContainer(("; - protected final String TEXT_766 = ")new"; - protected final String TEXT_767 = ", "; - protected final String TEXT_768 = ", msgs);"; - protected final String TEXT_769 = NL + "\t\t"; - protected final String TEXT_770 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; - protected final String TEXT_771 = NL + "\t\t\t"; - protected final String TEXT_772 = " "; - protected final String TEXT_773 = " = "; - protected final String TEXT_774 = "();"; - protected final String TEXT_775 = NL + "\t\t\tObject "; - protected final String TEXT_776 = " = eVirtualGet("; - protected final String TEXT_777 = ");"; - protected final String TEXT_778 = NL + "\t\t\tif ("; - protected final String TEXT_779 = " != null && "; - protected final String TEXT_780 = " != new"; - protected final String TEXT_781 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; - protected final String TEXT_782 = "(null);" + NL + "\t\t\t}"; - protected final String TEXT_783 = NL + "\t\t\tif (new"; - protected final String TEXT_784 = " != null)" + NL + "\t\t\t{"; - protected final String TEXT_785 = NL + "\t\t\t\t"; - protected final String TEXT_786 = " "; - protected final String TEXT_787 = " = "; - protected final String TEXT_788 = "();" + NL + "\t\t\t\tif (!"; - protected final String TEXT_789 = ".contains(new"; - protected final String TEXT_790 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; - protected final String TEXT_791 = ".add(new"; - protected final String TEXT_792 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_793 = NL + "\t\t\t\t"; - protected final String TEXT_794 = " "; - protected final String TEXT_795 = " = "; - protected final String TEXT_796 = "();"; - protected final String TEXT_797 = NL + "\t\t\t\tObject "; - protected final String TEXT_798 = " = eVirtualGet("; - protected final String TEXT_799 = ");"; - protected final String TEXT_800 = NL + "\t\t\t\tif (new"; - protected final String TEXT_801 = " != "; - protected final String TEXT_802 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; - protected final String TEXT_803 = "(new"; - protected final String TEXT_804 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_805 = NL + "\t\t\t}"; - protected final String TEXT_806 = NL + "\t\t}"; - protected final String TEXT_807 = NL + "\t\treturn msgs;"; - protected final String TEXT_808 = NL + "\t\tmsgs = eDynamicInverseAdd(("; - protected final String TEXT_809 = ")new"; - protected final String TEXT_810 = ", "; - protected final String TEXT_811 = ", msgs);"; - protected final String TEXT_812 = NL + "\t\t"; - protected final String TEXT_813 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; - protected final String TEXT_814 = NL + "\t\t\t"; - protected final String TEXT_815 = " "; - protected final String TEXT_816 = " = "; - protected final String TEXT_817 = "();"; - protected final String TEXT_818 = NL + "\t\t\tObject "; - protected final String TEXT_819 = " = eVirtualGet("; - protected final String TEXT_820 = ");"; - protected final String TEXT_821 = NL + "\t\t\tif ("; - protected final String TEXT_822 = " != null && "; - protected final String TEXT_823 = " != new"; - protected final String TEXT_824 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; - protected final String TEXT_825 = "(null);" + NL + "\t\t\t}"; - protected final String TEXT_826 = NL + "\t\t\tif (new"; - protected final String TEXT_827 = " != null)" + NL + "\t\t\t{"; - protected final String TEXT_828 = NL + "\t\t\t\t"; + protected final String TEXT_765 = NL + "\t\tif (new"; + protected final String TEXT_766 = " != null && !(new"; + protected final String TEXT_767 = " instanceof "; + protected final String TEXT_768 = "))" + NL + "\t\t{" + NL + "\t\t\tthrow new IllegalArgumentException(\"new"; + protected final String TEXT_769 = " must be an instance of "; + protected final String TEXT_770 = "\");"; + protected final String TEXT_771 = NL + "\t\t}"; + protected final String TEXT_772 = NL + "\t\tmsgs = eBasicSetContainer(("; + protected final String TEXT_773 = ")new"; + protected final String TEXT_774 = ", "; + protected final String TEXT_775 = ", msgs);"; + protected final String TEXT_776 = NL + "\t\t"; + protected final String TEXT_777 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; + protected final String TEXT_778 = NL + "\t\t\t"; + protected final String TEXT_779 = " "; + protected final String TEXT_780 = " = "; + protected final String TEXT_781 = "();"; + protected final String TEXT_782 = NL + "\t\t\tObject "; + protected final String TEXT_783 = " = eVirtualGet("; + protected final String TEXT_784 = ");"; + protected final String TEXT_785 = NL + "\t\t\tif ("; + protected final String TEXT_786 = " != null && "; + protected final String TEXT_787 = " != new"; + protected final String TEXT_788 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; + protected final String TEXT_789 = "(null);" + NL + "\t\t\t}"; + protected final String TEXT_790 = NL + "\t\t\tif (new"; + protected final String TEXT_791 = " != null)" + NL + "\t\t\t{"; + protected final String TEXT_792 = NL + "\t\t\t\t"; + protected final String TEXT_793 = " "; + protected final String TEXT_794 = " = "; + protected final String TEXT_795 = "();" + NL + "\t\t\t\tif (!"; + protected final String TEXT_796 = ".contains(new"; + protected final String TEXT_797 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; + protected final String TEXT_798 = ".add(new"; + protected final String TEXT_799 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_800 = NL + "\t\t\t\t"; + protected final String TEXT_801 = " "; + protected final String TEXT_802 = " = "; + protected final String TEXT_803 = "();"; + protected final String TEXT_804 = NL + "\t\t\t\tObject "; + protected final String TEXT_805 = " = eVirtualGet("; + protected final String TEXT_806 = ");"; + protected final String TEXT_807 = NL + "\t\t\t\tif (new"; + protected final String TEXT_808 = " != "; + protected final String TEXT_809 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; + protected final String TEXT_810 = "(new"; + protected final String TEXT_811 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_812 = NL + "\t\t\t}"; + protected final String TEXT_813 = NL + "\t\t}"; + protected final String TEXT_814 = NL + "\t\treturn msgs;"; + protected final String TEXT_815 = NL + "\t\tif (new"; + protected final String TEXT_816 = " != null && !(new"; + protected final String TEXT_817 = " instanceof "; + protected final String TEXT_818 = "))" + NL + "\t\t{" + NL + "\t\t\tthrow new IllegalArgumentException(\"new"; + protected final String TEXT_819 = " must be an instance of "; + protected final String TEXT_820 = "\");"; + protected final String TEXT_821 = NL + "\t\t}"; + protected final String TEXT_822 = NL + "\t\tmsgs = eDynamicInverseAdd(("; + protected final String TEXT_823 = ")new"; + protected final String TEXT_824 = ", "; + protected final String TEXT_825 = ", msgs);"; + protected final String TEXT_826 = NL + "\t\t"; + protected final String TEXT_827 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; + protected final String TEXT_828 = NL + "\t\t\t"; protected final String TEXT_829 = " "; protected final String TEXT_830 = " = "; - protected final String TEXT_831 = "();" + NL + "\t\t\t\tif (!"; - protected final String TEXT_832 = ".contains(new"; - protected final String TEXT_833 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; - protected final String TEXT_834 = ".add(new"; - protected final String TEXT_835 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_836 = NL + "\t\t\t\t"; - protected final String TEXT_837 = " "; - protected final String TEXT_838 = " = "; - protected final String TEXT_839 = "();"; - protected final String TEXT_840 = NL + "\t\t\t\tObject "; - protected final String TEXT_841 = " = eVirtualGet("; - protected final String TEXT_842 = ");"; - protected final String TEXT_843 = NL + "\t\t\t\tif (new"; - protected final String TEXT_844 = " != "; - protected final String TEXT_845 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; - protected final String TEXT_846 = "(new"; - protected final String TEXT_847 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_848 = NL + "\t\t\t}"; - protected final String TEXT_849 = NL + "\t\t}"; - protected final String TEXT_850 = NL + "\t\treturn msgs;"; - protected final String TEXT_851 = NL + "\t\tObject old"; - protected final String TEXT_852 = " = eVirtualSet("; - protected final String TEXT_853 = ", new"; - protected final String TEXT_854 = ");"; - protected final String TEXT_855 = NL + "\t\t"; - protected final String TEXT_856 = " old"; - protected final String TEXT_857 = " = "; - protected final String TEXT_858 = ";" + NL + "\t\t"; - protected final String TEXT_859 = " = new"; - protected final String TEXT_860 = ";"; - protected final String TEXT_861 = NL + "\t\tboolean isSetChange = old"; - protected final String TEXT_862 = " == EVIRTUAL_NO_VALUE;"; - protected final String TEXT_863 = NL + "\t\tboolean old"; - protected final String TEXT_864 = "ESet = ("; - protected final String TEXT_865 = " & "; - protected final String TEXT_866 = "_ESETFLAG) != 0;"; - protected final String TEXT_867 = NL + "\t\t"; - protected final String TEXT_868 = " |= "; - protected final String TEXT_869 = "_ESETFLAG;"; - protected final String TEXT_870 = NL + "\t\tboolean old"; - protected final String TEXT_871 = "ESet = "; - protected final String TEXT_872 = "ESet;"; - protected final String TEXT_873 = NL + "\t\t"; - protected final String TEXT_874 = "ESet = true;"; - protected final String TEXT_875 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{"; - protected final String TEXT_876 = NL + "\t\t\t"; - protected final String TEXT_877 = " notification = new "; - protected final String TEXT_878 = "(this, "; - protected final String TEXT_879 = ".SET, "; - protected final String TEXT_880 = ", "; - protected final String TEXT_881 = "isSetChange ? null : old"; - protected final String TEXT_882 = "old"; - protected final String TEXT_883 = ", new"; - protected final String TEXT_884 = ", "; - protected final String TEXT_885 = "isSetChange"; - protected final String TEXT_886 = "!old"; - protected final String TEXT_887 = "ESet"; - protected final String TEXT_888 = ");"; - protected final String TEXT_889 = NL + "\t\t\t"; - protected final String TEXT_890 = " notification = new "; - protected final String TEXT_891 = "(this, "; - protected final String TEXT_892 = ".SET, "; - protected final String TEXT_893 = ", "; - protected final String TEXT_894 = "old"; - protected final String TEXT_895 = " == EVIRTUAL_NO_VALUE ? null : old"; - protected final String TEXT_896 = "old"; - protected final String TEXT_897 = ", new"; - protected final String TEXT_898 = ");"; - protected final String TEXT_899 = NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}"; - protected final String TEXT_900 = NL + "\t\t"; - protected final String TEXT_901 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; - protected final String TEXT_902 = NL + "\t\t\t"; - protected final String TEXT_903 = " "; - protected final String TEXT_904 = " = "; - protected final String TEXT_905 = "();"; - protected final String TEXT_906 = NL + "\t\t\tObject "; - protected final String TEXT_907 = " = eVirtualGet("; - protected final String TEXT_908 = ");"; - protected final String TEXT_909 = NL + "\t\t\tif ("; - protected final String TEXT_910 = " != null && "; - protected final String TEXT_911 = " != new"; - protected final String TEXT_912 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; - protected final String TEXT_913 = "(null);" + NL + "\t\t\t}"; - protected final String TEXT_914 = NL + "\t\t\tif (new"; - protected final String TEXT_915 = " != null)" + NL + "\t\t\t{"; - protected final String TEXT_916 = NL + "\t\t\t\t"; - protected final String TEXT_917 = " "; - protected final String TEXT_918 = " = "; - protected final String TEXT_919 = "();" + NL + "\t\t\t\tif (!"; - protected final String TEXT_920 = ".contains(new"; - protected final String TEXT_921 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; - protected final String TEXT_922 = ".add(new"; - protected final String TEXT_923 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_924 = NL + "\t\t\t\t"; - protected final String TEXT_925 = " "; - protected final String TEXT_926 = " = "; - protected final String TEXT_927 = "();"; - protected final String TEXT_928 = NL + "\t\t\t\tObject "; - protected final String TEXT_929 = " = eVirtualGet("; - protected final String TEXT_930 = ");"; - protected final String TEXT_931 = NL + "\t\t\t\tif (new"; - protected final String TEXT_932 = " != "; - protected final String TEXT_933 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; - protected final String TEXT_934 = "(new"; - protected final String TEXT_935 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_936 = NL + "\t\t\t}"; - protected final String TEXT_937 = NL + "\t\t}"; - protected final String TEXT_938 = NL + "\t\treturn msgs;"; - protected final String TEXT_939 = NL + "\t\treturn (("; - protected final String TEXT_940 = ".Internal)(("; - protected final String TEXT_941 = ".Internal.Wrapper)get"; - protected final String TEXT_942 = "()).featureMap()).basicAdd("; - protected final String TEXT_943 = ", new"; - protected final String TEXT_944 = ", msgs);"; - protected final String TEXT_945 = NL + "\t\treturn (("; - protected final String TEXT_946 = ".Internal)get"; - protected final String TEXT_947 = "()).basicAdd("; - protected final String TEXT_948 = ", new"; - protected final String TEXT_949 = ", msgs);"; - protected final String TEXT_950 = NL + "\t\t// TODO: implement this method to set the contained '"; - protected final String TEXT_951 = "' "; - protected final String TEXT_952 = 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_953 = NL + "\t}" + NL; - protected final String TEXT_954 = NL + "\t/**" + NL + "\t * Sets the value of the '{@link "; - protected final String TEXT_955 = "#"; - protected final String TEXT_956 = " <em>"; - protected final String TEXT_957 = "</em>}' "; - protected final String TEXT_958 = "."; - protected final String TEXT_959 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param value the new value of the '<em>"; - protected final String TEXT_960 = "</em>' "; - protected final String TEXT_961 = "."; - protected final String TEXT_962 = NL + "\t * @see "; - protected final String TEXT_963 = NL + "\t * @see #isSet"; - protected final String TEXT_964 = "()"; - protected final String TEXT_965 = NL + "\t * @see #unset"; - protected final String TEXT_966 = "()"; - protected final String TEXT_967 = NL + "\t * @see #"; - protected final String TEXT_968 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_969 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_970 = NL + "\t@Override"; - protected final String TEXT_971 = NL + "\tvoid set"; - protected final String TEXT_972 = "("; - protected final String TEXT_973 = " value);" + NL; - protected final String TEXT_974 = NL + "\tpublic void set"; - protected final String TEXT_975 = "_"; - protected final String TEXT_976 = "("; - protected final String TEXT_977 = " "; - protected final String TEXT_978 = ")" + NL + "\t{"; - protected final String TEXT_979 = NL + "\t\tnew"; - protected final String TEXT_980 = " = new"; - protected final String TEXT_981 = " == null ? "; - protected final String TEXT_982 = " : new"; - protected final String TEXT_983 = ";"; - protected final String TEXT_984 = NL + "\t\teDynamicSet("; - protected final String TEXT_985 = ", "; - protected final String TEXT_986 = ", "; - protected final String TEXT_987 = "new "; - protected final String TEXT_988 = "("; - protected final String TEXT_989 = "new"; - protected final String TEXT_990 = ")"; - protected final String TEXT_991 = ");"; - protected final String TEXT_992 = NL + "\t\teSet("; - protected final String TEXT_993 = ", "; - protected final String TEXT_994 = "new "; - protected final String TEXT_995 = "("; - protected final String TEXT_996 = "new"; - protected final String TEXT_997 = ")"; - protected final String TEXT_998 = ");"; - protected final String TEXT_999 = NL + "\t\t"; - protected final String TEXT_1000 = "__ESETTING_DELEGATE.dynamicSet(this, null, 0, "; - protected final String TEXT_1001 = "new "; - protected final String TEXT_1002 = "("; - protected final String TEXT_1003 = "new"; - protected final String TEXT_1004 = ")"; - protected final String TEXT_1005 = ");"; - protected final String TEXT_1006 = NL + "\t\tif (new"; - protected final String TEXT_1007 = " != eInternalContainer() || (eContainerFeatureID() != "; - protected final String TEXT_1008 = " && new"; - protected final String TEXT_1009 = " != null))" + NL + "\t\t{" + NL + "\t\t\tif ("; - protected final String TEXT_1010 = ".isAncestor(this, "; - protected final String TEXT_1011 = "new"; - protected final String TEXT_1012 = "))" + NL + "\t\t\t\tthrow new "; - protected final String TEXT_1013 = "(\"Recursive containment not allowed for \" + toString());"; - protected final String TEXT_1014 = NL + "\t\t\t"; - protected final String TEXT_1015 = " msgs = null;" + NL + "\t\t\tif (eInternalContainer() != null)" + NL + "\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\t\tif (new"; - protected final String TEXT_1016 = " != null)" + NL + "\t\t\t\tmsgs = (("; - protected final String TEXT_1017 = ")new"; - protected final String TEXT_1018 = ").eInverseAdd(this, "; - protected final String TEXT_1019 = ", "; - protected final String TEXT_1020 = ".class, msgs);" + NL + "\t\t\tmsgs = basicSet"; - protected final String TEXT_1021 = "("; - protected final String TEXT_1022 = "new"; - protected final String TEXT_1023 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}"; - protected final String TEXT_1024 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new "; - protected final String TEXT_1025 = "(this, "; - protected final String TEXT_1026 = ".SET, "; - protected final String TEXT_1027 = ", new"; - protected final String TEXT_1028 = ", new"; - protected final String TEXT_1029 = "));"; - protected final String TEXT_1030 = NL + "\t\t"; - protected final String TEXT_1031 = " "; - protected final String TEXT_1032 = " = ("; - protected final String TEXT_1033 = ")eVirtualGet("; - protected final String TEXT_1034 = ");"; - protected final String TEXT_1035 = NL + "\t\tif (new"; - protected final String TEXT_1036 = " != "; - protected final String TEXT_1037 = ")" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_1038 = " msgs = null;" + NL + "\t\t\tif ("; - protected final String TEXT_1039 = " != null)"; - protected final String TEXT_1040 = NL + "\t\t\t\tmsgs = (("; - protected final String TEXT_1041 = ")"; - protected final String TEXT_1042 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - "; - protected final String TEXT_1043 = ", null, msgs);" + NL + "\t\t\tif (new"; + protected final String TEXT_831 = "();"; + protected final String TEXT_832 = NL + "\t\t\tObject "; + protected final String TEXT_833 = " = eVirtualGet("; + protected final String TEXT_834 = ");"; + protected final String TEXT_835 = NL + "\t\t\tif ("; + protected final String TEXT_836 = " != null && "; + protected final String TEXT_837 = " != new"; + protected final String TEXT_838 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; + protected final String TEXT_839 = "(null);" + NL + "\t\t\t}"; + protected final String TEXT_840 = NL + "\t\t\tif (new"; + protected final String TEXT_841 = " != null)" + NL + "\t\t\t{"; + protected final String TEXT_842 = NL + "\t\t\t\t"; + protected final String TEXT_843 = " "; + protected final String TEXT_844 = " = "; + protected final String TEXT_845 = "();" + NL + "\t\t\t\tif (!"; + protected final String TEXT_846 = ".contains(new"; + protected final String TEXT_847 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; + protected final String TEXT_848 = ".add(new"; + protected final String TEXT_849 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_850 = NL + "\t\t\t\t"; + protected final String TEXT_851 = " "; + protected final String TEXT_852 = " = "; + protected final String TEXT_853 = "();"; + protected final String TEXT_854 = NL + "\t\t\t\tObject "; + protected final String TEXT_855 = " = eVirtualGet("; + protected final String TEXT_856 = ");"; + protected final String TEXT_857 = NL + "\t\t\t\tif (new"; + protected final String TEXT_858 = " != "; + protected final String TEXT_859 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; + protected final String TEXT_860 = "(new"; + protected final String TEXT_861 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_862 = NL + "\t\t\t}"; + protected final String TEXT_863 = NL + "\t\t}"; + protected final String TEXT_864 = NL + "\t\treturn msgs;"; + protected final String TEXT_865 = NL + "\t\tif (new"; + protected final String TEXT_866 = " != null && !(new"; + protected final String TEXT_867 = " instanceof "; + protected final String TEXT_868 = "))" + NL + "\t\t{" + NL + "\t\t\tthrow new IllegalArgumentException(\"new"; + protected final String TEXT_869 = " must be an instance of "; + protected final String TEXT_870 = "\");"; + protected final String TEXT_871 = NL + "\t\t}"; + protected final String TEXT_872 = NL + "\t\tObject old"; + protected final String TEXT_873 = " = eVirtualSet("; + protected final String TEXT_874 = ", new"; + protected final String TEXT_875 = ");"; + protected final String TEXT_876 = NL + "\t\t"; + protected final String TEXT_877 = " old"; + protected final String TEXT_878 = " = "; + protected final String TEXT_879 = ";" + NL + "\t\t"; + protected final String TEXT_880 = " = new"; + protected final String TEXT_881 = ";"; + protected final String TEXT_882 = NL + "\t\tboolean isSetChange = old"; + protected final String TEXT_883 = " == EVIRTUAL_NO_VALUE;"; + protected final String TEXT_884 = NL + "\t\tboolean old"; + protected final String TEXT_885 = "ESet = ("; + protected final String TEXT_886 = " & "; + protected final String TEXT_887 = "_ESETFLAG) != 0;"; + protected final String TEXT_888 = NL + "\t\t"; + protected final String TEXT_889 = " |= "; + protected final String TEXT_890 = "_ESETFLAG;"; + protected final String TEXT_891 = NL + "\t\tboolean old"; + protected final String TEXT_892 = "ESet = "; + protected final String TEXT_893 = "ESet;"; + protected final String TEXT_894 = NL + "\t\t"; + protected final String TEXT_895 = "ESet = true;"; + protected final String TEXT_896 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{"; + protected final String TEXT_897 = NL + "\t\t\t"; + protected final String TEXT_898 = " notification = new "; + protected final String TEXT_899 = "(this, "; + protected final String TEXT_900 = ".SET, "; + protected final String TEXT_901 = ", "; + protected final String TEXT_902 = "isSetChange ? null : old"; + protected final String TEXT_903 = "old"; + protected final String TEXT_904 = ", new"; + protected final String TEXT_905 = ", "; + protected final String TEXT_906 = "isSetChange"; + protected final String TEXT_907 = "!old"; + protected final String TEXT_908 = "ESet"; + protected final String TEXT_909 = ");"; + protected final String TEXT_910 = NL + "\t\t\t"; + protected final String TEXT_911 = " notification = new "; + protected final String TEXT_912 = "(this, "; + protected final String TEXT_913 = ".SET, "; + protected final String TEXT_914 = ", "; + protected final String TEXT_915 = "old"; + protected final String TEXT_916 = " == EVIRTUAL_NO_VALUE ? null : old"; + protected final String TEXT_917 = "old"; + protected final String TEXT_918 = ", new"; + protected final String TEXT_919 = ");"; + protected final String TEXT_920 = NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}"; + protected final String TEXT_921 = NL + "\t\t"; + protected final String TEXT_922 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; + protected final String TEXT_923 = NL + "\t\t\t"; + protected final String TEXT_924 = " "; + protected final String TEXT_925 = " = "; + protected final String TEXT_926 = "();"; + protected final String TEXT_927 = NL + "\t\t\tObject "; + protected final String TEXT_928 = " = eVirtualGet("; + protected final String TEXT_929 = ");"; + protected final String TEXT_930 = NL + "\t\t\tif ("; + protected final String TEXT_931 = " != null && "; + protected final String TEXT_932 = " != new"; + protected final String TEXT_933 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; + protected final String TEXT_934 = "(null);" + NL + "\t\t\t}"; + protected final String TEXT_935 = NL + "\t\t\tif (new"; + protected final String TEXT_936 = " != null)" + NL + "\t\t\t{"; + protected final String TEXT_937 = NL + "\t\t\t\t"; + protected final String TEXT_938 = " "; + protected final String TEXT_939 = " = "; + protected final String TEXT_940 = "();" + NL + "\t\t\t\tif (!"; + protected final String TEXT_941 = ".contains(new"; + protected final String TEXT_942 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; + protected final String TEXT_943 = ".add(new"; + protected final String TEXT_944 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_945 = NL + "\t\t\t\t"; + protected final String TEXT_946 = " "; + protected final String TEXT_947 = " = "; + protected final String TEXT_948 = "();"; + protected final String TEXT_949 = NL + "\t\t\t\tObject "; + protected final String TEXT_950 = " = eVirtualGet("; + protected final String TEXT_951 = ");"; + protected final String TEXT_952 = NL + "\t\t\t\tif (new"; + protected final String TEXT_953 = " != "; + protected final String TEXT_954 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; + protected final String TEXT_955 = "(new"; + protected final String TEXT_956 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_957 = NL + "\t\t\t}"; + protected final String TEXT_958 = NL + "\t\t}"; + protected final String TEXT_959 = NL + "\t\treturn msgs;"; + protected final String TEXT_960 = NL + "\t\treturn (("; + protected final String TEXT_961 = ".Internal)(("; + protected final String TEXT_962 = ".Internal.Wrapper)get"; + protected final String TEXT_963 = "()).featureMap()).basicAdd("; + protected final String TEXT_964 = ", new"; + protected final String TEXT_965 = ", msgs);"; + protected final String TEXT_966 = NL + "\t\treturn (("; + protected final String TEXT_967 = ".Internal)get"; + protected final String TEXT_968 = "()).basicAdd("; + protected final String TEXT_969 = ", new"; + protected final String TEXT_970 = ", msgs);"; + protected final String TEXT_971 = NL + "\t\t// TODO: implement this method to set the contained '"; + protected final String TEXT_972 = "' "; + protected final String TEXT_973 = 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_974 = NL + "\t}" + NL; + protected final String TEXT_975 = NL + "\t/**" + NL + "\t * Sets the value of the '{@link "; + protected final String TEXT_976 = "#"; + protected final String TEXT_977 = " <em>"; + protected final String TEXT_978 = "</em>}' "; + protected final String TEXT_979 = "."; + protected final String TEXT_980 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @param value the new value of the '<em>"; + protected final String TEXT_981 = "</em>' "; + protected final String TEXT_982 = "."; + protected final String TEXT_983 = NL + "\t * @see "; + protected final String TEXT_984 = NL + "\t * @see #isSet"; + protected final String TEXT_985 = "()"; + protected final String TEXT_986 = NL + "\t * @see #unset"; + protected final String TEXT_987 = "()"; + protected final String TEXT_988 = NL + "\t * @see #"; + protected final String TEXT_989 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_990 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_991 = NL + "\t@Override"; + protected final String TEXT_992 = NL + "\tvoid set"; + protected final String TEXT_993 = "("; + protected final String TEXT_994 = " value);" + NL; + protected final String TEXT_995 = NL + "\tpublic void set"; + protected final String TEXT_996 = "_"; + protected final String TEXT_997 = "("; + protected final String TEXT_998 = " "; + protected final String TEXT_999 = ")" + NL + "\t{"; + protected final String TEXT_1000 = NL + "\t\tif (new"; + protected final String TEXT_1001 = " != null && !(new"; + protected final String TEXT_1002 = " instanceof "; + protected final String TEXT_1003 = "))" + NL + "\t\t{" + NL + "\t\t\tthrow new IllegalArgumentException(\"new"; + protected final String TEXT_1004 = " must be an instance of "; + protected final String TEXT_1005 = "\");"; + protected final String TEXT_1006 = NL + "\t\t}"; + protected final String TEXT_1007 = NL + "\t\tnew"; + protected final String TEXT_1008 = " = new"; + protected final String TEXT_1009 = " == null ? "; + protected final String TEXT_1010 = " : new"; + protected final String TEXT_1011 = ";"; + protected final String TEXT_1012 = NL + "\t\teDynamicSet("; + protected final String TEXT_1013 = ", "; + protected final String TEXT_1014 = ", "; + protected final String TEXT_1015 = "new "; + protected final String TEXT_1016 = "("; + protected final String TEXT_1017 = "new"; + protected final String TEXT_1018 = ")"; + protected final String TEXT_1019 = ");"; + protected final String TEXT_1020 = NL + "\t\teSet("; + protected final String TEXT_1021 = ", "; + protected final String TEXT_1022 = "new "; + protected final String TEXT_1023 = "("; + protected final String TEXT_1024 = "new"; + protected final String TEXT_1025 = ")"; + protected final String TEXT_1026 = ");"; + protected final String TEXT_1027 = NL + "\t\t"; + protected final String TEXT_1028 = "__ESETTING_DELEGATE.dynamicSet(this, null, 0, "; + protected final String TEXT_1029 = "new "; + protected final String TEXT_1030 = "("; + protected final String TEXT_1031 = "new"; + protected final String TEXT_1032 = ")"; + protected final String TEXT_1033 = ");"; + protected final String TEXT_1034 = NL + "\t\tif (new"; + protected final String TEXT_1035 = " != eInternalContainer() || (eContainerFeatureID() != "; + protected final String TEXT_1036 = " && new"; + protected final String TEXT_1037 = " != null))" + NL + "\t\t{" + NL + "\t\t\tif ("; + protected final String TEXT_1038 = ".isAncestor(this, "; + protected final String TEXT_1039 = "new"; + protected final String TEXT_1040 = "))" + NL + "\t\t\t\tthrow new "; + protected final String TEXT_1041 = "(\"Recursive containment not allowed for \" + toString());"; + protected final String TEXT_1042 = NL + "\t\t\t"; + protected final String TEXT_1043 = " msgs = null;" + NL + "\t\t\tif (eInternalContainer() != null)" + NL + "\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\t\tif (new"; protected final String TEXT_1044 = " != null)" + NL + "\t\t\t\tmsgs = (("; protected final String TEXT_1045 = ")new"; - protected final String TEXT_1046 = ").eInverseAdd(this, EOPPOSITE_FEATURE_BASE - "; - protected final String TEXT_1047 = ", null, msgs);"; - protected final String TEXT_1048 = NL + "\t\t\t\tmsgs = (("; - protected final String TEXT_1049 = ")"; - protected final String TEXT_1050 = ").eInverseRemove(this, "; - protected final String TEXT_1051 = ", "; - protected final String TEXT_1052 = ".class, msgs);" + NL + "\t\t\tif (new"; - protected final String TEXT_1053 = " != null)" + NL + "\t\t\t\tmsgs = (("; - protected final String TEXT_1054 = ")new"; - protected final String TEXT_1055 = ").eInverseAdd(this, "; - protected final String TEXT_1056 = ", "; - protected final String TEXT_1057 = ".class, msgs);"; - protected final String TEXT_1058 = NL + "\t\t\tmsgs = basicSet"; - protected final String TEXT_1059 = "("; - protected final String TEXT_1060 = "new"; - protected final String TEXT_1061 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}"; - protected final String TEXT_1062 = NL + "\t\telse" + NL + "\t\t{"; - protected final String TEXT_1063 = NL + "\t\t\tboolean old"; - protected final String TEXT_1064 = "ESet = eVirtualIsSet("; - protected final String TEXT_1065 = ");"; - protected final String TEXT_1066 = NL + "\t\t\tboolean old"; - protected final String TEXT_1067 = "ESet = ("; - protected final String TEXT_1068 = " & "; - protected final String TEXT_1069 = "_ESETFLAG) != 0;"; - protected final String TEXT_1070 = NL + "\t\t\t"; - protected final String TEXT_1071 = " |= "; - protected final String TEXT_1072 = "_ESETFLAG;"; - protected final String TEXT_1073 = NL + "\t\t\tboolean old"; - protected final String TEXT_1074 = "ESet = "; - protected final String TEXT_1075 = "ESet;"; - protected final String TEXT_1076 = NL + "\t\t\t"; - protected final String TEXT_1077 = "ESet = true;"; - protected final String TEXT_1078 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new "; - protected final String TEXT_1079 = "(this, "; - protected final String TEXT_1080 = ".SET, "; - protected final String TEXT_1081 = ", new"; - protected final String TEXT_1082 = ", new"; - protected final String TEXT_1083 = ", !old"; - protected final String TEXT_1084 = "ESet));"; - protected final String TEXT_1085 = NL + "\t\t}"; - protected final String TEXT_1086 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new "; - protected final String TEXT_1087 = "(this, "; - protected final String TEXT_1088 = ".SET, "; - protected final String TEXT_1089 = ", new"; - protected final String TEXT_1090 = ", new"; - protected final String TEXT_1091 = "));"; - protected final String TEXT_1092 = NL + "\t\t"; - protected final String TEXT_1093 = " old"; - protected final String TEXT_1094 = " = ("; - protected final String TEXT_1095 = " & "; - protected final String TEXT_1096 = "_EFLAG) != 0;"; - protected final String TEXT_1097 = NL + "\t\t"; - protected final String TEXT_1098 = " old"; - protected final String TEXT_1099 = " = "; - protected final String TEXT_1100 = "_EFLAG_VALUES[("; - protected final String TEXT_1101 = " & "; - protected final String TEXT_1102 = "_EFLAG) >>> "; - protected final String TEXT_1103 = "_EFLAG_OFFSET];"; - protected final String TEXT_1104 = NL + "\t\tif (new"; - protected final String TEXT_1105 = ") "; - protected final String TEXT_1106 = " |= "; - protected final String TEXT_1107 = "_EFLAG; else "; - protected final String TEXT_1108 = " &= ~"; - protected final String TEXT_1109 = "_EFLAG;"; - protected final String TEXT_1110 = NL + "\t\tif (new"; - protected final String TEXT_1111 = " == null) new"; - protected final String TEXT_1112 = " = "; - protected final String TEXT_1113 = "_EDEFAULT;" + NL + "\t\t"; - protected final String TEXT_1114 = " = "; - protected final String TEXT_1115 = " & ~"; - protected final String TEXT_1116 = "_EFLAG | "; - protected final String TEXT_1117 = "new"; - protected final String TEXT_1118 = ".ordinal()"; - protected final String TEXT_1119 = ".VALUES.indexOf(new"; - protected final String TEXT_1120 = ")"; - protected final String TEXT_1121 = " << "; - protected final String TEXT_1122 = "_EFLAG_OFFSET;"; - protected final String TEXT_1123 = NL + "\t\t"; - protected final String TEXT_1124 = " old"; - protected final String TEXT_1125 = " = "; - protected final String TEXT_1126 = ";"; - protected final String TEXT_1127 = NL + "\t\t"; - protected final String TEXT_1128 = " "; - protected final String TEXT_1129 = " = new"; - protected final String TEXT_1130 = " == null ? "; - protected final String TEXT_1131 = " : new"; - protected final String TEXT_1132 = ";"; - protected final String TEXT_1133 = NL + "\t\t"; - protected final String TEXT_1134 = " = new"; - protected final String TEXT_1135 = " == null ? "; - protected final String TEXT_1136 = " : new"; - protected final String TEXT_1137 = ";"; - protected final String TEXT_1138 = NL + "\t\t"; - protected final String TEXT_1139 = " "; + protected final String TEXT_1046 = ").eInverseAdd(this, "; + protected final String TEXT_1047 = ", "; + protected final String TEXT_1048 = ".class, msgs);" + NL + "\t\t\tmsgs = basicSet"; + protected final String TEXT_1049 = "("; + protected final String TEXT_1050 = "new"; + protected final String TEXT_1051 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}"; + protected final String TEXT_1052 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new "; + protected final String TEXT_1053 = "(this, "; + protected final String TEXT_1054 = ".SET, "; + protected final String TEXT_1055 = ", new"; + protected final String TEXT_1056 = ", new"; + protected final String TEXT_1057 = "));"; + protected final String TEXT_1058 = NL + "\t\t"; + protected final String TEXT_1059 = " "; + protected final String TEXT_1060 = " = ("; + protected final String TEXT_1061 = ")eVirtualGet("; + protected final String TEXT_1062 = ");"; + protected final String TEXT_1063 = NL + "\t\tif (new"; + protected final String TEXT_1064 = " != "; + protected final String TEXT_1065 = ")" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_1066 = " msgs = null;" + NL + "\t\t\tif ("; + protected final String TEXT_1067 = " != null)"; + protected final String TEXT_1068 = NL + "\t\t\t\tmsgs = (("; + protected final String TEXT_1069 = ")"; + protected final String TEXT_1070 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - "; + protected final String TEXT_1071 = ", null, msgs);" + NL + "\t\t\tif (new"; + protected final String TEXT_1072 = " != null)" + NL + "\t\t\t\tmsgs = (("; + protected final String TEXT_1073 = ")new"; + protected final String TEXT_1074 = ").eInverseAdd(this, EOPPOSITE_FEATURE_BASE - "; + protected final String TEXT_1075 = ", null, msgs);"; + protected final String TEXT_1076 = NL + "\t\t\t\tmsgs = (("; + protected final String TEXT_1077 = ")"; + protected final String TEXT_1078 = ").eInverseRemove(this, "; + protected final String TEXT_1079 = ", "; + protected final String TEXT_1080 = ".class, msgs);" + NL + "\t\t\tif (new"; + protected final String TEXT_1081 = " != null)" + NL + "\t\t\t\tmsgs = (("; + protected final String TEXT_1082 = ")new"; + protected final String TEXT_1083 = ").eInverseAdd(this, "; + protected final String TEXT_1084 = ", "; + protected final String TEXT_1085 = ".class, msgs);"; + protected final String TEXT_1086 = NL + "\t\t\tmsgs = basicSet"; + protected final String TEXT_1087 = "("; + protected final String TEXT_1088 = "new"; + protected final String TEXT_1089 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}"; + protected final String TEXT_1090 = NL + "\t\telse" + NL + "\t\t{"; + protected final String TEXT_1091 = NL + "\t\t\tboolean old"; + protected final String TEXT_1092 = "ESet = eVirtualIsSet("; + protected final String TEXT_1093 = ");"; + protected final String TEXT_1094 = NL + "\t\t\tboolean old"; + protected final String TEXT_1095 = "ESet = ("; + protected final String TEXT_1096 = " & "; + protected final String TEXT_1097 = "_ESETFLAG) != 0;"; + protected final String TEXT_1098 = NL + "\t\t\t"; + protected final String TEXT_1099 = " |= "; + protected final String TEXT_1100 = "_ESETFLAG;"; + protected final String TEXT_1101 = NL + "\t\t\tboolean old"; + protected final String TEXT_1102 = "ESet = "; + protected final String TEXT_1103 = "ESet;"; + protected final String TEXT_1104 = NL + "\t\t\t"; + protected final String TEXT_1105 = "ESet = true;"; + protected final String TEXT_1106 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new "; + protected final String TEXT_1107 = "(this, "; + protected final String TEXT_1108 = ".SET, "; + protected final String TEXT_1109 = ", new"; + protected final String TEXT_1110 = ", new"; + protected final String TEXT_1111 = ", !old"; + protected final String TEXT_1112 = "ESet));"; + protected final String TEXT_1113 = NL + "\t\t}"; + protected final String TEXT_1114 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new "; + protected final String TEXT_1115 = "(this, "; + protected final String TEXT_1116 = ".SET, "; + protected final String TEXT_1117 = ", new"; + protected final String TEXT_1118 = ", new"; + protected final String TEXT_1119 = "));"; + protected final String TEXT_1120 = NL + "\t\t"; + protected final String TEXT_1121 = " old"; + protected final String TEXT_1122 = " = ("; + protected final String TEXT_1123 = " & "; + protected final String TEXT_1124 = "_EFLAG) != 0;"; + protected final String TEXT_1125 = NL + "\t\t"; + protected final String TEXT_1126 = " old"; + protected final String TEXT_1127 = " = "; + protected final String TEXT_1128 = "_EFLAG_VALUES[("; + protected final String TEXT_1129 = " & "; + protected final String TEXT_1130 = "_EFLAG) >>> "; + protected final String TEXT_1131 = "_EFLAG_OFFSET];"; + protected final String TEXT_1132 = NL + "\t\tif (new"; + protected final String TEXT_1133 = ") "; + protected final String TEXT_1134 = " |= "; + protected final String TEXT_1135 = "_EFLAG; else "; + protected final String TEXT_1136 = " &= ~"; + protected final String TEXT_1137 = "_EFLAG;"; + protected final String TEXT_1138 = NL + "\t\tif (new"; + protected final String TEXT_1139 = " == null) new"; protected final String TEXT_1140 = " = "; - protected final String TEXT_1141 = "new"; - protected final String TEXT_1142 = ";"; - protected final String TEXT_1143 = NL + "\t\t"; - protected final String TEXT_1144 = " = "; + protected final String TEXT_1141 = "_EDEFAULT;" + NL + "\t\t"; + protected final String TEXT_1142 = " = "; + protected final String TEXT_1143 = " & ~"; + protected final String TEXT_1144 = "_EFLAG | "; protected final String TEXT_1145 = "new"; - protected final String TEXT_1146 = ";"; - protected final String TEXT_1147 = NL + "\t\tObject old"; - protected final String TEXT_1148 = " = eVirtualSet("; - protected final String TEXT_1149 = ", "; - protected final String TEXT_1150 = ");"; - protected final String TEXT_1151 = NL + "\t\tboolean isSetChange = old"; - protected final String TEXT_1152 = " == EVIRTUAL_NO_VALUE;"; - protected final String TEXT_1153 = NL + "\t\tboolean old"; - protected final String TEXT_1154 = "ESet = ("; - protected final String TEXT_1155 = " & "; - protected final String TEXT_1156 = "_ESETFLAG) != 0;"; - protected final String TEXT_1157 = NL + "\t\t"; - protected final String TEXT_1158 = " |= "; - protected final String TEXT_1159 = "_ESETFLAG;"; - protected final String TEXT_1160 = NL + "\t\tboolean old"; - protected final String TEXT_1161 = "ESet = "; - protected final String TEXT_1162 = "ESet;"; - protected final String TEXT_1163 = NL + "\t\t"; - protected final String TEXT_1164 = "ESet = true;"; - protected final String TEXT_1165 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; - protected final String TEXT_1166 = "(this, "; - protected final String TEXT_1167 = ".SET, "; - protected final String TEXT_1168 = ", "; - protected final String TEXT_1169 = "isSetChange ? "; - protected final String TEXT_1170 = " : old"; - protected final String TEXT_1171 = "old"; - protected final String TEXT_1172 = ", "; + protected final String TEXT_1146 = ".ordinal()"; + protected final String TEXT_1147 = ".VALUES.indexOf(new"; + protected final String TEXT_1148 = ")"; + protected final String TEXT_1149 = " << "; + protected final String TEXT_1150 = "_EFLAG_OFFSET;"; + protected final String TEXT_1151 = NL + "\t\t"; + protected final String TEXT_1152 = " old"; + protected final String TEXT_1153 = " = "; + protected final String TEXT_1154 = ";"; + protected final String TEXT_1155 = NL + "\t\t"; + protected final String TEXT_1156 = " "; + protected final String TEXT_1157 = " = new"; + protected final String TEXT_1158 = " == null ? "; + protected final String TEXT_1159 = " : new"; + protected final String TEXT_1160 = ";"; + protected final String TEXT_1161 = NL + "\t\t"; + protected final String TEXT_1162 = " = new"; + protected final String TEXT_1163 = " == null ? "; + protected final String TEXT_1164 = " : new"; + protected final String TEXT_1165 = ";"; + protected final String TEXT_1166 = NL + "\t\t"; + protected final String TEXT_1167 = " "; + protected final String TEXT_1168 = " = "; + protected final String TEXT_1169 = "new"; + protected final String TEXT_1170 = ";"; + protected final String TEXT_1171 = NL + "\t\t"; + protected final String TEXT_1172 = " = "; protected final String TEXT_1173 = "new"; - protected final String TEXT_1174 = ", "; - protected final String TEXT_1175 = "isSetChange"; - protected final String TEXT_1176 = "!old"; - protected final String TEXT_1177 = "ESet"; - protected final String TEXT_1178 = "));"; - protected final String TEXT_1179 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; - protected final String TEXT_1180 = "(this, "; - protected final String TEXT_1181 = ".SET, "; - protected final String TEXT_1182 = ", "; - protected final String TEXT_1183 = "old"; - protected final String TEXT_1184 = " == EVIRTUAL_NO_VALUE ? "; - protected final String TEXT_1185 = " : old"; - protected final String TEXT_1186 = "old"; - protected final String TEXT_1187 = ", "; - protected final String TEXT_1188 = "new"; - protected final String TEXT_1189 = "));"; - protected final String TEXT_1190 = NL + "\t\t"; - protected final String TEXT_1191 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; - protected final String TEXT_1192 = NL + "\t\t\t"; - protected final String TEXT_1193 = " "; - protected final String TEXT_1194 = " = "; - protected final String TEXT_1195 = "();"; - protected final String TEXT_1196 = NL + "\t\t\tObject "; - protected final String TEXT_1197 = " = eVirtualGet("; - protected final String TEXT_1198 = ");"; - protected final String TEXT_1199 = NL + "\t\t\tif ("; - protected final String TEXT_1200 = " != null && "; - protected final String TEXT_1201 = " != new"; - protected final String TEXT_1202 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; - protected final String TEXT_1203 = "(null);" + NL + "\t\t\t}"; - protected final String TEXT_1204 = NL + "\t\t\tif (new"; - protected final String TEXT_1205 = " != null)" + NL + "\t\t\t{"; - protected final String TEXT_1206 = NL + "\t\t\t\t"; - protected final String TEXT_1207 = " "; - protected final String TEXT_1208 = " = "; - protected final String TEXT_1209 = "();" + NL + "\t\t\t\tif (!"; - protected final String TEXT_1210 = ".contains(new"; - protected final String TEXT_1211 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; - protected final String TEXT_1212 = ".add(new"; - protected final String TEXT_1213 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_1214 = NL + "\t\t\t\t"; - protected final String TEXT_1215 = " "; - protected final String TEXT_1216 = " = "; - protected final String TEXT_1217 = "();"; - protected final String TEXT_1218 = NL + "\t\t\t\tObject "; - protected final String TEXT_1219 = " = eVirtualGet("; - protected final String TEXT_1220 = ");"; - protected final String TEXT_1221 = NL + "\t\t\t\tif (new"; - protected final String TEXT_1222 = " != "; - protected final String TEXT_1223 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; - protected final String TEXT_1224 = "(new"; - protected final String TEXT_1225 = ");" + NL + "\t\t\t\t}"; - protected final String TEXT_1226 = NL + "\t\t\t}"; - protected final String TEXT_1227 = NL + "\t\t}"; - protected final String TEXT_1228 = NL + "\t\t(("; - protected final String TEXT_1229 = ".Internal)(("; - protected final String TEXT_1230 = ".Internal.Wrapper)get"; - protected final String TEXT_1231 = "()).featureMap()).set("; - protected final String TEXT_1232 = ", "; - protected final String TEXT_1233 = "new "; - protected final String TEXT_1234 = "("; - protected final String TEXT_1235 = "new"; - protected final String TEXT_1236 = ")"; - protected final String TEXT_1237 = ");"; - protected final String TEXT_1238 = NL + "\t\t(("; - protected final String TEXT_1239 = ".Internal)get"; - protected final String TEXT_1240 = "()).set("; - protected final String TEXT_1241 = ", "; - protected final String TEXT_1242 = "new "; - protected final String TEXT_1243 = "("; - protected final String TEXT_1244 = "new"; - protected final String TEXT_1245 = ")"; - protected final String TEXT_1246 = ");"; - protected final String TEXT_1247 = NL + "\t\t"; - protected final String TEXT_1248 = NL + "\t\t"; - protected final String TEXT_1249 = "."; - protected final String TEXT_1250 = "(this, "; - protected final String TEXT_1251 = ");"; - protected final String TEXT_1252 = NL + "\t\t// TODO: implement this method to set the '"; - protected final String TEXT_1253 = "' "; - protected final String TEXT_1254 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_1255 = NL + "\t}" + NL; - protected final String TEXT_1256 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1257 = NL + "\t@Override"; - protected final String TEXT_1258 = NL + "\tpublic "; - protected final String TEXT_1259 = " basicUnset"; - protected final String TEXT_1260 = "("; - protected final String TEXT_1261 = " msgs)" + NL + "\t{"; - protected final String TEXT_1262 = NL + "\t\treturn eDynamicInverseRemove(("; - protected final String TEXT_1263 = ")"; - protected final String TEXT_1264 = "basicGet"; - protected final String TEXT_1265 = "(), "; - protected final String TEXT_1266 = ", msgs);"; - protected final String TEXT_1267 = "Object old"; - protected final String TEXT_1268 = " = "; - protected final String TEXT_1269 = "eVirtualUnset("; - protected final String TEXT_1270 = ");"; - protected final String TEXT_1271 = NL + "\t\t"; - protected final String TEXT_1272 = " old"; - protected final String TEXT_1273 = " = "; - protected final String TEXT_1274 = ";"; + protected final String TEXT_1174 = ";"; + protected final String TEXT_1175 = NL + "\t\tObject old"; + protected final String TEXT_1176 = " = eVirtualSet("; + protected final String TEXT_1177 = ", "; + protected final String TEXT_1178 = ");"; + protected final String TEXT_1179 = NL + "\t\tboolean isSetChange = old"; + protected final String TEXT_1180 = " == EVIRTUAL_NO_VALUE;"; + protected final String TEXT_1181 = NL + "\t\tboolean old"; + protected final String TEXT_1182 = "ESet = ("; + protected final String TEXT_1183 = " & "; + protected final String TEXT_1184 = "_ESETFLAG) != 0;"; + protected final String TEXT_1185 = NL + "\t\t"; + protected final String TEXT_1186 = " |= "; + protected final String TEXT_1187 = "_ESETFLAG;"; + protected final String TEXT_1188 = NL + "\t\tboolean old"; + protected final String TEXT_1189 = "ESet = "; + protected final String TEXT_1190 = "ESet;"; + protected final String TEXT_1191 = NL + "\t\t"; + protected final String TEXT_1192 = "ESet = true;"; + protected final String TEXT_1193 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; + protected final String TEXT_1194 = "(this, "; + protected final String TEXT_1195 = ".SET, "; + protected final String TEXT_1196 = ", "; + protected final String TEXT_1197 = "isSetChange ? "; + protected final String TEXT_1198 = " : old"; + protected final String TEXT_1199 = "old"; + protected final String TEXT_1200 = ", "; + protected final String TEXT_1201 = "new"; + protected final String TEXT_1202 = ", "; + protected final String TEXT_1203 = "isSetChange"; + protected final String TEXT_1204 = "!old"; + protected final String TEXT_1205 = "ESet"; + protected final String TEXT_1206 = "));"; + protected final String TEXT_1207 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; + protected final String TEXT_1208 = "(this, "; + protected final String TEXT_1209 = ".SET, "; + protected final String TEXT_1210 = ", "; + protected final String TEXT_1211 = "old"; + protected final String TEXT_1212 = " == EVIRTUAL_NO_VALUE ? "; + protected final String TEXT_1213 = " : old"; + protected final String TEXT_1214 = "old"; + protected final String TEXT_1215 = ", "; + protected final String TEXT_1216 = "new"; + protected final String TEXT_1217 = "));"; + protected final String TEXT_1218 = NL + "\t\t"; + protected final String TEXT_1219 = ".Internal eInternalResource = eInternalResource();" + NL + "\t\tif (eInternalResource == null || !eInternalResource.isLoading()) {"; + protected final String TEXT_1220 = NL + "\t\t\t"; + protected final String TEXT_1221 = " "; + protected final String TEXT_1222 = " = "; + protected final String TEXT_1223 = "();"; + protected final String TEXT_1224 = NL + "\t\t\tObject "; + protected final String TEXT_1225 = " = eVirtualGet("; + protected final String TEXT_1226 = ");"; + protected final String TEXT_1227 = NL + "\t\t\tif ("; + protected final String TEXT_1228 = " != null && "; + protected final String TEXT_1229 = " != new"; + protected final String TEXT_1230 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tset"; + protected final String TEXT_1231 = "(null);" + NL + "\t\t\t}"; + protected final String TEXT_1232 = NL + "\t\t\tif (new"; + protected final String TEXT_1233 = " != null)" + NL + "\t\t\t{"; + protected final String TEXT_1234 = NL + "\t\t\t\t"; + protected final String TEXT_1235 = " "; + protected final String TEXT_1236 = " = "; + protected final String TEXT_1237 = "();" + NL + "\t\t\t\tif (!"; + protected final String TEXT_1238 = ".contains(new"; + protected final String TEXT_1239 = "))" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\t"; + protected final String TEXT_1240 = ".add(new"; + protected final String TEXT_1241 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_1242 = NL + "\t\t\t\t"; + protected final String TEXT_1243 = " "; + protected final String TEXT_1244 = " = "; + protected final String TEXT_1245 = "();"; + protected final String TEXT_1246 = NL + "\t\t\t\tObject "; + protected final String TEXT_1247 = " = eVirtualGet("; + protected final String TEXT_1248 = ");"; + protected final String TEXT_1249 = NL + "\t\t\t\tif (new"; + protected final String TEXT_1250 = " != "; + protected final String TEXT_1251 = ")" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tset"; + protected final String TEXT_1252 = "(new"; + protected final String TEXT_1253 = ");" + NL + "\t\t\t\t}"; + protected final String TEXT_1254 = NL + "\t\t\t}"; + protected final String TEXT_1255 = NL + "\t\t}"; + protected final String TEXT_1256 = NL + "\t\t(("; + protected final String TEXT_1257 = ".Internal)(("; + protected final String TEXT_1258 = ".Internal.Wrapper)get"; + protected final String TEXT_1259 = "()).featureMap()).set("; + protected final String TEXT_1260 = ", "; + protected final String TEXT_1261 = "new "; + protected final String TEXT_1262 = "("; + protected final String TEXT_1263 = "new"; + protected final String TEXT_1264 = ")"; + protected final String TEXT_1265 = ");"; + protected final String TEXT_1266 = NL + "\t\t(("; + protected final String TEXT_1267 = ".Internal)get"; + protected final String TEXT_1268 = "()).set("; + protected final String TEXT_1269 = ", "; + protected final String TEXT_1270 = "new "; + protected final String TEXT_1271 = "("; + protected final String TEXT_1272 = "new"; + protected final String TEXT_1273 = ")"; + protected final String TEXT_1274 = ");"; protected final String TEXT_1275 = NL + "\t\t"; - protected final String TEXT_1276 = " = null;"; - protected final String TEXT_1277 = NL + "\t\tboolean isSetChange = old"; - protected final String TEXT_1278 = " != EVIRTUAL_NO_VALUE;"; - protected final String TEXT_1279 = NL + "\t\tboolean old"; - protected final String TEXT_1280 = "ESet = ("; - protected final String TEXT_1281 = " & "; - protected final String TEXT_1282 = "_ESETFLAG) != 0;"; - protected final String TEXT_1283 = NL + "\t\t"; - protected final String TEXT_1284 = " &= ~"; - protected final String TEXT_1285 = "_ESETFLAG;"; - protected final String TEXT_1286 = NL + "\t\tboolean old"; - protected final String TEXT_1287 = "ESet = "; - protected final String TEXT_1288 = "ESet;"; - protected final String TEXT_1289 = NL + "\t\t"; - protected final String TEXT_1290 = "ESet = false;"; - protected final String TEXT_1291 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_1292 = " notification = new "; - protected final String TEXT_1293 = "(this, "; - protected final String TEXT_1294 = ".UNSET, "; - protected final String TEXT_1295 = ", "; - protected final String TEXT_1296 = "isSetChange ? old"; - protected final String TEXT_1297 = " : null"; - protected final String TEXT_1298 = "old"; - protected final String TEXT_1299 = ", null, "; - protected final String TEXT_1300 = "isSetChange"; - protected final String TEXT_1301 = "old"; - protected final String TEXT_1302 = "ESet"; - protected final String TEXT_1303 = ");" + NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}" + NL + "\t\treturn msgs;"; - protected final String TEXT_1304 = NL + "\t\t// TODO: implement this method to unset the contained '"; - protected final String TEXT_1305 = "' "; - protected final String TEXT_1306 = 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_1307 = NL + "\t}" + NL; - protected final String TEXT_1308 = NL + "\t/**" + NL + "\t * Unsets the value of the '{@link "; - protected final String TEXT_1309 = "#"; - protected final String TEXT_1310 = " <em>"; - protected final String TEXT_1311 = "</em>}' "; - protected final String TEXT_1312 = "."; - protected final String TEXT_1313 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_1314 = NL + "\t * @see #isSet"; - protected final String TEXT_1315 = "()"; - protected final String TEXT_1316 = NL + "\t * @see #"; - protected final String TEXT_1317 = "()"; - protected final String TEXT_1318 = NL + "\t * @see #set"; - protected final String TEXT_1319 = "("; - protected final String TEXT_1320 = ")"; - protected final String TEXT_1321 = NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1322 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1323 = NL + "\t@Override"; - protected final String TEXT_1324 = NL + "\tvoid unset"; - protected final String TEXT_1325 = "();" + NL; - protected final String TEXT_1326 = NL + "\tpublic void unset"; - protected final String TEXT_1327 = "_"; - protected final String TEXT_1328 = "()" + NL + "\t{"; - protected final String TEXT_1329 = NL + "\t\teDynamicUnset("; - protected final String TEXT_1330 = ", "; - protected final String TEXT_1331 = ");"; - protected final String TEXT_1332 = NL + "\t\teUnset("; - protected final String TEXT_1333 = ");"; - protected final String TEXT_1334 = NL + "\t\t"; - protected final String TEXT_1335 = "__ESETTING_DELEGATE.dynamicUnset(this, null, 0);"; - protected final String TEXT_1336 = NL + "\t\t"; - protected final String TEXT_1337 = " "; - protected final String TEXT_1338 = " = ("; - protected final String TEXT_1339 = ")eVirtualGet("; - protected final String TEXT_1340 = ");"; - protected final String TEXT_1341 = NL + "\t\tif ("; - protected final String TEXT_1342 = " != null) (("; - protected final String TEXT_1343 = ".Unsettable"; - protected final String TEXT_1344 = ")"; - protected final String TEXT_1345 = ").unset();"; - protected final String TEXT_1346 = NL + "\t\t"; - protected final String TEXT_1347 = " "; - protected final String TEXT_1348 = " = ("; - protected final String TEXT_1349 = ")eVirtualGet("; - protected final String TEXT_1350 = ");"; - protected final String TEXT_1351 = NL + "\t\tif ("; - protected final String TEXT_1352 = " != null)" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_1353 = " msgs = null;"; - protected final String TEXT_1354 = NL + "\t\t\tmsgs = (("; - protected final String TEXT_1355 = ")"; - protected final String TEXT_1356 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - "; - protected final String TEXT_1357 = ", null, msgs);"; - protected final String TEXT_1358 = NL + "\t\t\tmsgs = (("; - protected final String TEXT_1359 = ")"; - protected final String TEXT_1360 = ").eInverseRemove(this, "; - protected final String TEXT_1361 = ", "; - protected final String TEXT_1362 = ".class, msgs);"; - protected final String TEXT_1363 = NL + "\t\t\tmsgs = basicUnset"; - protected final String TEXT_1364 = "(msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{"; - protected final String TEXT_1365 = NL + "\t\t\tboolean old"; - protected final String TEXT_1366 = "ESet = eVirtualIsSet("; - protected final String TEXT_1367 = ");"; - protected final String TEXT_1368 = NL + "\t\t\tboolean old"; - protected final String TEXT_1369 = "ESet = ("; - protected final String TEXT_1370 = " & "; - protected final String TEXT_1371 = "_ESETFLAG) != 0;"; - protected final String TEXT_1372 = NL + "\t\t\t"; - protected final String TEXT_1373 = " &= ~"; - protected final String TEXT_1374 = "_ESETFLAG;"; - protected final String TEXT_1375 = NL + "\t\t\tboolean old"; - protected final String TEXT_1376 = "ESet = "; - protected final String TEXT_1377 = "ESet;"; - protected final String TEXT_1378 = NL + "\t\t\t"; - protected final String TEXT_1379 = "ESet = false;"; - protected final String TEXT_1380 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new "; - protected final String TEXT_1381 = "(this, "; - protected final String TEXT_1382 = ".UNSET, "; - protected final String TEXT_1383 = ", null, null, old"; - protected final String TEXT_1384 = "ESet));"; - protected final String TEXT_1385 = NL + "\t\t}"; - protected final String TEXT_1386 = NL + "\t\t"; - protected final String TEXT_1387 = " old"; - protected final String TEXT_1388 = " = ("; - protected final String TEXT_1389 = " & "; - protected final String TEXT_1390 = "_EFLAG) != 0;"; - protected final String TEXT_1391 = NL + "\t\t"; - protected final String TEXT_1392 = " old"; - protected final String TEXT_1393 = " = "; - protected final String TEXT_1394 = "_EFLAG_VALUES[("; - protected final String TEXT_1395 = " & "; - protected final String TEXT_1396 = "_EFLAG) >>> "; - protected final String TEXT_1397 = "_EFLAG_OFFSET];"; - protected final String TEXT_1398 = NL + "\t\tObject old"; - protected final String TEXT_1399 = " = eVirtualUnset("; - protected final String TEXT_1400 = ");"; - protected final String TEXT_1401 = NL + "\t\t"; - protected final String TEXT_1402 = " old"; - protected final String TEXT_1403 = " = "; - protected final String TEXT_1404 = ";"; - protected final String TEXT_1405 = NL + "\t\tboolean isSetChange = old"; - protected final String TEXT_1406 = " != EVIRTUAL_NO_VALUE;"; - protected final String TEXT_1407 = NL + "\t\tboolean old"; - protected final String TEXT_1408 = "ESet = ("; - protected final String TEXT_1409 = " & "; - protected final String TEXT_1410 = "_ESETFLAG) != 0;"; - protected final String TEXT_1411 = NL + "\t\tboolean old"; - protected final String TEXT_1412 = "ESet = "; - protected final String TEXT_1413 = "ESet;"; + protected final String TEXT_1276 = NL + "\t\t"; + protected final String TEXT_1277 = "."; + protected final String TEXT_1278 = "(this, "; + protected final String TEXT_1279 = ");"; + protected final String TEXT_1280 = NL + "\t\t// TODO: implement this method to set the '"; + protected final String TEXT_1281 = "' "; + protected final String TEXT_1282 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_1283 = NL + "\t}" + NL; + protected final String TEXT_1284 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1285 = NL + "\t@Override"; + protected final String TEXT_1286 = NL + "\tpublic "; + protected final String TEXT_1287 = " basicUnset"; + protected final String TEXT_1288 = "("; + protected final String TEXT_1289 = " msgs)" + NL + "\t{"; + protected final String TEXT_1290 = NL + "\t\treturn eDynamicInverseRemove(("; + protected final String TEXT_1291 = ")"; + protected final String TEXT_1292 = "basicGet"; + protected final String TEXT_1293 = "(), "; + protected final String TEXT_1294 = ", msgs);"; + protected final String TEXT_1295 = "Object old"; + protected final String TEXT_1296 = " = "; + protected final String TEXT_1297 = "eVirtualUnset("; + protected final String TEXT_1298 = ");"; + protected final String TEXT_1299 = NL + "\t\t"; + protected final String TEXT_1300 = " old"; + protected final String TEXT_1301 = " = "; + protected final String TEXT_1302 = ";"; + protected final String TEXT_1303 = NL + "\t\t"; + protected final String TEXT_1304 = " = null;"; + protected final String TEXT_1305 = NL + "\t\tboolean isSetChange = old"; + protected final String TEXT_1306 = " != EVIRTUAL_NO_VALUE;"; + protected final String TEXT_1307 = NL + "\t\tboolean old"; + protected final String TEXT_1308 = "ESet = ("; + protected final String TEXT_1309 = " & "; + protected final String TEXT_1310 = "_ESETFLAG) != 0;"; + protected final String TEXT_1311 = NL + "\t\t"; + protected final String TEXT_1312 = " &= ~"; + protected final String TEXT_1313 = "_ESETFLAG;"; + protected final String TEXT_1314 = NL + "\t\tboolean old"; + protected final String TEXT_1315 = "ESet = "; + protected final String TEXT_1316 = "ESet;"; + protected final String TEXT_1317 = NL + "\t\t"; + protected final String TEXT_1318 = "ESet = false;"; + protected final String TEXT_1319 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_1320 = " notification = new "; + protected final String TEXT_1321 = "(this, "; + protected final String TEXT_1322 = ".UNSET, "; + protected final String TEXT_1323 = ", "; + protected final String TEXT_1324 = "isSetChange ? old"; + protected final String TEXT_1325 = " : null"; + protected final String TEXT_1326 = "old"; + protected final String TEXT_1327 = ", null, "; + protected final String TEXT_1328 = "isSetChange"; + protected final String TEXT_1329 = "old"; + protected final String TEXT_1330 = "ESet"; + protected final String TEXT_1331 = ");" + NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}" + NL + "\t\treturn msgs;"; + protected final String TEXT_1332 = NL + "\t\t// TODO: implement this method to unset the contained '"; + protected final String TEXT_1333 = "' "; + protected final String TEXT_1334 = 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_1335 = NL + "\t}" + NL; + protected final String TEXT_1336 = NL + "\t/**" + NL + "\t * Unsets the value of the '{@link "; + protected final String TEXT_1337 = "#"; + protected final String TEXT_1338 = " <em>"; + protected final String TEXT_1339 = "</em>}' "; + protected final String TEXT_1340 = "."; + protected final String TEXT_1341 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_1342 = NL + "\t * @see #isSet"; + protected final String TEXT_1343 = "()"; + protected final String TEXT_1344 = NL + "\t * @see #"; + protected final String TEXT_1345 = "()"; + protected final String TEXT_1346 = NL + "\t * @see #set"; + protected final String TEXT_1347 = "("; + protected final String TEXT_1348 = ")"; + protected final String TEXT_1349 = NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1350 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1351 = NL + "\t@Override"; + protected final String TEXT_1352 = NL + "\tvoid unset"; + protected final String TEXT_1353 = "();" + NL; + protected final String TEXT_1354 = NL + "\tpublic void unset"; + protected final String TEXT_1355 = "_"; + protected final String TEXT_1356 = "()" + NL + "\t{"; + protected final String TEXT_1357 = NL + "\t\teDynamicUnset("; + protected final String TEXT_1358 = ", "; + protected final String TEXT_1359 = ");"; + protected final String TEXT_1360 = NL + "\t\teUnset("; + protected final String TEXT_1361 = ");"; + protected final String TEXT_1362 = NL + "\t\t"; + protected final String TEXT_1363 = "__ESETTING_DELEGATE.dynamicUnset(this, null, 0);"; + protected final String TEXT_1364 = NL + "\t\t"; + protected final String TEXT_1365 = " "; + protected final String TEXT_1366 = " = ("; + protected final String TEXT_1367 = ")eVirtualGet("; + protected final String TEXT_1368 = ");"; + protected final String TEXT_1369 = NL + "\t\tif ("; + protected final String TEXT_1370 = " != null) (("; + protected final String TEXT_1371 = ".Unsettable"; + protected final String TEXT_1372 = ")"; + protected final String TEXT_1373 = ").unset();"; + protected final String TEXT_1374 = NL + "\t\t"; + protected final String TEXT_1375 = " "; + protected final String TEXT_1376 = " = ("; + protected final String TEXT_1377 = ")eVirtualGet("; + protected final String TEXT_1378 = ");"; + protected final String TEXT_1379 = NL + "\t\tif ("; + protected final String TEXT_1380 = " != null)" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_1381 = " msgs = null;"; + protected final String TEXT_1382 = NL + "\t\t\tmsgs = (("; + protected final String TEXT_1383 = ")"; + protected final String TEXT_1384 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - "; + protected final String TEXT_1385 = ", null, msgs);"; + protected final String TEXT_1386 = NL + "\t\t\tmsgs = (("; + protected final String TEXT_1387 = ")"; + protected final String TEXT_1388 = ").eInverseRemove(this, "; + protected final String TEXT_1389 = ", "; + protected final String TEXT_1390 = ".class, msgs);"; + protected final String TEXT_1391 = NL + "\t\t\tmsgs = basicUnset"; + protected final String TEXT_1392 = "(msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}" + NL + "\t\telse" + NL + "\t\t{"; + protected final String TEXT_1393 = NL + "\t\t\tboolean old"; + protected final String TEXT_1394 = "ESet = eVirtualIsSet("; + protected final String TEXT_1395 = ");"; + protected final String TEXT_1396 = NL + "\t\t\tboolean old"; + protected final String TEXT_1397 = "ESet = ("; + protected final String TEXT_1398 = " & "; + protected final String TEXT_1399 = "_ESETFLAG) != 0;"; + protected final String TEXT_1400 = NL + "\t\t\t"; + protected final String TEXT_1401 = " &= ~"; + protected final String TEXT_1402 = "_ESETFLAG;"; + protected final String TEXT_1403 = NL + "\t\t\tboolean old"; + protected final String TEXT_1404 = "ESet = "; + protected final String TEXT_1405 = "ESet;"; + protected final String TEXT_1406 = NL + "\t\t\t"; + protected final String TEXT_1407 = "ESet = false;"; + protected final String TEXT_1408 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new "; + protected final String TEXT_1409 = "(this, "; + protected final String TEXT_1410 = ".UNSET, "; + protected final String TEXT_1411 = ", null, null, old"; + protected final String TEXT_1412 = "ESet));"; + protected final String TEXT_1413 = NL + "\t\t}"; protected final String TEXT_1414 = NL + "\t\t"; - protected final String TEXT_1415 = " = null;"; - protected final String TEXT_1416 = NL + "\t\t"; - protected final String TEXT_1417 = " &= ~"; - protected final String TEXT_1418 = "_ESETFLAG;"; + protected final String TEXT_1415 = " old"; + protected final String TEXT_1416 = " = ("; + protected final String TEXT_1417 = " & "; + protected final String TEXT_1418 = "_EFLAG) != 0;"; protected final String TEXT_1419 = NL + "\t\t"; - protected final String TEXT_1420 = "ESet = false;"; - protected final String TEXT_1421 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; - protected final String TEXT_1422 = "(this, "; - protected final String TEXT_1423 = ".UNSET, "; - protected final String TEXT_1424 = ", "; - protected final String TEXT_1425 = "isSetChange ? old"; - protected final String TEXT_1426 = " : null"; - protected final String TEXT_1427 = "old"; - protected final String TEXT_1428 = ", null, "; - protected final String TEXT_1429 = "isSetChange"; - protected final String TEXT_1430 = "old"; - protected final String TEXT_1431 = "ESet"; - protected final String TEXT_1432 = "));"; - protected final String TEXT_1433 = NL + "\t\tif ("; - protected final String TEXT_1434 = ") "; - protected final String TEXT_1435 = " |= "; - protected final String TEXT_1436 = "_EFLAG; else "; - protected final String TEXT_1437 = " &= ~"; - protected final String TEXT_1438 = "_EFLAG;"; - protected final String TEXT_1439 = NL + "\t\t"; - protected final String TEXT_1440 = " = "; - protected final String TEXT_1441 = " & ~"; - protected final String TEXT_1442 = "_EFLAG | "; - protected final String TEXT_1443 = "_EFLAG_DEFAULT;"; + protected final String TEXT_1420 = " old"; + protected final String TEXT_1421 = " = "; + protected final String TEXT_1422 = "_EFLAG_VALUES[("; + protected final String TEXT_1423 = " & "; + protected final String TEXT_1424 = "_EFLAG) >>> "; + protected final String TEXT_1425 = "_EFLAG_OFFSET];"; + protected final String TEXT_1426 = NL + "\t\tObject old"; + protected final String TEXT_1427 = " = eVirtualUnset("; + protected final String TEXT_1428 = ");"; + protected final String TEXT_1429 = NL + "\t\t"; + protected final String TEXT_1430 = " old"; + protected final String TEXT_1431 = " = "; + protected final String TEXT_1432 = ";"; + protected final String TEXT_1433 = NL + "\t\tboolean isSetChange = old"; + protected final String TEXT_1434 = " != EVIRTUAL_NO_VALUE;"; + protected final String TEXT_1435 = NL + "\t\tboolean old"; + protected final String TEXT_1436 = "ESet = ("; + protected final String TEXT_1437 = " & "; + protected final String TEXT_1438 = "_ESETFLAG) != 0;"; + protected final String TEXT_1439 = NL + "\t\tboolean old"; + protected final String TEXT_1440 = "ESet = "; + protected final String TEXT_1441 = "ESet;"; + protected final String TEXT_1442 = NL + "\t\t"; + protected final String TEXT_1443 = " = null;"; protected final String TEXT_1444 = NL + "\t\t"; - protected final String TEXT_1445 = " = "; - protected final String TEXT_1446 = ";"; + protected final String TEXT_1445 = " &= ~"; + protected final String TEXT_1446 = "_ESETFLAG;"; protected final String TEXT_1447 = NL + "\t\t"; - protected final String TEXT_1448 = " &= ~"; - protected final String TEXT_1449 = "_ESETFLAG;"; - protected final String TEXT_1450 = NL + "\t\t"; - protected final String TEXT_1451 = "ESet = false;"; - protected final String TEXT_1452 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; - protected final String TEXT_1453 = "(this, "; - protected final String TEXT_1454 = ".UNSET, "; - protected final String TEXT_1455 = ", "; - protected final String TEXT_1456 = "isSetChange ? old"; - protected final String TEXT_1457 = " : "; + protected final String TEXT_1448 = "ESet = false;"; + protected final String TEXT_1449 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; + protected final String TEXT_1450 = "(this, "; + protected final String TEXT_1451 = ".UNSET, "; + protected final String TEXT_1452 = ", "; + protected final String TEXT_1453 = "isSetChange ? old"; + protected final String TEXT_1454 = " : null"; + protected final String TEXT_1455 = "old"; + protected final String TEXT_1456 = ", null, "; + protected final String TEXT_1457 = "isSetChange"; protected final String TEXT_1458 = "old"; - protected final String TEXT_1459 = ", "; - protected final String TEXT_1460 = ", "; - protected final String TEXT_1461 = "isSetChange"; - protected final String TEXT_1462 = "old"; - protected final String TEXT_1463 = "ESet"; - protected final String TEXT_1464 = "));"; - protected final String TEXT_1465 = NL + "\t\t(("; - protected final String TEXT_1466 = ".Internal)(("; - protected final String TEXT_1467 = ".Internal.Wrapper)get"; - protected final String TEXT_1468 = "()).featureMap()).clear("; - protected final String TEXT_1469 = ");"; - protected final String TEXT_1470 = NL + "\t\t(("; - protected final String TEXT_1471 = ".Internal)get"; - protected final String TEXT_1472 = "()).clear("; - protected final String TEXT_1473 = ");"; - protected final String TEXT_1474 = NL + "\t\t"; + protected final String TEXT_1459 = "ESet"; + protected final String TEXT_1460 = "));"; + protected final String TEXT_1461 = NL + "\t\tif ("; + protected final String TEXT_1462 = ") "; + protected final String TEXT_1463 = " |= "; + protected final String TEXT_1464 = "_EFLAG; else "; + protected final String TEXT_1465 = " &= ~"; + protected final String TEXT_1466 = "_EFLAG;"; + protected final String TEXT_1467 = NL + "\t\t"; + protected final String TEXT_1468 = " = "; + protected final String TEXT_1469 = " & ~"; + protected final String TEXT_1470 = "_EFLAG | "; + protected final String TEXT_1471 = "_EFLAG_DEFAULT;"; + protected final String TEXT_1472 = NL + "\t\t"; + protected final String TEXT_1473 = " = "; + protected final String TEXT_1474 = ";"; protected final String TEXT_1475 = NL + "\t\t"; - protected final String TEXT_1476 = "."; - protected final String TEXT_1477 = "(this);"; - protected final String TEXT_1478 = NL + "\t\t// TODO: implement this method to unset the '"; - protected final String TEXT_1479 = "' "; - protected final String TEXT_1480 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_1481 = NL + "\t}" + NL; - protected final String TEXT_1482 = NL + "\t/**" + NL + "\t * Returns whether the value of the '{@link "; - protected final String TEXT_1483 = "#"; - protected final String TEXT_1484 = " <em>"; - protected final String TEXT_1485 = "</em>}' "; - protected final String TEXT_1486 = " is set."; - protected final String TEXT_1487 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return whether the value of the '<em>"; - protected final String TEXT_1488 = "</em>' "; - protected final String TEXT_1489 = " is set."; - protected final String TEXT_1490 = NL + "\t * @see #unset"; - protected final String TEXT_1491 = "()"; - protected final String TEXT_1492 = NL + "\t * @see #"; - protected final String TEXT_1493 = "()"; - protected final String TEXT_1494 = NL + "\t * @see #set"; - protected final String TEXT_1495 = "("; - protected final String TEXT_1496 = ")"; - protected final String TEXT_1497 = NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1498 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1499 = NL + "\t@Override"; - protected final String TEXT_1500 = NL + "\tboolean isSet"; - protected final String TEXT_1501 = "();" + NL; - protected final String TEXT_1502 = NL + "\tpublic boolean isSet"; - protected final String TEXT_1503 = "_"; - protected final String TEXT_1504 = "()" + NL + "\t{"; - protected final String TEXT_1505 = NL + "\t\treturn eDynamicIsSet("; - protected final String TEXT_1506 = ", "; - protected final String TEXT_1507 = ");"; - protected final String TEXT_1508 = NL + "\t\treturn eIsSet("; - protected final String TEXT_1509 = ");"; - protected final String TEXT_1510 = NL + "\t\treturn "; - protected final String TEXT_1511 = "__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);"; - protected final String TEXT_1512 = NL + "\t\t"; - protected final String TEXT_1513 = " "; - protected final String TEXT_1514 = " = ("; - protected final String TEXT_1515 = ")eVirtualGet("; - protected final String TEXT_1516 = ");"; - protected final String TEXT_1517 = NL + "\t\treturn "; - protected final String TEXT_1518 = " != null && (("; - protected final String TEXT_1519 = ".Unsettable"; - protected final String TEXT_1520 = ")"; - protected final String TEXT_1521 = ").isSet();"; - protected final String TEXT_1522 = NL + "\t\treturn eVirtualIsSet("; - protected final String TEXT_1523 = ");"; - protected final String TEXT_1524 = NL + "\t\treturn ("; - protected final String TEXT_1525 = " & "; - protected final String TEXT_1526 = "_ESETFLAG) != 0;"; - protected final String TEXT_1527 = NL + "\t\treturn "; - protected final String TEXT_1528 = "ESet;"; - protected final String TEXT_1529 = NL + "\t\treturn !(("; - protected final String TEXT_1530 = ".Internal)(("; - protected final String TEXT_1531 = ".Internal.Wrapper)get"; - protected final String TEXT_1532 = "()).featureMap()).isEmpty("; - protected final String TEXT_1533 = ");"; - protected final String TEXT_1534 = NL + "\t\treturn !(("; - protected final String TEXT_1535 = ".Internal)get"; - protected final String TEXT_1536 = "()).isEmpty("; + protected final String TEXT_1476 = " &= ~"; + protected final String TEXT_1477 = "_ESETFLAG;"; + protected final String TEXT_1478 = NL + "\t\t"; + protected final String TEXT_1479 = "ESet = false;"; + protected final String TEXT_1480 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new "; + protected final String TEXT_1481 = "(this, "; + protected final String TEXT_1482 = ".UNSET, "; + protected final String TEXT_1483 = ", "; + protected final String TEXT_1484 = "isSetChange ? old"; + protected final String TEXT_1485 = " : "; + protected final String TEXT_1486 = "old"; + protected final String TEXT_1487 = ", "; + protected final String TEXT_1488 = ", "; + protected final String TEXT_1489 = "isSetChange"; + protected final String TEXT_1490 = "old"; + protected final String TEXT_1491 = "ESet"; + protected final String TEXT_1492 = "));"; + protected final String TEXT_1493 = NL + "\t\t(("; + protected final String TEXT_1494 = ".Internal)(("; + protected final String TEXT_1495 = ".Internal.Wrapper)get"; + protected final String TEXT_1496 = "()).featureMap()).clear("; + protected final String TEXT_1497 = ");"; + protected final String TEXT_1498 = NL + "\t\t(("; + protected final String TEXT_1499 = ".Internal)get"; + protected final String TEXT_1500 = "()).clear("; + protected final String TEXT_1501 = ");"; + protected final String TEXT_1502 = NL + "\t\t"; + protected final String TEXT_1503 = NL + "\t\t"; + protected final String TEXT_1504 = "."; + protected final String TEXT_1505 = "(this);"; + protected final String TEXT_1506 = NL + "\t\t// TODO: implement this method to unset the '"; + protected final String TEXT_1507 = "' "; + protected final String TEXT_1508 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_1509 = NL + "\t}" + NL; + protected final String TEXT_1510 = NL + "\t/**" + NL + "\t * Returns whether the value of the '{@link "; + protected final String TEXT_1511 = "#"; + protected final String TEXT_1512 = " <em>"; + protected final String TEXT_1513 = "</em>}' "; + protected final String TEXT_1514 = " is set."; + protected final String TEXT_1515 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @return whether the value of the '<em>"; + protected final String TEXT_1516 = "</em>' "; + protected final String TEXT_1517 = " is set."; + protected final String TEXT_1518 = NL + "\t * @see #unset"; + protected final String TEXT_1519 = "()"; + protected final String TEXT_1520 = NL + "\t * @see #"; + protected final String TEXT_1521 = "()"; + protected final String TEXT_1522 = NL + "\t * @see #set"; + protected final String TEXT_1523 = "("; + protected final String TEXT_1524 = ")"; + protected final String TEXT_1525 = NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1526 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1527 = NL + "\t@Override"; + protected final String TEXT_1528 = NL + "\tboolean isSet"; + protected final String TEXT_1529 = "();" + NL; + protected final String TEXT_1530 = NL + "\tpublic boolean isSet"; + protected final String TEXT_1531 = "_"; + protected final String TEXT_1532 = "()" + NL + "\t{"; + protected final String TEXT_1533 = NL + "\t\treturn eDynamicIsSet("; + protected final String TEXT_1534 = ", "; + protected final String TEXT_1535 = ");"; + protected final String TEXT_1536 = NL + "\t\treturn eIsSet("; protected final String TEXT_1537 = ");"; - protected final String TEXT_1538 = NL + "\t\t"; - protected final String TEXT_1539 = NL + "\t\treturn "; - protected final String TEXT_1540 = "."; - protected final String TEXT_1541 = "(this);"; - protected final String TEXT_1542 = NL + "\t\t// TODO: implement this method to return whether the '"; - protected final String TEXT_1543 = "' "; - protected final String TEXT_1544 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_1545 = NL + "\t}" + NL; - protected final String TEXT_1546 = NL + "\t/**" + NL + "\t * The array of subset feature identifiers for the '{@link #"; - protected final String TEXT_1547 = "() <em>"; - protected final String TEXT_1548 = "</em>}' "; - protected final String TEXT_1549 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_1550 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; - protected final String TEXT_1551 = "_ESUBSETS = "; - protected final String TEXT_1552 = ";" + NL; - protected final String TEXT_1553 = NL + "\t/**" + NL + "\t * The array of superset feature identifiers for the '{@link #"; - protected final String TEXT_1554 = "() <em>"; - protected final String TEXT_1555 = "</em>}' "; - protected final String TEXT_1556 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_1557 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; - protected final String TEXT_1558 = "_ESUPERSETS = "; - protected final String TEXT_1559 = ";" + NL; - protected final String TEXT_1560 = NL + "\t/**"; - protected final String TEXT_1561 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1562 = "}, with the specified "; - protected final String TEXT_1563 = ", and appends it to the '<em><b>"; - protected final String TEXT_1564 = "</b></em>' "; - protected final String TEXT_1565 = "."; - protected final String TEXT_1566 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1567 = "}, with the specified "; - protected final String TEXT_1568 = ", and sets the '<em><b>"; - protected final String TEXT_1569 = "</b></em>' "; - protected final String TEXT_1570 = "."; - protected final String TEXT_1571 = NL + "\t * Creates a new {@link "; - 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 = "} and sets the '<em><b>"; - protected final String TEXT_1577 = "</b></em>' "; - protected final String TEXT_1578 = "."; - protected final String TEXT_1579 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_1580 = NL + "\t * @param "; - protected final String TEXT_1581 = " The "; - protected final String TEXT_1582 = " for the new {@link "; - protected final String TEXT_1583 = "}, or <code>null</code>."; - protected final String TEXT_1584 = NL + "\t * @param eClass The Ecore class of the {@link "; - protected final String TEXT_1585 = "} to create." + NL + "\t * @return The new {@link "; - protected final String TEXT_1586 = "}." + NL + "\t * @see #"; - protected final String TEXT_1587 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1588 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1589 = NL + "\t"; - protected final String TEXT_1590 = " create"; - protected final String TEXT_1591 = "("; - protected final String TEXT_1592 = ", "; - protected final String TEXT_1593 = " eClass);" + NL; - protected final String TEXT_1594 = NL + "\t@Override"; - protected final String TEXT_1595 = NL + "\tpublic "; - protected final String TEXT_1596 = " create"; - protected final String TEXT_1597 = "("; - protected final String TEXT_1598 = ", "; - protected final String TEXT_1599 = " eClass)" + NL + "\t{" + NL + "\t\t"; - protected final String TEXT_1600 = " new"; - protected final String TEXT_1601 = " = ("; - protected final String TEXT_1602 = ") create(eClass);"; - protected final String TEXT_1603 = NL + "\t\t"; - protected final String TEXT_1604 = "().add(new"; - protected final String TEXT_1605 = ");"; - protected final String TEXT_1606 = NL + "\t\tset"; - protected final String TEXT_1607 = "(new"; - protected final String TEXT_1608 = ");"; - protected final String TEXT_1609 = NL + "\t\tint "; - protected final String TEXT_1610 = "ListSize = 0;"; - protected final String TEXT_1611 = NL + "\t\tint "; - protected final String TEXT_1612 = "Size = "; - protected final String TEXT_1613 = " == null ? 0 : "; - protected final String TEXT_1614 = ".size();" + NL + "\t\tif ("; - protected final String TEXT_1615 = "Size > "; - protected final String TEXT_1616 = "ListSize)" + NL + "\t\t\t"; - protected final String TEXT_1617 = "ListSize = "; - protected final String TEXT_1618 = "Size;"; - protected final String TEXT_1619 = NL + "\t\tfor (int i = 0; i < "; - protected final String TEXT_1620 = "ListSize; i++) {" + NL + "\t\t\tnew"; - protected final String TEXT_1621 = ".create"; - protected final String TEXT_1622 = "("; - protected final String TEXT_1623 = ", "; - protected final String TEXT_1624 = "i < "; - protected final String TEXT_1625 = "Size ? ("; - protected final String TEXT_1626 = ") "; - protected final String TEXT_1627 = ".get(i) : null"; - protected final String TEXT_1628 = ");" + NL + "\t\t}"; - protected final String TEXT_1629 = NL + "\t\tnew"; - protected final String TEXT_1630 = ".create"; - protected final String TEXT_1631 = "("; - protected final String TEXT_1632 = ", "; + protected final String TEXT_1538 = NL + "\t\treturn "; + protected final String TEXT_1539 = "__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);"; + protected final String TEXT_1540 = NL + "\t\t"; + protected final String TEXT_1541 = " "; + protected final String TEXT_1542 = " = ("; + protected final String TEXT_1543 = ")eVirtualGet("; + protected final String TEXT_1544 = ");"; + protected final String TEXT_1545 = NL + "\t\treturn "; + protected final String TEXT_1546 = " != null && (("; + protected final String TEXT_1547 = ".Unsettable"; + protected final String TEXT_1548 = ")"; + protected final String TEXT_1549 = ").isSet();"; + protected final String TEXT_1550 = NL + "\t\treturn eVirtualIsSet("; + protected final String TEXT_1551 = ");"; + protected final String TEXT_1552 = NL + "\t\treturn ("; + protected final String TEXT_1553 = " & "; + protected final String TEXT_1554 = "_ESETFLAG) != 0;"; + protected final String TEXT_1555 = NL + "\t\treturn "; + protected final String TEXT_1556 = "ESet;"; + protected final String TEXT_1557 = NL + "\t\treturn !(("; + protected final String TEXT_1558 = ".Internal)(("; + protected final String TEXT_1559 = ".Internal.Wrapper)get"; + protected final String TEXT_1560 = "()).featureMap()).isEmpty("; + protected final String TEXT_1561 = ");"; + protected final String TEXT_1562 = NL + "\t\treturn !(("; + protected final String TEXT_1563 = ".Internal)get"; + protected final String TEXT_1564 = "()).isEmpty("; + protected final String TEXT_1565 = ");"; + protected final String TEXT_1566 = NL + "\t\t"; + protected final String TEXT_1567 = NL + "\t\treturn "; + protected final String TEXT_1568 = "."; + protected final String TEXT_1569 = "(this);"; + protected final String TEXT_1570 = NL + "\t\t// TODO: implement this method to return whether the '"; + protected final String TEXT_1571 = "' "; + protected final String TEXT_1572 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_1573 = NL + "\t}" + NL; + protected final String TEXT_1574 = NL + "\t/**" + NL + "\t * The array of subset feature identifiers for the '{@link #"; + protected final String TEXT_1575 = "() <em>"; + protected final String TEXT_1576 = "</em>}' "; + protected final String TEXT_1577 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_1578 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; + protected final String TEXT_1579 = "_ESUBSETS = "; + protected final String TEXT_1580 = ";" + NL; + protected final String TEXT_1581 = NL + "\t/**" + NL + "\t * The array of superset feature identifiers for the '{@link #"; + protected final String TEXT_1582 = "() <em>"; + protected final String TEXT_1583 = "</em>}' "; + protected final String TEXT_1584 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_1585 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; + protected final String TEXT_1586 = "_ESUPERSETS = "; + protected final String TEXT_1587 = ";" + NL; + protected final String TEXT_1588 = NL + "\t/**"; + protected final String TEXT_1589 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1590 = "}, with the specified "; + protected final String TEXT_1591 = ", and appends it to the '<em><b>"; + protected final String TEXT_1592 = "</b></em>' "; + protected final String TEXT_1593 = "."; + protected final String TEXT_1594 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1595 = "}, with the specified "; + protected final String TEXT_1596 = ", and sets the '<em><b>"; + protected final String TEXT_1597 = "</b></em>' "; + protected final String TEXT_1598 = "."; + protected final String TEXT_1599 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1600 = "} and appends it to the '<em><b>"; + protected final String TEXT_1601 = "</b></em>' "; + protected final String TEXT_1602 = "."; + protected final String TEXT_1603 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1604 = "} and sets the '<em><b>"; + protected final String TEXT_1605 = "</b></em>' "; + protected final String TEXT_1606 = "."; + protected final String TEXT_1607 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_1608 = NL + "\t * @param "; + protected final String TEXT_1609 = " The "; + protected final String TEXT_1610 = " for the new {@link "; + protected final String TEXT_1611 = "}, or <code>null</code>."; + protected final String TEXT_1612 = NL + "\t * @param eClass The Ecore class of the {@link "; + protected final String TEXT_1613 = "} to create." + NL + "\t * @return The new {@link "; + protected final String TEXT_1614 = "}." + NL + "\t * @see #"; + protected final String TEXT_1615 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1616 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1617 = NL + "\t"; + protected final String TEXT_1618 = " create"; + protected final String TEXT_1619 = "("; + protected final String TEXT_1620 = ", "; + protected final String TEXT_1621 = " eClass);" + NL; + protected final String TEXT_1622 = NL + "\t@Override"; + protected final String TEXT_1623 = NL + "\tpublic "; + protected final String TEXT_1624 = " create"; + protected final String TEXT_1625 = "("; + protected final String TEXT_1626 = ", "; + protected final String TEXT_1627 = " eClass)" + NL + "\t{" + NL + "\t\t"; + protected final String TEXT_1628 = " new"; + protected final String TEXT_1629 = " = ("; + protected final String TEXT_1630 = ") create(eClass);"; + protected final String TEXT_1631 = NL + "\t\t"; + protected final String TEXT_1632 = "().add(new"; protected final String TEXT_1633 = ");"; - protected final String TEXT_1634 = NL + "\t\tif ("; - protected final String TEXT_1635 = " != null)"; - protected final String TEXT_1636 = NL + "\t\t\tnew"; - protected final String TEXT_1637 = "."; - protected final String TEXT_1638 = "().addAll("; - protected final String TEXT_1639 = ");"; - protected final String TEXT_1640 = NL + "\t\t\tnew"; - protected final String TEXT_1641 = ".set"; - protected final String TEXT_1642 = "("; - protected final String TEXT_1643 = ");"; - protected final String TEXT_1644 = NL + "\t\treturn new"; - protected final String TEXT_1645 = ";" + NL + "\t}" + NL; - protected final String TEXT_1646 = NL + "\t/**"; - protected final String TEXT_1647 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1648 = "}, with the specified "; - protected final String TEXT_1649 = ", and appends it to the '<em><b>"; - protected final String TEXT_1650 = "</b></em>' "; - protected final String TEXT_1651 = "."; - protected final String TEXT_1652 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1653 = "},with the specified "; - protected final String TEXT_1654 = ", and sets the '<em><b>"; - protected final String TEXT_1655 = "</b></em>' "; - protected final String TEXT_1656 = "."; - protected final String TEXT_1657 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1658 = "} and appends it to the '<em><b>"; - protected final String TEXT_1659 = "</b></em>' "; - protected final String TEXT_1660 = "."; - protected final String TEXT_1661 = NL + "\t * Creates a new {@link "; - protected final String TEXT_1662 = "} and sets the '<em><b>"; - protected final String TEXT_1663 = "</b></em>' "; - protected final String TEXT_1664 = "."; - protected final String TEXT_1665 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_1666 = NL + "\t * @param "; - protected final String TEXT_1667 = " The "; - protected final String TEXT_1668 = " for the new {@link "; - protected final String TEXT_1669 = "}, or <code>null</code>."; - protected final String TEXT_1670 = NL + "\t * @return The new {@link "; - protected final String TEXT_1671 = "}." + 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 = " create"; - 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 = " create"; - protected final String TEXT_1681 = "("; - protected final String TEXT_1682 = ")" + NL + "\t{"; - protected final String TEXT_1683 = NL + "\t\treturn create"; - protected final String TEXT_1684 = "("; - protected final String TEXT_1685 = ", "; - protected final String TEXT_1686 = ");"; - protected final String TEXT_1687 = NL + "\t\t"; - protected final String TEXT_1688 = " new"; - protected final String TEXT_1689 = " = ("; - protected final String TEXT_1690 = ") create("; - protected final String TEXT_1691 = ");"; - protected final String TEXT_1692 = NL + "\t\t"; - protected final String TEXT_1693 = "().add(new"; - protected final String TEXT_1694 = ");"; - protected final String TEXT_1695 = NL + "\t\tset"; - protected final String TEXT_1696 = "(new"; - protected final String TEXT_1697 = ");"; - protected final String TEXT_1698 = NL + "\t\tint "; - protected final String TEXT_1699 = "ListSize = 0;"; - protected final String TEXT_1700 = NL + "\t\tint "; - protected final String TEXT_1701 = "Size = "; - protected final String TEXT_1702 = " == null ? 0 : "; - protected final String TEXT_1703 = ".size();" + NL + "\t\tif ("; - protected final String TEXT_1704 = "Size > "; - protected final String TEXT_1705 = "ListSize)" + NL + "\t\t\t"; - protected final String TEXT_1706 = "ListSize = "; - protected final String TEXT_1707 = "Size;"; - protected final String TEXT_1708 = NL + "\t\tfor (int i = 0; i < "; - protected final String TEXT_1709 = "ListSize; i++) {" + NL + "\t\t\tnew"; - protected final String TEXT_1710 = ".create"; - protected final String TEXT_1711 = "("; - protected final String TEXT_1712 = ", "; - protected final String TEXT_1713 = "i < "; - protected final String TEXT_1714 = "Size ? ("; - protected final String TEXT_1715 = ") "; - protected final String TEXT_1716 = ".get(i) : null"; - protected final String TEXT_1717 = ");" + NL + "\t\t}"; - protected final String TEXT_1718 = NL + "\t\tnew"; - protected final String TEXT_1719 = ".create"; - protected final String TEXT_1720 = "("; - protected final String TEXT_1721 = ", "; + protected final String TEXT_1634 = NL + "\t\tset"; + protected final String TEXT_1635 = "(new"; + protected final String TEXT_1636 = ");"; + protected final String TEXT_1637 = NL + "\t\tint "; + protected final String TEXT_1638 = "ListSize = 0;"; + protected final String TEXT_1639 = NL + "\t\tint "; + protected final String TEXT_1640 = "Size = "; + protected final String TEXT_1641 = " == null ? 0 : "; + protected final String TEXT_1642 = ".size();" + NL + "\t\tif ("; + protected final String TEXT_1643 = "Size > "; + protected final String TEXT_1644 = "ListSize)" + NL + "\t\t\t"; + protected final String TEXT_1645 = "ListSize = "; + protected final String TEXT_1646 = "Size;"; + protected final String TEXT_1647 = NL + "\t\tfor (int i = 0; i < "; + protected final String TEXT_1648 = "ListSize; i++) {" + NL + "\t\t\tnew"; + protected final String TEXT_1649 = ".create"; + protected final String TEXT_1650 = "("; + protected final String TEXT_1651 = ", "; + protected final String TEXT_1652 = "i < "; + protected final String TEXT_1653 = "Size ? ("; + protected final String TEXT_1654 = ") "; + protected final String TEXT_1655 = ".get(i) : null"; + protected final String TEXT_1656 = ");" + NL + "\t\t}"; + protected final String TEXT_1657 = NL + "\t\tnew"; + protected final String TEXT_1658 = ".create"; + protected final String TEXT_1659 = "("; + protected final String TEXT_1660 = ", "; + protected final String TEXT_1661 = ");"; + protected final String TEXT_1662 = NL + "\t\tif ("; + protected final String TEXT_1663 = " != null)"; + protected final String TEXT_1664 = NL + "\t\t\tnew"; + protected final String TEXT_1665 = "."; + protected final String TEXT_1666 = "().addAll("; + protected final String TEXT_1667 = ");"; + protected final String TEXT_1668 = NL + "\t\t\tnew"; + protected final String TEXT_1669 = ".set"; + protected final String TEXT_1670 = "("; + protected final String TEXT_1671 = ");"; + protected final String TEXT_1672 = NL + "\t\treturn new"; + protected final String TEXT_1673 = ";" + NL + "\t}" + NL; + protected final String TEXT_1674 = NL + "\t/**"; + protected final String TEXT_1675 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1676 = "}, with the specified "; + protected final String TEXT_1677 = ", and appends it to the '<em><b>"; + protected final String TEXT_1678 = "</b></em>' "; + protected final String TEXT_1679 = "."; + protected final String TEXT_1680 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1681 = "},with the specified "; + protected final String TEXT_1682 = ", and sets the '<em><b>"; + protected final String TEXT_1683 = "</b></em>' "; + protected final String TEXT_1684 = "."; + protected final String TEXT_1685 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1686 = "} and appends it to the '<em><b>"; + protected final String TEXT_1687 = "</b></em>' "; + protected final String TEXT_1688 = "."; + protected final String TEXT_1689 = NL + "\t * Creates a new {@link "; + protected final String TEXT_1690 = "} and sets the '<em><b>"; + protected final String TEXT_1691 = "</b></em>' "; + protected final String TEXT_1692 = "."; + protected final String TEXT_1693 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_1694 = NL + "\t * @param "; + protected final String TEXT_1695 = " The "; + protected final String TEXT_1696 = " for the new {@link "; + protected final String TEXT_1697 = "}, or <code>null</code>."; + protected final String TEXT_1698 = NL + "\t * @return The new {@link "; + protected final String TEXT_1699 = "}." + NL + "\t * @see #"; + protected final String TEXT_1700 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1701 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1702 = NL + "\t"; + protected final String TEXT_1703 = " create"; + protected final String TEXT_1704 = "("; + protected final String TEXT_1705 = ");" + NL; + protected final String TEXT_1706 = NL + "\t@Override"; + protected final String TEXT_1707 = NL + "\tpublic "; + protected final String TEXT_1708 = " create"; + protected final String TEXT_1709 = "("; + protected final String TEXT_1710 = ")" + NL + "\t{"; + protected final String TEXT_1711 = NL + "\t\treturn create"; + protected final String TEXT_1712 = "("; + protected final String TEXT_1713 = ", "; + protected final String TEXT_1714 = ");"; + protected final String TEXT_1715 = NL + "\t\t"; + protected final String TEXT_1716 = " new"; + protected final String TEXT_1717 = " = ("; + protected final String TEXT_1718 = ") create("; + protected final String TEXT_1719 = ");"; + protected final String TEXT_1720 = NL + "\t\t"; + protected final String TEXT_1721 = "().add(new"; protected final String TEXT_1722 = ");"; - protected final String TEXT_1723 = NL + "\t\tif ("; - protected final String TEXT_1724 = " != null)"; - protected final String TEXT_1725 = NL + "\t\t\tnew"; - protected final String TEXT_1726 = "."; - protected final String TEXT_1727 = "().addAll("; - protected final String TEXT_1728 = ");"; - protected final String TEXT_1729 = NL + "\t\t\tnew"; - protected final String TEXT_1730 = ".set"; - protected final String TEXT_1731 = "("; - protected final String TEXT_1732 = ");"; - protected final String TEXT_1733 = NL + "\t\treturn new"; - protected final String TEXT_1734 = ";"; - protected final String TEXT_1735 = NL + "\t}" + NL; - protected final String TEXT_1736 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; - protected final String TEXT_1737 = "} with the specified "; - protected final String TEXT_1738 = " from the '<em><b>"; - protected final String TEXT_1739 = "</b></em>' "; - protected final String TEXT_1740 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_1741 = NL + "\t * @param "; - protected final String TEXT_1742 = " The "; - protected final String TEXT_1743 = " of the {@link "; - protected final String TEXT_1744 = "} to retrieve, or <code>null</code>."; - protected final String TEXT_1745 = NL + "\t * @return The first {@link "; - protected final String TEXT_1746 = "} with the specified "; - protected final String TEXT_1747 = ", or <code>null</code>." + NL + "\t * @see #"; - protected final String TEXT_1748 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1749 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1750 = NL + "\t"; - protected final String TEXT_1751 = " get"; - protected final String TEXT_1752 = "("; - protected final String TEXT_1753 = ");" + NL; - protected final String TEXT_1754 = NL + "\t@Override"; - protected final String TEXT_1755 = NL + "\tpublic "; - protected final String TEXT_1756 = " get"; - protected final String TEXT_1757 = "("; - protected final String TEXT_1758 = ")" + NL + "\t{" + NL + "\t\treturn get"; + protected final String TEXT_1723 = NL + "\t\tset"; + protected final String TEXT_1724 = "(new"; + protected final String TEXT_1725 = ");"; + protected final String TEXT_1726 = NL + "\t\tint "; + protected final String TEXT_1727 = "ListSize = 0;"; + protected final String TEXT_1728 = NL + "\t\tint "; + protected final String TEXT_1729 = "Size = "; + protected final String TEXT_1730 = " == null ? 0 : "; + protected final String TEXT_1731 = ".size();" + NL + "\t\tif ("; + protected final String TEXT_1732 = "Size > "; + protected final String TEXT_1733 = "ListSize)" + NL + "\t\t\t"; + protected final String TEXT_1734 = "ListSize = "; + protected final String TEXT_1735 = "Size;"; + protected final String TEXT_1736 = NL + "\t\tfor (int i = 0; i < "; + protected final String TEXT_1737 = "ListSize; i++) {" + NL + "\t\t\tnew"; + protected final String TEXT_1738 = ".create"; + protected final String TEXT_1739 = "("; + protected final String TEXT_1740 = ", "; + protected final String TEXT_1741 = "i < "; + protected final String TEXT_1742 = "Size ? ("; + protected final String TEXT_1743 = ") "; + protected final String TEXT_1744 = ".get(i) : null"; + protected final String TEXT_1745 = ");" + NL + "\t\t}"; + protected final String TEXT_1746 = NL + "\t\tnew"; + protected final String TEXT_1747 = ".create"; + protected final String TEXT_1748 = "("; + protected final String TEXT_1749 = ", "; + protected final String TEXT_1750 = ");"; + protected final String TEXT_1751 = NL + "\t\tif ("; + protected final String TEXT_1752 = " != null)"; + protected final String TEXT_1753 = NL + "\t\t\tnew"; + protected final String TEXT_1754 = "."; + protected final String TEXT_1755 = "().addAll("; + protected final String TEXT_1756 = ");"; + protected final String TEXT_1757 = NL + "\t\t\tnew"; + protected final String TEXT_1758 = ".set"; protected final String TEXT_1759 = "("; - protected final String TEXT_1760 = ", false"; - protected final String TEXT_1761 = ", null"; - protected final String TEXT_1762 = ", false"; - protected final String TEXT_1763 = ");" + NL + "\t}" + NL; + protected final String TEXT_1760 = ");"; + protected final String TEXT_1761 = NL + "\t\treturn new"; + protected final String TEXT_1762 = ";"; + protected final String TEXT_1763 = NL + "\t}" + NL; protected final String TEXT_1764 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; protected final String TEXT_1765 = "} with the specified "; protected final String TEXT_1766 = " from the '<em><b>"; @@ -1789,1638 +1789,1670 @@ public class Class protected final String TEXT_1770 = " The "; protected final String TEXT_1771 = " of the {@link "; protected final String TEXT_1772 = "} to retrieve, or <code>null</code>."; - protected final String TEXT_1773 = NL + "\t * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons."; - protected final String TEXT_1774 = NL + "\t * @param eClass The Ecore class of the {@link "; - protected final String TEXT_1775 = "} to retrieve, or <code>null</code>."; - protected final String TEXT_1776 = NL + "\t * @param createOnDemand Whether to create a {@link "; - protected final String TEXT_1777 = "} on demand if not found."; - protected final String TEXT_1778 = NL + "\t * @return The first {@link "; - protected final String TEXT_1779 = "} with the specified "; - protected final String TEXT_1780 = ", or <code>null</code>." + NL + "\t * @see #"; - protected final String TEXT_1781 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1782 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_1783 = NL + "\t"; + protected final String TEXT_1773 = NL + "\t * @return The first {@link "; + protected final String TEXT_1774 = "} with the specified "; + protected final String TEXT_1775 = ", or <code>null</code>." + NL + "\t * @see #"; + protected final String TEXT_1776 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1777 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1778 = NL + "\t"; + protected final String TEXT_1779 = " get"; + protected final String TEXT_1780 = "("; + protected final String TEXT_1781 = ");" + NL; + protected final String TEXT_1782 = NL + "\t@Override"; + protected final String TEXT_1783 = NL + "\tpublic "; protected final String TEXT_1784 = " get"; protected final String TEXT_1785 = "("; - protected final String TEXT_1786 = ", boolean ignoreCase"; - protected final String TEXT_1787 = ", "; - protected final String TEXT_1788 = " eClass"; - protected final String TEXT_1789 = ", boolean createOnDemand"; - protected final String TEXT_1790 = ");" + NL; - protected final String TEXT_1791 = NL + "\t@Override"; - protected final String TEXT_1792 = NL + "\tpublic "; - protected final String TEXT_1793 = " get"; - protected final String TEXT_1794 = "("; - protected final String TEXT_1795 = ", boolean ignoreCase"; - protected final String TEXT_1796 = ", "; - protected final String TEXT_1797 = " eClass"; - protected final String TEXT_1798 = ", boolean createOnDemand"; - protected final String TEXT_1799 = ")" + NL + "\t{"; - protected final String TEXT_1800 = NL + "\t\t"; - protected final String TEXT_1801 = "Loop: for ("; - protected final String TEXT_1802 = " "; - protected final String TEXT_1803 = " : "; - protected final String TEXT_1804 = "())" + NL + "\t\t{"; - protected final String TEXT_1805 = NL + "\t\t"; - protected final String TEXT_1806 = "Loop: for ("; - protected final String TEXT_1807 = " i = "; - protected final String TEXT_1808 = "().iterator(); i.hasNext(); )" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_1809 = " "; - protected final String TEXT_1810 = " = ("; - protected final String TEXT_1811 = ") i.next();"; - protected final String TEXT_1812 = NL + "\t\t\tif (eClass != null && !eClass.isInstance("; - protected final String TEXT_1813 = "))" + NL + "\t\t\t\tcontinue "; - protected final String TEXT_1814 = "Loop;"; - protected final String TEXT_1815 = NL + "\t\t\t"; - protected final String TEXT_1816 = " "; - protected final String TEXT_1817 = "List = "; - protected final String TEXT_1818 = "."; - protected final String TEXT_1819 = "();" + NL + "\t\t\tint "; - protected final String TEXT_1820 = "ListSize = "; - protected final String TEXT_1821 = "List.size();" + NL + "\t\t\tif ("; - protected final String TEXT_1822 = " || ("; - protected final String TEXT_1823 = " != null && "; - protected final String TEXT_1824 = ".size() != "; - protected final String TEXT_1825 = "ListSize"; - protected final String TEXT_1826 = ")"; - protected final String TEXT_1827 = ")" + NL + "\t\t\t\tcontinue "; - protected final String TEXT_1828 = "Loop;" + NL + "\t\t\tfor (int j = 0; j < "; - protected final String TEXT_1829 = "ListSize; j++)" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_1786 = ")" + NL + "\t{" + NL + "\t\treturn get"; + protected final String TEXT_1787 = "("; + protected final String TEXT_1788 = ", false"; + protected final String TEXT_1789 = ", null"; + protected final String TEXT_1790 = ", false"; + protected final String TEXT_1791 = ");" + NL + "\t}" + NL; + protected final String TEXT_1792 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; + protected final String TEXT_1793 = "} with the specified "; + protected final String TEXT_1794 = " from the '<em><b>"; + protected final String TEXT_1795 = "</b></em>' "; + protected final String TEXT_1796 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_1797 = NL + "\t * @param "; + protected final String TEXT_1798 = " The "; + protected final String TEXT_1799 = " of the {@link "; + protected final String TEXT_1800 = "} to retrieve, or <code>null</code>."; + protected final String TEXT_1801 = NL + "\t * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons."; + protected final String TEXT_1802 = NL + "\t * @param eClass The Ecore class of the {@link "; + protected final String TEXT_1803 = "} to retrieve, or <code>null</code>."; + protected final String TEXT_1804 = NL + "\t * @param createOnDemand Whether to create a {@link "; + protected final String TEXT_1805 = "} on demand if not found."; + protected final String TEXT_1806 = NL + "\t * @return The first {@link "; + protected final String TEXT_1807 = "} with the specified "; + protected final String TEXT_1808 = ", or <code>null</code>." + NL + "\t * @see #"; + protected final String TEXT_1809 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1810 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_1811 = NL + "\t"; + protected final String TEXT_1812 = " get"; + protected final String TEXT_1813 = "("; + protected final String TEXT_1814 = ", boolean ignoreCase"; + protected final String TEXT_1815 = ", "; + protected final String TEXT_1816 = " eClass"; + protected final String TEXT_1817 = ", boolean createOnDemand"; + protected final String TEXT_1818 = ");" + NL; + protected final String TEXT_1819 = NL + "\t@Override"; + protected final String TEXT_1820 = NL + "\tpublic "; + protected final String TEXT_1821 = " get"; + protected final String TEXT_1822 = "("; + protected final String TEXT_1823 = ", boolean ignoreCase"; + protected final String TEXT_1824 = ", "; + protected final String TEXT_1825 = " eClass"; + protected final String TEXT_1826 = ", boolean createOnDemand"; + protected final String TEXT_1827 = ")" + NL + "\t{"; + protected final String TEXT_1828 = NL + "\t\t"; + protected final String TEXT_1829 = "Loop: for ("; protected final String TEXT_1830 = " "; - protected final String TEXT_1831 = " = "; - protected final String TEXT_1832 = "("; - protected final String TEXT_1833 = ") "; - protected final String TEXT_1834 = "List.get(j);"; - protected final String TEXT_1835 = NL + "\t\t\t\tif ("; - protected final String TEXT_1836 = " != null && !(ignoreCase ? ("; - protected final String TEXT_1837 = "("; - protected final String TEXT_1838 = ")"; - protected final String TEXT_1839 = ".get(j)).equalsIgnoreCase("; - protected final String TEXT_1840 = "."; - protected final String TEXT_1841 = "()) : "; - protected final String TEXT_1842 = ".get(j).equals("; - protected final String TEXT_1843 = "."; - protected final String TEXT_1844 = "())))"; - protected final String TEXT_1845 = NL + "\t\t\t\tif ("; - protected final String TEXT_1846 = " != null && !"; - protected final String TEXT_1847 = ".get(j).equals("; - protected final String TEXT_1848 = "."; - protected final String TEXT_1849 = "()))"; - protected final String TEXT_1850 = NL + "\t\t\t\t\tcontinue "; - protected final String TEXT_1851 = "Loop;"; - protected final String TEXT_1852 = NL + "\t\t\t}"; - protected final String TEXT_1853 = NL + "\t\t\t"; - protected final String TEXT_1854 = " "; - protected final String TEXT_1855 = " = "; - protected final String TEXT_1856 = "."; - protected final String TEXT_1857 = "();" + NL + "\t\t\tif ("; - protected final String TEXT_1858 = " == null)" + NL + "\t\t\t\tcontinue "; - protected final String TEXT_1859 = "Loop;"; - protected final String TEXT_1860 = NL + "\t\t\tif ("; - protected final String TEXT_1861 = " != null && !(ignoreCase ? "; - protected final String TEXT_1862 = ".equalsIgnoreCase("; - protected final String TEXT_1863 = "."; - protected final String TEXT_1864 = "()) : "; - protected final String TEXT_1865 = ".equals("; - protected final String TEXT_1866 = "."; - protected final String TEXT_1867 = "())))"; - protected final String TEXT_1868 = NL + "\t\t\tif ("; - protected final String TEXT_1869 = " != null && !"; - protected final String TEXT_1870 = ".equals("; + protected final String TEXT_1831 = " : "; + protected final String TEXT_1832 = "())" + NL + "\t\t{"; + protected final String TEXT_1833 = NL + "\t\t"; + protected final String TEXT_1834 = "Loop: for ("; + protected final String TEXT_1835 = " i = "; + protected final String TEXT_1836 = "().iterator(); i.hasNext(); )" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_1837 = " "; + protected final String TEXT_1838 = " = ("; + protected final String TEXT_1839 = ") i.next();"; + protected final String TEXT_1840 = NL + "\t\t\tif (eClass != null && !eClass.isInstance("; + protected final String TEXT_1841 = "))" + NL + "\t\t\t\tcontinue "; + protected final String TEXT_1842 = "Loop;"; + protected final String TEXT_1843 = NL + "\t\t\t"; + protected final String TEXT_1844 = " "; + protected final String TEXT_1845 = "List = "; + protected final String TEXT_1846 = "."; + protected final String TEXT_1847 = "();" + NL + "\t\t\tint "; + protected final String TEXT_1848 = "ListSize = "; + protected final String TEXT_1849 = "List.size();" + NL + "\t\t\tif ("; + protected final String TEXT_1850 = " || ("; + protected final String TEXT_1851 = " != null && "; + protected final String TEXT_1852 = ".size() != "; + protected final String TEXT_1853 = "ListSize"; + protected final String TEXT_1854 = ")"; + protected final String TEXT_1855 = ")" + NL + "\t\t\t\tcontinue "; + protected final String TEXT_1856 = "Loop;" + NL + "\t\t\tfor (int j = 0; j < "; + protected final String TEXT_1857 = "ListSize; j++)" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_1858 = " "; + protected final String TEXT_1859 = " = "; + protected final String TEXT_1860 = "("; + protected final String TEXT_1861 = ") "; + protected final String TEXT_1862 = "List.get(j);"; + protected final String TEXT_1863 = NL + "\t\t\t\tif ("; + protected final String TEXT_1864 = " != null && !(ignoreCase ? ("; + protected final String TEXT_1865 = "("; + protected final String TEXT_1866 = ")"; + protected final String TEXT_1867 = ".get(j)).equalsIgnoreCase("; + protected final String TEXT_1868 = "."; + protected final String TEXT_1869 = "()) : "; + protected final String TEXT_1870 = ".get(j).equals("; protected final String TEXT_1871 = "."; - protected final String TEXT_1872 = "()))"; - protected final String TEXT_1873 = NL + "\t\t\t\tcontinue "; - protected final String TEXT_1874 = "Loop;"; - protected final String TEXT_1875 = NL + "\t\t\tif ("; - protected final String TEXT_1876 = " != null && !(ignoreCase ? "; - protected final String TEXT_1877 = ".equalsIgnoreCase("; - protected final String TEXT_1878 = "."; - protected final String TEXT_1879 = "()) : "; - protected final String TEXT_1880 = ".equals("; - protected final String TEXT_1881 = "."; - protected final String TEXT_1882 = "())))"; - protected final String TEXT_1883 = NL + "\t\t\tif ("; - protected final String TEXT_1884 = " != null && !"; - protected final String TEXT_1885 = ".equals("; - protected final String TEXT_1886 = "."; - protected final String TEXT_1887 = "()))"; - protected final String TEXT_1888 = NL + "\t\t\t\tcontinue "; - protected final String TEXT_1889 = "Loop;"; - protected final String TEXT_1890 = NL + "\t\t\treturn "; - protected final String TEXT_1891 = ";" + NL + "\t\t}"; - protected final String TEXT_1892 = NL + "\t\treturn createOnDemand"; - protected final String TEXT_1893 = " && eClass != null"; - protected final String TEXT_1894 = " ? create"; - protected final String TEXT_1895 = "("; - protected final String TEXT_1896 = ", eClass"; - protected final String TEXT_1897 = ") : null;"; - protected final String TEXT_1898 = NL + "\t\treturn null;"; - protected final String TEXT_1899 = NL + "\t}" + NL; - protected final String TEXT_1900 = 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_1901 = "()" + NL + "\t{"; - protected final String TEXT_1902 = NL + " \t\treturn false;"; - protected final String TEXT_1903 = NL + "\t\treturn eIsSet("; - protected final String TEXT_1904 = ");"; - protected final String TEXT_1905 = NL + "\t\treturn !(("; - protected final String TEXT_1906 = ".Internal.Wrapper)"; - protected final String TEXT_1907 = "()).featureMap().isEmpty();"; - protected final String TEXT_1908 = NL + "\t\treturn "; - protected final String TEXT_1909 = " != null && !"; - protected final String TEXT_1910 = ".featureMap().isEmpty();"; - protected final String TEXT_1911 = NL + "\t\treturn "; + protected final String TEXT_1872 = "())))"; + protected final String TEXT_1873 = NL + "\t\t\t\tif ("; + protected final String TEXT_1874 = " != null && !"; + protected final String TEXT_1875 = ".get(j).equals("; + protected final String TEXT_1876 = "."; + protected final String TEXT_1877 = "()))"; + protected final String TEXT_1878 = NL + "\t\t\t\t\tcontinue "; + protected final String TEXT_1879 = "Loop;"; + protected final String TEXT_1880 = NL + "\t\t\t}"; + protected final String TEXT_1881 = NL + "\t\t\t"; + protected final String TEXT_1882 = " "; + protected final String TEXT_1883 = " = "; + protected final String TEXT_1884 = "."; + protected final String TEXT_1885 = "();" + NL + "\t\t\tif ("; + protected final String TEXT_1886 = " == null)" + NL + "\t\t\t\tcontinue "; + protected final String TEXT_1887 = "Loop;"; + protected final String TEXT_1888 = NL + "\t\t\tif ("; + protected final String TEXT_1889 = " != null && !(ignoreCase ? "; + protected final String TEXT_1890 = ".equalsIgnoreCase("; + protected final String TEXT_1891 = "."; + protected final String TEXT_1892 = "()) : "; + protected final String TEXT_1893 = ".equals("; + protected final String TEXT_1894 = "."; + protected final String TEXT_1895 = "())))"; + protected final String TEXT_1896 = NL + "\t\t\tif ("; + protected final String TEXT_1897 = " != null && !"; + protected final String TEXT_1898 = ".equals("; + protected final String TEXT_1899 = "."; + protected final String TEXT_1900 = "()))"; + protected final String TEXT_1901 = NL + "\t\t\t\tcontinue "; + protected final String TEXT_1902 = "Loop;"; + protected final String TEXT_1903 = NL + "\t\t\tif ("; + protected final String TEXT_1904 = " != null && !(ignoreCase ? "; + protected final String TEXT_1905 = ".equalsIgnoreCase("; + protected final String TEXT_1906 = "."; + protected final String TEXT_1907 = "()) : "; + protected final String TEXT_1908 = ".equals("; + protected final String TEXT_1909 = "."; + protected final String TEXT_1910 = "())))"; + protected final String TEXT_1911 = NL + "\t\t\tif ("; protected final String TEXT_1912 = " != null && !"; - protected final String TEXT_1913 = ".isEmpty();"; - protected final String TEXT_1914 = NL + "\t\t"; - protected final String TEXT_1915 = " "; - protected final String TEXT_1916 = " = ("; - protected final String TEXT_1917 = ")eVirtualGet("; - protected final String TEXT_1918 = ");" + NL + "\t\treturn "; - protected final String TEXT_1919 = " != null && !"; - protected final String TEXT_1920 = ".isEmpty();"; - protected final String TEXT_1921 = NL + "\t\treturn !"; - protected final String TEXT_1922 = "().isEmpty();"; - protected final String TEXT_1923 = NL + "\t\treturn "; - protected final String TEXT_1924 = " != null;"; - protected final String TEXT_1925 = NL + "\t\treturn eVirtualGet("; - protected final String TEXT_1926 = ") != null;"; - protected final String TEXT_1927 = NL + "\t\treturn basicGet"; - protected final String TEXT_1928 = "() != null;"; - protected final String TEXT_1929 = NL + "\t\treturn "; - protected final String TEXT_1930 = " != null;"; - protected final String TEXT_1931 = NL + "\t\treturn eVirtualGet("; - protected final String TEXT_1932 = ") != null;"; - protected final String TEXT_1933 = NL + "\t\treturn "; - protected final String TEXT_1934 = "() != null;"; - protected final String TEXT_1935 = NL + "\t\t\t\treturn (("; - protected final String TEXT_1936 = " & "; - protected final String TEXT_1937 = "_EFLAG) != 0) != "; - protected final String TEXT_1938 = ";"; - protected final String TEXT_1939 = NL + "\t\t\t\treturn ("; - protected final String TEXT_1940 = " & "; - protected final String TEXT_1941 = "_EFLAG) != "; - protected final String TEXT_1942 = "_EFLAG_DEFAULT;"; - protected final String TEXT_1943 = NL + "\t\treturn "; - protected final String TEXT_1944 = " != "; - protected final String TEXT_1945 = ";"; - protected final String TEXT_1946 = NL + "\t\treturn eVirtualGet("; - protected final String TEXT_1947 = ", "; - protected final String TEXT_1948 = ") != "; - protected final String TEXT_1949 = ";"; - protected final String TEXT_1950 = NL + "\t\treturn "; - protected final String TEXT_1951 = "() != "; - protected final String TEXT_1952 = ";"; - protected final String TEXT_1953 = NL + "\t\treturn "; - protected final String TEXT_1954 = " == null ? "; - protected final String TEXT_1955 = " != null : !"; - protected final String TEXT_1956 = ".equals("; - protected final String TEXT_1957 = ");"; - protected final String TEXT_1958 = NL + "\t\t"; - protected final String TEXT_1959 = " "; - protected final String TEXT_1960 = " = ("; - protected final String TEXT_1961 = ")eVirtualGet("; - protected final String TEXT_1962 = ", "; - protected final String TEXT_1963 = ");" + NL + "\t\treturn "; - protected final String TEXT_1964 = " == null ? "; - protected final String TEXT_1965 = " != null : !"; - protected final String TEXT_1966 = ".equals("; - protected final String TEXT_1967 = ");"; - protected final String TEXT_1968 = NL + "\t\treturn "; - protected final String TEXT_1969 = " == null ? "; - protected final String TEXT_1970 = "() != null : !"; - protected final String TEXT_1971 = ".equals("; - protected final String TEXT_1972 = "());"; - protected final String TEXT_1973 = NL + "\t\treturn eIsSet("; - protected final String TEXT_1974 = ");"; - protected final String TEXT_1975 = NL + "\t\t"; - protected final String TEXT_1976 = " "; - protected final String TEXT_1977 = " = ("; - protected final String TEXT_1978 = ")eVirtualGet("; - protected final String TEXT_1979 = ");"; - protected final String TEXT_1980 = NL + "\t\treturn "; - protected final String TEXT_1981 = " != null && (("; - protected final String TEXT_1982 = ".Unsettable"; - protected final String TEXT_1983 = ")"; - protected final String TEXT_1984 = ").isSet();"; - protected final String TEXT_1985 = NL + "\t\treturn eVirtualIsSet("; - protected final String TEXT_1986 = ");"; - protected final String TEXT_1987 = NL + "\t\treturn ("; - protected final String TEXT_1988 = " & "; - protected final String TEXT_1989 = "_ESETFLAG) != 0;"; - protected final String TEXT_1990 = NL + "\t\treturn "; - protected final String TEXT_1991 = "ESet;"; - protected final String TEXT_1992 = NL + "\t\treturn !(("; - protected final String TEXT_1993 = ".Internal)(("; - protected final String TEXT_1994 = ".Internal.Wrapper)get"; - protected final String TEXT_1995 = "()).featureMap()).isEmpty("; - protected final String TEXT_1996 = ");"; - protected final String TEXT_1997 = NL + "\t\treturn !(("; - protected final String TEXT_1998 = ".Internal)get"; - protected final String TEXT_1999 = "()).isEmpty("; - protected final String TEXT_2000 = ");"; - protected final String TEXT_2001 = NL + "\t\treturn "; - protected final String TEXT_2002 = "."; - protected final String TEXT_2003 = "(this);"; - protected final String TEXT_2004 = NL + "\t\t// TODO: implement this method to return whether the '"; - protected final String TEXT_2005 = "' "; - protected final String TEXT_2006 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_2007 = NL + "\t}" + NL; - protected final String TEXT_2008 = NL + "\t/**" + NL + "\t * The cached OCL expression body for the '{@link #"; - protected final String TEXT_2009 = "("; - protected final String TEXT_2010 = ") <em>"; - protected final String TEXT_2011 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_2012 = "("; - protected final String TEXT_2013 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; - protected final String TEXT_2014 = " "; - protected final String TEXT_2015 = "__EOCL_EXP = \""; - protected final String TEXT_2016 = "\";"; - protected final String TEXT_2017 = NL; - protected final String TEXT_2018 = NL + "\t/**" + NL + "\t * The cached OCL invariant for the '{@link #"; - protected final String TEXT_2019 = "("; - protected final String TEXT_2020 = ") <em>"; - protected final String TEXT_2021 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_2022 = "("; - protected final String TEXT_2023 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static "; - protected final String TEXT_2024 = " "; - protected final String TEXT_2025 = "__EOCL_INV;" + NL; - protected final String TEXT_2026 = NL + "\t/**" + NL + "\t * The cached OCL query for the '{@link #"; - protected final String TEXT_2027 = "("; - protected final String TEXT_2028 = ") <em>"; - protected final String TEXT_2029 = "</em>}' query operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_2030 = "("; - protected final String TEXT_2031 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static "; - protected final String TEXT_2032 = "<"; - protected final String TEXT_2033 = ">"; - protected final String TEXT_2034 = " "; - protected final String TEXT_2035 = "__EOCL_QRY;" + NL; - protected final String TEXT_2036 = NL + "\t/**" + NL + "\t * The cached validation expression for the '{@link #"; + protected final String TEXT_1913 = ".equals("; + protected final String TEXT_1914 = "."; + protected final String TEXT_1915 = "()))"; + protected final String TEXT_1916 = NL + "\t\t\t\tcontinue "; + protected final String TEXT_1917 = "Loop;"; + protected final String TEXT_1918 = NL + "\t\t\treturn "; + protected final String TEXT_1919 = ";" + NL + "\t\t}"; + protected final String TEXT_1920 = NL + "\t\treturn createOnDemand"; + protected final String TEXT_1921 = " && eClass != null"; + protected final String TEXT_1922 = " ? create"; + protected final String TEXT_1923 = "("; + protected final String TEXT_1924 = ", eClass"; + protected final String TEXT_1925 = ") : null;"; + protected final String TEXT_1926 = NL + "\t\treturn null;"; + protected final String TEXT_1927 = NL + "\t}" + NL; + protected final String TEXT_1928 = 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_1929 = "()" + NL + "\t{"; + protected final String TEXT_1930 = NL + " \t\treturn false;"; + protected final String TEXT_1931 = NL + "\t\treturn eIsSet("; + protected final String TEXT_1932 = ");"; + protected final String TEXT_1933 = NL + "\t\treturn !(("; + protected final String TEXT_1934 = ".Internal.Wrapper)"; + protected final String TEXT_1935 = "()).featureMap().isEmpty();"; + protected final String TEXT_1936 = NL + "\t\treturn "; + protected final String TEXT_1937 = " != null && !"; + protected final String TEXT_1938 = ".featureMap().isEmpty();"; + protected final String TEXT_1939 = NL + "\t\treturn "; + protected final String TEXT_1940 = " != null && !"; + protected final String TEXT_1941 = ".isEmpty();"; + protected final String TEXT_1942 = NL + "\t\t"; + protected final String TEXT_1943 = " "; + protected final String TEXT_1944 = " = ("; + protected final String TEXT_1945 = ")eVirtualGet("; + protected final String TEXT_1946 = ");" + NL + "\t\treturn "; + protected final String TEXT_1947 = " != null && !"; + protected final String TEXT_1948 = ".isEmpty();"; + protected final String TEXT_1949 = NL + "\t\treturn !"; + protected final String TEXT_1950 = "().isEmpty();"; + protected final String TEXT_1951 = NL + "\t\treturn "; + protected final String TEXT_1952 = " != null;"; + protected final String TEXT_1953 = NL + "\t\treturn eVirtualGet("; + protected final String TEXT_1954 = ") != null;"; + protected final String TEXT_1955 = NL + "\t\treturn basicGet"; + protected final String TEXT_1956 = "() != null;"; + protected final String TEXT_1957 = NL + "\t\treturn "; + protected final String TEXT_1958 = " != null;"; + protected final String TEXT_1959 = NL + "\t\treturn eVirtualGet("; + protected final String TEXT_1960 = ") != null;"; + protected final String TEXT_1961 = NL + "\t\treturn "; + protected final String TEXT_1962 = "() != null;"; + protected final String TEXT_1963 = NL + "\t\t\t\treturn (("; + protected final String TEXT_1964 = " & "; + protected final String TEXT_1965 = "_EFLAG) != 0) != "; + protected final String TEXT_1966 = ";"; + protected final String TEXT_1967 = NL + "\t\t\t\treturn ("; + protected final String TEXT_1968 = " & "; + protected final String TEXT_1969 = "_EFLAG) != "; + protected final String TEXT_1970 = "_EFLAG_DEFAULT;"; + protected final String TEXT_1971 = NL + "\t\treturn "; + protected final String TEXT_1972 = " != "; + protected final String TEXT_1973 = ";"; + protected final String TEXT_1974 = NL + "\t\treturn eVirtualGet("; + protected final String TEXT_1975 = ", "; + protected final String TEXT_1976 = ") != "; + protected final String TEXT_1977 = ";"; + protected final String TEXT_1978 = NL + "\t\treturn "; + protected final String TEXT_1979 = "() != "; + protected final String TEXT_1980 = ";"; + protected final String TEXT_1981 = NL + "\t\treturn "; + protected final String TEXT_1982 = " == null ? "; + protected final String TEXT_1983 = " != null : !"; + protected final String TEXT_1984 = ".equals("; + protected final String TEXT_1985 = ");"; + protected final String TEXT_1986 = NL + "\t\t"; + protected final String TEXT_1987 = " "; + protected final String TEXT_1988 = " = ("; + protected final String TEXT_1989 = ")eVirtualGet("; + protected final String TEXT_1990 = ", "; + protected final String TEXT_1991 = ");" + NL + "\t\treturn "; + protected final String TEXT_1992 = " == null ? "; + protected final String TEXT_1993 = " != null : !"; + protected final String TEXT_1994 = ".equals("; + protected final String TEXT_1995 = ");"; + protected final String TEXT_1996 = NL + "\t\treturn "; + protected final String TEXT_1997 = " == null ? "; + protected final String TEXT_1998 = "() != null : !"; + protected final String TEXT_1999 = ".equals("; + protected final String TEXT_2000 = "());"; + protected final String TEXT_2001 = NL + "\t\treturn eIsSet("; + protected final String TEXT_2002 = ");"; + protected final String TEXT_2003 = NL + "\t\t"; + protected final String TEXT_2004 = " "; + protected final String TEXT_2005 = " = ("; + protected final String TEXT_2006 = ")eVirtualGet("; + protected final String TEXT_2007 = ");"; + protected final String TEXT_2008 = NL + "\t\treturn "; + protected final String TEXT_2009 = " != null && (("; + protected final String TEXT_2010 = ".Unsettable"; + protected final String TEXT_2011 = ")"; + protected final String TEXT_2012 = ").isSet();"; + protected final String TEXT_2013 = NL + "\t\treturn eVirtualIsSet("; + protected final String TEXT_2014 = ");"; + protected final String TEXT_2015 = NL + "\t\treturn ("; + protected final String TEXT_2016 = " & "; + protected final String TEXT_2017 = "_ESETFLAG) != 0;"; + protected final String TEXT_2018 = NL + "\t\treturn "; + protected final String TEXT_2019 = "ESet;"; + protected final String TEXT_2020 = NL + "\t\treturn !(("; + protected final String TEXT_2021 = ".Internal)(("; + protected final String TEXT_2022 = ".Internal.Wrapper)get"; + protected final String TEXT_2023 = "()).featureMap()).isEmpty("; + protected final String TEXT_2024 = ");"; + protected final String TEXT_2025 = NL + "\t\treturn !(("; + protected final String TEXT_2026 = ".Internal)get"; + protected final String TEXT_2027 = "()).isEmpty("; + protected final String TEXT_2028 = ");"; + protected final String TEXT_2029 = NL + "\t\treturn "; + protected final String TEXT_2030 = "."; + protected final String TEXT_2031 = "(this);"; + protected final String TEXT_2032 = NL + "\t\t// TODO: implement this method to return whether the '"; + protected final String TEXT_2033 = "' "; + protected final String TEXT_2034 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_2035 = NL + "\t}" + NL; + protected final String TEXT_2036 = NL + "\t/**" + NL + "\t * The cached OCL expression body for the '{@link #"; protected final String TEXT_2037 = "("; protected final String TEXT_2038 = ") <em>"; - protected final String TEXT_2039 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_2039 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; protected final String TEXT_2040 = "("; protected final String TEXT_2041 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; protected final String TEXT_2042 = " "; - protected final String TEXT_2043 = "__EEXPRESSION = \""; + protected final String TEXT_2043 = "__EOCL_EXP = \""; protected final String TEXT_2044 = "\";"; protected final String TEXT_2045 = NL; - protected final String TEXT_2046 = NL + "\t/**" + NL + "\t * The cached invocation delegate for the '{@link #"; + protected final String TEXT_2046 = NL + "\t/**" + NL + "\t * The cached OCL invariant for the '{@link #"; protected final String TEXT_2047 = "("; protected final String TEXT_2048 = ") <em>"; - protected final String TEXT_2049 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_2049 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; protected final String TEXT_2050 = "("; - protected final String TEXT_2051 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; - protected final String TEXT_2052 = ".Internal.InvocationDelegate "; - protected final String TEXT_2053 = "__EINVOCATION_DELEGATE = (("; - protected final String TEXT_2054 = ".Internal)"; - protected final String TEXT_2055 = ").getInvocationDelegate();" + NL; - protected final String TEXT_2056 = NL + "\t/**"; - protected final String TEXT_2057 = NL + "\t * <p>" + NL + "\t * This operation redefines the following operations:" + NL + "\t * <ul>"; - protected final String TEXT_2058 = NL + "\t * <li>'{@link "; - protected final String TEXT_2059 = "#"; - protected final String TEXT_2060 = "("; - protected final String TEXT_2061 = ") <em>"; - protected final String TEXT_2062 = "</em>}' </li>"; - protected final String TEXT_2063 = NL + "\t * </ul>" + NL + "\t * </p>"; - protected final String TEXT_2064 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_2065 = NL + "\t * <!-- begin-model-doc -->"; - protected final String TEXT_2066 = NL + "\t * "; - protected final String TEXT_2067 = NL + "\t * @param "; - protected final String TEXT_2068 = NL + "\t * "; - protected final String TEXT_2069 = NL + "\t * @param "; + protected final String TEXT_2051 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static "; + protected final String TEXT_2052 = " "; + protected final String TEXT_2053 = "__EOCL_INV;" + NL; + protected final String TEXT_2054 = NL + "\t/**" + NL + "\t * The cached OCL query for the '{@link #"; + protected final String TEXT_2055 = "("; + protected final String TEXT_2056 = ") <em>"; + protected final String TEXT_2057 = "</em>}' query operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_2058 = "("; + protected final String TEXT_2059 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static "; + protected final String TEXT_2060 = "<"; + protected final String TEXT_2061 = ">"; + protected final String TEXT_2062 = " "; + protected final String TEXT_2063 = "__EOCL_QRY;" + NL; + protected final String TEXT_2064 = NL + "\t/**" + NL + "\t * The cached validation expression for the '{@link #"; + protected final String TEXT_2065 = "("; + protected final String TEXT_2066 = ") <em>"; + protected final String TEXT_2067 = "</em>}' invariant operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_2068 = "("; + protected final String TEXT_2069 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; protected final String TEXT_2070 = " "; - protected final String TEXT_2071 = NL + "\t * <!-- end-model-doc -->"; - protected final String TEXT_2072 = NL + "\t * @model "; - protected final String TEXT_2073 = NL + "\t * "; - protected final String TEXT_2074 = NL + "\t * @model"; - protected final String TEXT_2075 = NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2076 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2077 = NL + "\t@Override"; - protected final String TEXT_2078 = NL + "\t"; - protected final String TEXT_2079 = " "; - protected final String TEXT_2080 = "("; - protected final String TEXT_2081 = ")"; - protected final String TEXT_2082 = ";" + NL; - protected final String TEXT_2083 = NL + "\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2084 = NL + "\tpublic "; - protected final String TEXT_2085 = " "; - protected final String TEXT_2086 = "("; - protected final String TEXT_2087 = ")"; - protected final String TEXT_2088 = NL + "\t{"; - protected final String TEXT_2089 = NL + "\t\t"; - protected final String TEXT_2090 = NL + "\t\treturn" + NL + "\t\t\t"; - protected final String TEXT_2091 = ".validate" + NL + "\t\t\t\t("; - protected final String TEXT_2092 = "," + NL + "\t\t\t\t this," + NL + "\t\t\t\t "; - protected final String TEXT_2093 = "," + NL + "\t\t\t\t "; - protected final String TEXT_2094 = "," + NL + "\t\t\t\t \""; - protected final String TEXT_2095 = "\","; - protected final String TEXT_2096 = NL + "\t\t\t\t "; - protected final String TEXT_2097 = "," + NL + "\t\t\t\t "; - protected final String TEXT_2098 = "__EEXPRESSION," + NL + "\t\t\t\t "; - protected final String TEXT_2099 = ".ERROR," + NL + "\t\t\t\t "; - protected final String TEXT_2100 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t "; - protected final String TEXT_2101 = "."; - protected final String TEXT_2102 = ");"; - protected final String TEXT_2103 = NL + "\t\treturn "; - protected final String TEXT_2104 = "."; - protected final String TEXT_2105 = "(this, "; - protected final String TEXT_2106 = ", "; - protected final String TEXT_2107 = ");"; - protected final String TEXT_2108 = NL + "\t\tif ("; - protected final String TEXT_2109 = " == null)" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2110 = ".Helper helper = EOCL_ENV.createOCLHelper();" + NL + "\t\t\thelper.setContext("; - protected final String TEXT_2111 = ");" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_2112 = " = helper.createInvariant("; - protected final String TEXT_2113 = "__EOCL_EXP);" + NL + "\t\t\t}" + NL + "\t\t\tcatch ("; - protected final String TEXT_2114 = " 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_2115 = ").check(this))"; - protected final String TEXT_2116 = 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_2117 = NL + "\t\t{" + NL + "\t\t\tif ("; - protected final String TEXT_2118 = " != null)" + NL + "\t\t\t{"; - protected final String TEXT_2119 = NL + "\t\t\t\t"; - protected final String TEXT_2120 = ".add" + NL + "\t\t\t\t\t(new "; - protected final String TEXT_2121 = NL + "\t\t\t\t\t\t("; - protected final String TEXT_2122 = ".ERROR," + NL + "\t\t\t\t\t\t "; - protected final String TEXT_2123 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t "; - protected final String TEXT_2124 = "."; - protected final String TEXT_2125 = "," + NL + "\t\t\t\t\t\t "; - protected final String TEXT_2126 = ".INSTANCE.getString(\"_UI_GenericInvariant_diagnostic\", new Object[] { \""; - protected final String TEXT_2127 = "\", "; - protected final String TEXT_2128 = ".getObjectLabel(this, "; - protected final String TEXT_2129 = ") }),"; - protected final String TEXT_2130 = NL + "\t\t\t\t\t\t new Object [] { this }));"; - protected final String TEXT_2131 = NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;"; - protected final String TEXT_2132 = NL + "\t\ttry" + NL + "\t\t{"; - protected final String TEXT_2133 = NL + "\t\t\t"; - protected final String TEXT_2134 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, "; - protected final String TEXT_2135 = "new "; - protected final String TEXT_2136 = ".UnmodifiableEList<Object>("; - protected final String TEXT_2137 = ", "; - protected final String TEXT_2138 = ")"; - protected final String TEXT_2139 = "null"; - protected final String TEXT_2140 = ");"; - protected final String TEXT_2141 = NL + "\t\t\treturn "; - protected final String TEXT_2142 = "("; - protected final String TEXT_2143 = "("; - protected final String TEXT_2144 = ")"; - protected final String TEXT_2145 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, "; - protected final String TEXT_2146 = "new "; - protected final String TEXT_2147 = ".UnmodifiableEList<Object>("; - protected final String TEXT_2148 = ", "; - protected final String TEXT_2149 = ")"; - protected final String TEXT_2150 = "null"; - protected final String TEXT_2151 = ")"; - protected final String TEXT_2152 = ")."; - protected final String TEXT_2153 = "()"; - protected final String TEXT_2154 = ";"; - protected final String TEXT_2155 = NL + "\t\t}" + NL + "\t\tcatch ("; - protected final String TEXT_2156 = " ite)" + NL + "\t\t{" + NL + "\t\t\tthrow new "; - protected final String TEXT_2157 = "(ite);" + NL + "\t\t}"; - protected final String TEXT_2158 = NL + "\t\t"; - protected final String TEXT_2159 = "."; - protected final String TEXT_2160 = "(this"; - protected final String TEXT_2161 = ", "; - protected final String TEXT_2162 = ");"; - protected final String TEXT_2163 = NL + "\t\t"; - protected final String TEXT_2164 = " cache = getCacheAdapter();" + NL + "\t\tif (cache != null)" + NL + "\t\t{"; - protected final String TEXT_2165 = NL + "\t\t\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2166 = NL + "\t\t\t"; - protected final String TEXT_2167 = " result = ("; - protected final String TEXT_2168 = ") cache.get("; - protected final String TEXT_2169 = "eResource(), "; - protected final String TEXT_2170 = "this, "; - protected final String TEXT_2171 = ");" + NL + "\t\t\tif (result == null)" + NL + "\t\t\t{" + NL + "\t\t\t\tcache.put("; - protected final String TEXT_2172 = "eResource(), "; - protected final String TEXT_2173 = "this, "; - protected final String TEXT_2174 = ", result = "; - protected final String TEXT_2175 = "new "; - protected final String TEXT_2176 = "("; - protected final String TEXT_2177 = "."; - protected final String TEXT_2178 = "(this"; - protected final String TEXT_2179 = ", "; - protected final String TEXT_2180 = ")"; - protected final String TEXT_2181 = ")"; - protected final String TEXT_2182 = ");" + NL + "\t\t\t}" + NL + "\t\t\treturn result"; - protected final String TEXT_2183 = "."; - protected final String TEXT_2184 = "()"; - protected final String TEXT_2185 = ";" + NL + "\t\t}"; - protected final String TEXT_2186 = NL + "\t\treturn "; + protected final String TEXT_2071 = "__EEXPRESSION = \""; + protected final String TEXT_2072 = "\";"; + protected final String TEXT_2073 = NL; + protected final String TEXT_2074 = NL + "\t/**" + NL + "\t * The cached invocation delegate for the '{@link #"; + protected final String TEXT_2075 = "("; + protected final String TEXT_2076 = ") <em>"; + protected final String TEXT_2077 = "</em>}' operation." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_2078 = "("; + protected final String TEXT_2079 = ")" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final "; + protected final String TEXT_2080 = ".Internal.InvocationDelegate "; + protected final String TEXT_2081 = "__EINVOCATION_DELEGATE = (("; + protected final String TEXT_2082 = ".Internal)"; + protected final String TEXT_2083 = ").getInvocationDelegate();" + NL; + protected final String TEXT_2084 = NL + "\t/**"; + protected final String TEXT_2085 = NL + "\t * <p>" + NL + "\t * This operation redefines the following operations:" + NL + "\t * <ul>"; + protected final String TEXT_2086 = NL + "\t * <li>'{@link "; + protected final String TEXT_2087 = "#"; + protected final String TEXT_2088 = "("; + protected final String TEXT_2089 = ") <em>"; + protected final String TEXT_2090 = "</em>}' </li>"; + protected final String TEXT_2091 = NL + "\t * </ul>" + NL + "\t * </p>"; + protected final String TEXT_2092 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_2093 = NL + "\t * <!-- begin-model-doc -->"; + protected final String TEXT_2094 = NL + "\t * "; + protected final String TEXT_2095 = NL + "\t * @param "; + protected final String TEXT_2096 = NL + "\t * "; + protected final String TEXT_2097 = NL + "\t * @param "; + protected final String TEXT_2098 = " "; + protected final String TEXT_2099 = NL + "\t * <!-- end-model-doc -->"; + protected final String TEXT_2100 = NL + "\t * @model "; + protected final String TEXT_2101 = NL + "\t * "; + protected final String TEXT_2102 = NL + "\t * @model"; + protected final String TEXT_2103 = NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2104 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2105 = NL + "\t@Override"; + protected final String TEXT_2106 = NL + "\t"; + protected final String TEXT_2107 = " "; + protected final String TEXT_2108 = "("; + protected final String TEXT_2109 = ")"; + protected final String TEXT_2110 = ";" + NL; + protected final String TEXT_2111 = NL + "\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2112 = NL + "\tpublic "; + protected final String TEXT_2113 = " "; + protected final String TEXT_2114 = "("; + protected final String TEXT_2115 = ")"; + protected final String TEXT_2116 = NL + "\t{"; + protected final String TEXT_2117 = NL + "\t\t"; + protected final String TEXT_2118 = NL + "\t\treturn" + NL + "\t\t\t"; + protected final String TEXT_2119 = ".validate" + NL + "\t\t\t\t("; + protected final String TEXT_2120 = "," + NL + "\t\t\t\t this," + NL + "\t\t\t\t "; + protected final String TEXT_2121 = "," + NL + "\t\t\t\t "; + protected final String TEXT_2122 = "," + NL + "\t\t\t\t \""; + protected final String TEXT_2123 = "\","; + protected final String TEXT_2124 = NL + "\t\t\t\t "; + protected final String TEXT_2125 = "," + NL + "\t\t\t\t "; + protected final String TEXT_2126 = "__EEXPRESSION," + NL + "\t\t\t\t "; + protected final String TEXT_2127 = ".ERROR," + NL + "\t\t\t\t "; + protected final String TEXT_2128 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t "; + protected final String TEXT_2129 = "."; + protected final String TEXT_2130 = ");"; + protected final String TEXT_2131 = NL + "\t\treturn "; + protected final String TEXT_2132 = "."; + protected final String TEXT_2133 = "(this, "; + protected final String TEXT_2134 = ", "; + protected final String TEXT_2135 = ");"; + protected final String TEXT_2136 = NL + "\t\tif ("; + protected final String TEXT_2137 = " == null)" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2138 = ".Helper helper = EOCL_ENV.createOCLHelper();" + NL + "\t\t\thelper.setContext("; + protected final String TEXT_2139 = ");" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_2140 = " = helper.createInvariant("; + protected final String TEXT_2141 = "__EOCL_EXP);" + NL + "\t\t\t}" + NL + "\t\t\tcatch ("; + protected final String TEXT_2142 = " 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_2143 = ").check(this))"; + protected final String TEXT_2144 = 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_2145 = NL + "\t\t{" + NL + "\t\t\tif ("; + protected final String TEXT_2146 = " != null)" + NL + "\t\t\t{"; + protected final String TEXT_2147 = NL + "\t\t\t\t"; + protected final String TEXT_2148 = ".add" + NL + "\t\t\t\t\t(new "; + protected final String TEXT_2149 = NL + "\t\t\t\t\t\t("; + protected final String TEXT_2150 = ".ERROR," + NL + "\t\t\t\t\t\t "; + protected final String TEXT_2151 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t "; + protected final String TEXT_2152 = "."; + protected final String TEXT_2153 = "," + NL + "\t\t\t\t\t\t "; + protected final String TEXT_2154 = ".INSTANCE.getString(\"_UI_GenericInvariant_diagnostic\", new Object[] { \""; + protected final String TEXT_2155 = "\", "; + protected final String TEXT_2156 = ".getObjectLabel(this, "; + protected final String TEXT_2157 = ") }),"; + protected final String TEXT_2158 = NL + "\t\t\t\t\t\t new Object [] { this }));"; + protected final String TEXT_2159 = NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;"; + protected final String TEXT_2160 = NL + "\t\ttry" + NL + "\t\t{"; + protected final String TEXT_2161 = NL + "\t\t\t"; + protected final String TEXT_2162 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, "; + protected final String TEXT_2163 = "new "; + protected final String TEXT_2164 = ".UnmodifiableEList<Object>("; + protected final String TEXT_2165 = ", "; + protected final String TEXT_2166 = ")"; + protected final String TEXT_2167 = "null"; + protected final String TEXT_2168 = ");"; + protected final String TEXT_2169 = NL + "\t\t\treturn "; + protected final String TEXT_2170 = "("; + protected final String TEXT_2171 = "("; + protected final String TEXT_2172 = ")"; + protected final String TEXT_2173 = "__EINVOCATION_DELEGATE.dynamicInvoke(this, "; + protected final String TEXT_2174 = "new "; + protected final String TEXT_2175 = ".UnmodifiableEList<Object>("; + protected final String TEXT_2176 = ", "; + protected final String TEXT_2177 = ")"; + protected final String TEXT_2178 = "null"; + protected final String TEXT_2179 = ")"; + protected final String TEXT_2180 = ")."; + protected final String TEXT_2181 = "()"; + protected final String TEXT_2182 = ";"; + protected final String TEXT_2183 = NL + "\t\t}" + NL + "\t\tcatch ("; + protected final String TEXT_2184 = " ite)" + NL + "\t\t{" + NL + "\t\t\tthrow new "; + protected final String TEXT_2185 = "(ite);" + NL + "\t\t}"; + protected final String TEXT_2186 = NL + "\t\t"; protected final String TEXT_2187 = "."; protected final String TEXT_2188 = "(this"; protected final String TEXT_2189 = ", "; protected final String TEXT_2190 = ");"; - protected final String TEXT_2191 = NL + "\t\tif ("; - protected final String TEXT_2192 = " == null)" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2193 = ".Helper helper = EOCL_ENV.createOCLHelper();" + NL + "\t\t\thelper.setOperationContext("; - protected final String TEXT_2194 = ", "; - protected final String TEXT_2195 = ".getEAllOperations().get("; - protected final String TEXT_2196 = "));" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_2197 = " = helper.createQuery("; - protected final String TEXT_2198 = "__EOCL_EXP);" + NL + "\t\t\t}" + NL + "\t\t\tcatch ("; - protected final String TEXT_2199 = " 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_2200 = ".Query query = EOCL_ENV.createQuery("; - protected final String TEXT_2201 = ");"; - protected final String TEXT_2202 = NL + "\t\t"; - protected final String TEXT_2203 = "<?, ?, ?, ?, ?>"; - protected final String TEXT_2204 = " environment = query.getEvaluationEnvironment();"; - protected final String TEXT_2205 = NL + "\t\tenvironment.add(\""; - protected final String TEXT_2206 = "\", "; - protected final String TEXT_2207 = ");"; - protected final String TEXT_2208 = NL + "\t\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2209 = NL + "\t\t"; - protected final String TEXT_2210 = "<"; - protected final String TEXT_2211 = "> result = ("; - protected final String TEXT_2212 = "<"; - protected final String TEXT_2213 = ">) query.evaluate(this);" + NL + "\t\treturn new "; - protected final String TEXT_2214 = ".UnmodifiableEList<"; - protected final String TEXT_2215 = ">(result.size(), result.toArray());"; - protected final String TEXT_2216 = NL + "\t\treturn (("; - protected final String TEXT_2217 = ") query.evaluate(this))."; - protected final String TEXT_2218 = "();"; - protected final String TEXT_2219 = NL + "\t\treturn ("; - protected final String TEXT_2220 = ") query.evaluate(this);"; - protected final String TEXT_2221 = 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_2222 = NL + "\t}" + NL; - protected final String TEXT_2223 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2224 = NL + "\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2225 = NL + "\t@Override"; - protected final String TEXT_2226 = NL + "\tpublic "; - protected final String TEXT_2227 = " eInverseAdd("; - protected final String TEXT_2228 = " otherEnd, int featureID, "; - protected final String TEXT_2229 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (featureID"; - protected final String TEXT_2230 = ")" + NL + "\t\t{"; - protected final String TEXT_2231 = NL + "\t\t\tcase "; - protected final String TEXT_2232 = ":"; - protected final String TEXT_2233 = NL + "\t\t\t\treturn (("; - protected final String TEXT_2234 = "("; - protected final String TEXT_2235 = ".InternalMapView"; - protected final String TEXT_2236 = ")"; - protected final String TEXT_2237 = "()).eMap()).basicAdd(otherEnd, msgs);"; - protected final String TEXT_2238 = NL + "\t\t\t\treturn ("; - protected final String TEXT_2239 = "()).basicAdd(otherEnd, msgs);"; - protected final String TEXT_2240 = NL + "\t\t\t\tif (eInternalContainer() != null)" + NL + "\t\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);"; - protected final String TEXT_2241 = NL + "\t\t\t\treturn basicSet"; - protected final String TEXT_2242 = "(("; - protected final String TEXT_2243 = ")otherEnd, msgs);"; - protected final String TEXT_2244 = NL + "\t\t\t\treturn eBasicSetContainer(otherEnd, "; - protected final String TEXT_2245 = ", msgs);"; - protected final String TEXT_2246 = NL + "\t\t\t\t"; - protected final String TEXT_2247 = " "; - protected final String TEXT_2248 = " = ("; - protected final String TEXT_2249 = ")eVirtualGet("; - protected final String TEXT_2250 = ");"; - protected final String TEXT_2251 = NL + "\t\t\t\t"; - protected final String TEXT_2252 = " "; - protected final String TEXT_2253 = " = "; - protected final String TEXT_2254 = "basicGet"; - protected final String TEXT_2255 = "();"; - protected final String TEXT_2256 = NL + "\t\t\t\tif ("; - protected final String TEXT_2257 = " != null)"; - protected final String TEXT_2258 = NL + "\t\t\t\t\tmsgs = (("; - protected final String TEXT_2259 = ")"; - protected final String TEXT_2260 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - "; - protected final String TEXT_2261 = ", null, msgs);"; - protected final String TEXT_2262 = NL + "\t\t\t\t\tmsgs = (("; - protected final String TEXT_2263 = ")"; - protected final String TEXT_2264 = ").eInverseRemove(this, "; - protected final String TEXT_2265 = ", "; - protected final String TEXT_2266 = ".class, msgs);"; - protected final String TEXT_2267 = NL + "\t\t\t\treturn basicSet"; - protected final String TEXT_2268 = "(("; - protected final String TEXT_2269 = ")otherEnd, msgs);"; - protected final String TEXT_2270 = NL + "\t\t}"; - protected final String TEXT_2271 = NL + "\t\treturn super.eInverseAdd(otherEnd, featureID, msgs);"; - protected final String TEXT_2272 = NL + "\t\treturn eDynamicInverseAdd(otherEnd, featureID, msgs);"; - protected final String TEXT_2273 = NL + "\t}" + NL; - protected final String TEXT_2274 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2275 = NL + "\t@Override"; - protected final String TEXT_2276 = NL + "\tpublic "; - protected final String TEXT_2277 = " eInverseRemove("; - protected final String TEXT_2278 = " otherEnd, int featureID, "; - protected final String TEXT_2279 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (featureID"; - protected final String TEXT_2280 = ")" + NL + "\t\t{"; - protected final String TEXT_2281 = NL + "\t\t\tcase "; - protected final String TEXT_2282 = ":"; - protected final String TEXT_2283 = NL + "\t\t\t\treturn (("; - protected final String TEXT_2284 = ")(("; - protected final String TEXT_2285 = ".InternalMapView"; - protected final String TEXT_2286 = ")"; - protected final String TEXT_2287 = "()).eMap()).basicRemove(otherEnd, msgs);"; - protected final String TEXT_2288 = NL + "\t\t\t\treturn (("; - protected final String TEXT_2289 = ")(("; - protected final String TEXT_2290 = ".Internal.Wrapper)"; - protected final String TEXT_2291 = "()).featureMap()).basicRemove(otherEnd, msgs);"; - protected final String TEXT_2292 = NL + "\t\t\t\treturn (("; - protected final String TEXT_2293 = ")"; - protected final String TEXT_2294 = "()).basicRemove(otherEnd, msgs);"; - protected final String TEXT_2295 = NL + "\t\t\t\treturn eBasicSetContainer(null, "; - protected final String TEXT_2296 = ", msgs);"; - protected final String TEXT_2297 = NL + "\t\t\t\treturn basicUnset"; - protected final String TEXT_2298 = "(msgs);"; - protected final String TEXT_2299 = NL + "\t\t\t\treturn basicSet"; - protected final String TEXT_2300 = "(null, msgs);"; - protected final String TEXT_2301 = NL + "\t\t}"; - protected final String TEXT_2302 = NL + "\t\treturn super.eInverseRemove(otherEnd, featureID, msgs);"; - protected final String TEXT_2303 = NL + "\t\treturn eDynamicInverseRemove(otherEnd, featureID, msgs);"; - protected final String TEXT_2304 = NL + "\t}" + NL; - protected final String TEXT_2305 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2306 = NL + "\t@Override"; - protected final String TEXT_2307 = NL + "\tpublic "; - protected final String TEXT_2308 = " eBasicRemoveFromContainerFeature("; - protected final String TEXT_2309 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (eContainerFeatureID()"; - protected final String TEXT_2310 = ")" + NL + "\t\t{"; - protected final String TEXT_2311 = NL + "\t\t\tcase "; - protected final String TEXT_2312 = ":" + NL + "\t\t\t\treturn eInternalContainer().eInverseRemove(this, "; - protected final String TEXT_2313 = ", "; - protected final String TEXT_2314 = ".class, msgs);"; - protected final String TEXT_2315 = NL + "\t\t}"; - protected final String TEXT_2316 = NL + "\t\treturn super.eBasicRemoveFromContainerFeature(msgs);"; - protected final String TEXT_2317 = NL + "\t\treturn eDynamicBasicRemoveFromContainer(msgs);"; - protected final String TEXT_2318 = NL + "\t}" + NL; - protected final String TEXT_2319 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2320 = NL + "\t@Override"; - protected final String TEXT_2321 = NL + "\tpublic Object eGet(int featureID, boolean resolve, boolean coreType)" + NL + "\t{" + NL + "\t\tswitch (featureID"; - protected final String TEXT_2322 = ")" + NL + "\t\t{"; - protected final String TEXT_2323 = NL + "\t\t\tcase "; - protected final String TEXT_2324 = ":"; - protected final String TEXT_2325 = NL + "\t\t\t\treturn "; - protected final String TEXT_2326 = "();"; - protected final String TEXT_2327 = NL + "\t\t\t\treturn "; - protected final String TEXT_2328 = "() ? Boolean.TRUE : Boolean.FALSE;"; - protected final String TEXT_2329 = NL + "\t\t\t\treturn new "; - protected final String TEXT_2330 = "("; - protected final String TEXT_2331 = "());"; - protected final String TEXT_2332 = NL + "\t\t\t\tif (resolve) return "; - protected final String TEXT_2333 = "();" + NL + "\t\t\t\treturn basicGet"; - protected final String TEXT_2334 = "();"; - protected final String TEXT_2335 = NL + "\t\t\t\tif (coreType) return (("; - protected final String TEXT_2336 = ".InternalMapView"; - protected final String TEXT_2337 = ")"; - protected final String TEXT_2338 = "()).eMap();" + NL + "\t\t\t\telse return "; - protected final String TEXT_2339 = "();"; - protected final String TEXT_2340 = NL + "\t\t\t\tif (coreType) return "; - protected final String TEXT_2341 = "();" + NL + "\t\t\t\telse return "; - protected final String TEXT_2342 = "().map();"; - protected final String TEXT_2343 = NL + "\t\t\t\tif (coreType) return (("; - protected final String TEXT_2344 = ".Internal.Wrapper)"; - protected final String TEXT_2345 = "()).featureMap();" + NL + "\t\t\t\treturn "; - protected final String TEXT_2346 = "();"; - protected final String TEXT_2347 = NL + "\t\t\t\tif (coreType) return "; - protected final String TEXT_2348 = "();" + NL + "\t\t\t\treturn (("; - protected final String TEXT_2349 = ".Internal)"; - protected final String TEXT_2350 = "()).getWrapper();"; - protected final String TEXT_2351 = NL + "\t\t\t\treturn "; - protected final String TEXT_2352 = "();"; - protected final String TEXT_2353 = NL + "\t\t}"; - protected final String TEXT_2354 = NL + "\t\treturn super.eGet(featureID, resolve, coreType);"; - protected final String TEXT_2355 = NL + "\t\treturn eDynamicGet(featureID, resolve, coreType);"; - protected final String TEXT_2356 = NL + "\t}" + NL; - protected final String TEXT_2357 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2358 = NL + "\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2359 = NL + "\t@Override"; - protected final String TEXT_2360 = NL + "\tpublic void eSet(int featureID, Object newValue)" + NL + "\t{" + NL + "\t\tswitch (featureID"; - protected final String TEXT_2361 = ")" + NL + "\t\t{"; - protected final String TEXT_2362 = NL + "\t\t\tcase "; - protected final String TEXT_2363 = ":"; - protected final String TEXT_2364 = NL + "\t\t\t\t(("; - protected final String TEXT_2365 = ".Internal)(("; - protected final String TEXT_2366 = ".Internal.Wrapper)"; - protected final String TEXT_2367 = "()).featureMap()).set(newValue);"; - protected final String TEXT_2368 = NL + "\t\t\t\t(("; - protected final String TEXT_2369 = ".Internal)"; - protected final String TEXT_2370 = "()).set(newValue);"; - protected final String TEXT_2371 = NL + "\t\t\t\t(("; - protected final String TEXT_2372 = ".Setting)(("; - protected final String TEXT_2373 = ".InternalMapView"; - protected final String TEXT_2374 = ")"; - protected final String TEXT_2375 = "()).eMap()).set(newValue);"; - protected final String TEXT_2376 = NL + "\t\t\t\t(("; - protected final String TEXT_2377 = ".Setting)"; - protected final String TEXT_2378 = "()).set(newValue);"; - protected final String TEXT_2379 = NL + "\t\t\t\t"; - protected final String TEXT_2380 = "().clear();" + NL + "\t\t\t\t"; - protected final String TEXT_2381 = "().addAll(("; - protected final String TEXT_2382 = "<? extends "; - protected final String TEXT_2383 = ">"; - protected final String TEXT_2384 = ")newValue);"; - protected final String TEXT_2385 = NL + "\t\t\t\tset"; - protected final String TEXT_2386 = "((("; - protected final String TEXT_2387 = ")newValue)."; - protected final String TEXT_2388 = "());"; - protected final String TEXT_2389 = NL + "\t\t\t\tset"; - protected final String TEXT_2390 = "("; - protected final String TEXT_2391 = "("; - protected final String TEXT_2392 = ")"; - protected final String TEXT_2393 = "newValue);"; - protected final String TEXT_2394 = NL + "\t\t\t\treturn;"; - protected final String TEXT_2395 = NL + "\t\t}"; - protected final String TEXT_2396 = NL + "\t\tsuper.eSet(featureID, newValue);"; - protected final String TEXT_2397 = NL + "\t\teDynamicSet(featureID, newValue);"; - protected final String TEXT_2398 = NL + "\t}" + NL; - protected final String TEXT_2399 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2400 = NL + "\t@Override"; - protected final String TEXT_2401 = NL + "\tpublic void eUnset(int featureID)" + NL + "\t{" + NL + "\t\tswitch (featureID"; - protected final String TEXT_2402 = ")" + NL + "\t\t{"; - protected final String TEXT_2403 = NL + "\t\t\tcase "; - protected final String TEXT_2404 = ":"; - protected final String TEXT_2405 = NL + "\t\t\t\t(("; - protected final String TEXT_2406 = ".Internal.Wrapper)"; - protected final String TEXT_2407 = "()).featureMap().clear();"; - protected final String TEXT_2408 = NL + "\t\t\t\t"; - protected final String TEXT_2409 = "().clear();"; - protected final String TEXT_2410 = NL + "\t\t\t\tunset"; - protected final String TEXT_2411 = "();"; - protected final String TEXT_2412 = NL + "\t\t\t\tset"; - protected final String TEXT_2413 = "(("; - protected final String TEXT_2414 = ")null);"; - protected final String TEXT_2415 = NL + "\t\t\t\t"; - protected final String TEXT_2416 = "__ESETTING_DELEGATE.dynamicUnset(this, null, 0);"; + protected final String TEXT_2191 = NL + "\t\t"; + protected final String TEXT_2192 = " cache = getCacheAdapter();" + NL + "\t\tif (cache != null)" + NL + "\t\t{"; + protected final String TEXT_2193 = NL + "\t\t\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2194 = NL + "\t\t\t"; + protected final String TEXT_2195 = " result = ("; + protected final String TEXT_2196 = ") cache.get("; + protected final String TEXT_2197 = "eResource(), "; + protected final String TEXT_2198 = "this, "; + protected final String TEXT_2199 = ");" + NL + "\t\t\tif (result == null)" + NL + "\t\t\t{" + NL + "\t\t\t\tcache.put("; + protected final String TEXT_2200 = "eResource(), "; + protected final String TEXT_2201 = "this, "; + protected final String TEXT_2202 = ", result = "; + protected final String TEXT_2203 = "new "; + protected final String TEXT_2204 = "("; + protected final String TEXT_2205 = "."; + protected final String TEXT_2206 = "(this"; + protected final String TEXT_2207 = ", "; + protected final String TEXT_2208 = ")"; + protected final String TEXT_2209 = ")"; + protected final String TEXT_2210 = ");" + NL + "\t\t\t}" + NL + "\t\t\treturn result"; + protected final String TEXT_2211 = "."; + protected final String TEXT_2212 = "()"; + protected final String TEXT_2213 = ";" + NL + "\t\t}"; + protected final String TEXT_2214 = NL + "\t\treturn "; + protected final String TEXT_2215 = "."; + protected final String TEXT_2216 = "(this"; + protected final String TEXT_2217 = ", "; + protected final String TEXT_2218 = ");"; + protected final String TEXT_2219 = NL + "\t\tif ("; + protected final String TEXT_2220 = " == null)" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2221 = ".Helper helper = EOCL_ENV.createOCLHelper();" + NL + "\t\t\thelper.setOperationContext("; + protected final String TEXT_2222 = ", "; + protected final String TEXT_2223 = ".getEAllOperations().get("; + protected final String TEXT_2224 = "));" + NL + "\t\t\ttry" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_2225 = " = helper.createQuery("; + protected final String TEXT_2226 = "__EOCL_EXP);" + NL + "\t\t\t}" + NL + "\t\t\tcatch ("; + protected final String TEXT_2227 = " 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_2228 = ".Query query = EOCL_ENV.createQuery("; + protected final String TEXT_2229 = ");"; + protected final String TEXT_2230 = NL + "\t\t"; + protected final String TEXT_2231 = "<?, ?, ?, ?, ?>"; + protected final String TEXT_2232 = " environment = query.getEvaluationEnvironment();"; + protected final String TEXT_2233 = NL + "\t\tenvironment.add(\""; + protected final String TEXT_2234 = "\", "; + protected final String TEXT_2235 = ");"; + protected final String TEXT_2236 = NL + "\t\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2237 = NL + "\t\t"; + protected final String TEXT_2238 = "<"; + protected final String TEXT_2239 = "> result = ("; + protected final String TEXT_2240 = "<"; + protected final String TEXT_2241 = ">) query.evaluate(this);" + NL + "\t\treturn new "; + protected final String TEXT_2242 = ".UnmodifiableEList<"; + protected final String TEXT_2243 = ">(result.size(), result.toArray());"; + protected final String TEXT_2244 = NL + "\t\treturn (("; + protected final String TEXT_2245 = ") query.evaluate(this))."; + protected final String TEXT_2246 = "();"; + protected final String TEXT_2247 = NL + "\t\treturn ("; + protected final String TEXT_2248 = ") query.evaluate(this);"; + protected final String TEXT_2249 = 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_2250 = NL + "\t}" + NL; + protected final String TEXT_2251 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2252 = NL + "\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2253 = NL + "\t@Override"; + protected final String TEXT_2254 = NL + "\tpublic "; + protected final String TEXT_2255 = " eInverseAdd("; + protected final String TEXT_2256 = " otherEnd, int featureID, "; + protected final String TEXT_2257 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (featureID"; + protected final String TEXT_2258 = ")" + NL + "\t\t{"; + protected final String TEXT_2259 = NL + "\t\t\tcase "; + protected final String TEXT_2260 = ":"; + protected final String TEXT_2261 = NL + "\t\t\t\treturn (("; + protected final String TEXT_2262 = "("; + protected final String TEXT_2263 = ".InternalMapView"; + protected final String TEXT_2264 = ")"; + protected final String TEXT_2265 = "()).eMap()).basicAdd(otherEnd, msgs);"; + protected final String TEXT_2266 = NL + "\t\t\t\treturn ("; + protected final String TEXT_2267 = "()).basicAdd(otherEnd, msgs);"; + protected final String TEXT_2268 = NL + "\t\t\t\tif (eInternalContainer() != null)" + NL + "\t\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);"; + protected final String TEXT_2269 = NL + "\t\t\t\treturn basicSet"; + protected final String TEXT_2270 = "(("; + protected final String TEXT_2271 = ")otherEnd, msgs);"; + protected final String TEXT_2272 = NL + "\t\t\t\treturn eBasicSetContainer(otherEnd, "; + protected final String TEXT_2273 = ", msgs);"; + protected final String TEXT_2274 = NL + "\t\t\t\t"; + protected final String TEXT_2275 = " "; + protected final String TEXT_2276 = " = ("; + protected final String TEXT_2277 = ")eVirtualGet("; + protected final String TEXT_2278 = ");"; + protected final String TEXT_2279 = NL + "\t\t\t\t"; + protected final String TEXT_2280 = " "; + protected final String TEXT_2281 = " = "; + protected final String TEXT_2282 = "basicGet"; + protected final String TEXT_2283 = "();"; + protected final String TEXT_2284 = NL + "\t\t\t\tif ("; + protected final String TEXT_2285 = " != null)"; + protected final String TEXT_2286 = NL + "\t\t\t\t\tmsgs = (("; + protected final String TEXT_2287 = ")"; + protected final String TEXT_2288 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - "; + protected final String TEXT_2289 = ", null, msgs);"; + protected final String TEXT_2290 = NL + "\t\t\t\t\tmsgs = (("; + protected final String TEXT_2291 = ")"; + protected final String TEXT_2292 = ").eInverseRemove(this, "; + protected final String TEXT_2293 = ", "; + protected final String TEXT_2294 = ".class, msgs);"; + protected final String TEXT_2295 = NL + "\t\t\t\treturn basicSet"; + protected final String TEXT_2296 = "(("; + protected final String TEXT_2297 = ")otherEnd, msgs);"; + protected final String TEXT_2298 = NL + "\t\t}"; + protected final String TEXT_2299 = NL + "\t\treturn super.eInverseAdd(otherEnd, featureID, msgs);"; + protected final String TEXT_2300 = NL + "\t\treturn eDynamicInverseAdd(otherEnd, featureID, msgs);"; + protected final String TEXT_2301 = NL + "\t}" + NL; + protected final String TEXT_2302 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2303 = NL + "\t@Override"; + protected final String TEXT_2304 = NL + "\tpublic "; + protected final String TEXT_2305 = " eInverseRemove("; + protected final String TEXT_2306 = " otherEnd, int featureID, "; + protected final String TEXT_2307 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (featureID"; + protected final String TEXT_2308 = ")" + NL + "\t\t{"; + protected final String TEXT_2309 = NL + "\t\t\tcase "; + protected final String TEXT_2310 = ":"; + protected final String TEXT_2311 = NL + "\t\t\t\treturn (("; + protected final String TEXT_2312 = ")(("; + protected final String TEXT_2313 = ".InternalMapView"; + protected final String TEXT_2314 = ")"; + protected final String TEXT_2315 = "()).eMap()).basicRemove(otherEnd, msgs);"; + protected final String TEXT_2316 = NL + "\t\t\t\treturn (("; + protected final String TEXT_2317 = ")(("; + protected final String TEXT_2318 = ".Internal.Wrapper)"; + protected final String TEXT_2319 = "()).featureMap()).basicRemove(otherEnd, msgs);"; + protected final String TEXT_2320 = NL + "\t\t\t\treturn (("; + protected final String TEXT_2321 = ")"; + protected final String TEXT_2322 = "()).basicRemove(otherEnd, msgs);"; + protected final String TEXT_2323 = NL + "\t\t\t\treturn eBasicSetContainer(null, "; + protected final String TEXT_2324 = ", msgs);"; + protected final String TEXT_2325 = NL + "\t\t\t\treturn basicUnset"; + protected final String TEXT_2326 = "(msgs);"; + protected final String TEXT_2327 = NL + "\t\t\t\treturn basicSet"; + protected final String TEXT_2328 = "(null, msgs);"; + protected final String TEXT_2329 = NL + "\t\t}"; + protected final String TEXT_2330 = NL + "\t\treturn super.eInverseRemove(otherEnd, featureID, msgs);"; + protected final String TEXT_2331 = NL + "\t\treturn eDynamicInverseRemove(otherEnd, featureID, msgs);"; + protected final String TEXT_2332 = NL + "\t}" + NL; + protected final String TEXT_2333 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2334 = NL + "\t@Override"; + protected final String TEXT_2335 = NL + "\tpublic "; + protected final String TEXT_2336 = " eBasicRemoveFromContainerFeature("; + protected final String TEXT_2337 = " msgs)" + NL + "\t{" + NL + "\t\tswitch (eContainerFeatureID()"; + protected final String TEXT_2338 = ")" + NL + "\t\t{"; + protected final String TEXT_2339 = NL + "\t\t\tcase "; + protected final String TEXT_2340 = ":" + NL + "\t\t\t\treturn eInternalContainer().eInverseRemove(this, "; + protected final String TEXT_2341 = ", "; + protected final String TEXT_2342 = ".class, msgs);"; + protected final String TEXT_2343 = NL + "\t\t}"; + protected final String TEXT_2344 = NL + "\t\treturn super.eBasicRemoveFromContainerFeature(msgs);"; + protected final String TEXT_2345 = NL + "\t\treturn eDynamicBasicRemoveFromContainer(msgs);"; + protected final String TEXT_2346 = NL + "\t}" + NL; + protected final String TEXT_2347 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2348 = NL + "\t@Override"; + protected final String TEXT_2349 = NL + "\tpublic Object eGet(int featureID, boolean resolve, boolean coreType)" + NL + "\t{" + NL + "\t\tswitch (featureID"; + protected final String TEXT_2350 = ")" + 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 "; + protected final String TEXT_2354 = "();"; + protected final String TEXT_2355 = NL + "\t\t\t\treturn "; + protected final String TEXT_2356 = "() ? Boolean.TRUE : Boolean.FALSE;"; + protected final String TEXT_2357 = NL + "\t\t\t\treturn new "; + protected final String TEXT_2358 = "("; + protected final String TEXT_2359 = "());"; + protected final String TEXT_2360 = NL + "\t\t\t\tif (resolve) return "; + protected final String TEXT_2361 = "();" + NL + "\t\t\t\treturn basicGet"; + protected final String TEXT_2362 = "();"; + protected final String TEXT_2363 = NL + "\t\t\t\tif (coreType) return (("; + protected final String TEXT_2364 = ".InternalMapView"; + protected final String TEXT_2365 = ")"; + protected final String TEXT_2366 = "()).eMap();" + NL + "\t\t\t\telse return "; + protected final String TEXT_2367 = "();"; + protected final String TEXT_2368 = NL + "\t\t\t\tif (coreType) return "; + protected final String TEXT_2369 = "();" + NL + "\t\t\t\telse return "; + protected final String TEXT_2370 = "().map();"; + protected final String TEXT_2371 = NL + "\t\t\t\tif (coreType) return (("; + protected final String TEXT_2372 = ".Internal.Wrapper)"; + protected final String TEXT_2373 = "()).featureMap();" + NL + "\t\t\t\treturn "; + protected final String TEXT_2374 = "();"; + protected final String TEXT_2375 = NL + "\t\t\t\tif (coreType) return "; + protected final String TEXT_2376 = "();" + NL + "\t\t\t\treturn (("; + protected final String TEXT_2377 = ".Internal)"; + protected final String TEXT_2378 = "()).getWrapper();"; + protected final String TEXT_2379 = NL + "\t\t\t\treturn "; + protected final String TEXT_2380 = "();"; + protected final String TEXT_2381 = NL + "\t\t}"; + protected final String TEXT_2382 = NL + "\t\treturn super.eGet(featureID, resolve, coreType);"; + protected final String TEXT_2383 = NL + "\t\treturn eDynamicGet(featureID, resolve, coreType);"; + protected final String TEXT_2384 = NL + "\t}" + NL; + protected final String TEXT_2385 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2386 = NL + "\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2387 = NL + "\t@Override"; + protected final String TEXT_2388 = NL + "\tpublic void eSet(int featureID, Object newValue)" + NL + "\t{" + NL + "\t\tswitch (featureID"; + protected final String TEXT_2389 = ")" + NL + "\t\t{"; + protected final String TEXT_2390 = NL + "\t\t\tcase "; + protected final String TEXT_2391 = ":"; + protected final String TEXT_2392 = NL + "\t\t\t\t(("; + protected final String TEXT_2393 = ".Internal)(("; + protected final String TEXT_2394 = ".Internal.Wrapper)"; + protected final String TEXT_2395 = "()).featureMap()).set(newValue);"; + protected final String TEXT_2396 = NL + "\t\t\t\t(("; + protected final String TEXT_2397 = ".Internal)"; + protected final String TEXT_2398 = "()).set(newValue);"; + protected final String TEXT_2399 = NL + "\t\t\t\t(("; + protected final String TEXT_2400 = ".Setting)(("; + protected final String TEXT_2401 = ".InternalMapView"; + protected final String TEXT_2402 = ")"; + protected final String TEXT_2403 = "()).eMap()).set(newValue);"; + protected final String TEXT_2404 = NL + "\t\t\t\t(("; + protected final String TEXT_2405 = ".Setting)"; + protected final String TEXT_2406 = "()).set(newValue);"; + protected final String TEXT_2407 = NL + "\t\t\t\t"; + protected final String TEXT_2408 = "().clear();" + NL + "\t\t\t\t"; + protected final String TEXT_2409 = "().addAll(("; + protected final String TEXT_2410 = "<? extends "; + protected final String TEXT_2411 = ">"; + protected final String TEXT_2412 = ")newValue);"; + protected final String TEXT_2413 = NL + "\t\t\t\tset"; + protected final String TEXT_2414 = "((("; + protected final String TEXT_2415 = ")newValue)."; + protected final String TEXT_2416 = "());"; protected final String TEXT_2417 = NL + "\t\t\t\tset"; protected final String TEXT_2418 = "("; - protected final String TEXT_2419 = ");"; - protected final String TEXT_2420 = NL + "\t\t\t\treturn;"; - protected final String TEXT_2421 = NL + "\t\t}"; - protected final String TEXT_2422 = NL + "\t\tsuper.eUnset(featureID);"; - protected final String TEXT_2423 = NL + "\t\teDynamicUnset(featureID);"; - protected final String TEXT_2424 = NL + "\t}" + NL; - protected final String TEXT_2425 = NL; - protected final String TEXT_2426 = "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2427 = NL + "\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2419 = "("; + protected final String TEXT_2420 = ")"; + protected final String TEXT_2421 = "newValue);"; + protected final String TEXT_2422 = NL + "\t\t\t\treturn;"; + protected final String TEXT_2423 = NL + "\t\t}"; + protected final String TEXT_2424 = NL + "\t\tsuper.eSet(featureID, newValue);"; + protected final String TEXT_2425 = NL + "\t\teDynamicSet(featureID, newValue);"; + protected final String TEXT_2426 = NL + "\t}" + NL; + protected final String TEXT_2427 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; protected final String TEXT_2428 = NL + "\t@Override"; - protected final String TEXT_2429 = NL + "\tpublic boolean eIsSet(int featureID)" + NL + "\t{" + NL + "\t\tswitch (featureID)" + NL + "\t\t{"; - protected final String TEXT_2430 = NL + "\t\t\tcase "; - protected final String TEXT_2431 = ":"; - protected final String TEXT_2432 = NL + "\t\t\t\treturn isSet"; - protected final String TEXT_2433 = "();"; - protected final String TEXT_2434 = NL + "\t\t\t\treturn isSet"; - protected final String TEXT_2435 = "();"; - protected final String TEXT_2436 = NL + "\t\t\t\treturn "; - protected final String TEXT_2437 = "__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);"; - protected final String TEXT_2438 = NL + "\t\t\t\treturn !(("; - protected final String TEXT_2439 = ".Internal.Wrapper)"; - protected final String TEXT_2440 = "()).featureMap().isEmpty();"; - protected final String TEXT_2441 = NL + "\t\t\t\treturn "; - protected final String TEXT_2442 = " != null && !"; - protected final String TEXT_2443 = ".featureMap().isEmpty();"; - protected final String TEXT_2444 = NL + "\t\t\t\treturn "; - protected final String TEXT_2445 = " != null && !"; - protected final String TEXT_2446 = ".isEmpty();"; - protected final String TEXT_2447 = NL + "\t\t\t\t"; - protected final String TEXT_2448 = " "; - protected final String TEXT_2449 = " = ("; - protected final String TEXT_2450 = ")eVirtualGet("; - protected final String TEXT_2451 = ");" + NL + "\t\t\t\treturn "; - protected final String TEXT_2452 = " != null && !"; - protected final String TEXT_2453 = ".isEmpty();"; - protected final String TEXT_2454 = NL + "\t\t\t\treturn !"; - protected final String TEXT_2455 = "().isEmpty();"; - protected final String TEXT_2456 = NL + "\t\t\t\treturn isSet"; - protected final String TEXT_2457 = "();"; - protected final String TEXT_2458 = NL + "\t\t\t\treturn "; - protected final String TEXT_2459 = " != null;"; - protected final String TEXT_2460 = NL + "\t\t\t\treturn eVirtualGet("; - protected final String TEXT_2461 = ") != null;"; - protected final String TEXT_2462 = NL + "\t\t\t\treturn basicGet"; - protected final String TEXT_2463 = "() != null;"; + protected final String TEXT_2429 = NL + "\tpublic void eUnset(int featureID)" + NL + "\t{" + NL + "\t\tswitch (featureID"; + protected final String TEXT_2430 = ")" + NL + "\t\t{"; + protected final String TEXT_2431 = NL + "\t\t\tcase "; + protected final String TEXT_2432 = ":"; + protected final String TEXT_2433 = NL + "\t\t\t\t(("; + protected final String TEXT_2434 = ".Internal.Wrapper)"; + protected final String TEXT_2435 = "()).featureMap().clear();"; + protected final String TEXT_2436 = NL + "\t\t\t\t"; + protected final String TEXT_2437 = "().clear();"; + protected final String TEXT_2438 = NL + "\t\t\t\tunset"; + protected final String TEXT_2439 = "();"; + protected final String TEXT_2440 = NL + "\t\t\t\tset"; + protected final String TEXT_2441 = "(("; + protected final String TEXT_2442 = ")null);"; + protected final String TEXT_2443 = NL + "\t\t\t\t"; + protected final String TEXT_2444 = "__ESETTING_DELEGATE.dynamicUnset(this, null, 0);"; + protected final String TEXT_2445 = NL + "\t\t\t\tset"; + protected final String TEXT_2446 = "("; + protected final String TEXT_2447 = ");"; + protected final String TEXT_2448 = NL + "\t\t\t\treturn;"; + protected final String TEXT_2449 = NL + "\t\t}"; + protected final String TEXT_2450 = NL + "\t\tsuper.eUnset(featureID);"; + protected final String TEXT_2451 = NL + "\t\teDynamicUnset(featureID);"; + protected final String TEXT_2452 = NL + "\t}" + NL; + protected final String TEXT_2453 = NL; + protected final String TEXT_2454 = "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2455 = NL + "\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2456 = NL + "\t@Override"; + protected final String TEXT_2457 = NL + "\tpublic boolean eIsSet(int featureID)" + NL + "\t{" + NL + "\t\tswitch (featureID)" + NL + "\t\t{"; + protected final String TEXT_2458 = NL + "\t\t\tcase "; + protected final String TEXT_2459 = ":"; + protected final String TEXT_2460 = NL + "\t\t\t\treturn isSet"; + protected final String TEXT_2461 = "();"; + protected final String TEXT_2462 = NL + "\t\t\t\treturn isSet"; + protected final String TEXT_2463 = "();"; protected final String TEXT_2464 = NL + "\t\t\t\treturn "; - protected final String TEXT_2465 = " != null;"; - protected final String TEXT_2466 = NL + "\t\t\t\treturn eVirtualGet("; - protected final String TEXT_2467 = ") != null;"; - protected final String TEXT_2468 = NL + "\t\t\t\treturn "; - protected final String TEXT_2469 = "() != null;"; - protected final String TEXT_2470 = NL + "\t\t\t\treturn (("; - protected final String TEXT_2471 = " & "; - protected final String TEXT_2472 = "_EFLAG) != 0) != "; - protected final String TEXT_2473 = ";"; - protected final String TEXT_2474 = NL + "\t\t\t\treturn ("; - protected final String TEXT_2475 = " & "; - protected final String TEXT_2476 = "_EFLAG) != "; - protected final String TEXT_2477 = "_EFLAG_DEFAULT;"; - protected final String TEXT_2478 = NL + "\t\t\t\treturn "; - protected final String TEXT_2479 = " != "; - protected final String TEXT_2480 = ";"; - protected final String TEXT_2481 = NL + "\t\t\t\treturn eVirtualGet("; - protected final String TEXT_2482 = ", "; - protected final String TEXT_2483 = ") != "; - protected final String TEXT_2484 = ";"; - protected final String TEXT_2485 = NL + "\t\t\t\treturn "; - protected final String TEXT_2486 = "() != "; - protected final String TEXT_2487 = ";"; - protected final String TEXT_2488 = NL + "\t\t\t\treturn "; - protected final String TEXT_2489 = " == null ? "; - protected final String TEXT_2490 = " != null : !"; - protected final String TEXT_2491 = ".equals("; - protected final String TEXT_2492 = ");"; - protected final String TEXT_2493 = NL + "\t\t\t\t"; - protected final String TEXT_2494 = " "; - protected final String TEXT_2495 = " = ("; - protected final String TEXT_2496 = ")eVirtualGet("; - protected final String TEXT_2497 = ", "; - protected final String TEXT_2498 = ");" + NL + "\t\t\t\treturn "; - protected final String TEXT_2499 = " == null ? "; - protected final String TEXT_2500 = " != null : !"; - protected final String TEXT_2501 = ".equals("; - protected final String TEXT_2502 = ");"; - protected final String TEXT_2503 = NL + "\t\t\t\treturn "; - protected final String TEXT_2504 = " == null ? "; - protected final String TEXT_2505 = "() != null : !"; - protected final String TEXT_2506 = ".equals("; - protected final String TEXT_2507 = "());"; - protected final String TEXT_2508 = NL + "\t\t}"; - protected final String TEXT_2509 = NL + "\t\treturn super.eIsSet(featureID);"; - protected final String TEXT_2510 = NL + "\t\treturn eDynamicIsSet(featureID);"; - protected final String TEXT_2511 = NL + "\t}" + NL; - protected final String TEXT_2512 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2513 = NL + "\t@Override"; - protected final String TEXT_2514 = NL + "\tpublic int eBaseStructuralFeatureID(int derivedFeatureID, Class"; - protected final String TEXT_2515 = " baseClass)" + NL + "\t{"; - protected final String TEXT_2516 = NL + "\t\tif (baseClass == "; - protected final String TEXT_2517 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (derivedFeatureID"; - protected final String TEXT_2518 = ")" + NL + "\t\t\t{"; - protected final String TEXT_2519 = NL + "\t\t\t\tcase "; - protected final String TEXT_2520 = ": return "; - protected final String TEXT_2521 = ";"; - protected final String TEXT_2522 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2523 = NL + "\t\treturn super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);" + NL + "\t}"; - protected final String TEXT_2524 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2525 = NL + "\t@Override"; - protected final String TEXT_2526 = NL + "\tpublic int eDerivedStructuralFeatureID(int baseFeatureID, Class"; - protected final String TEXT_2527 = " baseClass)" + NL + "\t{"; - protected final String TEXT_2528 = NL + "\t\tif (baseClass == "; - protected final String TEXT_2529 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID)" + NL + "\t\t\t{"; - protected final String TEXT_2530 = NL + "\t\t\t\tcase "; - protected final String TEXT_2531 = ": return "; - protected final String TEXT_2532 = ";"; - protected final String TEXT_2533 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2534 = NL + "\t\tif (baseClass == "; - protected final String TEXT_2535 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID"; - protected final String TEXT_2536 = ")" + NL + "\t\t\t{"; - protected final String TEXT_2537 = NL + "\t\t\t\tcase "; - protected final String TEXT_2538 = ": return "; - protected final String TEXT_2539 = ";"; - protected final String TEXT_2540 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2541 = NL + "\t\treturn super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);" + NL + "\t}" + NL; - protected final String TEXT_2542 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2543 = NL + "\t@Override"; - protected final String TEXT_2544 = NL + "\tpublic int eDerivedOperationID(int baseOperationID, Class"; - protected final String TEXT_2545 = " baseClass)" + NL + "\t{"; - protected final String TEXT_2546 = NL + "\t\tif (baseClass == "; - protected final String TEXT_2547 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{"; - protected final String TEXT_2548 = NL + "\t\t\t\tcase "; - protected final String TEXT_2549 = ": return "; - protected final String TEXT_2550 = ";"; - protected final String TEXT_2551 = NL + "\t\t\t\tdefault: return super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2552 = NL + "\t\tif (baseClass == "; - protected final String TEXT_2553 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{"; - protected final String TEXT_2554 = NL + "\t\t\t\tcase "; - protected final String TEXT_2555 = ": return "; - protected final String TEXT_2556 = ";"; - protected final String TEXT_2557 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2558 = NL + "\t\tif (baseClass == "; - protected final String TEXT_2559 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID"; - protected final String TEXT_2560 = ")" + NL + "\t\t\t{"; - protected final String TEXT_2561 = NL + "\t\t\t\tcase "; - protected final String TEXT_2562 = ": return "; - protected final String TEXT_2563 = ";"; - protected final String TEXT_2564 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2565 = NL + "\t\treturn super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t}" + NL; - protected final String TEXT_2566 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2567 = NL + "\t@Override"; - protected final String TEXT_2568 = NL + "\tprotected Object[] eVirtualValues()" + NL + "\t{" + NL + "\t\treturn "; - protected final String TEXT_2569 = ";" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2570 = NL + "\t@Override"; - protected final String TEXT_2571 = NL + "\tprotected void eSetVirtualValues(Object[] newValues)" + NL + "\t{" + NL + "\t\t"; - protected final String TEXT_2572 = " = newValues;" + NL + "\t}" + NL; - protected final String TEXT_2573 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2574 = NL + "\t@Override"; - protected final String TEXT_2575 = NL + "\tprotected int eVirtualIndexBits(int offset)" + NL + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{"; - protected final String TEXT_2576 = NL + "\t\t\tcase "; - protected final String TEXT_2577 = " :" + NL + "\t\t\t\treturn "; + protected final String TEXT_2465 = "__ESETTING_DELEGATE.dynamicIsSet(this, null, 0);"; + protected final String TEXT_2466 = NL + "\t\t\t\treturn !(("; + protected final String TEXT_2467 = ".Internal.Wrapper)"; + protected final String TEXT_2468 = "()).featureMap().isEmpty();"; + protected final String TEXT_2469 = NL + "\t\t\t\treturn "; + protected final String TEXT_2470 = " != null && !"; + protected final String TEXT_2471 = ".featureMap().isEmpty();"; + protected final String TEXT_2472 = NL + "\t\t\t\treturn "; + protected final String TEXT_2473 = " != null && !"; + protected final String TEXT_2474 = ".isEmpty();"; + protected final String TEXT_2475 = NL + "\t\t\t\t"; + protected final String TEXT_2476 = " "; + protected final String TEXT_2477 = " = ("; + protected final String TEXT_2478 = ")eVirtualGet("; + protected final String TEXT_2479 = ");" + NL + "\t\t\t\treturn "; + protected final String TEXT_2480 = " != null && !"; + protected final String TEXT_2481 = ".isEmpty();"; + protected final String TEXT_2482 = NL + "\t\t\t\treturn !"; + protected final String TEXT_2483 = "().isEmpty();"; + protected final String TEXT_2484 = NL + "\t\t\t\treturn isSet"; + protected final String TEXT_2485 = "();"; + protected final String TEXT_2486 = NL + "\t\t\t\treturn "; + protected final String TEXT_2487 = " != null;"; + protected final String TEXT_2488 = NL + "\t\t\t\treturn eVirtualGet("; + protected final String TEXT_2489 = ") != null;"; + protected final String TEXT_2490 = NL + "\t\t\t\treturn basicGet"; + protected final String TEXT_2491 = "() != null;"; + protected final String TEXT_2492 = NL + "\t\t\t\treturn "; + protected final String TEXT_2493 = " != null;"; + protected final String TEXT_2494 = NL + "\t\t\t\treturn eVirtualGet("; + protected final String TEXT_2495 = ") != null;"; + protected final String TEXT_2496 = NL + "\t\t\t\treturn "; + protected final String TEXT_2497 = "() != null;"; + protected final String TEXT_2498 = NL + "\t\t\t\treturn (("; + protected final String TEXT_2499 = " & "; + protected final String TEXT_2500 = "_EFLAG) != 0) != "; + protected final String TEXT_2501 = ";"; + protected final String TEXT_2502 = NL + "\t\t\t\treturn ("; + protected final String TEXT_2503 = " & "; + protected final String TEXT_2504 = "_EFLAG) != "; + protected final String TEXT_2505 = "_EFLAG_DEFAULT;"; + protected final String TEXT_2506 = NL + "\t\t\t\treturn "; + protected final String TEXT_2507 = " != "; + protected final String TEXT_2508 = ";"; + protected final String TEXT_2509 = NL + "\t\t\t\treturn eVirtualGet("; + protected final String TEXT_2510 = ", "; + protected final String TEXT_2511 = ") != "; + protected final String TEXT_2512 = ";"; + protected final String TEXT_2513 = NL + "\t\t\t\treturn "; + protected final String TEXT_2514 = "() != "; + protected final String TEXT_2515 = ";"; + protected final String TEXT_2516 = NL + "\t\t\t\treturn "; + protected final String TEXT_2517 = " == null ? "; + protected final String TEXT_2518 = " != null : !"; + protected final String TEXT_2519 = ".equals("; + protected final String TEXT_2520 = ");"; + protected final String TEXT_2521 = NL + "\t\t\t\t"; + protected final String TEXT_2522 = " "; + protected final String TEXT_2523 = " = ("; + protected final String TEXT_2524 = ")eVirtualGet("; + protected final String TEXT_2525 = ", "; + protected final String TEXT_2526 = ");" + NL + "\t\t\t\treturn "; + protected final String TEXT_2527 = " == null ? "; + protected final String TEXT_2528 = " != null : !"; + protected final String TEXT_2529 = ".equals("; + protected final String TEXT_2530 = ");"; + protected final String TEXT_2531 = NL + "\t\t\t\treturn "; + protected final String TEXT_2532 = " == null ? "; + protected final String TEXT_2533 = "() != null : !"; + protected final String TEXT_2534 = ".equals("; + protected final String TEXT_2535 = "());"; + protected final String TEXT_2536 = NL + "\t\t}"; + protected final String TEXT_2537 = NL + "\t\treturn super.eIsSet(featureID);"; + protected final String TEXT_2538 = NL + "\t\treturn eDynamicIsSet(featureID);"; + protected final String TEXT_2539 = NL + "\t}" + NL; + protected final String TEXT_2540 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2541 = NL + "\t@Override"; + protected final String TEXT_2542 = NL + "\tpublic int eBaseStructuralFeatureID(int derivedFeatureID, Class"; + protected final String TEXT_2543 = " baseClass)" + NL + "\t{"; + protected final String TEXT_2544 = NL + "\t\tif (baseClass == "; + protected final String TEXT_2545 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (derivedFeatureID"; + protected final String TEXT_2546 = ")" + NL + "\t\t\t{"; + protected final String TEXT_2547 = NL + "\t\t\t\tcase "; + protected final String TEXT_2548 = ": return "; + protected final String TEXT_2549 = ";"; + protected final String TEXT_2550 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2551 = NL + "\t\treturn super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);" + NL + "\t}"; + protected final String TEXT_2552 = NL + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2553 = NL + "\t@Override"; + protected final String TEXT_2554 = NL + "\tpublic int eDerivedStructuralFeatureID(int baseFeatureID, Class"; + protected final String TEXT_2555 = " baseClass)" + NL + "\t{"; + protected final String TEXT_2556 = NL + "\t\tif (baseClass == "; + protected final String TEXT_2557 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID)" + NL + "\t\t\t{"; + protected final String TEXT_2558 = NL + "\t\t\t\tcase "; + protected final String TEXT_2559 = ": return "; + protected final String TEXT_2560 = ";"; + protected final String TEXT_2561 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2562 = NL + "\t\tif (baseClass == "; + protected final String TEXT_2563 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID"; + protected final String TEXT_2564 = ")" + NL + "\t\t\t{"; + protected final String TEXT_2565 = NL + "\t\t\t\tcase "; + protected final String TEXT_2566 = ": return "; + protected final String TEXT_2567 = ";"; + protected final String TEXT_2568 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2569 = NL + "\t\treturn super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);" + NL + "\t}" + NL; + protected final String TEXT_2570 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2571 = NL + "\t@Override"; + protected final String TEXT_2572 = NL + "\tpublic int eDerivedOperationID(int baseOperationID, Class"; + protected final String TEXT_2573 = " baseClass)" + NL + "\t{"; + protected final String TEXT_2574 = NL + "\t\tif (baseClass == "; + protected final String TEXT_2575 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{"; + protected final String TEXT_2576 = NL + "\t\t\t\tcase "; + protected final String TEXT_2577 = ": return "; protected final String TEXT_2578 = ";"; - protected final String TEXT_2579 = 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_2580 = NL + "\t@Override"; - protected final String TEXT_2581 = NL + "\tprotected void eSetVirtualIndexBits(int offset, int newIndexBits)" + NL + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{"; - protected final String TEXT_2582 = NL + "\t\t\tcase "; - protected final String TEXT_2583 = " :" + NL + "\t\t\t\t"; - protected final String TEXT_2584 = " = newIndexBits;" + NL + "\t\t\t\tbreak;"; - protected final String TEXT_2585 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();" + NL + "\t\t}" + NL + "\t}" + NL; - protected final String TEXT_2586 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2587 = NL + "\t@Override"; - protected final String TEXT_2588 = NL + "\t@SuppressWarnings("; - protected final String TEXT_2589 = "\"unchecked\""; - protected final String TEXT_2590 = "{\"rawtypes\", \"unchecked\" }"; - protected final String TEXT_2591 = ")"; - protected final String TEXT_2592 = NL + "\tpublic Object eInvoke(int operationID, "; - protected final String TEXT_2593 = " arguments) throws "; - protected final String TEXT_2594 = NL + "\t{" + NL + "\t\tswitch (operationID"; - protected final String TEXT_2595 = ")" + NL + "\t\t{"; - protected final String TEXT_2596 = NL + "\t\t\tcase "; - protected final String TEXT_2597 = ":"; - protected final String TEXT_2598 = NL + "\t\t\t\ttry" + NL + "\t\t\t\t{"; - protected final String TEXT_2599 = NL + "\t\t\t\t"; - protected final String TEXT_2600 = "("; - protected final String TEXT_2601 = "("; - protected final String TEXT_2602 = "("; - protected final String TEXT_2603 = ")"; - protected final String TEXT_2604 = "arguments.get("; - protected final String TEXT_2605 = ")"; - protected final String TEXT_2606 = ")."; - protected final String TEXT_2607 = "()"; - protected final String TEXT_2608 = ", "; - protected final String TEXT_2609 = ");" + NL + "\t\t\t\t"; - protected final String TEXT_2610 = "return null;"; - protected final String TEXT_2611 = NL + "\t\t\t\t"; - protected final String TEXT_2612 = "return "; - protected final String TEXT_2613 = "new "; - protected final String TEXT_2614 = "("; - protected final String TEXT_2615 = "("; - protected final String TEXT_2616 = "("; - protected final String TEXT_2617 = "("; - protected final String TEXT_2618 = ")"; - protected final String TEXT_2619 = "arguments.get("; - protected final String TEXT_2620 = ")"; - protected final String TEXT_2621 = ")."; - protected final String TEXT_2622 = "()"; - protected final String TEXT_2623 = ", "; - protected final String TEXT_2624 = ")"; - protected final String TEXT_2625 = ")"; - protected final String TEXT_2626 = ";"; - protected final String TEXT_2627 = NL + "\t\t\t\t}" + NL + "\t\t\t\tcatch ("; - protected final String TEXT_2628 = " throwable)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tthrow new "; - protected final String TEXT_2629 = "(throwable);" + NL + "\t\t\t\t}"; - protected final String TEXT_2630 = NL + "\t\t}"; - protected final String TEXT_2631 = NL + "\t\treturn super.eInvoke(operationID, arguments);"; - protected final String TEXT_2632 = NL + "\t\treturn eDynamicInvoke(operationID, arguments);"; - protected final String TEXT_2633 = NL + "\t}" + NL; - protected final String TEXT_2634 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2635 = NL + "\t@Override"; - protected final String TEXT_2636 = 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_2637 = NL + "\t\tresult.append(\" ("; - protected final String TEXT_2638 = ": \");"; - protected final String TEXT_2639 = NL + "\t\tresult.append(\", "; - protected final String TEXT_2640 = ": \");"; - protected final String TEXT_2641 = NL + "\t\tif (eVirtualIsSet("; - protected final String TEXT_2642 = ")) result.append(eVirtualGet("; - protected final String TEXT_2643 = ")); else result.append(\"<unset>\");"; - protected final String TEXT_2644 = NL + "\t\tif ("; + protected final String TEXT_2579 = NL + "\t\t\t\tdefault: return super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2580 = NL + "\t\tif (baseClass == "; + protected final String TEXT_2581 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID)" + NL + "\t\t\t{"; + protected final String TEXT_2582 = NL + "\t\t\t\tcase "; + protected final String TEXT_2583 = ": return "; + protected final String TEXT_2584 = ";"; + protected final String TEXT_2585 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2586 = NL + "\t\tif (baseClass == "; + protected final String TEXT_2587 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseOperationID"; + protected final String TEXT_2588 = ")" + NL + "\t\t\t{"; + protected final String TEXT_2589 = NL + "\t\t\t\tcase "; + protected final String TEXT_2590 = ": return "; + protected final String TEXT_2591 = ";"; + protected final String TEXT_2592 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2593 = NL + "\t\treturn super.eDerivedOperationID(baseOperationID, baseClass);" + NL + "\t}" + NL; + protected final String TEXT_2594 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2595 = NL + "\t@Override"; + protected final String TEXT_2596 = NL + "\tprotected Object[] eVirtualValues()" + NL + "\t{" + NL + "\t\treturn "; + protected final String TEXT_2597 = ";" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2598 = NL + "\t@Override"; + protected final String TEXT_2599 = NL + "\tprotected void eSetVirtualValues(Object[] newValues)" + NL + "\t{" + NL + "\t\t"; + protected final String TEXT_2600 = " = newValues;" + NL + "\t}" + NL; + protected final String TEXT_2601 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2602 = NL + "\t@Override"; + protected final String TEXT_2603 = NL + "\tprotected int eVirtualIndexBits(int offset)" + NL + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{"; + protected final String TEXT_2604 = NL + "\t\t\tcase "; + protected final String TEXT_2605 = " :" + NL + "\t\t\t\treturn "; + protected final String TEXT_2606 = ";"; + protected final String TEXT_2607 = 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_2608 = NL + "\t@Override"; + protected final String TEXT_2609 = NL + "\tprotected void eSetVirtualIndexBits(int offset, int newIndexBits)" + NL + "\t{" + NL + "\t\tswitch (offset)" + NL + "\t\t{"; + protected final String TEXT_2610 = NL + "\t\t\tcase "; + protected final String TEXT_2611 = " :" + NL + "\t\t\t\t"; + protected final String TEXT_2612 = " = newIndexBits;" + NL + "\t\t\t\tbreak;"; + protected final String TEXT_2613 = NL + "\t\t\tdefault :" + NL + "\t\t\t\tthrow new IndexOutOfBoundsException();" + NL + "\t\t}" + NL + "\t}" + NL; + protected final String TEXT_2614 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2615 = NL + "\t@Override"; + protected final String TEXT_2616 = NL + "\t@SuppressWarnings("; + protected final String TEXT_2617 = "\"unchecked\""; + protected final String TEXT_2618 = "{\"rawtypes\", \"unchecked\" }"; + protected final String TEXT_2619 = ")"; + protected final String TEXT_2620 = NL + "\tpublic Object eInvoke(int operationID, "; + protected final String TEXT_2621 = " arguments) throws "; + protected final String TEXT_2622 = NL + "\t{" + NL + "\t\tswitch (operationID"; + protected final String TEXT_2623 = ")" + NL + "\t\t{"; + protected final String TEXT_2624 = NL + "\t\t\tcase "; + protected final String TEXT_2625 = ":"; + protected final String TEXT_2626 = NL + "\t\t\t\ttry" + NL + "\t\t\t\t{"; + protected final String TEXT_2627 = NL + "\t\t\t\t"; + protected final String TEXT_2628 = "("; + protected final String TEXT_2629 = "("; + protected final String TEXT_2630 = "("; + protected final String TEXT_2631 = ")"; + protected final String TEXT_2632 = "arguments.get("; + protected final String TEXT_2633 = ")"; + protected final String TEXT_2634 = ")."; + protected final String TEXT_2635 = "()"; + protected final String TEXT_2636 = ", "; + protected final String TEXT_2637 = ");" + NL + "\t\t\t\t"; + protected final String TEXT_2638 = "return null;"; + protected final String TEXT_2639 = NL + "\t\t\t\t"; + protected final String TEXT_2640 = "return "; + protected final String TEXT_2641 = "new "; + protected final String TEXT_2642 = "("; + protected final String TEXT_2643 = "("; + protected final String TEXT_2644 = "("; protected final String TEXT_2645 = "("; - protected final String TEXT_2646 = " & "; - protected final String TEXT_2647 = "_ESETFLAG) != 0"; - protected final String TEXT_2648 = "ESet"; - protected final String TEXT_2649 = ") result.append(("; - protected final String TEXT_2650 = " & "; - protected final String TEXT_2651 = "_EFLAG) != 0); else result.append(\"<unset>\");"; - protected final String TEXT_2652 = NL + "\t\tif ("; - protected final String TEXT_2653 = "("; - protected final String TEXT_2654 = " & "; - protected final String TEXT_2655 = "_ESETFLAG) != 0"; - protected final String TEXT_2656 = "ESet"; - protected final String TEXT_2657 = ") result.append("; - protected final String TEXT_2658 = "_EFLAG_VALUES[("; - protected final String TEXT_2659 = " & "; - protected final String TEXT_2660 = "_EFLAG) >>> "; - protected final String TEXT_2661 = "_EFLAG_OFFSET]); else result.append(\"<unset>\");"; - protected final String TEXT_2662 = NL + "\t\tif ("; - protected final String TEXT_2663 = "("; - protected final String TEXT_2664 = " & "; - protected final String TEXT_2665 = "_ESETFLAG) != 0"; - protected final String TEXT_2666 = "ESet"; - protected final String TEXT_2667 = ") result.append("; - protected final String TEXT_2668 = "); else result.append(\"<unset>\");"; - protected final String TEXT_2669 = NL + "\t\tresult.append(eVirtualGet("; - protected final String TEXT_2670 = ", "; - protected final String TEXT_2671 = "));"; - protected final String TEXT_2672 = NL + "\t\tresult.append(("; - protected final String TEXT_2673 = " & "; - protected final String TEXT_2674 = "_EFLAG) != 0);"; - protected final String TEXT_2675 = NL + "\t\tresult.append("; - protected final String TEXT_2676 = "_EFLAG_VALUES[("; - protected final String TEXT_2677 = " & "; - protected final String TEXT_2678 = "_EFLAG) >>> "; - protected final String TEXT_2679 = "_EFLAG_OFFSET]);"; - protected final String TEXT_2680 = NL + "\t\tresult.append("; - protected final String TEXT_2681 = ");"; - protected final String TEXT_2682 = NL + "\t\tresult.append(')');" + NL + "\t\treturn result.toString();" + NL + "\t}" + NL; - protected final String TEXT_2683 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2684 = NL + "\t@"; - protected final String TEXT_2685 = 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_2686 = " 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_2687 = " getKey()" + NL + "\t{"; - protected final String TEXT_2688 = NL + "\t\treturn new "; - protected final String TEXT_2689 = "(getTypedKey());"; - protected final String TEXT_2690 = NL + "\t\treturn getTypedKey();"; - protected final String TEXT_2691 = 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_2692 = " key)" + NL + "\t{"; - protected final String TEXT_2693 = NL + "\t\tgetTypedKey().addAll("; - protected final String TEXT_2694 = "("; - protected final String TEXT_2695 = ")"; - protected final String TEXT_2696 = "key);"; - protected final String TEXT_2697 = NL + "\t\tsetTypedKey(key);"; - protected final String TEXT_2698 = NL + "\t\tsetTypedKey((("; - protected final String TEXT_2699 = ")key)."; - protected final String TEXT_2700 = "());"; - protected final String TEXT_2701 = NL + "\t\tsetTypedKey(("; - protected final String TEXT_2702 = ")key);"; - protected final String TEXT_2703 = 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_2704 = " getValue()" + NL + "\t{"; - protected final String TEXT_2705 = NL + "\t\treturn new "; - protected final String TEXT_2706 = "(getTypedValue());"; - protected final String TEXT_2707 = NL + "\t\treturn getTypedValue();"; - protected final String TEXT_2708 = 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_2709 = " setValue("; - protected final String TEXT_2710 = " value)" + NL + "\t{" + NL + "\t\t"; - protected final String TEXT_2711 = " oldValue = getValue();"; - protected final String TEXT_2712 = NL + "\t\tgetTypedValue().clear();" + NL + "\t\tgetTypedValue().addAll("; - protected final String TEXT_2713 = "("; - protected final String TEXT_2714 = ")"; - protected final String TEXT_2715 = "value);"; - protected final String TEXT_2716 = NL + "\t\tsetTypedValue(value);"; - protected final String TEXT_2717 = NL + "\t\tsetTypedValue((("; - protected final String TEXT_2718 = ")value)."; - protected final String TEXT_2719 = "());"; - protected final String TEXT_2720 = NL + "\t\tsetTypedValue(("; - protected final String TEXT_2721 = ")value);"; - protected final String TEXT_2722 = 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_2723 = NL + "\t@SuppressWarnings(\"unchecked\")"; - protected final String TEXT_2724 = NL + "\tpublic "; - protected final String TEXT_2725 = " getEMap()" + NL + "\t{" + NL + "\t\t"; - protected final String TEXT_2726 = " container = eContainer();" + NL + "\t\treturn container == null ? null : ("; - protected final String TEXT_2727 = ")container.eGet(eContainmentFeature());" + NL + "\t}" + NL; - protected final String TEXT_2728 = 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_2729 = " EOCL_ENV = "; - protected final String TEXT_2730 = ".newInstance();" + NL; - protected final String TEXT_2731 = 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_2732 = " create("; - protected final String TEXT_2733 = " eClass)" + NL + "\t{" + NL + "\t\treturn "; - protected final String TEXT_2734 = ".create(eClass);" + NL + "\t}" + NL; - protected final String TEXT_2735 = NL + "\t/**" + NL + "\t * Retrieves the cache adapter for this '<em><b>"; - protected final String TEXT_2736 = "</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_2737 = "</b></em>'." + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected "; - protected final String TEXT_2738 = " getCacheAdapter()" + NL + "\t{" + NL + "\t\treturn "; - protected final String TEXT_2739 = ".getCacheAdapter(this);" + NL + "\t}" + NL; - protected final String TEXT_2740 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2741 = NL + "\t@Override"; - protected final String TEXT_2742 = NL + "\tprotected "; - protected final String TEXT_2743 = " "; - protected final String TEXT_2744 = "Helper("; - protected final String TEXT_2745 = " "; - protected final String TEXT_2746 = ")" + NL + "\t{"; - protected final String TEXT_2747 = NL + "\t\t"; - protected final String TEXT_2748 = ".addAll(super."; - protected final String TEXT_2749 = "());"; - protected final String TEXT_2750 = NL + "\t\tsuper."; - protected final String TEXT_2751 = "Helper("; - protected final String TEXT_2752 = ");"; - protected final String TEXT_2753 = NL + "\t\tif (isSet"; - protected final String TEXT_2754 = "())" + NL + "\t\t{" + NL + "\t\t\tfor ("; - protected final String TEXT_2755 = "<"; - protected final String TEXT_2756 = ">"; - protected final String TEXT_2757 = " i = (("; - protected final String TEXT_2758 = ") "; - protected final String TEXT_2759 = "()).basicIterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_2760 = ".add(i.next());" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2761 = NL + "\t\tif (eIsSet("; - protected final String TEXT_2762 = "))" + NL + "\t\t{" + NL + "\t\t\tfor ("; - protected final String TEXT_2763 = "<"; - protected final String TEXT_2764 = ">"; - protected final String TEXT_2765 = " i = (("; - protected final String TEXT_2766 = ") "; - protected final String TEXT_2767 = "()).basicIterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_2768 = ".add(i.next());" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2769 = NL + "\t\t"; - protected final String TEXT_2770 = " "; - protected final String TEXT_2771 = " = "; - protected final String TEXT_2772 = "();" + NL + "\t\tif (!"; - protected final String TEXT_2773 = ".isEmpty())" + NL + "\t\t{" + NL + "\t\t\tfor ("; - protected final String TEXT_2774 = "<"; - protected final String TEXT_2775 = ">"; - protected final String TEXT_2776 = " i = (("; - protected final String TEXT_2777 = ") "; - protected final String TEXT_2778 = ").basicIterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_2779 = ".add(i.next());" + NL + "\t\t\t}" + NL + "\t\t}"; - protected final String TEXT_2780 = NL + "\t\tif (isSet"; - protected final String TEXT_2781 = "())" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2782 = ".addAll("; - protected final String TEXT_2783 = "());" + NL + "\t\t}"; - protected final String TEXT_2784 = NL + "\t\tif (eIsSet("; - protected final String TEXT_2785 = "))" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2786 = ".addAll("; - protected final String TEXT_2787 = "());" + NL + "\t\t}"; - protected final String TEXT_2788 = NL + "\t\t"; - protected final String TEXT_2789 = " "; - protected final String TEXT_2790 = " = "; - protected final String TEXT_2791 = "();" + NL + "\t\tif (!"; - protected final String TEXT_2792 = ".isEmpty())" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2793 = ".addAll("; - protected final String TEXT_2794 = ");" + NL + "\t\t}"; - protected final String TEXT_2795 = NL + "\t\tif (isSet"; - protected final String TEXT_2796 = "())" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2797 = ".add("; - protected final String TEXT_2798 = "basicGet"; - protected final String TEXT_2799 = "());" + NL + "\t\t}"; - protected final String TEXT_2800 = NL + "\t\t"; - protected final String TEXT_2801 = " "; - protected final String TEXT_2802 = " = "; - protected final String TEXT_2803 = "basicGet"; - protected final String TEXT_2804 = "();" + NL + "\t\tif ("; - protected final String TEXT_2805 = " != null)" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_2806 = ".add("; - protected final String TEXT_2807 = ");" + NL + "\t\t}"; - protected final String TEXT_2808 = NL + "\t\treturn "; - protected final String TEXT_2809 = ";" + NL + "\t}" + NL; - protected final String TEXT_2810 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2811 = NL + "\t@Override"; - protected final String TEXT_2812 = NL + "\tpublic boolean isSet"; - protected final String TEXT_2813 = "()" + NL + "\t{"; - protected final String TEXT_2814 = NL + "\t\treturn super.isSet"; - protected final String TEXT_2815 = "()"; - protected final String TEXT_2816 = NL + "\t\treturn isSet"; - protected final String TEXT_2817 = "()"; - protected final String TEXT_2818 = ";"; - protected final String TEXT_2819 = NL + "\t\treturn !"; - protected final String TEXT_2820 = "().isEmpty()"; - protected final String TEXT_2821 = ";"; - protected final String TEXT_2822 = NL + "\t\treturn "; - protected final String TEXT_2823 = "basicGet"; - protected final String TEXT_2824 = "() != null"; - protected final String TEXT_2825 = ";"; - protected final String TEXT_2826 = NL + "\t\treturn eIsSet("; - protected final String TEXT_2827 = ")"; - protected final String TEXT_2828 = ";"; - protected final String TEXT_2829 = NL + "\t\t\t|| isSet"; - protected final String TEXT_2830 = "()"; - protected final String TEXT_2831 = ";"; - protected final String TEXT_2832 = NL + "\t\t\t|| !"; - protected final String TEXT_2833 = "().isEmpty()"; - protected final String TEXT_2834 = ";"; - protected final String TEXT_2835 = NL + "\t\t\t|| "; - protected final String TEXT_2836 = "basicGet"; - protected final String TEXT_2837 = "() != null"; - protected final String TEXT_2838 = ";"; - protected final String TEXT_2839 = NL + "\t\t\t|| eIsSet("; - protected final String TEXT_2840 = ")"; - protected final String TEXT_2841 = ";"; + protected final String TEXT_2646 = ")"; + protected final String TEXT_2647 = "arguments.get("; + protected final String TEXT_2648 = ")"; + protected final String TEXT_2649 = ")."; + protected final String TEXT_2650 = "()"; + protected final String TEXT_2651 = ", "; + protected final String TEXT_2652 = ")"; + protected final String TEXT_2653 = ")"; + protected final String TEXT_2654 = ";"; + protected final String TEXT_2655 = NL + "\t\t\t\t}" + NL + "\t\t\t\tcatch ("; + protected final String TEXT_2656 = " throwable)" + NL + "\t\t\t\t{" + NL + "\t\t\t\t\tthrow new "; + protected final String TEXT_2657 = "(throwable);" + NL + "\t\t\t\t}"; + protected final String TEXT_2658 = NL + "\t\t}"; + protected final String TEXT_2659 = NL + "\t\treturn super.eInvoke(operationID, arguments);"; + protected final String TEXT_2660 = NL + "\t\treturn eDynamicInvoke(operationID, arguments);"; + protected final String TEXT_2661 = NL + "\t}" + NL; + protected final String TEXT_2662 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2663 = NL + "\t@Override"; + protected final String TEXT_2664 = 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_2665 = NL + "\t\tresult.append(\" ("; + protected final String TEXT_2666 = ": \");"; + protected final String TEXT_2667 = NL + "\t\tresult.append(\", "; + protected final String TEXT_2668 = ": \");"; + protected final String TEXT_2669 = NL + "\t\tif (eVirtualIsSet("; + protected final String TEXT_2670 = ")) result.append(eVirtualGet("; + protected final String TEXT_2671 = ")); else result.append(\"<unset>\");"; + protected final String TEXT_2672 = NL + "\t\tif ("; + protected final String TEXT_2673 = "("; + protected final String TEXT_2674 = " & "; + protected final String TEXT_2675 = "_ESETFLAG) != 0"; + protected final String TEXT_2676 = "ESet"; + protected final String TEXT_2677 = ") result.append(("; + protected final String TEXT_2678 = " & "; + protected final String TEXT_2679 = "_EFLAG) != 0); else result.append(\"<unset>\");"; + protected final String TEXT_2680 = NL + "\t\tif ("; + protected final String TEXT_2681 = "("; + protected final String TEXT_2682 = " & "; + protected final String TEXT_2683 = "_ESETFLAG) != 0"; + protected final String TEXT_2684 = "ESet"; + protected final String TEXT_2685 = ") result.append("; + protected final String TEXT_2686 = "_EFLAG_VALUES[("; + protected final String TEXT_2687 = " & "; + protected final String TEXT_2688 = "_EFLAG) >>> "; + protected final String TEXT_2689 = "_EFLAG_OFFSET]); else result.append(\"<unset>\");"; + protected final String TEXT_2690 = NL + "\t\tif ("; + protected final String TEXT_2691 = "("; + protected final String TEXT_2692 = " & "; + protected final String TEXT_2693 = "_ESETFLAG) != 0"; + protected final String TEXT_2694 = "ESet"; + protected final String TEXT_2695 = ") result.append("; + protected final String TEXT_2696 = "); else result.append(\"<unset>\");"; + protected final String TEXT_2697 = NL + "\t\tresult.append(eVirtualGet("; + protected final String TEXT_2698 = ", "; + protected final String TEXT_2699 = "));"; + protected final String TEXT_2700 = NL + "\t\tresult.append(("; + protected final String TEXT_2701 = " & "; + protected final String TEXT_2702 = "_EFLAG) != 0);"; + protected final String TEXT_2703 = NL + "\t\tresult.append("; + protected final String TEXT_2704 = "_EFLAG_VALUES[("; + protected final String TEXT_2705 = " & "; + protected final String TEXT_2706 = "_EFLAG) >>> "; + protected final String TEXT_2707 = "_EFLAG_OFFSET]);"; + protected final String TEXT_2708 = NL + "\t\tresult.append("; + protected final String TEXT_2709 = ");"; + protected final String TEXT_2710 = NL + "\t\tresult.append(')');" + NL + "\t\treturn result.toString();" + NL + "\t}" + NL; + protected final String TEXT_2711 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2712 = NL + "\t@"; + protected final String TEXT_2713 = 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_2714 = " 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_2715 = " getKey()" + NL + "\t{"; + protected final String TEXT_2716 = NL + "\t\treturn new "; + protected final String TEXT_2717 = "(getTypedKey());"; + protected final String TEXT_2718 = NL + "\t\treturn getTypedKey();"; + protected final String TEXT_2719 = 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_2720 = " key)" + NL + "\t{"; + protected final String TEXT_2721 = NL + "\t\tgetTypedKey().addAll("; + protected final String TEXT_2722 = "("; + protected final String TEXT_2723 = ")"; + protected final String TEXT_2724 = "key);"; + protected final String TEXT_2725 = NL + "\t\tsetTypedKey(key);"; + protected final String TEXT_2726 = NL + "\t\tsetTypedKey((("; + protected final String TEXT_2727 = ")key)."; + protected final String TEXT_2728 = "());"; + protected final String TEXT_2729 = NL + "\t\tsetTypedKey(("; + protected final String TEXT_2730 = ")key);"; + protected final String TEXT_2731 = 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_2732 = " getValue()" + NL + "\t{"; + protected final String TEXT_2733 = NL + "\t\treturn new "; + protected final String TEXT_2734 = "(getTypedValue());"; + protected final String TEXT_2735 = NL + "\t\treturn getTypedValue();"; + protected final String TEXT_2736 = 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_2737 = " setValue("; + protected final String TEXT_2738 = " value)" + NL + "\t{" + NL + "\t\t"; + protected final String TEXT_2739 = " oldValue = getValue();"; + protected final String TEXT_2740 = NL + "\t\tgetTypedValue().clear();" + NL + "\t\tgetTypedValue().addAll("; + protected final String TEXT_2741 = "("; + protected final String TEXT_2742 = ")"; + protected final String TEXT_2743 = "value);"; + protected final String TEXT_2744 = NL + "\t\tsetTypedValue(value);"; + protected final String TEXT_2745 = NL + "\t\tsetTypedValue((("; + protected final String TEXT_2746 = ")value)."; + protected final String TEXT_2747 = "());"; + protected final String TEXT_2748 = NL + "\t\tsetTypedValue(("; + protected final String TEXT_2749 = ")value);"; + protected final String TEXT_2750 = 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_2751 = NL + "\t@SuppressWarnings(\"unchecked\")"; + protected final String TEXT_2752 = NL + "\tpublic "; + protected final String TEXT_2753 = " getEMap()" + NL + "\t{" + NL + "\t\t"; + protected final String TEXT_2754 = " container = eContainer();" + NL + "\t\treturn container == null ? null : ("; + protected final String TEXT_2755 = ")container.eGet(eContainmentFeature());" + NL + "\t}" + NL; + protected final String TEXT_2756 = 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_2757 = " EOCL_ENV = "; + protected final String TEXT_2758 = ".newInstance();" + NL; + protected final String TEXT_2759 = 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_2760 = " create("; + protected final String TEXT_2761 = " eClass)" + NL + "\t{" + NL + "\t\treturn "; + protected final String TEXT_2762 = ".create(eClass);" + NL + "\t}" + NL; + protected final String TEXT_2763 = NL + "\t/**" + NL + "\t * Retrieves the cache adapter for this '<em><b>"; + protected final String TEXT_2764 = "</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_2765 = "</b></em>'." + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected "; + protected final String TEXT_2766 = " getCacheAdapter()" + NL + "\t{" + NL + "\t\treturn "; + protected final String TEXT_2767 = ".getCacheAdapter(this);" + NL + "\t}" + NL; + protected final String TEXT_2768 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2769 = NL + "\t@Override"; + protected final String TEXT_2770 = NL + "\tprotected "; + protected final String TEXT_2771 = " "; + protected final String TEXT_2772 = "Helper("; + protected final String TEXT_2773 = " "; + protected final String TEXT_2774 = ")" + NL + "\t{"; + protected final String TEXT_2775 = NL + "\t\t"; + protected final String TEXT_2776 = ".addAll(super."; + protected final String TEXT_2777 = "());"; + protected final String TEXT_2778 = NL + "\t\tsuper."; + protected final String TEXT_2779 = "Helper("; + protected final String TEXT_2780 = ");"; + protected final String TEXT_2781 = NL + "\t\tif (isSet"; + protected final String TEXT_2782 = "())" + NL + "\t\t{" + NL + "\t\t\tfor ("; + protected final String TEXT_2783 = "<"; + protected final String TEXT_2784 = ">"; + protected final String TEXT_2785 = " i = (("; + protected final String TEXT_2786 = ") "; + protected final String TEXT_2787 = "()).basicIterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_2788 = ".add(i.next());" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2789 = NL + "\t\tif (eIsSet("; + protected final String TEXT_2790 = "))" + NL + "\t\t{" + NL + "\t\t\tfor ("; + protected final String TEXT_2791 = "<"; + protected final String TEXT_2792 = ">"; + protected final String TEXT_2793 = " i = (("; + protected final String TEXT_2794 = ") "; + protected final String TEXT_2795 = "()).basicIterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_2796 = ".add(i.next());" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2797 = NL + "\t\t"; + protected final String TEXT_2798 = " "; + protected final String TEXT_2799 = " = "; + protected final String TEXT_2800 = "();" + NL + "\t\tif (!"; + protected final String TEXT_2801 = ".isEmpty())" + NL + "\t\t{" + NL + "\t\t\tfor ("; + protected final String TEXT_2802 = "<"; + protected final String TEXT_2803 = ">"; + protected final String TEXT_2804 = " i = (("; + protected final String TEXT_2805 = ") "; + protected final String TEXT_2806 = ").basicIterator(); i.hasNext(); )" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_2807 = ".add(i.next());" + NL + "\t\t\t}" + NL + "\t\t}"; + protected final String TEXT_2808 = NL + "\t\tif (isSet"; + protected final String TEXT_2809 = "())" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2810 = ".addAll("; + protected final String TEXT_2811 = "());" + NL + "\t\t}"; + protected final String TEXT_2812 = NL + "\t\tif (eIsSet("; + protected final String TEXT_2813 = "))" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2814 = ".addAll("; + protected final String TEXT_2815 = "());" + NL + "\t\t}"; + protected final String TEXT_2816 = NL + "\t\t"; + protected final String TEXT_2817 = " "; + protected final String TEXT_2818 = " = "; + protected final String TEXT_2819 = "();" + NL + "\t\tif (!"; + protected final String TEXT_2820 = ".isEmpty())" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2821 = ".addAll("; + protected final String TEXT_2822 = ");" + NL + "\t\t}"; + protected final String TEXT_2823 = NL + "\t\tif (isSet"; + protected final String TEXT_2824 = "())" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2825 = ".add("; + protected final String TEXT_2826 = "basicGet"; + protected final String TEXT_2827 = "());" + NL + "\t\t}"; + protected final String TEXT_2828 = NL + "\t\t"; + protected final String TEXT_2829 = " "; + protected final String TEXT_2830 = " = "; + protected final String TEXT_2831 = "basicGet"; + protected final String TEXT_2832 = "();" + NL + "\t\tif ("; + protected final String TEXT_2833 = " != null)" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_2834 = ".add("; + protected final String TEXT_2835 = ");" + NL + "\t\t}"; + protected final String TEXT_2836 = NL + "\t\treturn "; + protected final String TEXT_2837 = ";" + NL + "\t}" + NL; + protected final String TEXT_2838 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2839 = NL + "\t@Override"; + protected final String TEXT_2840 = NL + "\tpublic boolean isSet"; + protected final String TEXT_2841 = "()" + NL + "\t{"; protected final String TEXT_2842 = NL + "\t\treturn super.isSet"; - protected final String TEXT_2843 = "();"; - protected final String TEXT_2844 = NL + "\t\treturn false;"; - protected final String TEXT_2845 = NL + "\t}" + NL; - protected final String TEXT_2846 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2847 = NL + "\t@Override"; - protected final String TEXT_2848 = NL + "\tpublic "; - protected final String TEXT_2849 = " "; - protected final String TEXT_2850 = "()" + NL + "\t{"; - protected final String TEXT_2851 = NL + "\t\t@SuppressWarnings(\"unchecked\")" + NL + "\t\t"; - protected final String TEXT_2852 = " "; - protected final String TEXT_2853 = " = ("; - protected final String TEXT_2854 = ")(("; + protected final String TEXT_2843 = "()"; + protected final String TEXT_2844 = NL + "\t\treturn isSet"; + protected final String TEXT_2845 = "()"; + protected final String TEXT_2846 = ";"; + protected final String TEXT_2847 = NL + "\t\treturn !"; + protected final String TEXT_2848 = "().isEmpty()"; + protected final String TEXT_2849 = ";"; + protected final String TEXT_2850 = NL + "\t\treturn "; + protected final String TEXT_2851 = "basicGet"; + protected final String TEXT_2852 = "() != null"; + protected final String TEXT_2853 = ";"; + protected final String TEXT_2854 = NL + "\t\treturn eIsSet("; protected final String TEXT_2855 = ")"; - protected final String TEXT_2856 = "());" + NL + "\t\treturn "; - protected final String TEXT_2857 = ";"; - protected final String TEXT_2858 = NL + "\t\treturn "; - protected final String TEXT_2859 = "();"; - protected final String TEXT_2860 = NL + "\t\treturn new "; - protected final String TEXT_2861 = ".UnmodifiableEList"; - protected final String TEXT_2862 = "(this, "; - protected final String TEXT_2863 = "null"; - protected final String TEXT_2864 = ", 0, "; - protected final String TEXT_2865 = ".EMPTY_LIST.toArray());"; - protected final String TEXT_2866 = NL + "\t\treturn null;"; - protected final String TEXT_2867 = NL + "\t\treturn "; - protected final String TEXT_2868 = "();"; - protected final String TEXT_2869 = NL + "\t}" + NL; - protected final String TEXT_2870 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2871 = NL + "\t@Override"; - protected final String TEXT_2872 = NL + "\tpublic "; - protected final String TEXT_2873 = " basicGet"; - protected final String TEXT_2874 = "()" + NL + "\t{"; - protected final String TEXT_2875 = NL + "\t\treturn null;"; - protected final String TEXT_2876 = NL + "\t\treturn "; - protected final String TEXT_2877 = "basicGet"; - protected final String TEXT_2878 = "();"; - protected final String TEXT_2879 = NL + "\t}" + NL; - 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@Override"; - protected final String TEXT_2882 = NL + "\tpublic "; - protected final String TEXT_2883 = " basicSet"; - protected final String TEXT_2884 = "("; - protected final String TEXT_2885 = " new"; - protected final String TEXT_2886 = ", "; - protected final String TEXT_2887 = " msgs)" + NL + "\t{"; - protected final String TEXT_2888 = NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_2889 = NL + "\t\tif (new"; - protected final String TEXT_2890 = " != null && !(new"; - protected final String TEXT_2891 = " instanceof "; - protected final String TEXT_2892 = "))" + NL + "\t\t{" + NL + "\t\t\tthrow new IllegalArgumentException(String.valueOf(new"; - protected final String TEXT_2893 = "));" + NL + "\t\t}"; - protected final String TEXT_2894 = NL + "\t\treturn basicSet"; - protected final String TEXT_2895 = "("; - protected final String TEXT_2896 = "("; - protected final String TEXT_2897 = ") "; - protected final String TEXT_2898 = "new"; - protected final String TEXT_2899 = ", msgs);"; - protected final String TEXT_2900 = NL + "\t\tset"; - protected final String TEXT_2901 = "("; - protected final String TEXT_2902 = "("; - protected final String TEXT_2903 = ") "; - protected final String TEXT_2904 = "new"; - protected final String TEXT_2905 = ");" + NL + "\t\treturn msgs;"; - protected final String TEXT_2906 = NL + "\t}" + NL; - protected final String TEXT_2907 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2908 = NL + "\t@Override"; - protected final String TEXT_2909 = NL + "\tpublic void set"; - protected final String TEXT_2910 = "("; - protected final String TEXT_2911 = " new"; - protected final String TEXT_2912 = ")" + NL + "\t{"; - protected final String TEXT_2913 = NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_2914 = NL + "\t\tif (new"; - protected final String TEXT_2915 = " != null && !(new"; - protected final String TEXT_2916 = " instanceof "; - protected final String TEXT_2917 = "))" + NL + "\t\t{" + NL + "\t\t\tthrow new IllegalArgumentException(String.valueOf(new"; - protected final String TEXT_2918 = "));" + NL + "\t\t}"; - protected final String TEXT_2919 = NL + "\t\tset"; - protected final String TEXT_2920 = "("; - protected final String TEXT_2921 = "("; - protected final String TEXT_2922 = ") "; - protected final String TEXT_2923 = "new"; - protected final String TEXT_2924 = ");"; - protected final String TEXT_2925 = NL + "\t}" + NL; - protected final String TEXT_2926 = NL + "\t/**" + NL + "\t * The array of subset feature identifiers for the '{@link #"; - protected final String TEXT_2927 = "() <em>"; - protected final String TEXT_2928 = "</em>}' "; - protected final String TEXT_2929 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_2930 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; - protected final String TEXT_2931 = "_ESUBSETS = "; - protected final String TEXT_2932 = ";" + NL; - protected final String TEXT_2933 = NL + "\t/**" + NL + "\t * The array of superset feature identifiers for the '{@link #"; - protected final String TEXT_2934 = "() <em>"; - protected final String TEXT_2935 = "</em>}' "; - protected final String TEXT_2936 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; - protected final String TEXT_2937 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; - protected final String TEXT_2938 = "_ESUPERSETS = "; - protected final String TEXT_2939 = ";" + NL; - protected final String TEXT_2940 = NL + "\t/**"; - protected final String TEXT_2941 = NL + "\t * Creates a new {@link "; - protected final String TEXT_2942 = "}, with the specified "; - protected final String TEXT_2943 = ", and appends it to the '<em><b>"; - protected final String TEXT_2944 = "</b></em>' "; - protected final String TEXT_2945 = "."; - protected final String TEXT_2946 = NL + "\t * Creates a new {@link "; - protected final String TEXT_2947 = "}, with the specified "; - protected final String TEXT_2948 = ", and sets the '<em><b>"; - protected final String TEXT_2949 = "</b></em>' "; - protected final String TEXT_2950 = "."; - protected final String TEXT_2951 = NL + "\t * Creates a new {@link "; - protected final String TEXT_2952 = "} and appends it to the '<em><b>"; - protected final String TEXT_2953 = "</b></em>' "; - protected final String TEXT_2954 = "."; - protected final String TEXT_2955 = NL + "\t * Creates a new {@link "; - protected final String TEXT_2956 = "} and sets the '<em><b>"; - protected final String TEXT_2957 = "</b></em>' "; - protected final String TEXT_2958 = "."; - protected final String TEXT_2959 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_2960 = NL + "\t * @param "; - protected final String TEXT_2961 = " The "; - protected final String TEXT_2962 = " for the new {@link "; - protected final String TEXT_2963 = "}, or <code>null</code>."; - protected final String TEXT_2964 = NL + "\t * @param eClass The Ecore class of the {@link "; - protected final String TEXT_2965 = "} to create." + NL + "\t * @return The new {@link "; - protected final String TEXT_2966 = "}." + NL + "\t * @see #"; - protected final String TEXT_2967 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2968 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_2969 = NL + "\t"; - protected final String TEXT_2970 = " create"; - protected final String TEXT_2971 = "("; - protected final String TEXT_2972 = ", "; - protected final String TEXT_2973 = " eClass);" + 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 = ", "; - protected final String TEXT_2979 = " eClass)" + NL + "\t{" + NL + "\t\t"; - protected final String TEXT_2980 = " new"; - protected final String TEXT_2981 = " = ("; - protected final String TEXT_2982 = ") create(eClass);"; - protected final String TEXT_2983 = NL + "\t\t"; - protected final String TEXT_2984 = "().add(new"; - protected final String TEXT_2985 = ");"; - protected final String TEXT_2986 = NL + "\t\tset"; - protected final String TEXT_2987 = "(new"; - protected final String TEXT_2988 = ");"; - protected final String TEXT_2989 = NL + "\t\tint "; - protected final String TEXT_2990 = "ListSize = 0;"; - protected final String TEXT_2991 = NL + "\t\tint "; - protected final String TEXT_2992 = "Size = "; - protected final String TEXT_2993 = " == null ? 0 : "; - protected final String TEXT_2994 = ".size();" + NL + "\t\tif ("; - protected final String TEXT_2995 = "Size > "; - protected final String TEXT_2996 = "ListSize)" + NL + "\t\t\t"; - protected final String TEXT_2997 = "ListSize = "; - protected final String TEXT_2998 = "Size;"; - protected final String TEXT_2999 = NL + "\t\tfor (int i = 0; i < "; - protected final String TEXT_3000 = "ListSize; i++) {" + NL + "\t\t\tnew"; - protected final String TEXT_3001 = ".create"; - protected final String TEXT_3002 = "("; - protected final String TEXT_3003 = ", "; - protected final String TEXT_3004 = "i < "; - protected final String TEXT_3005 = "Size ? ("; - protected final String TEXT_3006 = ") "; - protected final String TEXT_3007 = ".get(i) : null"; - protected final String TEXT_3008 = ");" + NL + "\t\t}"; - protected final String TEXT_3009 = NL + "\t\tnew"; - protected final String TEXT_3010 = ".create"; - protected final String TEXT_3011 = "("; - protected final String TEXT_3012 = ", "; - protected final String TEXT_3013 = ");"; - protected final String TEXT_3014 = NL + "\t\tif ("; - protected final String TEXT_3015 = " != null)"; - protected final String TEXT_3016 = NL + "\t\t\tnew"; - protected final String TEXT_3017 = "."; - protected final String TEXT_3018 = "().addAll("; - protected final String TEXT_3019 = ");"; - protected final String TEXT_3020 = NL + "\t\t\tnew"; - protected final String TEXT_3021 = ".set"; - protected final String TEXT_3022 = "("; - protected final String TEXT_3023 = ");"; - protected final String TEXT_3024 = NL + "\t\treturn new"; - protected final String TEXT_3025 = ";" + NL + "\t}" + NL; - protected final String TEXT_3026 = NL + "\t/**"; - protected final String TEXT_3027 = NL + "\t * Creates a new {@link "; - protected final String TEXT_3028 = "}, with the specified "; - protected final String TEXT_3029 = ", and appends it to the '<em><b>"; - protected final String TEXT_3030 = "</b></em>' "; - protected final String TEXT_3031 = "."; - protected final String TEXT_3032 = NL + "\t * Creates a new {@link "; - protected final String TEXT_3033 = "},with the specified "; - protected final String TEXT_3034 = ", and sets the '<em><b>"; - protected final String TEXT_3035 = "</b></em>' "; - protected final String TEXT_3036 = "."; - protected final String TEXT_3037 = NL + "\t * Creates a new {@link "; - protected final String TEXT_3038 = "} and appends it to the '<em><b>"; - protected final String TEXT_3039 = "</b></em>' "; - protected final String TEXT_3040 = "."; - protected final String TEXT_3041 = NL + "\t * Creates a new {@link "; - protected final String TEXT_3042 = "} and sets the '<em><b>"; - protected final String TEXT_3043 = "</b></em>' "; - protected final String TEXT_3044 = "."; - protected final String TEXT_3045 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_3046 = NL + "\t * @param "; - protected final String TEXT_3047 = " The "; - protected final String TEXT_3048 = " for the new {@link "; - protected final String TEXT_3049 = "}, or <code>null</code>."; - protected final String TEXT_3050 = NL + "\t * @return The new {@link "; - protected final String TEXT_3051 = "}." + NL + "\t * @see #"; - protected final String TEXT_3052 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_3053 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_3054 = NL + "\t"; - protected final String TEXT_3055 = " create"; - protected final String TEXT_3056 = "("; - protected final String TEXT_3057 = ");" + NL; - protected final String TEXT_3058 = NL + "\t@Override"; - protected final String TEXT_3059 = NL + "\tpublic "; - protected final String TEXT_3060 = " create"; - protected final String TEXT_3061 = "("; - protected final String TEXT_3062 = ")" + NL + "\t{"; - protected final String TEXT_3063 = NL + "\t\treturn create"; - protected final String TEXT_3064 = "("; - protected final String TEXT_3065 = ", "; - protected final String TEXT_3066 = ");"; - protected final String TEXT_3067 = NL + "\t\t"; - protected final String TEXT_3068 = " new"; - protected final String TEXT_3069 = " = ("; - protected final String TEXT_3070 = ") create("; - protected final String TEXT_3071 = ");"; - protected final String TEXT_3072 = NL + "\t\t"; - protected final String TEXT_3073 = "().add(new"; - protected final String TEXT_3074 = ");"; - protected final String TEXT_3075 = NL + "\t\tset"; - protected final String TEXT_3076 = "(new"; - protected final String TEXT_3077 = ");"; - protected final String TEXT_3078 = NL + "\t\tint "; - protected final String TEXT_3079 = "ListSize = 0;"; - protected final String TEXT_3080 = NL + "\t\tint "; - protected final String TEXT_3081 = "Size = "; - protected final String TEXT_3082 = " == null ? 0 : "; - protected final String TEXT_3083 = ".size();" + NL + "\t\tif ("; - protected final String TEXT_3084 = "Size > "; - protected final String TEXT_3085 = "ListSize)" + NL + "\t\t\t"; - protected final String TEXT_3086 = "ListSize = "; - protected final String TEXT_3087 = "Size;"; - protected final String TEXT_3088 = NL + "\t\tfor (int i = 0; i < "; - protected final String TEXT_3089 = "ListSize; i++) {" + NL + "\t\t\tnew"; - protected final String TEXT_3090 = ".create"; - protected final String TEXT_3091 = "("; - protected final String TEXT_3092 = ", "; - protected final String TEXT_3093 = "i < "; - protected final String TEXT_3094 = "Size ? ("; - protected final String TEXT_3095 = ") "; - protected final String TEXT_3096 = ".get(i) : null"; - protected final String TEXT_3097 = ");" + NL + "\t\t}"; - protected final String TEXT_3098 = NL + "\t\tnew"; - protected final String TEXT_3099 = ".create"; - protected final String TEXT_3100 = "("; - protected final String TEXT_3101 = ", "; - protected final String TEXT_3102 = ");"; - protected final String TEXT_3103 = NL + "\t\tif ("; - protected final String TEXT_3104 = " != null)"; - protected final String TEXT_3105 = NL + "\t\t\tnew"; - protected final String TEXT_3106 = "."; - protected final String TEXT_3107 = "().addAll("; - protected final String TEXT_3108 = ");"; - protected final String TEXT_3109 = NL + "\t\t\tnew"; - protected final String TEXT_3110 = ".set"; - protected final String TEXT_3111 = "("; - protected final String TEXT_3112 = ");"; - protected final String TEXT_3113 = NL + "\t\treturn new"; - protected final String TEXT_3114 = ";"; - protected final String TEXT_3115 = NL + "\t}" + NL; - protected final String TEXT_3116 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; - protected final String TEXT_3117 = "} with the specified "; - protected final String TEXT_3118 = " from the '<em><b>"; - protected final String TEXT_3119 = "</b></em>' "; - protected final String TEXT_3120 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_3121 = NL + "\t * @param "; - protected final String TEXT_3122 = " The "; - protected final String TEXT_3123 = " of the {@link "; - protected final String TEXT_3124 = "} to retrieve, or <code>null</code>."; - protected final String TEXT_3125 = NL + "\t * @return The first {@link "; - protected final String TEXT_3126 = "} with the specified "; - protected final String TEXT_3127 = ", or <code>null</code>." + NL + "\t * @see #"; - protected final String TEXT_3128 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_3129 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_3130 = NL + "\t"; - protected final String TEXT_3131 = " get"; + protected final String TEXT_2856 = ";"; + protected final String TEXT_2857 = NL + "\t\t\t|| isSet"; + protected final String TEXT_2858 = "()"; + protected final String TEXT_2859 = ";"; + protected final String TEXT_2860 = NL + "\t\t\t|| !"; + protected final String TEXT_2861 = "().isEmpty()"; + protected final String TEXT_2862 = ";"; + protected final String TEXT_2863 = NL + "\t\t\t|| "; + protected final String TEXT_2864 = "basicGet"; + protected final String TEXT_2865 = "() != null"; + protected final String TEXT_2866 = ";"; + protected final String TEXT_2867 = NL + "\t\t\t|| eIsSet("; + protected final String TEXT_2868 = ")"; + protected final String TEXT_2869 = ";"; + protected final String TEXT_2870 = NL + "\t\treturn super.isSet"; + protected final String TEXT_2871 = "();"; + protected final String TEXT_2872 = NL + "\t\treturn false;"; + protected final String TEXT_2873 = NL + "\t}" + NL; + protected final String TEXT_2874 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2875 = NL + "\t@Override"; + protected final String TEXT_2876 = NL + "\tpublic "; + protected final String TEXT_2877 = " "; + protected final String TEXT_2878 = "()" + NL + "\t{"; + protected final String TEXT_2879 = NL + "\t\t@SuppressWarnings(\"unchecked\")" + NL + "\t\t"; + protected final String TEXT_2880 = " "; + protected final String TEXT_2881 = " = ("; + protected final String TEXT_2882 = ")(("; + protected final String TEXT_2883 = ")"; + protected final String TEXT_2884 = "());" + NL + "\t\treturn "; + protected final String TEXT_2885 = ";"; + protected final String TEXT_2886 = NL + "\t\treturn "; + protected final String TEXT_2887 = "();"; + protected final String TEXT_2888 = NL + "\t\treturn new "; + protected final String TEXT_2889 = ".UnmodifiableEList"; + protected final String TEXT_2890 = "(this, "; + protected final String TEXT_2891 = "null"; + protected final String TEXT_2892 = ", 0, "; + protected final String TEXT_2893 = ".EMPTY_LIST.toArray());"; + protected final String TEXT_2894 = NL + "\t\treturn null;"; + protected final String TEXT_2895 = NL + "\t\treturn "; + protected final String TEXT_2896 = "();"; + protected final String TEXT_2897 = NL + "\t}" + NL; + protected final String TEXT_2898 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2899 = NL + "\t@Override"; + protected final String TEXT_2900 = NL + "\tpublic "; + protected final String TEXT_2901 = " basicGet"; + protected final String TEXT_2902 = "()" + NL + "\t{"; + protected final String TEXT_2903 = NL + "\t\treturn null;"; + protected final String TEXT_2904 = NL + "\t\treturn "; + protected final String TEXT_2905 = "basicGet"; + protected final String TEXT_2906 = "();"; + protected final String TEXT_2907 = NL + "\t}" + NL; + protected final String TEXT_2908 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2909 = NL + "\t@Override"; + protected final String TEXT_2910 = NL + "\tpublic "; + protected final String TEXT_2911 = " basicSet"; + protected final String TEXT_2912 = "("; + protected final String TEXT_2913 = " new"; + protected final String TEXT_2914 = ", "; + protected final String TEXT_2915 = " msgs)" + NL + "\t{"; + protected final String TEXT_2916 = NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_2917 = NL + "\t\tif (new"; + protected final String TEXT_2918 = " != null && !(new"; + protected final String TEXT_2919 = " instanceof "; + protected final String TEXT_2920 = "))" + NL + "\t\t{" + NL + "\t\t\tthrow new IllegalArgumentException(\"new"; + protected final String TEXT_2921 = " must be an instance of "; + protected final String TEXT_2922 = "\");"; + protected final String TEXT_2923 = NL + "\t\t}"; + protected final String TEXT_2924 = NL + "\t\treturn basicSet"; + protected final String TEXT_2925 = "("; + protected final String TEXT_2926 = "("; + protected final String TEXT_2927 = ") "; + protected final String TEXT_2928 = "new"; + protected final String TEXT_2929 = ", msgs);"; + protected final String TEXT_2930 = NL + "\t\tset"; + protected final String TEXT_2931 = "("; + protected final String TEXT_2932 = "("; + protected final String TEXT_2933 = ") "; + protected final String TEXT_2934 = "new"; + protected final String TEXT_2935 = ");" + NL + "\t\treturn msgs;"; + protected final String TEXT_2936 = NL + "\t}" + NL; + protected final String TEXT_2937 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_2938 = NL + "\t@Override"; + protected final String TEXT_2939 = NL + "\tpublic void set"; + protected final String TEXT_2940 = "("; + protected final String TEXT_2941 = " new"; + protected final String TEXT_2942 = ")" + NL + "\t{"; + protected final String TEXT_2943 = NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_2944 = NL + "\t\tif (new"; + protected final String TEXT_2945 = " != null && !(new"; + protected final String TEXT_2946 = " instanceof "; + protected final String TEXT_2947 = "))" + NL + "\t\t{" + NL + "\t\t\tthrow new IllegalArgumentException(\"new"; + protected final String TEXT_2948 = " must be an instance of "; + protected final String TEXT_2949 = "\");"; + protected final String TEXT_2950 = NL + "\t\t}"; + protected final String TEXT_2951 = NL + "\t\tset"; + protected final String TEXT_2952 = "("; + protected final String TEXT_2953 = "("; + protected final String TEXT_2954 = ") "; + protected final String TEXT_2955 = "new"; + protected final String TEXT_2956 = ");"; + protected final String TEXT_2957 = NL + "\t}" + NL; + protected final String TEXT_2958 = NL + "\t/**" + NL + "\t * The array of subset feature identifiers for the '{@link #"; + protected final String TEXT_2959 = "() <em>"; + protected final String TEXT_2960 = "</em>}' "; + protected final String TEXT_2961 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_2962 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; + protected final String TEXT_2963 = "_ESUBSETS = "; + protected final String TEXT_2964 = ";" + NL; + protected final String TEXT_2965 = NL + "\t/**" + NL + "\t * The array of superset feature identifiers for the '{@link #"; + protected final String TEXT_2966 = "() <em>"; + protected final String TEXT_2967 = "</em>}' "; + protected final String TEXT_2968 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #"; + protected final String TEXT_2969 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int[] "; + protected final String TEXT_2970 = "_ESUPERSETS = "; + protected final String TEXT_2971 = ";" + NL; + protected final String TEXT_2972 = NL + "\t/**"; + protected final String TEXT_2973 = NL + "\t * Creates a new {@link "; + protected final String TEXT_2974 = "}, with the specified "; + protected final String TEXT_2975 = ", and appends it to the '<em><b>"; + protected final String TEXT_2976 = "</b></em>' "; + protected final String TEXT_2977 = "."; + protected final String TEXT_2978 = NL + "\t * Creates a new {@link "; + protected final String TEXT_2979 = "}, with the specified "; + protected final String TEXT_2980 = ", and sets the '<em><b>"; + protected final String TEXT_2981 = "</b></em>' "; + protected final String TEXT_2982 = "."; + protected final String TEXT_2983 = NL + "\t * Creates a new {@link "; + protected final String TEXT_2984 = "} and appends it to the '<em><b>"; + protected final String TEXT_2985 = "</b></em>' "; + protected final String TEXT_2986 = "."; + protected final String TEXT_2987 = NL + "\t * Creates a new {@link "; + protected final String TEXT_2988 = "} and sets the '<em><b>"; + protected final String TEXT_2989 = "</b></em>' "; + protected final String TEXT_2990 = "."; + protected final String TEXT_2991 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_2992 = NL + "\t * @param "; + protected final String TEXT_2993 = " The "; + protected final String TEXT_2994 = " for the new {@link "; + protected final String TEXT_2995 = "}, or <code>null</code>."; + protected final String TEXT_2996 = NL + "\t * @param eClass The Ecore class of the {@link "; + protected final String TEXT_2997 = "} to create." + NL + "\t * @return The new {@link "; + protected final String TEXT_2998 = "}." + NL + "\t * @see #"; + protected final String TEXT_2999 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3000 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3001 = NL + "\t"; + protected final String TEXT_3002 = " create"; + protected final String TEXT_3003 = "("; + protected final String TEXT_3004 = ", "; + protected final String TEXT_3005 = " eClass);" + NL; + protected final String TEXT_3006 = NL + "\t@Override"; + protected final String TEXT_3007 = NL + "\tpublic "; + protected final String TEXT_3008 = " create"; + protected final String TEXT_3009 = "("; + protected final String TEXT_3010 = ", "; + protected final String TEXT_3011 = " eClass)" + NL + "\t{" + NL + "\t\t"; + protected final String TEXT_3012 = " new"; + protected final String TEXT_3013 = " = ("; + protected final String TEXT_3014 = ") create(eClass);"; + protected final String TEXT_3015 = NL + "\t\t"; + protected final String TEXT_3016 = "().add(new"; + protected final String TEXT_3017 = ");"; + protected final String TEXT_3018 = NL + "\t\tset"; + protected final String TEXT_3019 = "(new"; + protected final String TEXT_3020 = ");"; + protected final String TEXT_3021 = NL + "\t\tint "; + protected final String TEXT_3022 = "ListSize = 0;"; + protected final String TEXT_3023 = NL + "\t\tint "; + protected final String TEXT_3024 = "Size = "; + protected final String TEXT_3025 = " == null ? 0 : "; + protected final String TEXT_3026 = ".size();" + NL + "\t\tif ("; + protected final String TEXT_3027 = "Size > "; + protected final String TEXT_3028 = "ListSize)" + NL + "\t\t\t"; + protected final String TEXT_3029 = "ListSize = "; + protected final String TEXT_3030 = "Size;"; + protected final String TEXT_3031 = NL + "\t\tfor (int i = 0; i < "; + protected final String TEXT_3032 = "ListSize; i++) {" + NL + "\t\t\tnew"; + protected final String TEXT_3033 = ".create"; + protected final String TEXT_3034 = "("; + protected final String TEXT_3035 = ", "; + protected final String TEXT_3036 = "i < "; + protected final String TEXT_3037 = "Size ? ("; + protected final String TEXT_3038 = ") "; + protected final String TEXT_3039 = ".get(i) : null"; + protected final String TEXT_3040 = ");" + NL + "\t\t}"; + protected final String TEXT_3041 = NL + "\t\tnew"; + protected final String TEXT_3042 = ".create"; + protected final String TEXT_3043 = "("; + protected final String TEXT_3044 = ", "; + protected final String TEXT_3045 = ");"; + protected final String TEXT_3046 = NL + "\t\tif ("; + protected final String TEXT_3047 = " != null)"; + protected final String TEXT_3048 = NL + "\t\t\tnew"; + protected final String TEXT_3049 = "."; + protected final String TEXT_3050 = "().addAll("; + protected final String TEXT_3051 = ");"; + protected final String TEXT_3052 = NL + "\t\t\tnew"; + protected final String TEXT_3053 = ".set"; + protected final String TEXT_3054 = "("; + protected final String TEXT_3055 = ");"; + protected final String TEXT_3056 = NL + "\t\treturn new"; + protected final String TEXT_3057 = ";" + NL + "\t}" + NL; + protected final String TEXT_3058 = NL + "\t/**"; + protected final String TEXT_3059 = NL + "\t * Creates a new {@link "; + protected final String TEXT_3060 = "}, with the specified "; + protected final String TEXT_3061 = ", and appends it to the '<em><b>"; + protected final String TEXT_3062 = "</b></em>' "; + protected final String TEXT_3063 = "."; + protected final String TEXT_3064 = NL + "\t * Creates a new {@link "; + protected final String TEXT_3065 = "},with the specified "; + protected final String TEXT_3066 = ", and sets the '<em><b>"; + protected final String TEXT_3067 = "</b></em>' "; + protected final String TEXT_3068 = "."; + protected final String TEXT_3069 = NL + "\t * Creates a new {@link "; + protected final String TEXT_3070 = "} and appends it to the '<em><b>"; + protected final String TEXT_3071 = "</b></em>' "; + protected final String TEXT_3072 = "."; + protected final String TEXT_3073 = NL + "\t * Creates a new {@link "; + protected final String TEXT_3074 = "} and sets the '<em><b>"; + protected final String TEXT_3075 = "</b></em>' "; + protected final String TEXT_3076 = "."; + protected final String TEXT_3077 = NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_3078 = NL + "\t * @param "; + protected final String TEXT_3079 = " The "; + protected final String TEXT_3080 = " for the new {@link "; + protected final String TEXT_3081 = "}, or <code>null</code>."; + protected final String TEXT_3082 = NL + "\t * @return The new {@link "; + protected final String TEXT_3083 = "}." + NL + "\t * @see #"; + protected final String TEXT_3084 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3085 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3086 = NL + "\t"; + protected final String TEXT_3087 = " create"; + protected final String TEXT_3088 = "("; + protected final String TEXT_3089 = ");" + NL; + protected final String TEXT_3090 = NL + "\t@Override"; + protected final String TEXT_3091 = NL + "\tpublic "; + protected final String TEXT_3092 = " create"; + protected final String TEXT_3093 = "("; + protected final String TEXT_3094 = ")" + NL + "\t{"; + protected final String TEXT_3095 = NL + "\t\treturn create"; + protected final String TEXT_3096 = "("; + protected final String TEXT_3097 = ", "; + protected final String TEXT_3098 = ");"; + protected final String TEXT_3099 = NL + "\t\t"; + protected final String TEXT_3100 = " new"; + protected final String TEXT_3101 = " = ("; + protected final String TEXT_3102 = ") create("; + protected final String TEXT_3103 = ");"; + protected final String TEXT_3104 = NL + "\t\t"; + protected final String TEXT_3105 = "().add(new"; + protected final String TEXT_3106 = ");"; + protected final String TEXT_3107 = NL + "\t\tset"; + protected final String TEXT_3108 = "(new"; + protected final String TEXT_3109 = ");"; + protected final String TEXT_3110 = NL + "\t\tint "; + protected final String TEXT_3111 = "ListSize = 0;"; + protected final String TEXT_3112 = NL + "\t\tint "; + protected final String TEXT_3113 = "Size = "; + protected final String TEXT_3114 = " == null ? 0 : "; + protected final String TEXT_3115 = ".size();" + NL + "\t\tif ("; + protected final String TEXT_3116 = "Size > "; + protected final String TEXT_3117 = "ListSize)" + NL + "\t\t\t"; + protected final String TEXT_3118 = "ListSize = "; + protected final String TEXT_3119 = "Size;"; + protected final String TEXT_3120 = NL + "\t\tfor (int i = 0; i < "; + protected final String TEXT_3121 = "ListSize; i++) {" + NL + "\t\t\tnew"; + protected final String TEXT_3122 = ".create"; + protected final String TEXT_3123 = "("; + protected final String TEXT_3124 = ", "; + protected final String TEXT_3125 = "i < "; + protected final String TEXT_3126 = "Size ? ("; + protected final String TEXT_3127 = ") "; + protected final String TEXT_3128 = ".get(i) : null"; + protected final String TEXT_3129 = ");" + NL + "\t\t}"; + protected final String TEXT_3130 = NL + "\t\tnew"; + protected final String TEXT_3131 = ".create"; protected final String TEXT_3132 = "("; - protected final String TEXT_3133 = ");" + NL; - protected final String TEXT_3134 = NL + "\t@Override"; - protected final String TEXT_3135 = NL + "\tpublic "; - protected final String TEXT_3136 = " get"; - protected final String TEXT_3137 = "("; - protected final String TEXT_3138 = ")" + NL + "\t{" + NL + "\t\treturn get"; - protected final String TEXT_3139 = "("; - protected final String TEXT_3140 = ", false"; - protected final String TEXT_3141 = ", null"; - protected final String TEXT_3142 = ", false"; - protected final String TEXT_3143 = ");" + NL + "\t}" + NL; - protected final String TEXT_3144 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; - protected final String TEXT_3145 = "} with the specified "; - protected final String TEXT_3146 = " from the '<em><b>"; - protected final String TEXT_3147 = "</b></em>' "; - protected final String TEXT_3148 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; - protected final String TEXT_3149 = NL + "\t * @param "; - protected final String TEXT_3150 = " The "; - protected final String TEXT_3151 = " of the {@link "; - protected final String TEXT_3152 = "} to retrieve, or <code>null</code>."; - protected final String TEXT_3153 = NL + "\t * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons."; - protected final String TEXT_3154 = NL + "\t * @param eClass The Ecore class of the {@link "; - protected final String TEXT_3155 = "} to retrieve, or <code>null</code>."; - protected final String TEXT_3156 = NL + "\t * @param createOnDemand Whether to create a {@link "; - protected final String TEXT_3157 = "} on demand if not found."; - protected final String TEXT_3158 = NL + "\t * @return The first {@link "; - protected final String TEXT_3159 = "} with the specified "; - protected final String TEXT_3160 = ", or <code>null</code>." + NL + "\t * @see #"; - protected final String TEXT_3161 = "()" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_3162 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_3163 = NL + "\t"; - protected final String TEXT_3164 = " get"; - protected final String TEXT_3165 = "("; - protected final String TEXT_3166 = ", boolean ignoreCase"; - protected final String TEXT_3167 = ", "; - protected final String TEXT_3168 = " eClass"; - protected final String TEXT_3169 = ", boolean createOnDemand"; - protected final String TEXT_3170 = ");" + NL; - protected final String TEXT_3171 = NL + "\t@Override"; - protected final String TEXT_3172 = NL + "\tpublic "; - protected final String TEXT_3173 = " get"; - protected final String TEXT_3174 = "("; - protected final String TEXT_3175 = ", boolean ignoreCase"; - protected final String TEXT_3176 = ", "; - protected final String TEXT_3177 = " eClass"; - protected final String TEXT_3178 = ", boolean createOnDemand"; - protected final String TEXT_3179 = ")" + NL + "\t{"; - protected final String TEXT_3180 = NL + "\t\t"; - protected final String TEXT_3181 = "Loop: for ("; - protected final String TEXT_3182 = " "; - protected final String TEXT_3183 = " : "; - protected final String TEXT_3184 = "())" + NL + "\t\t{"; - protected final String TEXT_3185 = NL + "\t\t"; - protected final String TEXT_3186 = "Loop: for ("; - protected final String TEXT_3187 = " i = "; - protected final String TEXT_3188 = "().iterator(); i.hasNext(); )" + NL + "\t\t{" + NL + "\t\t\t"; - protected final String TEXT_3189 = " "; - protected final String TEXT_3190 = " = ("; - protected final String TEXT_3191 = ") i.next();"; - protected final String TEXT_3192 = NL + "\t\t\tif (eClass != null && !eClass.isInstance("; - protected final String TEXT_3193 = "))" + NL + "\t\t\t\tcontinue "; - protected final String TEXT_3194 = "Loop;"; - protected final String TEXT_3195 = NL + "\t\t\t"; - protected final String TEXT_3196 = " "; - protected final String TEXT_3197 = "List = "; - protected final String TEXT_3198 = "."; - protected final String TEXT_3199 = "();" + NL + "\t\t\tint "; - protected final String TEXT_3200 = "ListSize = "; - protected final String TEXT_3201 = "List.size();" + NL + "\t\t\tif ("; - protected final String TEXT_3202 = " || ("; - protected final String TEXT_3203 = " != null && "; - protected final String TEXT_3204 = ".size() != "; - protected final String TEXT_3205 = "ListSize"; - protected final String TEXT_3206 = ")"; - protected final String TEXT_3207 = ")" + NL + "\t\t\t\tcontinue "; - protected final String TEXT_3208 = "Loop;" + NL + "\t\t\tfor (int j = 0; j < "; - protected final String TEXT_3209 = "ListSize; j++)" + NL + "\t\t\t{" + NL + "\t\t\t\t"; - protected final String TEXT_3210 = " "; - protected final String TEXT_3211 = " = "; - protected final String TEXT_3212 = "("; - protected final String TEXT_3213 = ") "; - protected final String TEXT_3214 = "List.get(j);"; - protected final String TEXT_3215 = NL + "\t\t\t\tif ("; - protected final String TEXT_3216 = " != null && !(ignoreCase ? ("; - protected final String TEXT_3217 = "("; - protected final String TEXT_3218 = ")"; - protected final String TEXT_3219 = ".get(j)).equalsIgnoreCase("; - protected final String TEXT_3220 = "."; - protected final String TEXT_3221 = "()) : "; - protected final String TEXT_3222 = ".get(j).equals("; - protected final String TEXT_3223 = "."; - protected final String TEXT_3224 = "())))"; - protected final String TEXT_3225 = NL + "\t\t\t\tif ("; - protected final String TEXT_3226 = " != null && !"; - protected final String TEXT_3227 = ".get(j).equals("; - protected final String TEXT_3228 = "."; - protected final String TEXT_3229 = "()))"; - protected final String TEXT_3230 = NL + "\t\t\t\t\tcontinue "; - protected final String TEXT_3231 = "Loop;"; - protected final String TEXT_3232 = NL + "\t\t\t}"; - protected final String TEXT_3233 = NL + "\t\t\t"; - protected final String TEXT_3234 = " "; - protected final String TEXT_3235 = " = "; - protected final String TEXT_3236 = "."; - protected final String TEXT_3237 = "();" + NL + "\t\t\tif ("; - protected final String TEXT_3238 = " == null)" + NL + "\t\t\t\tcontinue "; - protected final String TEXT_3239 = "Loop;"; - protected final String TEXT_3240 = NL + "\t\t\tif ("; - protected final String TEXT_3241 = " != null && !(ignoreCase ? "; - protected final String TEXT_3242 = ".equalsIgnoreCase("; - protected final String TEXT_3243 = "."; - protected final String TEXT_3244 = "()) : "; - protected final String TEXT_3245 = ".equals("; - protected final String TEXT_3246 = "."; - protected final String TEXT_3247 = "())))"; - protected final String TEXT_3248 = NL + "\t\t\tif ("; - protected final String TEXT_3249 = " != null && !"; - protected final String TEXT_3250 = ".equals("; - protected final String TEXT_3251 = "."; - protected final String TEXT_3252 = "()))"; - protected final String TEXT_3253 = NL + "\t\t\t\tcontinue "; - protected final String TEXT_3254 = "Loop;"; - protected final String TEXT_3255 = NL + "\t\t\tif ("; - protected final String TEXT_3256 = " != null && !(ignoreCase ? "; - protected final String TEXT_3257 = ".equalsIgnoreCase("; - protected final String TEXT_3258 = "."; - protected final String TEXT_3259 = "()) : "; - protected final String TEXT_3260 = ".equals("; - protected final String TEXT_3261 = "."; - protected final String TEXT_3262 = "())))"; - protected final String TEXT_3263 = NL + "\t\t\tif ("; - protected final String TEXT_3264 = " != null && !"; - protected final String TEXT_3265 = ".equals("; - protected final String TEXT_3266 = "."; - protected final String TEXT_3267 = "()))"; - protected final String TEXT_3268 = NL + "\t\t\t\tcontinue "; - protected final String TEXT_3269 = "Loop;"; - protected final String TEXT_3270 = NL + "\t\t\treturn "; - protected final String TEXT_3271 = ";" + NL + "\t\t}"; - protected final String TEXT_3272 = NL + "\t\treturn createOnDemand"; - protected final String TEXT_3273 = " && eClass != null"; - protected final String TEXT_3274 = " ? create"; - protected final String TEXT_3275 = "("; - protected final String TEXT_3276 = ", eClass"; - protected final String TEXT_3277 = ") : null;"; - protected final String TEXT_3278 = NL + "\t\treturn null;"; - protected final String TEXT_3279 = NL + "\t}" + NL; - protected final String TEXT_3280 = 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_3281 = "()" + NL + "\t{"; - protected final String TEXT_3282 = NL + " \t\treturn false;"; - protected final String TEXT_3283 = NL + "\t\treturn eIsSet("; - protected final String TEXT_3284 = ");"; - protected final String TEXT_3285 = NL + "\t\treturn !(("; - protected final String TEXT_3286 = ".Internal.Wrapper)"; - protected final String TEXT_3287 = "()).featureMap().isEmpty();"; - protected final String TEXT_3288 = NL + "\t\treturn "; - protected final String TEXT_3289 = " != null && !"; - protected final String TEXT_3290 = ".featureMap().isEmpty();"; - protected final String TEXT_3291 = NL + "\t\treturn "; - protected final String TEXT_3292 = " != null && !"; - protected final String TEXT_3293 = ".isEmpty();"; - protected final String TEXT_3294 = NL + "\t\t"; - protected final String TEXT_3295 = " "; - protected final String TEXT_3296 = " = ("; - protected final String TEXT_3297 = ")eVirtualGet("; - protected final String TEXT_3298 = ");" + NL + "\t\treturn "; - protected final String TEXT_3299 = " != null && !"; - protected final String TEXT_3300 = ".isEmpty();"; - protected final String TEXT_3301 = NL + "\t\treturn !"; - protected final String TEXT_3302 = "().isEmpty();"; - protected final String TEXT_3303 = NL + "\t\treturn "; - protected final String TEXT_3304 = " != null;"; - protected final String TEXT_3305 = NL + "\t\treturn eVirtualGet("; - protected final String TEXT_3306 = ") != null;"; - protected final String TEXT_3307 = NL + "\t\treturn basicGet"; - protected final String TEXT_3308 = "() != null;"; - protected final String TEXT_3309 = NL + "\t\treturn "; - protected final String TEXT_3310 = " != null;"; - protected final String TEXT_3311 = NL + "\t\treturn eVirtualGet("; - protected final String TEXT_3312 = ") != null;"; - protected final String TEXT_3313 = NL + "\t\treturn "; - protected final String TEXT_3314 = "() != null;"; - protected final String TEXT_3315 = NL + "\t\t\t\treturn (("; - protected final String TEXT_3316 = " & "; - protected final String TEXT_3317 = "_EFLAG) != 0) != "; - protected final String TEXT_3318 = ";"; - protected final String TEXT_3319 = NL + "\t\t\t\treturn ("; - protected final String TEXT_3320 = " & "; - protected final String TEXT_3321 = "_EFLAG) != "; - protected final String TEXT_3322 = "_EFLAG_DEFAULT;"; + protected final String TEXT_3133 = ", "; + protected final String TEXT_3134 = ");"; + protected final String TEXT_3135 = NL + "\t\tif ("; + protected final String TEXT_3136 = " != null)"; + protected final String TEXT_3137 = NL + "\t\t\tnew"; + protected final String TEXT_3138 = "."; + protected final String TEXT_3139 = "().addAll("; + protected final String TEXT_3140 = ");"; + protected final String TEXT_3141 = NL + "\t\t\tnew"; + protected final String TEXT_3142 = ".set"; + protected final String TEXT_3143 = "("; + protected final String TEXT_3144 = ");"; + protected final String TEXT_3145 = NL + "\t\treturn new"; + protected final String TEXT_3146 = ";"; + protected final String TEXT_3147 = NL + "\t}" + NL; + protected final String TEXT_3148 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; + protected final String TEXT_3149 = "} with the specified "; + protected final String TEXT_3150 = " from the '<em><b>"; + protected final String TEXT_3151 = "</b></em>' "; + protected final String TEXT_3152 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_3153 = NL + "\t * @param "; + protected final String TEXT_3154 = " The "; + protected final String TEXT_3155 = " of the {@link "; + protected final String TEXT_3156 = "} to retrieve, or <code>null</code>."; + protected final String TEXT_3157 = NL + "\t * @return The first {@link "; + protected final String TEXT_3158 = "} with the specified "; + protected final String TEXT_3159 = ", or <code>null</code>." + NL + "\t * @see #"; + protected final String TEXT_3160 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3161 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3162 = NL + "\t"; + protected final String TEXT_3163 = " get"; + protected final String TEXT_3164 = "("; + protected final String TEXT_3165 = ");" + NL; + protected final String TEXT_3166 = NL + "\t@Override"; + protected final String TEXT_3167 = NL + "\tpublic "; + protected final String TEXT_3168 = " get"; + protected final String TEXT_3169 = "("; + protected final String TEXT_3170 = ")" + NL + "\t{" + NL + "\t\treturn get"; + protected final String TEXT_3171 = "("; + protected final String TEXT_3172 = ", false"; + protected final String TEXT_3173 = ", null"; + protected final String TEXT_3174 = ", false"; + protected final String TEXT_3175 = ");" + NL + "\t}" + NL; + protected final String TEXT_3176 = NL + "\t/**" + NL + "\t * Retrieves the first {@link "; + protected final String TEXT_3177 = "} with the specified "; + protected final String TEXT_3178 = " from the '<em><b>"; + protected final String TEXT_3179 = "</b></em>' "; + protected final String TEXT_3180 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->"; + protected final String TEXT_3181 = NL + "\t * @param "; + protected final String TEXT_3182 = " The "; + protected final String TEXT_3183 = " of the {@link "; + protected final String TEXT_3184 = "} to retrieve, or <code>null</code>."; + protected final String TEXT_3185 = NL + "\t * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons."; + protected final String TEXT_3186 = NL + "\t * @param eClass The Ecore class of the {@link "; + protected final String TEXT_3187 = "} to retrieve, or <code>null</code>."; + protected final String TEXT_3188 = NL + "\t * @param createOnDemand Whether to create a {@link "; + protected final String TEXT_3189 = "} on demand if not found."; + protected final String TEXT_3190 = NL + "\t * @return The first {@link "; + protected final String TEXT_3191 = "} with the specified "; + protected final String TEXT_3192 = ", or <code>null</code>." + NL + "\t * @see #"; + protected final String TEXT_3193 = "()" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3194 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3195 = NL + "\t"; + protected final String TEXT_3196 = " get"; + protected final String TEXT_3197 = "("; + protected final String TEXT_3198 = ", boolean ignoreCase"; + protected final String TEXT_3199 = ", "; + protected final String TEXT_3200 = " eClass"; + protected final String TEXT_3201 = ", boolean createOnDemand"; + protected final String TEXT_3202 = ");" + NL; + protected final String TEXT_3203 = NL + "\t@Override"; + protected final String TEXT_3204 = NL + "\tpublic "; + protected final String TEXT_3205 = " get"; + protected final String TEXT_3206 = "("; + protected final String TEXT_3207 = ", boolean ignoreCase"; + protected final String TEXT_3208 = ", "; + protected final String TEXT_3209 = " eClass"; + protected final String TEXT_3210 = ", boolean createOnDemand"; + protected final String TEXT_3211 = ")" + NL + "\t{"; + protected final String TEXT_3212 = NL + "\t\t"; + protected final String TEXT_3213 = "Loop: for ("; + protected final String TEXT_3214 = " "; + protected final String TEXT_3215 = " : "; + protected final String TEXT_3216 = "())" + NL + "\t\t{"; + protected final String TEXT_3217 = NL + "\t\t"; + protected final String TEXT_3218 = "Loop: for ("; + protected final String TEXT_3219 = " i = "; + protected final String TEXT_3220 = "().iterator(); i.hasNext(); )" + NL + "\t\t{" + NL + "\t\t\t"; + protected final String TEXT_3221 = " "; + protected final String TEXT_3222 = " = ("; + protected final String TEXT_3223 = ") i.next();"; + protected final String TEXT_3224 = NL + "\t\t\tif (eClass != null && !eClass.isInstance("; + protected final String TEXT_3225 = "))" + NL + "\t\t\t\tcontinue "; + protected final String TEXT_3226 = "Loop;"; + protected final String TEXT_3227 = NL + "\t\t\t"; + protected final String TEXT_3228 = " "; + protected final String TEXT_3229 = "List = "; + protected final String TEXT_3230 = "."; + protected final String TEXT_3231 = "();" + NL + "\t\t\tint "; + protected final String TEXT_3232 = "ListSize = "; + protected final String TEXT_3233 = "List.size();" + NL + "\t\t\tif ("; + protected final String TEXT_3234 = " || ("; + protected final String TEXT_3235 = " != null && "; + protected final String TEXT_3236 = ".size() != "; + protected final String TEXT_3237 = "ListSize"; + protected final String TEXT_3238 = ")"; + protected final String TEXT_3239 = ")" + NL + "\t\t\t\tcontinue "; + protected final String TEXT_3240 = "Loop;" + NL + "\t\t\tfor (int j = 0; j < "; + protected final String TEXT_3241 = "ListSize; j++)" + NL + "\t\t\t{" + NL + "\t\t\t\t"; + protected final String TEXT_3242 = " "; + protected final String TEXT_3243 = " = "; + protected final String TEXT_3244 = "("; + protected final String TEXT_3245 = ") "; + protected final String TEXT_3246 = "List.get(j);"; + protected final String TEXT_3247 = NL + "\t\t\t\tif ("; + protected final String TEXT_3248 = " != null && !(ignoreCase ? ("; + protected final String TEXT_3249 = "("; + protected final String TEXT_3250 = ")"; + protected final String TEXT_3251 = ".get(j)).equalsIgnoreCase("; + protected final String TEXT_3252 = "."; + protected final String TEXT_3253 = "()) : "; + protected final String TEXT_3254 = ".get(j).equals("; + protected final String TEXT_3255 = "."; + protected final String TEXT_3256 = "())))"; + protected final String TEXT_3257 = NL + "\t\t\t\tif ("; + protected final String TEXT_3258 = " != null && !"; + protected final String TEXT_3259 = ".get(j).equals("; + protected final String TEXT_3260 = "."; + protected final String TEXT_3261 = "()))"; + protected final String TEXT_3262 = NL + "\t\t\t\t\tcontinue "; + protected final String TEXT_3263 = "Loop;"; + protected final String TEXT_3264 = NL + "\t\t\t}"; + protected final String TEXT_3265 = NL + "\t\t\t"; + protected final String TEXT_3266 = " "; + protected final String TEXT_3267 = " = "; + protected final String TEXT_3268 = "."; + protected final String TEXT_3269 = "();" + NL + "\t\t\tif ("; + protected final String TEXT_3270 = " == null)" + NL + "\t\t\t\tcontinue "; + protected final String TEXT_3271 = "Loop;"; + protected final String TEXT_3272 = NL + "\t\t\tif ("; + protected final String TEXT_3273 = " != null && !(ignoreCase ? "; + protected final String TEXT_3274 = ".equalsIgnoreCase("; + protected final String TEXT_3275 = "."; + protected final String TEXT_3276 = "()) : "; + protected final String TEXT_3277 = ".equals("; + protected final String TEXT_3278 = "."; + protected final String TEXT_3279 = "())))"; + protected final String TEXT_3280 = NL + "\t\t\tif ("; + protected final String TEXT_3281 = " != null && !"; + protected final String TEXT_3282 = ".equals("; + protected final String TEXT_3283 = "."; + protected final String TEXT_3284 = "()))"; + protected final String TEXT_3285 = NL + "\t\t\t\tcontinue "; + protected final String TEXT_3286 = "Loop;"; + protected final String TEXT_3287 = NL + "\t\t\tif ("; + protected final String TEXT_3288 = " != null && !(ignoreCase ? "; + protected final String TEXT_3289 = ".equalsIgnoreCase("; + protected final String TEXT_3290 = "."; + protected final String TEXT_3291 = "()) : "; + protected final String TEXT_3292 = ".equals("; + protected final String TEXT_3293 = "."; + protected final String TEXT_3294 = "())))"; + protected final String TEXT_3295 = NL + "\t\t\tif ("; + protected final String TEXT_3296 = " != null && !"; + protected final String TEXT_3297 = ".equals("; + protected final String TEXT_3298 = "."; + protected final String TEXT_3299 = "()))"; + protected final String TEXT_3300 = NL + "\t\t\t\tcontinue "; + protected final String TEXT_3301 = "Loop;"; + protected final String TEXT_3302 = NL + "\t\t\treturn "; + protected final String TEXT_3303 = ";" + NL + "\t\t}"; + protected final String TEXT_3304 = NL + "\t\treturn createOnDemand"; + protected final String TEXT_3305 = " && eClass != null"; + protected final String TEXT_3306 = " ? create"; + protected final String TEXT_3307 = "("; + protected final String TEXT_3308 = ", eClass"; + protected final String TEXT_3309 = ") : null;"; + protected final String TEXT_3310 = NL + "\t\treturn null;"; + protected final String TEXT_3311 = NL + "\t}" + NL; + protected final String TEXT_3312 = 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_3313 = "()" + NL + "\t{"; + protected final String TEXT_3314 = NL + " \t\treturn false;"; + protected final String TEXT_3315 = NL + "\t\treturn eIsSet("; + protected final String TEXT_3316 = ");"; + protected final String TEXT_3317 = NL + "\t\treturn !(("; + protected final String TEXT_3318 = ".Internal.Wrapper)"; + protected final String TEXT_3319 = "()).featureMap().isEmpty();"; + protected final String TEXT_3320 = NL + "\t\treturn "; + protected final String TEXT_3321 = " != null && !"; + protected final String TEXT_3322 = ".featureMap().isEmpty();"; protected final String TEXT_3323 = NL + "\t\treturn "; - protected final String TEXT_3324 = " != "; - protected final String TEXT_3325 = ";"; - protected final String TEXT_3326 = NL + "\t\treturn eVirtualGet("; - protected final String TEXT_3327 = ", "; - protected final String TEXT_3328 = ") != "; - protected final String TEXT_3329 = ";"; - protected final String TEXT_3330 = NL + "\t\treturn "; - protected final String TEXT_3331 = "() != "; - protected final String TEXT_3332 = ";"; - protected final String TEXT_3333 = NL + "\t\treturn "; - protected final String TEXT_3334 = " == null ? "; - protected final String TEXT_3335 = " != null : !"; - protected final String TEXT_3336 = ".equals("; - protected final String TEXT_3337 = ");"; - protected final String TEXT_3338 = NL + "\t\t"; - protected final String TEXT_3339 = " "; - protected final String TEXT_3340 = " = ("; - protected final String TEXT_3341 = ")eVirtualGet("; - protected final String TEXT_3342 = ", "; - protected final String TEXT_3343 = ");" + NL + "\t\treturn "; - protected final String TEXT_3344 = " == null ? "; - protected final String TEXT_3345 = " != null : !"; - protected final String TEXT_3346 = ".equals("; - protected final String TEXT_3347 = ");"; - protected final String TEXT_3348 = NL + "\t\treturn "; - protected final String TEXT_3349 = " == null ? "; - protected final String TEXT_3350 = "() != null : !"; - protected final String TEXT_3351 = ".equals("; - protected final String TEXT_3352 = "());"; - protected final String TEXT_3353 = NL + "\t\treturn eIsSet("; - protected final String TEXT_3354 = ");"; - protected final String TEXT_3355 = NL + "\t\t"; - protected final String TEXT_3356 = " "; - protected final String TEXT_3357 = " = ("; - protected final String TEXT_3358 = ")eVirtualGet("; - protected final String TEXT_3359 = ");"; - protected final String TEXT_3360 = NL + "\t\treturn "; - protected final String TEXT_3361 = " != null && (("; - protected final String TEXT_3362 = ".Unsettable"; - protected final String TEXT_3363 = ")"; - protected final String TEXT_3364 = ").isSet();"; - protected final String TEXT_3365 = NL + "\t\treturn eVirtualIsSet("; - protected final String TEXT_3366 = ");"; - protected final String TEXT_3367 = NL + "\t\treturn ("; - protected final String TEXT_3368 = " & "; - protected final String TEXT_3369 = "_ESETFLAG) != 0;"; - protected final String TEXT_3370 = NL + "\t\treturn "; - protected final String TEXT_3371 = "ESet;"; - protected final String TEXT_3372 = NL + "\t\treturn !(("; - protected final String TEXT_3373 = ".Internal)(("; - protected final String TEXT_3374 = ".Internal.Wrapper)get"; - protected final String TEXT_3375 = "()).featureMap()).isEmpty("; - protected final String TEXT_3376 = ");"; - protected final String TEXT_3377 = NL + "\t\treturn !(("; - protected final String TEXT_3378 = ".Internal)get"; - protected final String TEXT_3379 = "()).isEmpty("; - protected final String TEXT_3380 = ");"; - protected final String TEXT_3381 = NL + "\t\treturn "; - protected final String TEXT_3382 = "."; - protected final String TEXT_3383 = "(this);"; - protected final String TEXT_3384 = NL + "\t\t// TODO: implement this method to return whether the '"; - protected final String TEXT_3385 = "' "; - protected final String TEXT_3386 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_3387 = NL + "\t}" + NL; - protected final String TEXT_3388 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; - protected final String TEXT_3389 = NL + "\t@Override"; - protected final String TEXT_3390 = NL + "\tpublic "; - protected final String TEXT_3391 = " "; - protected final String TEXT_3392 = "("; - protected final String TEXT_3393 = ")"; - protected final String TEXT_3394 = NL + "\t{"; - protected final String TEXT_3395 = NL + "\t\t"; - protected final String TEXT_3396 = "("; - protected final String TEXT_3397 = ");"; - protected final String TEXT_3398 = NL + "\t\tthrow new UnsupportedOperationException();"; - protected final String TEXT_3399 = NL + "\t\treturn "; - protected final String TEXT_3400 = "("; - protected final String TEXT_3401 = ");"; - protected final String TEXT_3402 = NL + "\t}" + NL; - protected final String TEXT_3403 = NL + "} //"; - protected final String TEXT_3404 = NL; + protected final String TEXT_3324 = " != null && !"; + protected final String TEXT_3325 = ".isEmpty();"; + protected final String TEXT_3326 = NL + "\t\t"; + protected final String TEXT_3327 = " "; + protected final String TEXT_3328 = " = ("; + protected final String TEXT_3329 = ")eVirtualGet("; + protected final String TEXT_3330 = ");" + NL + "\t\treturn "; + protected final String TEXT_3331 = " != null && !"; + protected final String TEXT_3332 = ".isEmpty();"; + protected final String TEXT_3333 = NL + "\t\treturn !"; + protected final String TEXT_3334 = "().isEmpty();"; + protected final String TEXT_3335 = NL + "\t\treturn "; + protected final String TEXT_3336 = " != null;"; + protected final String TEXT_3337 = NL + "\t\treturn eVirtualGet("; + protected final String TEXT_3338 = ") != null;"; + protected final String TEXT_3339 = NL + "\t\treturn basicGet"; + protected final String TEXT_3340 = "() != null;"; + protected final String TEXT_3341 = NL + "\t\treturn "; + protected final String TEXT_3342 = " != null;"; + protected final String TEXT_3343 = NL + "\t\treturn eVirtualGet("; + protected final String TEXT_3344 = ") != null;"; + protected final String TEXT_3345 = NL + "\t\treturn "; + protected final String TEXT_3346 = "() != null;"; + protected final String TEXT_3347 = NL + "\t\t\t\treturn (("; + protected final String TEXT_3348 = " & "; + protected final String TEXT_3349 = "_EFLAG) != 0) != "; + protected final String TEXT_3350 = ";"; + protected final String TEXT_3351 = NL + "\t\t\t\treturn ("; + protected final String TEXT_3352 = " & "; + protected final String TEXT_3353 = "_EFLAG) != "; + protected final String TEXT_3354 = "_EFLAG_DEFAULT;"; + protected final String TEXT_3355 = NL + "\t\treturn "; + protected final String TEXT_3356 = " != "; + protected final String TEXT_3357 = ";"; + protected final String TEXT_3358 = NL + "\t\treturn eVirtualGet("; + protected final String TEXT_3359 = ", "; + protected final String TEXT_3360 = ") != "; + protected final String TEXT_3361 = ";"; + protected final String TEXT_3362 = NL + "\t\treturn "; + protected final String TEXT_3363 = "() != "; + protected final String TEXT_3364 = ";"; + protected final String TEXT_3365 = NL + "\t\treturn "; + protected final String TEXT_3366 = " == null ? "; + protected final String TEXT_3367 = " != null : !"; + protected final String TEXT_3368 = ".equals("; + protected final String TEXT_3369 = ");"; + protected final String TEXT_3370 = NL + "\t\t"; + protected final String TEXT_3371 = " "; + protected final String TEXT_3372 = " = ("; + protected final String TEXT_3373 = ")eVirtualGet("; + protected final String TEXT_3374 = ", "; + protected final String TEXT_3375 = ");" + NL + "\t\treturn "; + protected final String TEXT_3376 = " == null ? "; + protected final String TEXT_3377 = " != null : !"; + protected final String TEXT_3378 = ".equals("; + protected final String TEXT_3379 = ");"; + protected final String TEXT_3380 = NL + "\t\treturn "; + protected final String TEXT_3381 = " == null ? "; + protected final String TEXT_3382 = "() != null : !"; + protected final String TEXT_3383 = ".equals("; + protected final String TEXT_3384 = "());"; + protected final String TEXT_3385 = NL + "\t\treturn eIsSet("; + protected final String TEXT_3386 = ");"; + protected final String TEXT_3387 = NL + "\t\t"; + protected final String TEXT_3388 = " "; + protected final String TEXT_3389 = " = ("; + protected final String TEXT_3390 = ")eVirtualGet("; + protected final String TEXT_3391 = ");"; + protected final String TEXT_3392 = NL + "\t\treturn "; + protected final String TEXT_3393 = " != null && (("; + protected final String TEXT_3394 = ".Unsettable"; + protected final String TEXT_3395 = ")"; + protected final String TEXT_3396 = ").isSet();"; + protected final String TEXT_3397 = NL + "\t\treturn eVirtualIsSet("; + protected final String TEXT_3398 = ");"; + protected final String TEXT_3399 = NL + "\t\treturn ("; + protected final String TEXT_3400 = " & "; + protected final String TEXT_3401 = "_ESETFLAG) != 0;"; + protected final String TEXT_3402 = NL + "\t\treturn "; + protected final String TEXT_3403 = "ESet;"; + protected final String TEXT_3404 = NL + "\t\treturn !(("; + protected final String TEXT_3405 = ".Internal)(("; + protected final String TEXT_3406 = ".Internal.Wrapper)get"; + protected final String TEXT_3407 = "()).featureMap()).isEmpty("; + protected final String TEXT_3408 = ");"; + protected final String TEXT_3409 = NL + "\t\treturn !(("; + protected final String TEXT_3410 = ".Internal)get"; + protected final String TEXT_3411 = "()).isEmpty("; + protected final String TEXT_3412 = ");"; + protected final String TEXT_3413 = NL + "\t\treturn "; + protected final String TEXT_3414 = "."; + protected final String TEXT_3415 = "(this);"; + protected final String TEXT_3416 = NL + "\t\t// TODO: implement this method to return whether the '"; + protected final String TEXT_3417 = "' "; + protected final String TEXT_3418 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_3419 = NL + "\t}" + NL; + protected final String TEXT_3420 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */"; + protected final String TEXT_3421 = NL + "\t@Override"; + protected final String TEXT_3422 = NL + "\tpublic "; + protected final String TEXT_3423 = " "; + protected final String TEXT_3424 = "("; + protected final String TEXT_3425 = ")"; + protected final String TEXT_3426 = NL + "\t{"; + protected final String TEXT_3427 = NL + "\t\t"; + protected final String TEXT_3428 = "("; + protected final String TEXT_3429 = ");"; + protected final String TEXT_3430 = NL + "\t\tthrow new UnsupportedOperationException();"; + protected final String TEXT_3431 = NL + "\t\treturn "; + protected final String TEXT_3432 = "("; + protected final String TEXT_3433 = ");"; + protected final String TEXT_3434 = NL + "\t}" + NL; + protected final String TEXT_3435 = NL + "} //"; + protected final String TEXT_3436 = NL; public String generate(Object argument) { @@ -5242,2235 +5274,2295 @@ if (index != -1) { head = typeName.substring(0, index); tail = typeName.substrin stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); stringBuffer.append(TEXT_764); if (genFeature.isContainer()) { + if (UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature) != genFeature.getTypeGenClassifier()) { stringBuffer.append(TEXT_765); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_766); stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_767); - stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(positiveOffsetCorrection); + stringBuffer.append(UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature).getRawImportedInstanceClassName()); stringBuffer.append(TEXT_768); - if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false).isEmpty() || !UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true).isEmpty()) { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_769); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); + stringBuffer.append(UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature).getRawImportedInstanceClassName()); stringBuffer.append(TEXT_770); - for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false)) { - if (subsetGenFeature.isContainer()) { + stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(TEXT_771); - stringBuffer.append(subsetGenFeature.getImportedType(genClass)); + } stringBuffer.append(TEXT_772); - stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); stringBuffer.append(TEXT_773); - stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_774); - } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { + stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); + stringBuffer.append(positiveOffsetCorrection); stringBuffer.append(TEXT_775); - stringBuffer.append(subsetGenFeature.getSafeName()); + if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false).isEmpty() || !UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true).isEmpty()) { stringBuffer.append(TEXT_776); - stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); stringBuffer.append(TEXT_777); - } + for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false)) { + if (subsetGenFeature.isContainer()) { stringBuffer.append(TEXT_778); - stringBuffer.append(subsetGenFeature.getSafeName()); + stringBuffer.append(subsetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_779); stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_780); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_781); - stringBuffer.append(subsetGenFeature.getAccessorName()); + } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { stringBuffer.append(TEXT_782); - } - for (GenFeature supersetGenFeature : UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true)) { + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_783); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); stringBuffer.append(TEXT_784); - if (supersetGenFeature.isListType()) { + } stringBuffer.append(TEXT_785); - stringBuffer.append(supersetGenFeature.getImportedType(genClass)); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_786); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(subsetGenFeature.getSafeName()); stringBuffer.append(TEXT_787); - stringBuffer.append(supersetGenFeature.getGetAccessor()); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_788); - stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(subsetGenFeature.getAccessorName()); stringBuffer.append(TEXT_789); - stringBuffer.append(genFeature.getCapName()); + } + for (GenFeature supersetGenFeature : UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true)) { stringBuffer.append(TEXT_790); - stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_791); stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_791); + if (supersetGenFeature.isListType()) { stringBuffer.append(TEXT_792); - } else { - if (supersetGenFeature.isContainer()) { - stringBuffer.append(TEXT_793); stringBuffer.append(supersetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_794); + stringBuffer.append(TEXT_793); stringBuffer.append(supersetGenFeature.getSafeName()); + stringBuffer.append(TEXT_794); + stringBuffer.append(supersetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_795); - stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_796); - } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_797); stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_798); - stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_799); - } + } else { + if (supersetGenFeature.isContainer()) { stringBuffer.append(TEXT_800); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(supersetGenFeature.getImportedType(genClass)); stringBuffer.append(TEXT_801); stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_802); - stringBuffer.append(supersetGenFeature.getAccessorName()); + stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); stringBuffer.append(TEXT_803); - stringBuffer.append(genFeature.getCapName()); + } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { stringBuffer.append(TEXT_804); - } + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_805); - } + stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); stringBuffer.append(TEXT_806); } stringBuffer.append(TEXT_807); - } else if (genModel.isDynamicDelegation()) { + stringBuffer.append(genFeature.getCapName()); stringBuffer.append(TEXT_808); - stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); + stringBuffer.append(supersetGenFeature.getSafeName()); stringBuffer.append(TEXT_809); - stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(supersetGenFeature.getAccessorName()); stringBuffer.append(TEXT_810); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_811); + } + stringBuffer.append(TEXT_812); + } + stringBuffer.append(TEXT_813); + } + stringBuffer.append(TEXT_814); + } else if (genModel.isDynamicDelegation()) { + if (UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature) != genFeature.getTypeGenClassifier()) { + stringBuffer.append(TEXT_815); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_816); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_817); + stringBuffer.append(UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature).getRawImportedInstanceClassName()); + stringBuffer.append(TEXT_818); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_819); + stringBuffer.append(UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature).getRawImportedInstanceClassName()); + stringBuffer.append(TEXT_820); + stringBuffer.append(genModel.getNonNLS()); + stringBuffer.append(TEXT_821); + } + stringBuffer.append(TEXT_822); + stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); + stringBuffer.append(TEXT_823); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_824); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_811); + stringBuffer.append(TEXT_825); if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false).isEmpty() || !UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true).isEmpty()) { - stringBuffer.append(TEXT_812); + stringBuffer.append(TEXT_826); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); - stringBuffer.append(TEXT_813); + stringBuffer.append(TEXT_827); for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false)) { if (subsetGenFeature.isContainer()) { - stringBuffer.append(TEXT_814); + stringBuffer.append(TEXT_828); stringBuffer.append(subsetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_815); + stringBuffer.append(TEXT_829); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_816); + stringBuffer.append(TEXT_830); stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_817); + stringBuffer.append(TEXT_831); } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_818); + stringBuffer.append(TEXT_832); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_819); + stringBuffer.append(TEXT_833); stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); - stringBuffer.append(TEXT_820); + stringBuffer.append(TEXT_834); } - stringBuffer.append(TEXT_821); + stringBuffer.append(TEXT_835); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_822); + stringBuffer.append(TEXT_836); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_823); + stringBuffer.append(TEXT_837); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_824); + stringBuffer.append(TEXT_838); stringBuffer.append(subsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_825); + stringBuffer.append(TEXT_839); } for (GenFeature supersetGenFeature : UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true)) { - stringBuffer.append(TEXT_826); + stringBuffer.append(TEXT_840); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_827); + stringBuffer.append(TEXT_841); if (supersetGenFeature.isListType()) { - stringBuffer.append(TEXT_828); + stringBuffer.append(TEXT_842); stringBuffer.append(supersetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_829); + stringBuffer.append(TEXT_843); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_830); + stringBuffer.append(TEXT_844); stringBuffer.append(supersetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_831); + stringBuffer.append(TEXT_845); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_832); + stringBuffer.append(TEXT_846); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_833); + stringBuffer.append(TEXT_847); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_834); + stringBuffer.append(TEXT_848); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_835); + stringBuffer.append(TEXT_849); } else { if (supersetGenFeature.isContainer()) { - stringBuffer.append(TEXT_836); + stringBuffer.append(TEXT_850); stringBuffer.append(supersetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_837); + stringBuffer.append(TEXT_851); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_838); + stringBuffer.append(TEXT_852); stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_839); + stringBuffer.append(TEXT_853); } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_840); + stringBuffer.append(TEXT_854); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_841); + stringBuffer.append(TEXT_855); stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); - stringBuffer.append(TEXT_842); + stringBuffer.append(TEXT_856); } - stringBuffer.append(TEXT_843); + stringBuffer.append(TEXT_857); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_844); + stringBuffer.append(TEXT_858); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_845); + stringBuffer.append(TEXT_859); stringBuffer.append(supersetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_846); + stringBuffer.append(TEXT_860); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_847); + stringBuffer.append(TEXT_861); } - stringBuffer.append(TEXT_848); + stringBuffer.append(TEXT_862); } - stringBuffer.append(TEXT_849); + stringBuffer.append(TEXT_863); } - stringBuffer.append(TEXT_850); + stringBuffer.append(TEXT_864); } else if (!genFeature.isVolatile()) { + if (UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature) != genFeature.getTypeGenClassifier()) { + stringBuffer.append(TEXT_865); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_866); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_867); + stringBuffer.append(UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature).getRawImportedInstanceClassName()); + stringBuffer.append(TEXT_868); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_869); + stringBuffer.append(UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature).getRawImportedInstanceClassName()); + stringBuffer.append(TEXT_870); + stringBuffer.append(genModel.getNonNLS()); + stringBuffer.append(TEXT_871); + } if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_851); + stringBuffer.append(TEXT_872); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_852); + stringBuffer.append(TEXT_873); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_853); + stringBuffer.append(TEXT_874); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_854); + stringBuffer.append(TEXT_875); } else { - stringBuffer.append(TEXT_855); + stringBuffer.append(TEXT_876); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_856); + stringBuffer.append(TEXT_877); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_857); + stringBuffer.append(TEXT_878); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_858); + stringBuffer.append(TEXT_879); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_859); + stringBuffer.append(TEXT_880); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_860); + stringBuffer.append(TEXT_881); } if (genFeature.isUnsettable()) { if (genModel.isVirtualDelegation()) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_861); + stringBuffer.append(TEXT_882); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_862); + stringBuffer.append(TEXT_883); } } else if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_863); + stringBuffer.append(TEXT_884); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_864); + stringBuffer.append(TEXT_885); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_865); + stringBuffer.append(TEXT_886); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_866); + stringBuffer.append(TEXT_887); if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_867); + stringBuffer.append(TEXT_888); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_868); + stringBuffer.append(TEXT_889); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_869); + stringBuffer.append(TEXT_890); } } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_870); + stringBuffer.append(TEXT_891); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_871); + stringBuffer.append(TEXT_892); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_872); + stringBuffer.append(TEXT_893); } - stringBuffer.append(TEXT_873); + stringBuffer.append(TEXT_894); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_874); + stringBuffer.append(TEXT_895); } } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_875); + stringBuffer.append(TEXT_896); if (genFeature.isUnsettable()) { - stringBuffer.append(TEXT_876); + stringBuffer.append(TEXT_897); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_877); + stringBuffer.append(TEXT_898); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_878); + stringBuffer.append(TEXT_899); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); - stringBuffer.append(TEXT_879); + stringBuffer.append(TEXT_900); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_880); + stringBuffer.append(TEXT_901); if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_881); + stringBuffer.append(TEXT_902); stringBuffer.append(genFeature.getCapName()); } else { - stringBuffer.append(TEXT_882); + stringBuffer.append(TEXT_903); stringBuffer.append(genFeature.getCapName()); } - stringBuffer.append(TEXT_883); + stringBuffer.append(TEXT_904); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_884); + stringBuffer.append(TEXT_905); if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_885); + stringBuffer.append(TEXT_906); } else { - stringBuffer.append(TEXT_886); + stringBuffer.append(TEXT_907); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_887); + stringBuffer.append(TEXT_908); } - stringBuffer.append(TEXT_888); + stringBuffer.append(TEXT_909); } else { - stringBuffer.append(TEXT_889); + stringBuffer.append(TEXT_910); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_890); + stringBuffer.append(TEXT_911); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_891); + stringBuffer.append(TEXT_912); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); - stringBuffer.append(TEXT_892); + stringBuffer.append(TEXT_913); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_893); + stringBuffer.append(TEXT_914); if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_894); + stringBuffer.append(TEXT_915); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_895); + stringBuffer.append(TEXT_916); stringBuffer.append(genFeature.getCapName()); } else { - stringBuffer.append(TEXT_896); + stringBuffer.append(TEXT_917); stringBuffer.append(genFeature.getCapName()); } - stringBuffer.append(TEXT_897); + stringBuffer.append(TEXT_918); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_898); + stringBuffer.append(TEXT_919); } - stringBuffer.append(TEXT_899); + stringBuffer.append(TEXT_920); } if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false).isEmpty() || !UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true).isEmpty()) { - stringBuffer.append(TEXT_900); + stringBuffer.append(TEXT_921); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); - stringBuffer.append(TEXT_901); + stringBuffer.append(TEXT_922); for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false)) { if (subsetGenFeature.isContainer()) { - stringBuffer.append(TEXT_902); + stringBuffer.append(TEXT_923); stringBuffer.append(subsetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_903); + stringBuffer.append(TEXT_924); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_904); + stringBuffer.append(TEXT_925); stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_905); + stringBuffer.append(TEXT_926); } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_906); + stringBuffer.append(TEXT_927); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_907); + stringBuffer.append(TEXT_928); stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); - stringBuffer.append(TEXT_908); + stringBuffer.append(TEXT_929); } - stringBuffer.append(TEXT_909); + stringBuffer.append(TEXT_930); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_910); + stringBuffer.append(TEXT_931); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_911); + stringBuffer.append(TEXT_932); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_912); + stringBuffer.append(TEXT_933); stringBuffer.append(subsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_913); + stringBuffer.append(TEXT_934); } for (GenFeature supersetGenFeature : UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true)) { - stringBuffer.append(TEXT_914); + stringBuffer.append(TEXT_935); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_915); + stringBuffer.append(TEXT_936); if (supersetGenFeature.isListType()) { - stringBuffer.append(TEXT_916); + stringBuffer.append(TEXT_937); stringBuffer.append(supersetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_917); + stringBuffer.append(TEXT_938); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_918); + stringBuffer.append(TEXT_939); stringBuffer.append(supersetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_919); + stringBuffer.append(TEXT_940); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_920); + stringBuffer.append(TEXT_941); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_921); + stringBuffer.append(TEXT_942); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_922); + stringBuffer.append(TEXT_943); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_923); + stringBuffer.append(TEXT_944); } else { if (supersetGenFeature.isContainer()) { - stringBuffer.append(TEXT_924); + stringBuffer.append(TEXT_945); stringBuffer.append(supersetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_925); + stringBuffer.append(TEXT_946); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_926); + stringBuffer.append(TEXT_947); stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_927); + stringBuffer.append(TEXT_948); } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_928); + stringBuffer.append(TEXT_949); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_929); + stringBuffer.append(TEXT_950); stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); - stringBuffer.append(TEXT_930); + stringBuffer.append(TEXT_951); } - stringBuffer.append(TEXT_931); + stringBuffer.append(TEXT_952); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_932); + stringBuffer.append(TEXT_953); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_933); + stringBuffer.append(TEXT_954); stringBuffer.append(supersetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_934); + stringBuffer.append(TEXT_955); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_935); + stringBuffer.append(TEXT_956); } - stringBuffer.append(TEXT_936); + stringBuffer.append(TEXT_957); } - stringBuffer.append(TEXT_937); + stringBuffer.append(TEXT_958); } - stringBuffer.append(TEXT_938); + stringBuffer.append(TEXT_959); } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_939); + stringBuffer.append(TEXT_960); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_940); + stringBuffer.append(TEXT_961); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_941); + stringBuffer.append(TEXT_962); stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_942); + stringBuffer.append(TEXT_963); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_943); + stringBuffer.append(TEXT_964); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_944); + stringBuffer.append(TEXT_965); } else { - stringBuffer.append(TEXT_945); + stringBuffer.append(TEXT_966); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_946); + stringBuffer.append(TEXT_967); stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_947); + stringBuffer.append(TEXT_968); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_948); + stringBuffer.append(TEXT_969); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_949); + stringBuffer.append(TEXT_970); } } else { - stringBuffer.append(TEXT_950); + stringBuffer.append(TEXT_971); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_951); + stringBuffer.append(TEXT_972); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_952); + stringBuffer.append(TEXT_973); //Class/basicSetGenFeature.todo.override.javajetinc } - stringBuffer.append(TEXT_953); + stringBuffer.append(TEXT_974); //Class/basicSetGenFeature.override.javajetinc } if (genFeature.isSet() && (isImplementation || !genFeature.isSuppressedSetVisibility())) { if (isInterface) { - stringBuffer.append(TEXT_954); + stringBuffer.append(TEXT_975); stringBuffer.append(genClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_955); + stringBuffer.append(TEXT_976); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_956); + stringBuffer.append(TEXT_977); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_957); + stringBuffer.append(TEXT_978); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_958); - stringBuffer.append(TEXT_959); + stringBuffer.append(TEXT_979); + stringBuffer.append(TEXT_980); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_960); + stringBuffer.append(TEXT_981); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_961); + stringBuffer.append(TEXT_982); if (genFeature.isEnumType()) { - stringBuffer.append(TEXT_962); + stringBuffer.append(TEXT_983); stringBuffer.append(genFeature.getTypeGenEnum().getQualifiedName()); } if (genFeature.isUnsettable()) { if (!genFeature.isSuppressedIsSetVisibility()) { - stringBuffer.append(TEXT_963); + stringBuffer.append(TEXT_984); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_964); + stringBuffer.append(TEXT_985); } if (!genFeature.isSuppressedUnsetVisibility()) { - stringBuffer.append(TEXT_965); + stringBuffer.append(TEXT_986); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_966); + stringBuffer.append(TEXT_987); } } - stringBuffer.append(TEXT_967); + stringBuffer.append(TEXT_988); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_968); + stringBuffer.append(TEXT_989); //Class/setGenFeature.javadoc.override.javajetinc } else { - stringBuffer.append(TEXT_969); + stringBuffer.append(TEXT_990); 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_970); + stringBuffer.append(TEXT_991); } } } if (!isImplementation) { - stringBuffer.append(TEXT_971); + stringBuffer.append(TEXT_992); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_972); + stringBuffer.append(TEXT_993); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_973); + stringBuffer.append(TEXT_994); } else { GenOperation setAccessorOperation = genClass.getSetAccessorOperation(genFeature); - stringBuffer.append(TEXT_974); + stringBuffer.append(TEXT_995); stringBuffer.append(genFeature.getAccessorName()); if (genClass.hasCollidingSetAccessorOperation(genFeature)) { - stringBuffer.append(TEXT_975); + stringBuffer.append(TEXT_996); } - stringBuffer.append(TEXT_976); + stringBuffer.append(TEXT_997); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_977); + stringBuffer.append(TEXT_998); stringBuffer.append(setAccessorOperation == null ? "new" + genFeature.getCapName() : setAccessorOperation.getGenParameters().get(0).getName()); - stringBuffer.append(TEXT_978); + stringBuffer.append(TEXT_999); + if (UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature) != genFeature.getTypeGenClassifier()) { + stringBuffer.append(TEXT_1000); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1001); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1002); + stringBuffer.append(UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature).getRawImportedInstanceClassName()); + stringBuffer.append(TEXT_1003); + stringBuffer.append(genFeature.getCapName()); + stringBuffer.append(TEXT_1004); + stringBuffer.append(UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature).getRawImportedInstanceClassName()); + stringBuffer.append(TEXT_1005); + stringBuffer.append(genModel.getNonNLS()); + stringBuffer.append(TEXT_1006); + } if (genFeature.isStringType() && UML2GenModelUtil.isSafeStrings(genModel)) { - stringBuffer.append(TEXT_979); + stringBuffer.append(TEXT_1007); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_980); + stringBuffer.append(TEXT_1008); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_981); + stringBuffer.append(TEXT_1009); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_982); + stringBuffer.append(TEXT_1010); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_983); + stringBuffer.append(TEXT_1011); } if (genModel.isDynamicDelegation()) { - stringBuffer.append(TEXT_984); + stringBuffer.append(TEXT_1012); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_985); + stringBuffer.append(TEXT_1013); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_986); + stringBuffer.append(TEXT_1014); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_987); + stringBuffer.append(TEXT_1015); stringBuffer.append(genFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_988); + stringBuffer.append(TEXT_1016); } - stringBuffer.append(TEXT_989); + stringBuffer.append(TEXT_1017); stringBuffer.append(genFeature.getCapName()); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_990); + stringBuffer.append(TEXT_1018); } - stringBuffer.append(TEXT_991); + stringBuffer.append(TEXT_1019); } else if (genModel.isReflectiveDelegation()) { - stringBuffer.append(TEXT_992); + stringBuffer.append(TEXT_1020); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_993); + stringBuffer.append(TEXT_1021); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_994); + stringBuffer.append(TEXT_1022); stringBuffer.append(genFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_995); + stringBuffer.append(TEXT_1023); } - stringBuffer.append(TEXT_996); + stringBuffer.append(TEXT_1024); stringBuffer.append(genFeature.getCapName()); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_997); + stringBuffer.append(TEXT_1025); } - stringBuffer.append(TEXT_998); + stringBuffer.append(TEXT_1026); } else if (genFeature.hasSettingDelegate()) { - stringBuffer.append(TEXT_999); + stringBuffer.append(TEXT_1027); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1000); + stringBuffer.append(TEXT_1028); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1001); + stringBuffer.append(TEXT_1029); stringBuffer.append(genFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_1002); + stringBuffer.append(TEXT_1030); } - stringBuffer.append(TEXT_1003); + stringBuffer.append(TEXT_1031); stringBuffer.append(genFeature.getCapName()); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1004); + stringBuffer.append(TEXT_1032); } - stringBuffer.append(TEXT_1005); + stringBuffer.append(TEXT_1033); } 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_1006); + stringBuffer.append(TEXT_1034); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1007); + stringBuffer.append(TEXT_1035); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1008); + stringBuffer.append(TEXT_1036); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1009); + stringBuffer.append(TEXT_1037); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil")); - stringBuffer.append(TEXT_1010); + stringBuffer.append(TEXT_1038); stringBuffer.append(genFeature.getEObjectCast()); - stringBuffer.append(TEXT_1011); + stringBuffer.append(TEXT_1039); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1012); + stringBuffer.append(TEXT_1040); stringBuffer.append(genModel.getImportedName("java.lang.IllegalArgumentException")); - stringBuffer.append(TEXT_1013); + stringBuffer.append(TEXT_1041); stringBuffer.append(genModel.getNonNLS()); - stringBuffer.append(TEXT_1014); + stringBuffer.append(TEXT_1042); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_1015); + stringBuffer.append(TEXT_1043); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1016); + stringBuffer.append(TEXT_1044); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_1017); + stringBuffer.append(TEXT_1045); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1018); + stringBuffer.append(TEXT_1046); stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature)); stringBuffer.append(reverseOffsetCorrection); - stringBuffer.append(TEXT_1019); + stringBuffer.append(TEXT_1047); stringBuffer.append(targetClass.getRawImportedInterfaceName()); - stringBuffer.append(TEXT_1020); + stringBuffer.append(TEXT_1048); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1021); + stringBuffer.append(TEXT_1049); stringBuffer.append(genFeature.getInternalTypeCast()); - stringBuffer.append(TEXT_1022); + stringBuffer.append(TEXT_1050); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1023); + stringBuffer.append(TEXT_1051); if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1024); + stringBuffer.append(TEXT_1052); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_1025); + stringBuffer.append(TEXT_1053); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); - stringBuffer.append(TEXT_1026); + stringBuffer.append(TEXT_1054); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1027); + stringBuffer.append(TEXT_1055); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1028); + stringBuffer.append(TEXT_1056); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1029); + stringBuffer.append(TEXT_1057); } } else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1030); + stringBuffer.append(TEXT_1058); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1031); + stringBuffer.append(TEXT_1059); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1032); + stringBuffer.append(TEXT_1060); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1033); + stringBuffer.append(TEXT_1061); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1034); + stringBuffer.append(TEXT_1062); } - stringBuffer.append(TEXT_1035); + stringBuffer.append(TEXT_1063); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1036); + stringBuffer.append(TEXT_1064); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1037); + stringBuffer.append(TEXT_1065); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_1038); + stringBuffer.append(TEXT_1066); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1039); + stringBuffer.append(TEXT_1067); if (!genFeature.isBidirectional()) { - stringBuffer.append(TEXT_1040); + stringBuffer.append(TEXT_1068); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_1041); + stringBuffer.append(TEXT_1069); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1042); + stringBuffer.append(TEXT_1070); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_1043); + stringBuffer.append(TEXT_1071); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1044); + stringBuffer.append(TEXT_1072); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_1045); + stringBuffer.append(TEXT_1073); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1046); + stringBuffer.append(TEXT_1074); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_1047); + stringBuffer.append(TEXT_1075); } else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : ""; - stringBuffer.append(TEXT_1048); + stringBuffer.append(TEXT_1076); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_1049); + stringBuffer.append(TEXT_1077); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1050); + stringBuffer.append(TEXT_1078); stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature)); stringBuffer.append(reverseOffsetCorrection); - stringBuffer.append(TEXT_1051); + stringBuffer.append(TEXT_1079); stringBuffer.append(targetClass.getRawImportedInterfaceName()); - stringBuffer.append(TEXT_1052); + stringBuffer.append(TEXT_1080); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1053); + stringBuffer.append(TEXT_1081); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_1054); + stringBuffer.append(TEXT_1082); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1055); + stringBuffer.append(TEXT_1083); stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature)); stringBuffer.append(reverseOffsetCorrection); - stringBuffer.append(TEXT_1056); + stringBuffer.append(TEXT_1084); stringBuffer.append(targetClass.getRawImportedInterfaceName()); - stringBuffer.append(TEXT_1057); + stringBuffer.append(TEXT_1085); } - stringBuffer.append(TEXT_1058); + stringBuffer.append(TEXT_1086); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1059); + stringBuffer.append(TEXT_1087); stringBuffer.append(genFeature.getInternalTypeCast()); - stringBuffer.append(TEXT_1060); + stringBuffer.append(TEXT_1088); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1061); + stringBuffer.append(TEXT_1089); if (genFeature.isUnsettable()) { - stringBuffer.append(TEXT_1062); + stringBuffer.append(TEXT_1090); if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1063); + stringBuffer.append(TEXT_1091); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1064); + stringBuffer.append(TEXT_1092); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1065); + stringBuffer.append(TEXT_1093); } else if (genClass.isESetFlag(genFeature)) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1066); + stringBuffer.append(TEXT_1094); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1067); + stringBuffer.append(TEXT_1095); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1068); + stringBuffer.append(TEXT_1096); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1069); + stringBuffer.append(TEXT_1097); } - stringBuffer.append(TEXT_1070); + stringBuffer.append(TEXT_1098); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1071); + stringBuffer.append(TEXT_1099); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1072); + stringBuffer.append(TEXT_1100); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1073); + stringBuffer.append(TEXT_1101); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1074); + stringBuffer.append(TEXT_1102); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1075); + stringBuffer.append(TEXT_1103); } - stringBuffer.append(TEXT_1076); + stringBuffer.append(TEXT_1104); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1077); + stringBuffer.append(TEXT_1105); } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1078); + stringBuffer.append(TEXT_1106); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_1079); + stringBuffer.append(TEXT_1107); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); - stringBuffer.append(TEXT_1080); + stringBuffer.append(TEXT_1108); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1081); + stringBuffer.append(TEXT_1109); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1082); + stringBuffer.append(TEXT_1110); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1083); + stringBuffer.append(TEXT_1111); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1084); + stringBuffer.append(TEXT_1112); } - stringBuffer.append(TEXT_1085); + stringBuffer.append(TEXT_1113); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1086); + stringBuffer.append(TEXT_1114); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_1087); + stringBuffer.append(TEXT_1115); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); - stringBuffer.append(TEXT_1088); + stringBuffer.append(TEXT_1116); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1089); + stringBuffer.append(TEXT_1117); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1090); + stringBuffer.append(TEXT_1118); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1091); + stringBuffer.append(TEXT_1119); } } } else { if (genClass.isFlag(genFeature)) { if (!genModel.isSuppressNotification()) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_1092); + stringBuffer.append(TEXT_1120); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1093); + stringBuffer.append(TEXT_1121); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1094); + stringBuffer.append(TEXT_1122); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1095); + stringBuffer.append(TEXT_1123); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1096); + stringBuffer.append(TEXT_1124); } else { - stringBuffer.append(TEXT_1097); + stringBuffer.append(TEXT_1125); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1098); + stringBuffer.append(TEXT_1126); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1099); + stringBuffer.append(TEXT_1127); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1100); + stringBuffer.append(TEXT_1128); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1101); + stringBuffer.append(TEXT_1129); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1102); + stringBuffer.append(TEXT_1130); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1103); + stringBuffer.append(TEXT_1131); } } if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_1104); + stringBuffer.append(TEXT_1132); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1105); + stringBuffer.append(TEXT_1133); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1106); + stringBuffer.append(TEXT_1134); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1107); + stringBuffer.append(TEXT_1135); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1108); + stringBuffer.append(TEXT_1136); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1109); + stringBuffer.append(TEXT_1137); } else { - stringBuffer.append(TEXT_1110); + stringBuffer.append(TEXT_1138); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1111); + stringBuffer.append(TEXT_1139); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1112); + stringBuffer.append(TEXT_1140); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1113); + stringBuffer.append(TEXT_1141); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1114); + stringBuffer.append(TEXT_1142); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1115); + stringBuffer.append(TEXT_1143); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1116); + stringBuffer.append(TEXT_1144); if (isJDK50) { - stringBuffer.append(TEXT_1117); + stringBuffer.append(TEXT_1145); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1118); + stringBuffer.append(TEXT_1146); } else { stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1119); + stringBuffer.append(TEXT_1147); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1120); + stringBuffer.append(TEXT_1148); } - stringBuffer.append(TEXT_1121); + stringBuffer.append(TEXT_1149); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1122); + stringBuffer.append(TEXT_1150); } } else { if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1123); + stringBuffer.append(TEXT_1151); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1124); + stringBuffer.append(TEXT_1152); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1125); + stringBuffer.append(TEXT_1153); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1126); + stringBuffer.append(TEXT_1154); } } if (genFeature.isEnumType()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1127); + stringBuffer.append(TEXT_1155); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1128); + stringBuffer.append(TEXT_1156); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1129); + stringBuffer.append(TEXT_1157); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1130); + stringBuffer.append(TEXT_1158); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1131); + stringBuffer.append(TEXT_1159); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1132); + stringBuffer.append(TEXT_1160); } else { - stringBuffer.append(TEXT_1133); + stringBuffer.append(TEXT_1161); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1134); + stringBuffer.append(TEXT_1162); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1135); + stringBuffer.append(TEXT_1163); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1136); + stringBuffer.append(TEXT_1164); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1137); + stringBuffer.append(TEXT_1165); } } else { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1138); + stringBuffer.append(TEXT_1166); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1139); + stringBuffer.append(TEXT_1167); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1140); + stringBuffer.append(TEXT_1168); stringBuffer.append(genFeature.getInternalTypeCast()); - stringBuffer.append(TEXT_1141); + stringBuffer.append(TEXT_1169); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1142); + stringBuffer.append(TEXT_1170); } else { - stringBuffer.append(TEXT_1143); + stringBuffer.append(TEXT_1171); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1144); + stringBuffer.append(TEXT_1172); stringBuffer.append(genFeature.getInternalTypeCast()); - stringBuffer.append(TEXT_1145); + stringBuffer.append(TEXT_1173); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1146); + stringBuffer.append(TEXT_1174); } } if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1147); + stringBuffer.append(TEXT_1175); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1148); + stringBuffer.append(TEXT_1176); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1149); + stringBuffer.append(TEXT_1177); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1150); + stringBuffer.append(TEXT_1178); } } if (genFeature.isUnsettable()) { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1151); + stringBuffer.append(TEXT_1179); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1152); + stringBuffer.append(TEXT_1180); } else if (genClass.isESetFlag(genFeature)) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1153); + stringBuffer.append(TEXT_1181); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1154); + stringBuffer.append(TEXT_1182); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1155); + stringBuffer.append(TEXT_1183); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1156); + stringBuffer.append(TEXT_1184); } - stringBuffer.append(TEXT_1157); + stringBuffer.append(TEXT_1185); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1158); + stringBuffer.append(TEXT_1186); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1159); + stringBuffer.append(TEXT_1187); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1160); + stringBuffer.append(TEXT_1188); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1161); + stringBuffer.append(TEXT_1189); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1162); + stringBuffer.append(TEXT_1190); } - stringBuffer.append(TEXT_1163); + stringBuffer.append(TEXT_1191); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1164); + stringBuffer.append(TEXT_1192); } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1165); + stringBuffer.append(TEXT_1193); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_1166); + stringBuffer.append(TEXT_1194); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); - stringBuffer.append(TEXT_1167); + stringBuffer.append(TEXT_1195); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1168); + stringBuffer.append(TEXT_1196); if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1169); + stringBuffer.append(TEXT_1197); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1170); + stringBuffer.append(TEXT_1198); stringBuffer.append(genFeature.getCapName()); } else { - stringBuffer.append(TEXT_1171); + stringBuffer.append(TEXT_1199); stringBuffer.append(genFeature.getCapName()); } - stringBuffer.append(TEXT_1172); + stringBuffer.append(TEXT_1200); if (genClass.isFlag(genFeature)) { - stringBuffer.append(TEXT_1173); + stringBuffer.append(TEXT_1201); stringBuffer.append(genFeature.getCapName()); } else { stringBuffer.append(genFeature.getSafeName()); } - stringBuffer.append(TEXT_1174); + stringBuffer.append(TEXT_1202); if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1175); + stringBuffer.append(TEXT_1203); } else { - stringBuffer.append(TEXT_1176); + stringBuffer.append(TEXT_1204); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1177); + stringBuffer.append(TEXT_1205); } - stringBuffer.append(TEXT_1178); + stringBuffer.append(TEXT_1206); } } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1179); + stringBuffer.append(TEXT_1207); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_1180); + stringBuffer.append(TEXT_1208); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); - stringBuffer.append(TEXT_1181); + stringBuffer.append(TEXT_1209); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1182); + stringBuffer.append(TEXT_1210); if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1183); + stringBuffer.append(TEXT_1211); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1184); + stringBuffer.append(TEXT_1212); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1185); + stringBuffer.append(TEXT_1213); stringBuffer.append(genFeature.getCapName()); } else { - stringBuffer.append(TEXT_1186); + stringBuffer.append(TEXT_1214); stringBuffer.append(genFeature.getCapName()); } - stringBuffer.append(TEXT_1187); + stringBuffer.append(TEXT_1215); if (genClass.isFlag(genFeature)) { - stringBuffer.append(TEXT_1188); + stringBuffer.append(TEXT_1216); stringBuffer.append(genFeature.getCapName()); } else { stringBuffer.append(genFeature.getSafeName()); } - stringBuffer.append(TEXT_1189); + stringBuffer.append(TEXT_1217); } } } if (!genFeature.isBasicSet()) { if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false).isEmpty() || !UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true).isEmpty()) { - stringBuffer.append(TEXT_1190); + stringBuffer.append(TEXT_1218); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.resource.Resource")); - stringBuffer.append(TEXT_1191); + stringBuffer.append(TEXT_1219); for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, false, false)) { if (subsetGenFeature.isContainer()) { - stringBuffer.append(TEXT_1192); + stringBuffer.append(TEXT_1220); stringBuffer.append(subsetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1193); + stringBuffer.append(TEXT_1221); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_1194); + stringBuffer.append(TEXT_1222); stringBuffer.append(subsetGenFeature.isBasicGet() ? "basicGet" + subsetGenFeature.getAccessorName() : subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1195); + stringBuffer.append(TEXT_1223); } else if (genClass.getImplementingGenModel(subsetGenFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_1196); + stringBuffer.append(TEXT_1224); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_1197); + stringBuffer.append(TEXT_1225); stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); - stringBuffer.append(TEXT_1198); + stringBuffer.append(TEXT_1226); } - stringBuffer.append(TEXT_1199); + stringBuffer.append(TEXT_1227); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_1200); + stringBuffer.append(TEXT_1228); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_1201); + stringBuffer.append(TEXT_1229); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1202); + stringBuffer.append(TEXT_1230); stringBuffer.append(subsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_1203); + stringBuffer.append(TEXT_1231); } for (GenFeature supersetGenFeature : UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false, true)) { - stringBuffer.append(TEXT_1204); + stringBuffer.append(TEXT_1232); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1205); + stringBuffer.append(TEXT_1233); if (supersetGenFeature.isListType()) { - stringBuffer.append(TEXT_1206); + stringBuffer.append(TEXT_1234); stringBuffer.append(supersetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1207); + stringBuffer.append(TEXT_1235); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_1208); + stringBuffer.append(TEXT_1236); stringBuffer.append(supersetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1209); + stringBuffer.append(TEXT_1237); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_1210); + stringBuffer.append(TEXT_1238); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1211); + stringBuffer.append(TEXT_1239); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_1212); + stringBuffer.append(TEXT_1240); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1213); + stringBuffer.append(TEXT_1241); } else { if (supersetGenFeature.isContainer()) { - stringBuffer.append(TEXT_1214); + stringBuffer.append(TEXT_1242); stringBuffer.append(supersetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1215); + stringBuffer.append(TEXT_1243); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_1216); + stringBuffer.append(TEXT_1244); stringBuffer.append(supersetGenFeature.isBasicGet() ? "basicGet" + supersetGenFeature.getAccessorName() : supersetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1217); + stringBuffer.append(TEXT_1245); } else if (genClass.getImplementingGenModel(supersetGenFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_1218); + stringBuffer.append(TEXT_1246); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_1219); + stringBuffer.append(TEXT_1247); stringBuffer.append(genClass.getQualifiedFeatureID(supersetGenFeature)); - stringBuffer.append(TEXT_1220); + stringBuffer.append(TEXT_1248); } - stringBuffer.append(TEXT_1221); + stringBuffer.append(TEXT_1249); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1222); + stringBuffer.append(TEXT_1250); stringBuffer.append(supersetGenFeature.getSafeName()); - stringBuffer.append(TEXT_1223); + stringBuffer.append(TEXT_1251); stringBuffer.append(supersetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_1224); + stringBuffer.append(TEXT_1252); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1225); + stringBuffer.append(TEXT_1253); } - stringBuffer.append(TEXT_1226); + stringBuffer.append(TEXT_1254); } - stringBuffer.append(TEXT_1227); + stringBuffer.append(TEXT_1255); } } } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_1228); + stringBuffer.append(TEXT_1256); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1229); + stringBuffer.append(TEXT_1257); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1230); + stringBuffer.append(TEXT_1258); stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_1231); + stringBuffer.append(TEXT_1259); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1232); + stringBuffer.append(TEXT_1260); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1233); + stringBuffer.append(TEXT_1261); stringBuffer.append(genFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_1234); + stringBuffer.append(TEXT_1262); } - stringBuffer.append(TEXT_1235); + stringBuffer.append(TEXT_1263); stringBuffer.append(genFeature.getCapName()); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1236); + stringBuffer.append(TEXT_1264); } - stringBuffer.append(TEXT_1237); + stringBuffer.append(TEXT_1265); } else { - stringBuffer.append(TEXT_1238); + stringBuffer.append(TEXT_1266); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1239); + stringBuffer.append(TEXT_1267); stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_1240); + stringBuffer.append(TEXT_1268); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1241); + stringBuffer.append(TEXT_1269); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1242); + stringBuffer.append(TEXT_1270); stringBuffer.append(genFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_1243); + stringBuffer.append(TEXT_1271); } - stringBuffer.append(TEXT_1244); + stringBuffer.append(TEXT_1272); stringBuffer.append(genFeature.getCapName()); if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1245); + stringBuffer.append(TEXT_1273); } - stringBuffer.append(TEXT_1246); + stringBuffer.append(TEXT_1274); } } else if (setAccessorOperation != null) { - stringBuffer.append(TEXT_1247); + stringBuffer.append(TEXT_1275); stringBuffer.append(setAccessorOperation.getBody(genModel.getIndentation(stringBuffer))); } else { { GenOperation genOperation = UML2GenModelUtil.getImplementedCollidingSetGenOperation(genClass, genFeature); if (genOperation != null && UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { - stringBuffer.append(TEXT_1248); + stringBuffer.append(TEXT_1276); stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); - stringBuffer.append(TEXT_1249); + stringBuffer.append(TEXT_1277); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_1250); + stringBuffer.append(TEXT_1278); stringBuffer.append(genOperation.getParameterNames(", ")); - stringBuffer.append(TEXT_1251); + stringBuffer.append(TEXT_1279); } else { - stringBuffer.append(TEXT_1252); + stringBuffer.append(TEXT_1280); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1253); + stringBuffer.append(TEXT_1281); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1254); + stringBuffer.append(TEXT_1282); } } //Class/setGenFeature.todo.override.javajetinc } - stringBuffer.append(TEXT_1255); + stringBuffer.append(TEXT_1283); } //Class/setGenFeature.override.javajetinc } if (isImplementation && !genModel.isReflectiveDelegation() && genFeature.isBasicUnset()) { - stringBuffer.append(TEXT_1256); + stringBuffer.append(TEXT_1284); 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_1257); + stringBuffer.append(TEXT_1285); } } - stringBuffer.append(TEXT_1258); + stringBuffer.append(TEXT_1286); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_1259); + stringBuffer.append(TEXT_1287); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1260); + stringBuffer.append(TEXT_1288); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_1261); + stringBuffer.append(TEXT_1289); if (genModel.isDynamicDelegation()) { - stringBuffer.append(TEXT_1262); + stringBuffer.append(TEXT_1290); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_1263); + stringBuffer.append(TEXT_1291); if (genFeature.isResolveProxies()) { - stringBuffer.append(TEXT_1264); + stringBuffer.append(TEXT_1292); stringBuffer.append(genFeature.getAccessorName()); } else { stringBuffer.append(genFeature.getGetAccessor()); } - stringBuffer.append(TEXT_1265); + stringBuffer.append(TEXT_1293); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1266); + stringBuffer.append(TEXT_1294); } else if (!genFeature.isVolatile()) { if (genModel.isVirtualDelegation()) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1267); + stringBuffer.append(TEXT_1295); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1268); + stringBuffer.append(TEXT_1296); } - stringBuffer.append(TEXT_1269); + stringBuffer.append(TEXT_1297); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1270); + stringBuffer.append(TEXT_1298); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1271); + stringBuffer.append(TEXT_1299); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1272); + stringBuffer.append(TEXT_1300); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1273); + stringBuffer.append(TEXT_1301); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1274); + stringBuffer.append(TEXT_1302); } - stringBuffer.append(TEXT_1275); + stringBuffer.append(TEXT_1303); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1276); + stringBuffer.append(TEXT_1304); } if (genModel.isVirtualDelegation()) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1277); + stringBuffer.append(TEXT_1305); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1278); + stringBuffer.append(TEXT_1306); } } else if (genClass.isESetFlag(genFeature)) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1279); + stringBuffer.append(TEXT_1307); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1280); + stringBuffer.append(TEXT_1308); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1281); + stringBuffer.append(TEXT_1309); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1282); + stringBuffer.append(TEXT_1310); } - stringBuffer.append(TEXT_1283); + stringBuffer.append(TEXT_1311); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1284); + stringBuffer.append(TEXT_1312); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1285); + stringBuffer.append(TEXT_1313); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1286); + stringBuffer.append(TEXT_1314); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1287); + stringBuffer.append(TEXT_1315); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1288); + stringBuffer.append(TEXT_1316); } - stringBuffer.append(TEXT_1289); + stringBuffer.append(TEXT_1317); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1290); + stringBuffer.append(TEXT_1318); } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1291); + stringBuffer.append(TEXT_1319); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_1292); + stringBuffer.append(TEXT_1320); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_1293); + stringBuffer.append(TEXT_1321); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); - stringBuffer.append(TEXT_1294); + stringBuffer.append(TEXT_1322); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1295); + stringBuffer.append(TEXT_1323); if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1296); + stringBuffer.append(TEXT_1324); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1297); + stringBuffer.append(TEXT_1325); } else { - stringBuffer.append(TEXT_1298); + stringBuffer.append(TEXT_1326); stringBuffer.append(genFeature.getCapName()); } - stringBuffer.append(TEXT_1299); + stringBuffer.append(TEXT_1327); if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1300); + stringBuffer.append(TEXT_1328); } else { - stringBuffer.append(TEXT_1301); + stringBuffer.append(TEXT_1329); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1302); + stringBuffer.append(TEXT_1330); } - stringBuffer.append(TEXT_1303); + stringBuffer.append(TEXT_1331); } } else { - stringBuffer.append(TEXT_1304); + stringBuffer.append(TEXT_1332); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1305); + stringBuffer.append(TEXT_1333); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1306); + stringBuffer.append(TEXT_1334); //Class/basicUnsetGenFeature.todo.override.javajetinc } - stringBuffer.append(TEXT_1307); + stringBuffer.append(TEXT_1335); //Class.basicUnsetGenFeature.override.javajetinc } if (genFeature.isUnset() && (isImplementation || !genFeature.isSuppressedUnsetVisibility())) { if (isInterface) { - stringBuffer.append(TEXT_1308); + stringBuffer.append(TEXT_1336); stringBuffer.append(genClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_1309); + stringBuffer.append(TEXT_1337); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1310); + stringBuffer.append(TEXT_1338); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1311); + stringBuffer.append(TEXT_1339); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1312); - stringBuffer.append(TEXT_1313); + stringBuffer.append(TEXT_1340); + stringBuffer.append(TEXT_1341); if (!genFeature.isSuppressedIsSetVisibility()) { - stringBuffer.append(TEXT_1314); + stringBuffer.append(TEXT_1342); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1315); + stringBuffer.append(TEXT_1343); } - stringBuffer.append(TEXT_1316); + stringBuffer.append(TEXT_1344); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1317); + stringBuffer.append(TEXT_1345); if (!genFeature.isListType() && !genFeature.isSuppressedSetVisibility()) { - stringBuffer.append(TEXT_1318); + stringBuffer.append(TEXT_1346); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1319); + stringBuffer.append(TEXT_1347); stringBuffer.append(genFeature.getRawImportedBoundType()); - stringBuffer.append(TEXT_1320); + stringBuffer.append(TEXT_1348); } - stringBuffer.append(TEXT_1321); + stringBuffer.append(TEXT_1349); //Class/unsetGenFeature.javadoc.override.javajetinc } else { - stringBuffer.append(TEXT_1322); + stringBuffer.append(TEXT_1350); 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_1323); + stringBuffer.append(TEXT_1351); } } } if (!isImplementation) { - stringBuffer.append(TEXT_1324); + stringBuffer.append(TEXT_1352); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1325); + stringBuffer.append(TEXT_1353); } else { - stringBuffer.append(TEXT_1326); + stringBuffer.append(TEXT_1354); stringBuffer.append(genFeature.getAccessorName()); if (genClass.hasCollidingUnsetAccessorOperation(genFeature)) { - stringBuffer.append(TEXT_1327); + stringBuffer.append(TEXT_1355); } - stringBuffer.append(TEXT_1328); + stringBuffer.append(TEXT_1356); if (genModel.isDynamicDelegation()) { - stringBuffer.append(TEXT_1329); + stringBuffer.append(TEXT_1357); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_1330); + stringBuffer.append(TEXT_1358); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1331); + stringBuffer.append(TEXT_1359); } else if (genModel.isReflectiveDelegation()) { - stringBuffer.append(TEXT_1332); + stringBuffer.append(TEXT_1360); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1333); + stringBuffer.append(TEXT_1361); } else if (genFeature.hasSettingDelegate()) { - stringBuffer.append(TEXT_1334); + stringBuffer.append(TEXT_1362); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1335); + stringBuffer.append(TEXT_1363); } else if (!genFeature.isVolatile()) { if (genFeature.isListType()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1336); + stringBuffer.append(TEXT_1364); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1337); + stringBuffer.append(TEXT_1365); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1338); + stringBuffer.append(TEXT_1366); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1339); + stringBuffer.append(TEXT_1367); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1340); + stringBuffer.append(TEXT_1368); } - stringBuffer.append(TEXT_1341); + stringBuffer.append(TEXT_1369); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1342); + stringBuffer.append(TEXT_1370); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); - stringBuffer.append(TEXT_1343); + stringBuffer.append(TEXT_1371); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_1344); + stringBuffer.append(TEXT_1372); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1345); + stringBuffer.append(TEXT_1373); } else if (genFeature.isBidirectional() || genFeature.isEffectiveContains()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1346); + stringBuffer.append(TEXT_1374); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1347); + stringBuffer.append(TEXT_1375); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1348); + stringBuffer.append(TEXT_1376); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1349); + stringBuffer.append(TEXT_1377); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1350); + stringBuffer.append(TEXT_1378); } - stringBuffer.append(TEXT_1351); + stringBuffer.append(TEXT_1379); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1352); + stringBuffer.append(TEXT_1380); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_1353); + stringBuffer.append(TEXT_1381); if (!genFeature.isBidirectional()) { - stringBuffer.append(TEXT_1354); + stringBuffer.append(TEXT_1382); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_1355); + stringBuffer.append(TEXT_1383); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1356); + stringBuffer.append(TEXT_1384); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_1357); + stringBuffer.append(TEXT_1385); } else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : ""; - stringBuffer.append(TEXT_1358); + stringBuffer.append(TEXT_1386); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_1359); + stringBuffer.append(TEXT_1387); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1360); + stringBuffer.append(TEXT_1388); stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature)); stringBuffer.append(reverseOffsetCorrection); - stringBuffer.append(TEXT_1361); + stringBuffer.append(TEXT_1389); stringBuffer.append(targetClass.getRawImportedInterfaceName()); - stringBuffer.append(TEXT_1362); + stringBuffer.append(TEXT_1390); } - stringBuffer.append(TEXT_1363); + stringBuffer.append(TEXT_1391); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1364); + stringBuffer.append(TEXT_1392); if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1365); + stringBuffer.append(TEXT_1393); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1366); + stringBuffer.append(TEXT_1394); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1367); + stringBuffer.append(TEXT_1395); } else if (genClass.isESetFlag(genFeature)) { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1368); + stringBuffer.append(TEXT_1396); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1369); + stringBuffer.append(TEXT_1397); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1370); + stringBuffer.append(TEXT_1398); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1371); + stringBuffer.append(TEXT_1399); } - stringBuffer.append(TEXT_1372); + stringBuffer.append(TEXT_1400); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1373); + stringBuffer.append(TEXT_1401); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1374); + stringBuffer.append(TEXT_1402); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1375); + stringBuffer.append(TEXT_1403); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1376); + stringBuffer.append(TEXT_1404); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1377); + stringBuffer.append(TEXT_1405); } - stringBuffer.append(TEXT_1378); + stringBuffer.append(TEXT_1406); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1379); + stringBuffer.append(TEXT_1407); } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1380); + stringBuffer.append(TEXT_1408); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_1381); + stringBuffer.append(TEXT_1409); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); - stringBuffer.append(TEXT_1382); + stringBuffer.append(TEXT_1410); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1383); + stringBuffer.append(TEXT_1411); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1384); + stringBuffer.append(TEXT_1412); } - stringBuffer.append(TEXT_1385); + stringBuffer.append(TEXT_1413); } else { if (genClass.isFlag(genFeature)) { if (!genModel.isSuppressNotification()) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_1386); + stringBuffer.append(TEXT_1414); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1387); + stringBuffer.append(TEXT_1415); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1388); + stringBuffer.append(TEXT_1416); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1389); + stringBuffer.append(TEXT_1417); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1390); + stringBuffer.append(TEXT_1418); } else { - stringBuffer.append(TEXT_1391); + stringBuffer.append(TEXT_1419); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1392); + stringBuffer.append(TEXT_1420); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1393); + stringBuffer.append(TEXT_1421); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1394); + stringBuffer.append(TEXT_1422); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1395); + stringBuffer.append(TEXT_1423); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1396); + stringBuffer.append(TEXT_1424); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1397); + stringBuffer.append(TEXT_1425); } } } else if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1398); + stringBuffer.append(TEXT_1426); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1399); + stringBuffer.append(TEXT_1427); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1400); + stringBuffer.append(TEXT_1428); } else { if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1401); + stringBuffer.append(TEXT_1429); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1402); + stringBuffer.append(TEXT_1430); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1403); + stringBuffer.append(TEXT_1431); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1404); + stringBuffer.append(TEXT_1432); } } if (!genModel.isSuppressNotification()) { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1405); + stringBuffer.append(TEXT_1433); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1406); + stringBuffer.append(TEXT_1434); } else if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_1407); + stringBuffer.append(TEXT_1435); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1408); + stringBuffer.append(TEXT_1436); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1409); + stringBuffer.append(TEXT_1437); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1410); + stringBuffer.append(TEXT_1438); } else { - stringBuffer.append(TEXT_1411); + stringBuffer.append(TEXT_1439); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1412); + stringBuffer.append(TEXT_1440); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1413); + stringBuffer.append(TEXT_1441); } } if (genFeature.isReferenceType()) { - stringBuffer.append(TEXT_1414); + stringBuffer.append(TEXT_1442); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1415); + stringBuffer.append(TEXT_1443); if (!genModel.isVirtualDelegation()) { if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_1416); + stringBuffer.append(TEXT_1444); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1417); + stringBuffer.append(TEXT_1445); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1418); + stringBuffer.append(TEXT_1446); } else { - stringBuffer.append(TEXT_1419); + stringBuffer.append(TEXT_1447); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1420); + stringBuffer.append(TEXT_1448); } } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1421); + stringBuffer.append(TEXT_1449); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_1422); + stringBuffer.append(TEXT_1450); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); - stringBuffer.append(TEXT_1423); + stringBuffer.append(TEXT_1451); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1424); + stringBuffer.append(TEXT_1452); if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1425); + stringBuffer.append(TEXT_1453); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1426); + stringBuffer.append(TEXT_1454); } else { - stringBuffer.append(TEXT_1427); + stringBuffer.append(TEXT_1455); stringBuffer.append(genFeature.getCapName()); } - stringBuffer.append(TEXT_1428); + stringBuffer.append(TEXT_1456); if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1429); + stringBuffer.append(TEXT_1457); } else { - stringBuffer.append(TEXT_1430); + stringBuffer.append(TEXT_1458); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1431); + stringBuffer.append(TEXT_1459); } - stringBuffer.append(TEXT_1432); + stringBuffer.append(TEXT_1460); } } else { if (genClass.isFlag(genFeature)) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_1433); + stringBuffer.append(TEXT_1461); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1434); + stringBuffer.append(TEXT_1462); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1435); + stringBuffer.append(TEXT_1463); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1436); + stringBuffer.append(TEXT_1464); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1437); + stringBuffer.append(TEXT_1465); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1438); + stringBuffer.append(TEXT_1466); } else { - stringBuffer.append(TEXT_1439); + stringBuffer.append(TEXT_1467); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1440); + stringBuffer.append(TEXT_1468); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1441); + stringBuffer.append(TEXT_1469); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1442); + stringBuffer.append(TEXT_1470); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1443); + stringBuffer.append(TEXT_1471); } } else if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1444); + stringBuffer.append(TEXT_1472); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1445); + stringBuffer.append(TEXT_1473); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1446); + stringBuffer.append(TEXT_1474); } if (!genModel.isVirtualDelegation() || genFeature.isPrimitiveType()) { if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_1447); + stringBuffer.append(TEXT_1475); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1448); + stringBuffer.append(TEXT_1476); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1449); + stringBuffer.append(TEXT_1477); } else { - stringBuffer.append(TEXT_1450); + stringBuffer.append(TEXT_1478); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1451); + stringBuffer.append(TEXT_1479); } } if (!genModel.isSuppressNotification()) { - stringBuffer.append(TEXT_1452); + stringBuffer.append(TEXT_1480); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl")); - stringBuffer.append(TEXT_1453); + stringBuffer.append(TEXT_1481); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification")); - stringBuffer.append(TEXT_1454); + stringBuffer.append(TEXT_1482); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1455); + stringBuffer.append(TEXT_1483); if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1456); + stringBuffer.append(TEXT_1484); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1457); + stringBuffer.append(TEXT_1485); stringBuffer.append(genFeature.getEDefault()); } else { - stringBuffer.append(TEXT_1458); + stringBuffer.append(TEXT_1486); stringBuffer.append(genFeature.getCapName()); } - stringBuffer.append(TEXT_1459); + stringBuffer.append(TEXT_1487); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1460); + stringBuffer.append(TEXT_1488); if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1461); + stringBuffer.append(TEXT_1489); } else { - stringBuffer.append(TEXT_1462); + stringBuffer.append(TEXT_1490); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1463); + stringBuffer.append(TEXT_1491); } - stringBuffer.append(TEXT_1464); + stringBuffer.append(TEXT_1492); } } } } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_1465); + stringBuffer.append(TEXT_1493); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1466); + stringBuffer.append(TEXT_1494); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1467); + stringBuffer.append(TEXT_1495); stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_1468); + stringBuffer.append(TEXT_1496); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1469); + stringBuffer.append(TEXT_1497); } else { - stringBuffer.append(TEXT_1470); + stringBuffer.append(TEXT_1498); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1471); + stringBuffer.append(TEXT_1499); stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_1472); + stringBuffer.append(TEXT_1500); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1473); + stringBuffer.append(TEXT_1501); } } else if (genClass.getUnsetAccessorOperation(genFeature) != null) { - stringBuffer.append(TEXT_1474); + stringBuffer.append(TEXT_1502); 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_1475); + stringBuffer.append(TEXT_1503); stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); - stringBuffer.append(TEXT_1476); + stringBuffer.append(TEXT_1504); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_1477); + stringBuffer.append(TEXT_1505); } else { - stringBuffer.append(TEXT_1478); + stringBuffer.append(TEXT_1506); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1479); + stringBuffer.append(TEXT_1507); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1480); + stringBuffer.append(TEXT_1508); } } //Class/unsetGenFeature.todo.override.javajetinc } - stringBuffer.append(TEXT_1481); + stringBuffer.append(TEXT_1509); } //Class/unsetGenFeature.override.javajetinc } if (genFeature.isIsSet() && (isImplementation || !genFeature.isSuppressedIsSetVisibility())) { if (isInterface) { - stringBuffer.append(TEXT_1482); + stringBuffer.append(TEXT_1510); stringBuffer.append(genClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_1483); + stringBuffer.append(TEXT_1511); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1484); + stringBuffer.append(TEXT_1512); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1485); + stringBuffer.append(TEXT_1513); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1486); - stringBuffer.append(TEXT_1487); + stringBuffer.append(TEXT_1514); + stringBuffer.append(TEXT_1515); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1488); + stringBuffer.append(TEXT_1516); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1489); + stringBuffer.append(TEXT_1517); if (genFeature.isChangeable() && !genFeature.isSuppressedUnsetVisibility()) { - stringBuffer.append(TEXT_1490); + stringBuffer.append(TEXT_1518); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1491); + stringBuffer.append(TEXT_1519); } - stringBuffer.append(TEXT_1492); + stringBuffer.append(TEXT_1520); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1493); + stringBuffer.append(TEXT_1521); if (!genFeature.isListType() && genFeature.isChangeable() && !genFeature.isSuppressedSetVisibility()) { - stringBuffer.append(TEXT_1494); + stringBuffer.append(TEXT_1522); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1495); + stringBuffer.append(TEXT_1523); stringBuffer.append(genFeature.getRawImportedBoundType()); - stringBuffer.append(TEXT_1496); + stringBuffer.append(TEXT_1524); } - stringBuffer.append(TEXT_1497); + stringBuffer.append(TEXT_1525); //Class/isSetGenFeature.javadoc.override.javajetinc } else { - stringBuffer.append(TEXT_1498); + stringBuffer.append(TEXT_1526); 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_1499); + stringBuffer.append(TEXT_1527); } } } if (!isImplementation) { - stringBuffer.append(TEXT_1500); + stringBuffer.append(TEXT_1528); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1501); + stringBuffer.append(TEXT_1529); } else { - stringBuffer.append(TEXT_1502); + stringBuffer.append(TEXT_1530); stringBuffer.append(genFeature.getAccessorName()); if (genClass.hasCollidingIsSetAccessorOperation(genFeature)) { - stringBuffer.append(TEXT_1503); + stringBuffer.append(TEXT_1531); } - stringBuffer.append(TEXT_1504); + stringBuffer.append(TEXT_1532); if (genModel.isDynamicDelegation()) { - stringBuffer.append(TEXT_1505); + stringBuffer.append(TEXT_1533); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_1506); + stringBuffer.append(TEXT_1534); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1507); + stringBuffer.append(TEXT_1535); } else if (genModel.isReflectiveDelegation()) { - stringBuffer.append(TEXT_1508); + stringBuffer.append(TEXT_1536); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1509); + stringBuffer.append(TEXT_1537); } else if (genFeature.hasSettingDelegate()) { - stringBuffer.append(TEXT_1510); + stringBuffer.append(TEXT_1538); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1511); + stringBuffer.append(TEXT_1539); } else if (!genFeature.isVolatile()) { if (genFeature.isListType()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1512); + stringBuffer.append(TEXT_1540); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1513); + stringBuffer.append(TEXT_1541); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1514); + stringBuffer.append(TEXT_1542); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1515); + stringBuffer.append(TEXT_1543); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1516); + stringBuffer.append(TEXT_1544); } - stringBuffer.append(TEXT_1517); + stringBuffer.append(TEXT_1545); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1518); + stringBuffer.append(TEXT_1546); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); - stringBuffer.append(TEXT_1519); + stringBuffer.append(TEXT_1547); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_1520); + stringBuffer.append(TEXT_1548); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1521); + stringBuffer.append(TEXT_1549); } else { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1522); + stringBuffer.append(TEXT_1550); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_1523); + stringBuffer.append(TEXT_1551); } else if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_1524); + stringBuffer.append(TEXT_1552); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1525); + stringBuffer.append(TEXT_1553); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1526); + stringBuffer.append(TEXT_1554); } else { - stringBuffer.append(TEXT_1527); + stringBuffer.append(TEXT_1555); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1528); + stringBuffer.append(TEXT_1556); } } } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_1529); + stringBuffer.append(TEXT_1557); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1530); + stringBuffer.append(TEXT_1558); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1531); + stringBuffer.append(TEXT_1559); stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_1532); + stringBuffer.append(TEXT_1560); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1533); + stringBuffer.append(TEXT_1561); } else { - stringBuffer.append(TEXT_1534); + stringBuffer.append(TEXT_1562); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1535); + stringBuffer.append(TEXT_1563); stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_1536); + stringBuffer.append(TEXT_1564); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1537); + stringBuffer.append(TEXT_1565); } } else if (genClass.getIsSetAccessorOperation(genFeature) != null) { - stringBuffer.append(TEXT_1538); + stringBuffer.append(TEXT_1566); 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_1539); + stringBuffer.append(TEXT_1567); stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); - stringBuffer.append(TEXT_1540); + stringBuffer.append(TEXT_1568); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_1541); + stringBuffer.append(TEXT_1569); } else { - stringBuffer.append(TEXT_1542); + stringBuffer.append(TEXT_1570); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1543); + stringBuffer.append(TEXT_1571); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1544); + stringBuffer.append(TEXT_1572); } } //Class/isSetGenFeature.todo.override.javajetinc } - stringBuffer.append(TEXT_1545); + stringBuffer.append(TEXT_1573); } //Class/isSetGenFeature.override.javajetinc } if (isImplementation && genFeature.isListType()) { if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, UML2GenModelUtil.isDerivedUnionListType(genClass, genFeature)).isEmpty()) { - stringBuffer.append(TEXT_1546); + stringBuffer.append(TEXT_1574); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1547); + stringBuffer.append(TEXT_1575); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1548); + stringBuffer.append(TEXT_1576); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1549); + stringBuffer.append(TEXT_1577); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1550); + stringBuffer.append(TEXT_1578); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1551); + stringBuffer.append(TEXT_1579); stringBuffer.append(UML2GenModelUtil.getSubsetFeatureIDArray(genClass, genFeature, UML2GenModelUtil.isDerivedUnionListType(genClass, genFeature))); - stringBuffer.append(TEXT_1552); + stringBuffer.append(TEXT_1580); } if (!UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false).isEmpty()) { - stringBuffer.append(TEXT_1553); + stringBuffer.append(TEXT_1581); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1554); + stringBuffer.append(TEXT_1582); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1555); + stringBuffer.append(TEXT_1583); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1556); + stringBuffer.append(TEXT_1584); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1557); + stringBuffer.append(TEXT_1585); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1558); + stringBuffer.append(TEXT_1586); stringBuffer.append(UML2GenModelUtil.getSupersetFeatureIDArray(genClass, genFeature)); - stringBuffer.append(TEXT_1559); + stringBuffer.append(TEXT_1587); } } 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()) { - stringBuffer.append(TEXT_1560); + stringBuffer.append(TEXT_1588); if (!keyGenFeatures.isEmpty()) { if (genFeature.isListType()) { - stringBuffer.append(TEXT_1561); + stringBuffer.append(TEXT_1589); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1562); + stringBuffer.append(TEXT_1590); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_1563); + stringBuffer.append(TEXT_1591); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1564); + stringBuffer.append(TEXT_1592); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1565); + stringBuffer.append(TEXT_1593); } else { - stringBuffer.append(TEXT_1566); + stringBuffer.append(TEXT_1594); stringBuffer.append(genFeature.getType(genClass)); - stringBuffer.append(TEXT_1567); + stringBuffer.append(TEXT_1595); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_1568); + stringBuffer.append(TEXT_1596); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1569); + stringBuffer.append(TEXT_1597); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1570); + stringBuffer.append(TEXT_1598); } } else { if (genFeature.isListType()) { - stringBuffer.append(TEXT_1571); + stringBuffer.append(TEXT_1599); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1572); + stringBuffer.append(TEXT_1600); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1573); + stringBuffer.append(TEXT_1601); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1574); + stringBuffer.append(TEXT_1602); } else { - stringBuffer.append(TEXT_1575); + stringBuffer.append(TEXT_1603); stringBuffer.append(genFeature.getType(genClass)); - stringBuffer.append(TEXT_1576); + stringBuffer.append(TEXT_1604); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1577); + stringBuffer.append(TEXT_1605); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1578); + stringBuffer.append(TEXT_1606); } } - stringBuffer.append(TEXT_1579); + stringBuffer.append(TEXT_1607); for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { - stringBuffer.append(TEXT_1580); + stringBuffer.append(TEXT_1608); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1581); + stringBuffer.append(TEXT_1609); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); - stringBuffer.append(TEXT_1582); + stringBuffer.append(TEXT_1610); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1583); + stringBuffer.append(TEXT_1611); } - stringBuffer.append(TEXT_1584); + stringBuffer.append(TEXT_1612); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1585); + stringBuffer.append(TEXT_1613); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1586); + stringBuffer.append(TEXT_1614); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1587); + stringBuffer.append(TEXT_1615); } } else { - stringBuffer.append(TEXT_1588); + stringBuffer.append(TEXT_1616); } if (!isImplementation) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_1589); + stringBuffer.append(TEXT_1617); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_1590); + stringBuffer.append(TEXT_1618); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1591); + stringBuffer.append(TEXT_1619); if (!keyGenFeatures.isEmpty()) { stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_1592); + stringBuffer.append(TEXT_1620); } stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_1593); + stringBuffer.append(TEXT_1621); } } else { int index = 0; if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_1594); + stringBuffer.append(TEXT_1622); } - stringBuffer.append(TEXT_1595); + stringBuffer.append(TEXT_1623); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_1596); + stringBuffer.append(TEXT_1624); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1597); + stringBuffer.append(TEXT_1625); if (!keyGenFeatures.isEmpty()) { stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_1598); + stringBuffer.append(TEXT_1626); } stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_1599); + stringBuffer.append(TEXT_1627); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_1600); + stringBuffer.append(TEXT_1628); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1601); + stringBuffer.append(TEXT_1629); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_1602); + stringBuffer.append(TEXT_1630); if (genFeature.isListType()) { - stringBuffer.append(TEXT_1603); + stringBuffer.append(TEXT_1631); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1604); + stringBuffer.append(TEXT_1632); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1605); + stringBuffer.append(TEXT_1633); } else { - stringBuffer.append(TEXT_1606); + stringBuffer.append(TEXT_1634); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1607); + stringBuffer.append(TEXT_1635); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1608); + stringBuffer.append(TEXT_1636); } 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_1609); + stringBuffer.append(TEXT_1637); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1610); + stringBuffer.append(TEXT_1638); for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { - stringBuffer.append(TEXT_1611); + stringBuffer.append(TEXT_1639); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1612); + stringBuffer.append(TEXT_1640); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1613); + stringBuffer.append(TEXT_1641); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1614); + stringBuffer.append(TEXT_1642); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1615); + stringBuffer.append(TEXT_1643); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1616); + stringBuffer.append(TEXT_1644); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1617); + stringBuffer.append(TEXT_1645); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1618); + stringBuffer.append(TEXT_1646); index++;} - stringBuffer.append(TEXT_1619); + stringBuffer.append(TEXT_1647); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1620); + stringBuffer.append(TEXT_1648); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1621); + stringBuffer.append(TEXT_1649); stringBuffer.append(keyGenFeature.getCapName()); - stringBuffer.append(TEXT_1622); + stringBuffer.append(TEXT_1650); for (int n = nestedKeyGenFeatures.size(); n > 0; n--) { GenFeature nestedKeyGenFeature = nestedKeyGenFeatures.get(nestedKeyGenFeatures.size() - n); if (first) { first = false; } else { - stringBuffer.append(TEXT_1623); + stringBuffer.append(TEXT_1651); } - stringBuffer.append(TEXT_1624); + stringBuffer.append(TEXT_1652); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); - stringBuffer.append(TEXT_1625); + stringBuffer.append(TEXT_1653); stringBuffer.append(nestedKeyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1626); + stringBuffer.append(TEXT_1654); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); - stringBuffer.append(TEXT_1627); + stringBuffer.append(TEXT_1655); } - stringBuffer.append(TEXT_1628); + stringBuffer.append(TEXT_1656); } else { - stringBuffer.append(TEXT_1629); + stringBuffer.append(TEXT_1657); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1630); + stringBuffer.append(TEXT_1658); stringBuffer.append(keyGenFeature.getCapName()); - stringBuffer.append(TEXT_1631); + stringBuffer.append(TEXT_1659); for (int n = 0; n < nestedKeyGenFeatures.size(); n++) { if (first) { first = false; } else { - stringBuffer.append(TEXT_1632); + stringBuffer.append(TEXT_1660); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); index++;} - stringBuffer.append(TEXT_1633); + stringBuffer.append(TEXT_1661); } } else { - stringBuffer.append(TEXT_1634); + stringBuffer.append(TEXT_1662); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1635); + stringBuffer.append(TEXT_1663); if (keyGenFeature.isListType()) { - stringBuffer.append(TEXT_1636); + stringBuffer.append(TEXT_1664); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1637); + stringBuffer.append(TEXT_1665); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1638); + stringBuffer.append(TEXT_1666); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1639); + stringBuffer.append(TEXT_1667); } else { - stringBuffer.append(TEXT_1640); + stringBuffer.append(TEXT_1668); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1641); + stringBuffer.append(TEXT_1669); stringBuffer.append(keyGenFeature.getAccessorName()); - stringBuffer.append(TEXT_1642); + stringBuffer.append(TEXT_1670); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1643); + stringBuffer.append(TEXT_1671); } index++;} } - stringBuffer.append(TEXT_1644); + stringBuffer.append(TEXT_1672); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1645); + stringBuffer.append(TEXT_1673); } } if (genClass.getChildrenClasses(genFeature).size() == 1 || !genFeature.getTypeGenClass().isAbstract()) { GenClass childGenClass = genClass.getChildrenClasses(genFeature).get(0); if (isInterface) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_1646); + stringBuffer.append(TEXT_1674); if (!keyGenFeatures.isEmpty()) { if (genFeature.isListType()) { - stringBuffer.append(TEXT_1647); + stringBuffer.append(TEXT_1675); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_1648); + stringBuffer.append(TEXT_1676); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_1649); + stringBuffer.append(TEXT_1677); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1650); + stringBuffer.append(TEXT_1678); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1651); + stringBuffer.append(TEXT_1679); } else { - stringBuffer.append(TEXT_1652); + stringBuffer.append(TEXT_1680); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_1653); + stringBuffer.append(TEXT_1681); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_1654); + stringBuffer.append(TEXT_1682); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1655); + stringBuffer.append(TEXT_1683); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1656); + stringBuffer.append(TEXT_1684); } } else { if (genFeature.isListType()) { - stringBuffer.append(TEXT_1657); + stringBuffer.append(TEXT_1685); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_1658); + stringBuffer.append(TEXT_1686); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1659); + stringBuffer.append(TEXT_1687); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1660); + stringBuffer.append(TEXT_1688); } else { - stringBuffer.append(TEXT_1661); + stringBuffer.append(TEXT_1689); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_1662); + stringBuffer.append(TEXT_1690); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1663); + stringBuffer.append(TEXT_1691); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1664); + stringBuffer.append(TEXT_1692); } } - stringBuffer.append(TEXT_1665); + stringBuffer.append(TEXT_1693); for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { - stringBuffer.append(TEXT_1666); + stringBuffer.append(TEXT_1694); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1667); + stringBuffer.append(TEXT_1695); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); - stringBuffer.append(TEXT_1668); + stringBuffer.append(TEXT_1696); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1669); + stringBuffer.append(TEXT_1697); } - stringBuffer.append(TEXT_1670); + stringBuffer.append(TEXT_1698); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_1671); + stringBuffer.append(TEXT_1699); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1672); + stringBuffer.append(TEXT_1700); } } else { - stringBuffer.append(TEXT_1673); + stringBuffer.append(TEXT_1701); } if (!isImplementation) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_1674); + stringBuffer.append(TEXT_1702); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_1675); + stringBuffer.append(TEXT_1703); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1676); + stringBuffer.append(TEXT_1704); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_1677); + stringBuffer.append(TEXT_1705); } } else { int index = 0; if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_1678); + stringBuffer.append(TEXT_1706); } - stringBuffer.append(TEXT_1679); + stringBuffer.append(TEXT_1707); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_1680); + stringBuffer.append(TEXT_1708); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1681); + stringBuffer.append(TEXT_1709); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_1682); + stringBuffer.append(TEXT_1710); if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1683); + stringBuffer.append(TEXT_1711); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1684); + stringBuffer.append(TEXT_1712); if (!keyGenFeatures.isEmpty()) { stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature, false)); - stringBuffer.append(TEXT_1685); + stringBuffer.append(TEXT_1713); } stringBuffer.append(genFeature.getTypeGenClass().getQualifiedClassifierAccessor()); - stringBuffer.append(TEXT_1686); + stringBuffer.append(TEXT_1714); } else { - stringBuffer.append(TEXT_1687); + stringBuffer.append(TEXT_1715); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_1688); + stringBuffer.append(TEXT_1716); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1689); + stringBuffer.append(TEXT_1717); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_1690); + stringBuffer.append(TEXT_1718); stringBuffer.append(genFeature.getTypeGenClass().getQualifiedClassifierAccessor()); - stringBuffer.append(TEXT_1691); + stringBuffer.append(TEXT_1719); if (genFeature.isListType()) { - stringBuffer.append(TEXT_1692); + stringBuffer.append(TEXT_1720); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1693); + stringBuffer.append(TEXT_1721); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1694); + stringBuffer.append(TEXT_1722); } else { - stringBuffer.append(TEXT_1695); + stringBuffer.append(TEXT_1723); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1696); + stringBuffer.append(TEXT_1724); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1697); + stringBuffer.append(TEXT_1725); } 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_1698); + stringBuffer.append(TEXT_1726); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1699); + stringBuffer.append(TEXT_1727); for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { - stringBuffer.append(TEXT_1700); + stringBuffer.append(TEXT_1728); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1701); + stringBuffer.append(TEXT_1729); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1702); + stringBuffer.append(TEXT_1730); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1703); + stringBuffer.append(TEXT_1731); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1704); + stringBuffer.append(TEXT_1732); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1705); + stringBuffer.append(TEXT_1733); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1706); + stringBuffer.append(TEXT_1734); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1707); + stringBuffer.append(TEXT_1735); index++;} - stringBuffer.append(TEXT_1708); + stringBuffer.append(TEXT_1736); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1709); + stringBuffer.append(TEXT_1737); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1710); + stringBuffer.append(TEXT_1738); stringBuffer.append(keyGenFeature.getCapName()); - stringBuffer.append(TEXT_1711); + stringBuffer.append(TEXT_1739); for (int n = nestedKeyGenFeatures.size(); n > 0; n--) { GenFeature nestedKeyGenFeature = nestedKeyGenFeatures.get(nestedKeyGenFeatures.size() - n); if (first) { first = false; } else { - stringBuffer.append(TEXT_1712); + stringBuffer.append(TEXT_1740); } - stringBuffer.append(TEXT_1713); + stringBuffer.append(TEXT_1741); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); - stringBuffer.append(TEXT_1714); + stringBuffer.append(TEXT_1742); stringBuffer.append(nestedKeyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1715); + stringBuffer.append(TEXT_1743); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); - stringBuffer.append(TEXT_1716); + stringBuffer.append(TEXT_1744); } - stringBuffer.append(TEXT_1717); + stringBuffer.append(TEXT_1745); } else { - stringBuffer.append(TEXT_1718); + stringBuffer.append(TEXT_1746); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1719); + stringBuffer.append(TEXT_1747); stringBuffer.append(keyGenFeature.getCapName()); - stringBuffer.append(TEXT_1720); + stringBuffer.append(TEXT_1748); for (int n = 0; n < nestedKeyGenFeatures.size(); n++) { if (first) { first = false; } else { - stringBuffer.append(TEXT_1721); + stringBuffer.append(TEXT_1749); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); index++;} - stringBuffer.append(TEXT_1722); + stringBuffer.append(TEXT_1750); } } else { - stringBuffer.append(TEXT_1723); + stringBuffer.append(TEXT_1751); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1724); + stringBuffer.append(TEXT_1752); if (keyGenFeature.isListType()) { - stringBuffer.append(TEXT_1725); + stringBuffer.append(TEXT_1753); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1726); + stringBuffer.append(TEXT_1754); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1727); + stringBuffer.append(TEXT_1755); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1728); + stringBuffer.append(TEXT_1756); } else { - stringBuffer.append(TEXT_1729); + stringBuffer.append(TEXT_1757); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1730); + stringBuffer.append(TEXT_1758); stringBuffer.append(keyGenFeature.getAccessorName()); - stringBuffer.append(TEXT_1731); + stringBuffer.append(TEXT_1759); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1732); + stringBuffer.append(TEXT_1760); } index++;} } - stringBuffer.append(TEXT_1733); + stringBuffer.append(TEXT_1761); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1734); + stringBuffer.append(TEXT_1762); } - stringBuffer.append(TEXT_1735); + stringBuffer.append(TEXT_1763); } } } @@ -7479,1050 +7571,1050 @@ if (index != -1) { head = typeName.substring(0, index); tail = typeName.substrin if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature) || UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { if (isInterface) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_1736); + stringBuffer.append(TEXT_1764); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1737); + stringBuffer.append(TEXT_1765); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_1738); + stringBuffer.append(TEXT_1766); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1739); + stringBuffer.append(TEXT_1767); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1740); + stringBuffer.append(TEXT_1768); for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { - stringBuffer.append(TEXT_1741); + stringBuffer.append(TEXT_1769); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1742); + stringBuffer.append(TEXT_1770); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); - stringBuffer.append(TEXT_1743); + stringBuffer.append(TEXT_1771); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1744); + stringBuffer.append(TEXT_1772); } - stringBuffer.append(TEXT_1745); + stringBuffer.append(TEXT_1773); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1746); + stringBuffer.append(TEXT_1774); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_1747); + stringBuffer.append(TEXT_1775); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1748); + stringBuffer.append(TEXT_1776); } } else { - stringBuffer.append(TEXT_1749); + stringBuffer.append(TEXT_1777); } if (!isImplementation) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_1750); + stringBuffer.append(TEXT_1778); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_1751); + stringBuffer.append(TEXT_1779); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1752); + stringBuffer.append(TEXT_1780); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_1753); + stringBuffer.append(TEXT_1781); } } else { if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_1754); + stringBuffer.append(TEXT_1782); } - stringBuffer.append(TEXT_1755); + stringBuffer.append(TEXT_1783); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_1756); + stringBuffer.append(TEXT_1784); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1757); + stringBuffer.append(TEXT_1785); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_1758); + stringBuffer.append(TEXT_1786); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1759); + stringBuffer.append(TEXT_1787); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature, false)); if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_1760); + stringBuffer.append(TEXT_1788); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1761); + stringBuffer.append(TEXT_1789); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_1762); + stringBuffer.append(TEXT_1790); } - stringBuffer.append(TEXT_1763); + stringBuffer.append(TEXT_1791); } } if (isInterface) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_1764); + stringBuffer.append(TEXT_1792); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1765); + stringBuffer.append(TEXT_1793); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_1766); + stringBuffer.append(TEXT_1794); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_1767); + stringBuffer.append(TEXT_1795); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_1768); + stringBuffer.append(TEXT_1796); for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { - stringBuffer.append(TEXT_1769); + stringBuffer.append(TEXT_1797); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1770); + stringBuffer.append(TEXT_1798); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); - stringBuffer.append(TEXT_1771); + stringBuffer.append(TEXT_1799); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1772); + stringBuffer.append(TEXT_1800); } if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_1773); + stringBuffer.append(TEXT_1801); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1774); + stringBuffer.append(TEXT_1802); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1775); + stringBuffer.append(TEXT_1803); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_1776); + stringBuffer.append(TEXT_1804); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1777); + stringBuffer.append(TEXT_1805); } - stringBuffer.append(TEXT_1778); + stringBuffer.append(TEXT_1806); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_1779); + stringBuffer.append(TEXT_1807); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_1780); + stringBuffer.append(TEXT_1808); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1781); + stringBuffer.append(TEXT_1809); } } else { - stringBuffer.append(TEXT_1782); + stringBuffer.append(TEXT_1810); } if (!isImplementation) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_1783); + stringBuffer.append(TEXT_1811); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_1784); + stringBuffer.append(TEXT_1812); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1785); + stringBuffer.append(TEXT_1813); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_1786); + stringBuffer.append(TEXT_1814); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1787); + stringBuffer.append(TEXT_1815); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_1788); + stringBuffer.append(TEXT_1816); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_1789); + stringBuffer.append(TEXT_1817); } - stringBuffer.append(TEXT_1790); + stringBuffer.append(TEXT_1818); } } else { int index = 0; if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_1791); + stringBuffer.append(TEXT_1819); } - stringBuffer.append(TEXT_1792); + stringBuffer.append(TEXT_1820); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_1793); + stringBuffer.append(TEXT_1821); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1794); + stringBuffer.append(TEXT_1822); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_1795); + stringBuffer.append(TEXT_1823); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1796); + stringBuffer.append(TEXT_1824); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_1797); + stringBuffer.append(TEXT_1825); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_1798); + stringBuffer.append(TEXT_1826); } - stringBuffer.append(TEXT_1799); + stringBuffer.append(TEXT_1827); if (isJDK50) { - stringBuffer.append(TEXT_1800); + stringBuffer.append(TEXT_1828); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1801); + stringBuffer.append(TEXT_1829); stringBuffer.append(genModel.getImportedName(genFeature.getListItemType(genClass))); - stringBuffer.append(TEXT_1802); + stringBuffer.append(TEXT_1830); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1803); + stringBuffer.append(TEXT_1831); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1804); + stringBuffer.append(TEXT_1832); } else { - stringBuffer.append(TEXT_1805); + stringBuffer.append(TEXT_1833); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1806); + stringBuffer.append(TEXT_1834); stringBuffer.append(genModel.getImportedName("java.util.Iterator")); - stringBuffer.append(TEXT_1807); + stringBuffer.append(TEXT_1835); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1808); + stringBuffer.append(TEXT_1836); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_1809); + stringBuffer.append(TEXT_1837); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1810); + stringBuffer.append(TEXT_1838); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_1811); + stringBuffer.append(TEXT_1839); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1812); + stringBuffer.append(TEXT_1840); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1813); + stringBuffer.append(TEXT_1841); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1814); + stringBuffer.append(TEXT_1842); } 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_1815); + stringBuffer.append(TEXT_1843); stringBuffer.append(keyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1816); + stringBuffer.append(TEXT_1844); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1817); + stringBuffer.append(TEXT_1845); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1818); + stringBuffer.append(TEXT_1846); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1819); + stringBuffer.append(TEXT_1847); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1820); + stringBuffer.append(TEXT_1848); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1821); + stringBuffer.append(TEXT_1849); for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { if (!first) { - stringBuffer.append(TEXT_1822); + stringBuffer.append(TEXT_1850); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index + n, false)); - stringBuffer.append(TEXT_1823); + stringBuffer.append(TEXT_1851); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index + n, false)); - stringBuffer.append(TEXT_1824); + stringBuffer.append(TEXT_1852); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1825); + stringBuffer.append(TEXT_1853); if (first) {first = false; } else { - stringBuffer.append(TEXT_1826); + stringBuffer.append(TEXT_1854); } } - stringBuffer.append(TEXT_1827); + stringBuffer.append(TEXT_1855); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1828); + stringBuffer.append(TEXT_1856); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1829); + stringBuffer.append(TEXT_1857); stringBuffer.append(genModel.getImportedName(keyGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_1830); + stringBuffer.append(TEXT_1858); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1831); + stringBuffer.append(TEXT_1859); if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) { - stringBuffer.append(TEXT_1832); + stringBuffer.append(TEXT_1860); stringBuffer.append(genModel.getImportedName(keyGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_1833); + stringBuffer.append(TEXT_1861); } stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1834); + stringBuffer.append(TEXT_1862); for (GenFeature nestedKeyGenFeature : nestedKeyGenFeatures) { if (nestedKeyGenFeature.isStringType()) { - stringBuffer.append(TEXT_1835); + stringBuffer.append(TEXT_1863); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1836); + stringBuffer.append(TEXT_1864); if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) { - stringBuffer.append(TEXT_1837); + stringBuffer.append(TEXT_1865); stringBuffer.append(genModel.getImportedName("java.lang.String")); - stringBuffer.append(TEXT_1838); + stringBuffer.append(TEXT_1866); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1839); + stringBuffer.append(TEXT_1867); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1840); + stringBuffer.append(TEXT_1868); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1841); + stringBuffer.append(TEXT_1869); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1842); + stringBuffer.append(TEXT_1870); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1843); + stringBuffer.append(TEXT_1871); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1844); + stringBuffer.append(TEXT_1872); } else { - stringBuffer.append(TEXT_1845); + stringBuffer.append(TEXT_1873); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1846); + stringBuffer.append(TEXT_1874); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1847); + stringBuffer.append(TEXT_1875); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1848); + stringBuffer.append(TEXT_1876); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1849); + stringBuffer.append(TEXT_1877); } - stringBuffer.append(TEXT_1850); + stringBuffer.append(TEXT_1878); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1851); + stringBuffer.append(TEXT_1879); index++;} - stringBuffer.append(TEXT_1852); + stringBuffer.append(TEXT_1880); } else { - stringBuffer.append(TEXT_1853); + stringBuffer.append(TEXT_1881); stringBuffer.append(keyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1854); + stringBuffer.append(TEXT_1882); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1855); + stringBuffer.append(TEXT_1883); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1856); + stringBuffer.append(TEXT_1884); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1857); + stringBuffer.append(TEXT_1885); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1858); + stringBuffer.append(TEXT_1886); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1859); + stringBuffer.append(TEXT_1887); for (GenFeature nestedKeyGenFeature : nestedKeyGenFeatures) { if (nestedKeyGenFeature.isStringType()) { - stringBuffer.append(TEXT_1860); + stringBuffer.append(TEXT_1888); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1861); + stringBuffer.append(TEXT_1889); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1862); + stringBuffer.append(TEXT_1890); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1863); + stringBuffer.append(TEXT_1891); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1864); + stringBuffer.append(TEXT_1892); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1865); + stringBuffer.append(TEXT_1893); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1866); + stringBuffer.append(TEXT_1894); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1867); + stringBuffer.append(TEXT_1895); } else { - stringBuffer.append(TEXT_1868); + stringBuffer.append(TEXT_1896); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1869); + stringBuffer.append(TEXT_1897); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1870); + stringBuffer.append(TEXT_1898); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_1871); + stringBuffer.append(TEXT_1899); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1872); + stringBuffer.append(TEXT_1900); } - stringBuffer.append(TEXT_1873); + stringBuffer.append(TEXT_1901); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1874); + stringBuffer.append(TEXT_1902); index++;} } } else { if (keyGenFeature.isStringType()) { - stringBuffer.append(TEXT_1875); + stringBuffer.append(TEXT_1903); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1876); + stringBuffer.append(TEXT_1904); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1877); + stringBuffer.append(TEXT_1905); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1878); + stringBuffer.append(TEXT_1906); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1879); + stringBuffer.append(TEXT_1907); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1880); + stringBuffer.append(TEXT_1908); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1881); + stringBuffer.append(TEXT_1909); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1882); + stringBuffer.append(TEXT_1910); } else { - stringBuffer.append(TEXT_1883); + stringBuffer.append(TEXT_1911); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1884); + stringBuffer.append(TEXT_1912); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_1885); + stringBuffer.append(TEXT_1913); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1886); + stringBuffer.append(TEXT_1914); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_1887); + stringBuffer.append(TEXT_1915); } - stringBuffer.append(TEXT_1888); + stringBuffer.append(TEXT_1916); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1889); + stringBuffer.append(TEXT_1917); index++;} } - stringBuffer.append(TEXT_1890); + stringBuffer.append(TEXT_1918); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1891); + stringBuffer.append(TEXT_1919); if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_1892); + stringBuffer.append(TEXT_1920); if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1893); + stringBuffer.append(TEXT_1921); } - stringBuffer.append(TEXT_1894); + stringBuffer.append(TEXT_1922); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_1895); + stringBuffer.append(TEXT_1923); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature, false)); if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_1896); + stringBuffer.append(TEXT_1924); } - stringBuffer.append(TEXT_1897); + stringBuffer.append(TEXT_1925); } else { - stringBuffer.append(TEXT_1898); + stringBuffer.append(TEXT_1926); } - stringBuffer.append(TEXT_1899); + stringBuffer.append(TEXT_1927); } } } if (isImplementation && ((UML2GenModelUtil.isRedefinition(genFeature) && !genFeature.isIsSet()) || UML2GenModelUtil.isRedefined(genClass, genFeature))) { - stringBuffer.append(TEXT_1900); + stringBuffer.append(TEXT_1928); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1901); + stringBuffer.append(TEXT_1929); if (!genFeature.isUnsettable()) { if (UML2GenModelUtil.isRedefined(genClass, genFeature)) { - stringBuffer.append(TEXT_1902); + stringBuffer.append(TEXT_1930); } else if (genModel.isReflectiveDelegation()) { - stringBuffer.append(TEXT_1903); + stringBuffer.append(TEXT_1931); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1904); + stringBuffer.append(TEXT_1932); } else if (genFeature.isListType()) { if (genFeature.isWrappedFeatureMapType()) { if (genFeature.isVolatile()) { - stringBuffer.append(TEXT_1905); + stringBuffer.append(TEXT_1933); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1906); + stringBuffer.append(TEXT_1934); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1907); + stringBuffer.append(TEXT_1935); } else { - stringBuffer.append(TEXT_1908); + stringBuffer.append(TEXT_1936); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1909); + stringBuffer.append(TEXT_1937); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1910); + stringBuffer.append(TEXT_1938); } } else { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_1911); + stringBuffer.append(TEXT_1939); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1912); + stringBuffer.append(TEXT_1940); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1913); + stringBuffer.append(TEXT_1941); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_1914); + stringBuffer.append(TEXT_1942); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1915); + stringBuffer.append(TEXT_1943); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1916); + stringBuffer.append(TEXT_1944); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1917); + stringBuffer.append(TEXT_1945); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_1918); + stringBuffer.append(TEXT_1946); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1919); + stringBuffer.append(TEXT_1947); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1920); + stringBuffer.append(TEXT_1948); } else { - stringBuffer.append(TEXT_1921); + stringBuffer.append(TEXT_1949); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1922); + stringBuffer.append(TEXT_1950); } } } } else if (genFeature.isResolveProxies()) { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_1923); + stringBuffer.append(TEXT_1951); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1924); + stringBuffer.append(TEXT_1952); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_1925); + stringBuffer.append(TEXT_1953); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_1926); + stringBuffer.append(TEXT_1954); } else { - stringBuffer.append(TEXT_1927); + stringBuffer.append(TEXT_1955); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_1928); + stringBuffer.append(TEXT_1956); } } } else if (genFeature.isReferenceType()) { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_1929); + stringBuffer.append(TEXT_1957); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1930); + stringBuffer.append(TEXT_1958); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_1931); + stringBuffer.append(TEXT_1959); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_1932); + stringBuffer.append(TEXT_1960); } else { - stringBuffer.append(TEXT_1933); + stringBuffer.append(TEXT_1961); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1934); + stringBuffer.append(TEXT_1962); } } } else if (genFeature.isPrimitiveType() || genFeature.isEnumType()) { if (genClass.isField(genFeature)) { if (genClass.isFlag(genFeature)) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_1935); + stringBuffer.append(TEXT_1963); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1936); + stringBuffer.append(TEXT_1964); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1937); + stringBuffer.append(TEXT_1965); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1938); + stringBuffer.append(TEXT_1966); } else { - stringBuffer.append(TEXT_1939); + stringBuffer.append(TEXT_1967); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_1940); + stringBuffer.append(TEXT_1968); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1941); + stringBuffer.append(TEXT_1969); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1942); + stringBuffer.append(TEXT_1970); } } else { - stringBuffer.append(TEXT_1943); + stringBuffer.append(TEXT_1971); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1944); + stringBuffer.append(TEXT_1972); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1945); + stringBuffer.append(TEXT_1973); } } else { if (genFeature.isEnumType() && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_1946); + stringBuffer.append(TEXT_1974); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_1947); + stringBuffer.append(TEXT_1975); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1948); + stringBuffer.append(TEXT_1976); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1949); + stringBuffer.append(TEXT_1977); } else { - stringBuffer.append(TEXT_1950); + stringBuffer.append(TEXT_1978); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1951); + stringBuffer.append(TEXT_1979); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1952); + stringBuffer.append(TEXT_1980); } } } else {//datatype if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_1953); + stringBuffer.append(TEXT_1981); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1954); + stringBuffer.append(TEXT_1982); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1955); + stringBuffer.append(TEXT_1983); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1956); + stringBuffer.append(TEXT_1984); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1957); + stringBuffer.append(TEXT_1985); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_1958); + stringBuffer.append(TEXT_1986); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1959); + stringBuffer.append(TEXT_1987); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1960); + stringBuffer.append(TEXT_1988); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1961); + stringBuffer.append(TEXT_1989); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_1962); + stringBuffer.append(TEXT_1990); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1963); + stringBuffer.append(TEXT_1991); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1964); + stringBuffer.append(TEXT_1992); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1965); + stringBuffer.append(TEXT_1993); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1966); + stringBuffer.append(TEXT_1994); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1967); + stringBuffer.append(TEXT_1995); } else { - stringBuffer.append(TEXT_1968); + stringBuffer.append(TEXT_1996); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1969); + stringBuffer.append(TEXT_1997); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1970); + stringBuffer.append(TEXT_1998); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_1971); + stringBuffer.append(TEXT_1999); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_1972); + stringBuffer.append(TEXT_2000); } } } } else { if (genModel.isReflectiveDelegation()) { - stringBuffer.append(TEXT_1973); + stringBuffer.append(TEXT_2001); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1974); + stringBuffer.append(TEXT_2002); } else if (!genFeature.isVolatile()) { if (genFeature.isListType()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_1975); + stringBuffer.append(TEXT_2003); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1976); + stringBuffer.append(TEXT_2004); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1977); + stringBuffer.append(TEXT_2005); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_1978); + stringBuffer.append(TEXT_2006); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_1979); + stringBuffer.append(TEXT_2007); } - stringBuffer.append(TEXT_1980); + stringBuffer.append(TEXT_2008); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1981); + stringBuffer.append(TEXT_2009); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); - stringBuffer.append(TEXT_1982); + stringBuffer.append(TEXT_2010); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_1983); + stringBuffer.append(TEXT_2011); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_1984); + stringBuffer.append(TEXT_2012); } else { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_1985); + stringBuffer.append(TEXT_2013); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_1986); + stringBuffer.append(TEXT_2014); } else if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_1987); + stringBuffer.append(TEXT_2015); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_1988); + stringBuffer.append(TEXT_2016); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_1989); + stringBuffer.append(TEXT_2017); } else { - stringBuffer.append(TEXT_1990); + stringBuffer.append(TEXT_2018); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_1991); + stringBuffer.append(TEXT_2019); } } } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_1992); + stringBuffer.append(TEXT_2020); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1993); + stringBuffer.append(TEXT_2021); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1994); + stringBuffer.append(TEXT_2022); stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_1995); + stringBuffer.append(TEXT_2023); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_1996); + stringBuffer.append(TEXT_2024); } else { - stringBuffer.append(TEXT_1997); + stringBuffer.append(TEXT_2025); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_1998); + stringBuffer.append(TEXT_2026); stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_1999); + stringBuffer.append(TEXT_2027); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_2000); + stringBuffer.append(TEXT_2028); } } else { { GenOperation genOperation = UML2GenModelUtil.getImplementedCollidingIsSetGenOperation(genClass, genFeature); if (genOperation != null && UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { - stringBuffer.append(TEXT_2001); + stringBuffer.append(TEXT_2029); stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); - stringBuffer.append(TEXT_2002); + stringBuffer.append(TEXT_2030); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2003); + stringBuffer.append(TEXT_2031); } else { - stringBuffer.append(TEXT_2004); + stringBuffer.append(TEXT_2032); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2005); + stringBuffer.append(TEXT_2033); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_2006); + stringBuffer.append(TEXT_2034); } } //isSetGenFeature.todo.override.javajetinc } } - stringBuffer.append(TEXT_2007); + stringBuffer.append(TEXT_2035); } //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_2008); + stringBuffer.append(TEXT_2036); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2009); + stringBuffer.append(TEXT_2037); stringBuffer.append(genOperation.getParameterTypes(", ")); - stringBuffer.append(TEXT_2010); + stringBuffer.append(TEXT_2038); stringBuffer.append(genOperation.getFormattedName()); - stringBuffer.append(TEXT_2011); + stringBuffer.append(TEXT_2039); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2012); + stringBuffer.append(TEXT_2040); stringBuffer.append(genOperation.getParameterTypes(", ")); - stringBuffer.append(TEXT_2013); + stringBuffer.append(TEXT_2041); stringBuffer.append(genModel.getImportedName("java.lang.String")); - stringBuffer.append(TEXT_2014); + stringBuffer.append(TEXT_2042); stringBuffer.append(UML2GenModelUtil.getUpperName(genOperation.getName())); stringBuffer.append(genOperation.getGenParameters().size() == 0 ? "" : "__" + UML2GenModelUtil.getUpperName(genOperation.getParameterTypes("_", false))); - stringBuffer.append(TEXT_2015); + stringBuffer.append(TEXT_2043); stringBuffer.append(UML2GenModelUtil.getOCLBody(genOperation)); - stringBuffer.append(TEXT_2016); + stringBuffer.append(TEXT_2044); stringBuffer.append(genModel.getNonNLS()); - stringBuffer.append(TEXT_2017); + stringBuffer.append(TEXT_2045); if (genOperation.isInvariant()) { - stringBuffer.append(TEXT_2018); + stringBuffer.append(TEXT_2046); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2019); + stringBuffer.append(TEXT_2047); stringBuffer.append(genOperation.getParameterTypes(", ")); - stringBuffer.append(TEXT_2020); + stringBuffer.append(TEXT_2048); stringBuffer.append(genOperation.getFormattedName()); - stringBuffer.append(TEXT_2021); + stringBuffer.append(TEXT_2049); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2022); + stringBuffer.append(TEXT_2050); stringBuffer.append(genOperation.getParameterTypes(", ")); - stringBuffer.append(TEXT_2023); + stringBuffer.append(TEXT_2051); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.Constraint")); - stringBuffer.append(TEXT_2024); + stringBuffer.append(TEXT_2052); stringBuffer.append(UML2GenModelUtil.getUpperName(genOperation.getName())); stringBuffer.append(genOperation.getGenParameters().size() == 0 ? "" : "__" + UML2GenModelUtil.getUpperName(genOperation.getParameterTypes("_", false))); - stringBuffer.append(TEXT_2025); + stringBuffer.append(TEXT_2053); } else { - stringBuffer.append(TEXT_2026); + stringBuffer.append(TEXT_2054); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2027); + stringBuffer.append(TEXT_2055); stringBuffer.append(genOperation.getParameterTypes(", ")); - stringBuffer.append(TEXT_2028); + stringBuffer.append(TEXT_2056); stringBuffer.append(genOperation.getFormattedName()); - stringBuffer.append(TEXT_2029); + stringBuffer.append(TEXT_2057); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2030); + stringBuffer.append(TEXT_2058); stringBuffer.append(genOperation.getParameterTypes(", ")); - stringBuffer.append(TEXT_2031); + stringBuffer.append(TEXT_2059); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.expressions.OCLExpression")); if (isJDK50) { - stringBuffer.append(TEXT_2032); + stringBuffer.append(TEXT_2060); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClassifier")); - stringBuffer.append(TEXT_2033); + stringBuffer.append(TEXT_2061); } - stringBuffer.append(TEXT_2034); + stringBuffer.append(TEXT_2062); stringBuffer.append(UML2GenModelUtil.getUpperName(genOperation.getName())); stringBuffer.append(genOperation.getGenParameters().size() == 0 ? "" : "__" + UML2GenModelUtil.getUpperName(genOperation.getParameterTypes("_", false))); - stringBuffer.append(TEXT_2035); + stringBuffer.append(TEXT_2063); } } if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE && isImplementation) { if (genOperation.isInvariant() && genOperation.hasInvariantExpression()) { - stringBuffer.append(TEXT_2036); + stringBuffer.append(TEXT_2064); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2037); + stringBuffer.append(TEXT_2065); stringBuffer.append(genOperation.getParameterTypes(", ")); - stringBuffer.append(TEXT_2038); + stringBuffer.append(TEXT_2066); stringBuffer.append(genOperation.getFormattedName()); - stringBuffer.append(TEXT_2039); + stringBuffer.append(TEXT_2067); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2040); + stringBuffer.append(TEXT_2068); stringBuffer.append(genOperation.getParameterTypes(", ")); - stringBuffer.append(TEXT_2041); + stringBuffer.append(TEXT_2069); stringBuffer.append(genModel.getImportedName("java.lang.String")); - stringBuffer.append(TEXT_2042); + stringBuffer.append(TEXT_2070); stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); - stringBuffer.append(TEXT_2043); + stringBuffer.append(TEXT_2071); stringBuffer.append(genOperation.getInvariantExpression("\t\t")); - stringBuffer.append(TEXT_2044); + stringBuffer.append(TEXT_2072); stringBuffer.append(genModel.getNonNLS()); - stringBuffer.append(TEXT_2045); + stringBuffer.append(TEXT_2073); } else if (genOperation.hasInvocationDelegate()) { - stringBuffer.append(TEXT_2046); + stringBuffer.append(TEXT_2074); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2047); + stringBuffer.append(TEXT_2075); stringBuffer.append(genOperation.getParameterTypes(", ")); - stringBuffer.append(TEXT_2048); + stringBuffer.append(TEXT_2076); stringBuffer.append(genOperation.getFormattedName()); - stringBuffer.append(TEXT_2049); + stringBuffer.append(TEXT_2077); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2050); + stringBuffer.append(TEXT_2078); stringBuffer.append(genOperation.getParameterTypes(", ")); - stringBuffer.append(TEXT_2051); + stringBuffer.append(TEXT_2079); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation")); - stringBuffer.append(TEXT_2052); + stringBuffer.append(TEXT_2080); stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); - stringBuffer.append(TEXT_2053); + stringBuffer.append(TEXT_2081); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EOperation")); - stringBuffer.append(TEXT_2054); + stringBuffer.append(TEXT_2082); stringBuffer.append(genOperation.getQualifiedOperationAccessor()); - stringBuffer.append(TEXT_2055); + stringBuffer.append(TEXT_2083); } } if (isInterface) { - stringBuffer.append(TEXT_2056); + stringBuffer.append(TEXT_2084); if (UML2GenModelUtil.isRedefinition(genOperation)) { - stringBuffer.append(TEXT_2057); + stringBuffer.append(TEXT_2085); for (GenOperation redefinedGenOperation : UML2GenModelUtil.getRedefinedGenOperations(genOperation)) { - stringBuffer.append(TEXT_2058); + stringBuffer.append(TEXT_2086); stringBuffer.append(redefinedGenOperation.getGenClass().getQualifiedInterfaceName()); - stringBuffer.append(TEXT_2059); + stringBuffer.append(TEXT_2087); stringBuffer.append(redefinedGenOperation.getName()); - stringBuffer.append(TEXT_2060); + stringBuffer.append(TEXT_2088); stringBuffer.append(redefinedGenOperation.getParameterTypes(", ")); - stringBuffer.append(TEXT_2061); + stringBuffer.append(TEXT_2089); stringBuffer.append(redefinedGenOperation.getFormattedName()); - stringBuffer.append(TEXT_2062); + stringBuffer.append(TEXT_2090); } - stringBuffer.append(TEXT_2063); + stringBuffer.append(TEXT_2091); } - stringBuffer.append(TEXT_2064); + stringBuffer.append(TEXT_2092); if (genOperation.hasDocumentation() || genOperation.hasParameterDocumentation()) { - stringBuffer.append(TEXT_2065); + stringBuffer.append(TEXT_2093); if (genOperation.hasDocumentation()) { - stringBuffer.append(TEXT_2066); + stringBuffer.append(TEXT_2094); 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_2067); + stringBuffer.append(TEXT_2095); stringBuffer.append(genParameter.getName()); - stringBuffer.append(TEXT_2068); + stringBuffer.append(TEXT_2096); stringBuffer.append(genParameter.getDocumentation(genModel.getIndentation(stringBuffer))); } else { - stringBuffer.append(TEXT_2069); + stringBuffer.append(TEXT_2097); stringBuffer.append(genParameter.getName()); - stringBuffer.append(TEXT_2070); + stringBuffer.append(TEXT_2098); stringBuffer.append(genParameter.getDocumentation(genModel.getIndentation(stringBuffer))); } } } - stringBuffer.append(TEXT_2071); + stringBuffer.append(TEXT_2099); } 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_2072); + stringBuffer.append(TEXT_2100); stringBuffer.append(modelInfo); } else { - stringBuffer.append(TEXT_2073); + stringBuffer.append(TEXT_2101); stringBuffer.append(modelInfo); }} if (first) { - stringBuffer.append(TEXT_2074); + stringBuffer.append(TEXT_2102); }} - stringBuffer.append(TEXT_2075); + stringBuffer.append(TEXT_2103); } else { - stringBuffer.append(TEXT_2076); + stringBuffer.append(TEXT_2104); if (isJDK50) { if (genClass.getExtendedGenOperations().contains(genOperation) || (UML2GenModelUtil.isDuplicate(genOperation) && (!UML2GenModelUtil.isRedefinition(genOperation) || genClass.getExtendedGenOperations().contains(UML2GenModelUtil.getRedefinedGenOperations(genOperation).iterator().next())))) { - stringBuffer.append(TEXT_2077); + stringBuffer.append(TEXT_2105); } } } if (!isImplementation) { - stringBuffer.append(TEXT_2078); + stringBuffer.append(TEXT_2106); stringBuffer.append(genOperation.getTypeParameters(genClass)); stringBuffer.append(genOperation.getImportedType(genClass)); - stringBuffer.append(TEXT_2079); + stringBuffer.append(TEXT_2107); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2080); + stringBuffer.append(TEXT_2108); stringBuffer.append(genOperation.getParameters(isImplementation, genClass)); - stringBuffer.append(TEXT_2081); + stringBuffer.append(TEXT_2109); stringBuffer.append(genOperation.getThrows(genClass)); - stringBuffer.append(TEXT_2082); + stringBuffer.append(TEXT_2110); } else { if (genModel.useGenerics() && !genOperation.hasBody() && !genOperation.isInvariant() && genOperation.hasInvocationDelegate() && genOperation.isUncheckedCast(genClass)) { - stringBuffer.append(TEXT_2083); + stringBuffer.append(TEXT_2111); } - stringBuffer.append(TEXT_2084); + stringBuffer.append(TEXT_2112); stringBuffer.append(genOperation.getTypeParameters(genClass)); stringBuffer.append(genOperation.getImportedType(genClass)); - stringBuffer.append(TEXT_2085); + stringBuffer.append(TEXT_2113); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2086); + stringBuffer.append(TEXT_2114); stringBuffer.append(genOperation.getParameters(isImplementation, genClass)); - stringBuffer.append(TEXT_2087); + stringBuffer.append(TEXT_2115); stringBuffer.append(genOperation.getThrows(genClass)); - stringBuffer.append(TEXT_2088); + stringBuffer.append(TEXT_2116); if (genOperation.hasBody()) { - stringBuffer.append(TEXT_2089); + stringBuffer.append(TEXT_2117); stringBuffer.append(genOperation.getBody(genModel.getIndentation(stringBuffer))); } else if (genOperation.isInvariant() && (genOperation.hasInvariantExpression() || !genOperation.hasInvocationDelegate())) {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_2090); + stringBuffer.append(TEXT_2118); stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); - stringBuffer.append(TEXT_2091); + stringBuffer.append(TEXT_2119); stringBuffer.append(genClass.getQualifiedClassifierAccessor()); - stringBuffer.append(TEXT_2092); + stringBuffer.append(TEXT_2120); stringBuffer.append(diagnostics); - stringBuffer.append(TEXT_2093); + stringBuffer.append(TEXT_2121); stringBuffer.append(context); - stringBuffer.append(TEXT_2094); + stringBuffer.append(TEXT_2122); stringBuffer.append(genOperation.getValidationDelegate()); - stringBuffer.append(TEXT_2095); + stringBuffer.append(TEXT_2123); stringBuffer.append(genModel.getNonNLS()); - stringBuffer.append(TEXT_2096); + stringBuffer.append(TEXT_2124); stringBuffer.append(genOperation.getQualifiedOperationAccessor()); - stringBuffer.append(TEXT_2097); + stringBuffer.append(TEXT_2125); stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); - stringBuffer.append(TEXT_2098); + stringBuffer.append(TEXT_2126); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")); - stringBuffer.append(TEXT_2099); + stringBuffer.append(TEXT_2127); stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); - stringBuffer.append(TEXT_2100); + stringBuffer.append(TEXT_2128); stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); - stringBuffer.append(TEXT_2101); + stringBuffer.append(TEXT_2129); stringBuffer.append(opClass.getOperationID(genOperation)); - stringBuffer.append(TEXT_2102); + stringBuffer.append(TEXT_2130); } else { if (UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { - stringBuffer.append(TEXT_2103); + stringBuffer.append(TEXT_2131); stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); - stringBuffer.append(TEXT_2104); + stringBuffer.append(TEXT_2132); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2105); + stringBuffer.append(TEXT_2133); stringBuffer.append(diagnostics); - stringBuffer.append(TEXT_2106); + stringBuffer.append(TEXT_2134); stringBuffer.append(context); - stringBuffer.append(TEXT_2107); + stringBuffer.append(TEXT_2135); } 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_2108); + stringBuffer.append(TEXT_2136); stringBuffer.append(oclInv); - stringBuffer.append(TEXT_2109); + stringBuffer.append(TEXT_2137); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); - stringBuffer.append(TEXT_2110); + stringBuffer.append(TEXT_2138); stringBuffer.append(opClass.getQualifiedClassifierAccessor()); - stringBuffer.append(TEXT_2111); + stringBuffer.append(TEXT_2139); stringBuffer.append(oclInv); - stringBuffer.append(TEXT_2112); + stringBuffer.append(TEXT_2140); stringBuffer.append(UML2GenModelUtil.getUpperName(genOperation.getName())); stringBuffer.append(genOperation.getGenParameters().size() == 0 ? "" : "__" + UML2GenModelUtil.getUpperName(genOperation.getParameterTypes("_", false))); - stringBuffer.append(TEXT_2113); + stringBuffer.append(TEXT_2141); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ParserException")); - stringBuffer.append(TEXT_2114); + stringBuffer.append(TEXT_2142); stringBuffer.append(oclInv); - stringBuffer.append(TEXT_2115); + stringBuffer.append(TEXT_2143); } else { - stringBuffer.append(TEXT_2116); + stringBuffer.append(TEXT_2144); } - stringBuffer.append(TEXT_2117); + stringBuffer.append(TEXT_2145); stringBuffer.append(diagnostics); - stringBuffer.append(TEXT_2118); - stringBuffer.append(TEXT_2119); + stringBuffer.append(TEXT_2146); + stringBuffer.append(TEXT_2147); stringBuffer.append(diagnostics); - stringBuffer.append(TEXT_2120); + stringBuffer.append(TEXT_2148); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic")); - stringBuffer.append(TEXT_2121); + stringBuffer.append(TEXT_2149); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic")); - stringBuffer.append(TEXT_2122); + stringBuffer.append(TEXT_2150); stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); - stringBuffer.append(TEXT_2123); + stringBuffer.append(TEXT_2151); stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName()); - stringBuffer.append(TEXT_2124); + stringBuffer.append(TEXT_2152); stringBuffer.append(opClass.getOperationID(genOperation)); - stringBuffer.append(TEXT_2125); + stringBuffer.append(TEXT_2153); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin")); - stringBuffer.append(TEXT_2126); + stringBuffer.append(TEXT_2154); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2127); + stringBuffer.append(TEXT_2155); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator")); - stringBuffer.append(TEXT_2128); + stringBuffer.append(TEXT_2156); stringBuffer.append(context); - stringBuffer.append(TEXT_2129); + stringBuffer.append(TEXT_2157); stringBuffer.append(genModel.getNonNLS()); stringBuffer.append(genModel.getNonNLS(2)); - stringBuffer.append(TEXT_2130); + stringBuffer.append(TEXT_2158); //genOperation.diagnostics.override.javajetinc - stringBuffer.append(TEXT_2131); + stringBuffer.append(TEXT_2159); } } } else if (genModel.getRuntimeVersion().getValue() >= GenRuntimeVersion.EMF26_VALUE && genOperation.hasInvocationDelegate()) { int size = genOperation.getGenParameters().size(); - stringBuffer.append(TEXT_2132); + stringBuffer.append(TEXT_2160); if (genOperation.isVoid()) { - stringBuffer.append(TEXT_2133); + stringBuffer.append(TEXT_2161); stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); - stringBuffer.append(TEXT_2134); + stringBuffer.append(TEXT_2162); if (size > 0) { - stringBuffer.append(TEXT_2135); + stringBuffer.append(TEXT_2163); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")); - stringBuffer.append(TEXT_2136); + stringBuffer.append(TEXT_2164); stringBuffer.append(size); - stringBuffer.append(TEXT_2137); + stringBuffer.append(TEXT_2165); stringBuffer.append(genOperation.getParametersArray(genClass)); - stringBuffer.append(TEXT_2138); + stringBuffer.append(TEXT_2166); } else { - stringBuffer.append(TEXT_2139); + stringBuffer.append(TEXT_2167); } - stringBuffer.append(TEXT_2140); + stringBuffer.append(TEXT_2168); } else { - stringBuffer.append(TEXT_2141); + stringBuffer.append(TEXT_2169); if (!isJDK50 && genOperation.isPrimitiveType()) { - stringBuffer.append(TEXT_2142); + stringBuffer.append(TEXT_2170); } - stringBuffer.append(TEXT_2143); + stringBuffer.append(TEXT_2171); stringBuffer.append(genOperation.getObjectType(genClass)); - stringBuffer.append(TEXT_2144); + stringBuffer.append(TEXT_2172); stringBuffer.append(CodeGenUtil.upperName(genClass.getUniqueName(genOperation), genModel.getLocale())); - stringBuffer.append(TEXT_2145); + stringBuffer.append(TEXT_2173); if (size > 0) { - stringBuffer.append(TEXT_2146); + stringBuffer.append(TEXT_2174); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")); - stringBuffer.append(TEXT_2147); + stringBuffer.append(TEXT_2175); stringBuffer.append(size); - stringBuffer.append(TEXT_2148); + stringBuffer.append(TEXT_2176); stringBuffer.append(genOperation.getParametersArray(genClass)); - stringBuffer.append(TEXT_2149); + stringBuffer.append(TEXT_2177); } else { - stringBuffer.append(TEXT_2150); + stringBuffer.append(TEXT_2178); } - stringBuffer.append(TEXT_2151); + stringBuffer.append(TEXT_2179); if (!isJDK50 && genOperation.isPrimitiveType()) { - stringBuffer.append(TEXT_2152); + stringBuffer.append(TEXT_2180); stringBuffer.append(genOperation.getPrimitiveValueFunction()); - stringBuffer.append(TEXT_2153); + stringBuffer.append(TEXT_2181); } - stringBuffer.append(TEXT_2154); + stringBuffer.append(TEXT_2182); } - stringBuffer.append(TEXT_2155); + stringBuffer.append(TEXT_2183); stringBuffer.append(genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")); - stringBuffer.append(TEXT_2156); + stringBuffer.append(TEXT_2184); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.WrappedException")); - stringBuffer.append(TEXT_2157); + stringBuffer.append(TEXT_2185); } else { if (UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { if (genOperation.isVoid()) { - stringBuffer.append(TEXT_2158); + stringBuffer.append(TEXT_2186); stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); - stringBuffer.append(TEXT_2159); + stringBuffer.append(TEXT_2187); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2160); + stringBuffer.append(TEXT_2188); if (genOperation.getGenParameters().size() > 0) { - stringBuffer.append(TEXT_2161); + stringBuffer.append(TEXT_2189); stringBuffer.append(genOperation.getParameterNames(", ")); } - stringBuffer.append(TEXT_2162); + stringBuffer.append(TEXT_2190); } else { if (UML2GenModelUtil.isCacheAdapterSupport(genModel) && UML2GenModelUtil.isCached(genOperation)) { - stringBuffer.append(TEXT_2163); + stringBuffer.append(TEXT_2191); stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); - stringBuffer.append(TEXT_2164); + stringBuffer.append(TEXT_2192); if (genModel.useGenerics() && genOperation.isUncheckedCast()) { - stringBuffer.append(TEXT_2165); + stringBuffer.append(TEXT_2193); } - stringBuffer.append(TEXT_2166); + stringBuffer.append(TEXT_2194); stringBuffer.append(genOperation.getObjectType(genClass)); - stringBuffer.append(TEXT_2167); + stringBuffer.append(TEXT_2195); stringBuffer.append(genOperation.getObjectType(genClass)); - stringBuffer.append(TEXT_2168); + stringBuffer.append(TEXT_2196); if (UML2GenModelUtil.isResourceCacheAdapterScope(genOperation)) { - stringBuffer.append(TEXT_2169); + stringBuffer.append(TEXT_2197); } - stringBuffer.append(TEXT_2170); + stringBuffer.append(TEXT_2198); stringBuffer.append(genOperation.getQualifiedOperationAccessor()); - stringBuffer.append(TEXT_2171); + stringBuffer.append(TEXT_2199); if (UML2GenModelUtil.isResourceCacheAdapterScope(genOperation)) { - stringBuffer.append(TEXT_2172); + stringBuffer.append(TEXT_2200); } - stringBuffer.append(TEXT_2173); + stringBuffer.append(TEXT_2201); stringBuffer.append(genOperation.getQualifiedOperationAccessor()); - stringBuffer.append(TEXT_2174); + stringBuffer.append(TEXT_2202); if (genOperation.isPrimitiveType()) { - stringBuffer.append(TEXT_2175); + stringBuffer.append(TEXT_2203); stringBuffer.append(genOperation.getObjectType(genClass)); - stringBuffer.append(TEXT_2176); + stringBuffer.append(TEXT_2204); } stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); - stringBuffer.append(TEXT_2177); + stringBuffer.append(TEXT_2205); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2178); + stringBuffer.append(TEXT_2206); if (genOperation.getGenParameters().size() > 0) { - stringBuffer.append(TEXT_2179); + stringBuffer.append(TEXT_2207); stringBuffer.append(genOperation.getParameterNames(", ")); } - stringBuffer.append(TEXT_2180); + stringBuffer.append(TEXT_2208); if (genOperation.isPrimitiveType()) { - stringBuffer.append(TEXT_2181); + stringBuffer.append(TEXT_2209); } - stringBuffer.append(TEXT_2182); + stringBuffer.append(TEXT_2210); if (genOperation.isPrimitiveType()) { - stringBuffer.append(TEXT_2183); + stringBuffer.append(TEXT_2211); stringBuffer.append(genOperation.getPrimitiveValueFunction()); - stringBuffer.append(TEXT_2184); + stringBuffer.append(TEXT_2212); } - stringBuffer.append(TEXT_2185); + stringBuffer.append(TEXT_2213); } - stringBuffer.append(TEXT_2186); + stringBuffer.append(TEXT_2214); stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); - stringBuffer.append(TEXT_2187); + stringBuffer.append(TEXT_2215); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2188); + stringBuffer.append(TEXT_2216); if (genOperation.getGenParameters().size() > 0) { - stringBuffer.append(TEXT_2189); + stringBuffer.append(TEXT_2217); stringBuffer.append(genOperation.getParameterNames(", ")); } - stringBuffer.append(TEXT_2190); + stringBuffer.append(TEXT_2218); } } 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; @@ -8535,1322 +8627,1322 @@ if (index != -1) { head = typeName.substring(0, index); tail = typeName.substrin } } int index = genOperation.getGenClass().getAllGenOperations().indexOf(redefinedGenOperation); - stringBuffer.append(TEXT_2191); + stringBuffer.append(TEXT_2219); stringBuffer.append(oclQry); - stringBuffer.append(TEXT_2192); + stringBuffer.append(TEXT_2220); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); - stringBuffer.append(TEXT_2193); + stringBuffer.append(TEXT_2221); stringBuffer.append(genOperation.getGenClass().getQualifiedClassifierAccessor()); - stringBuffer.append(TEXT_2194); + stringBuffer.append(TEXT_2222); stringBuffer.append(genOperation.getGenClass().getQualifiedClassifierAccessor()); - stringBuffer.append(TEXT_2195); + stringBuffer.append(TEXT_2223); stringBuffer.append(index); - stringBuffer.append(TEXT_2196); + stringBuffer.append(TEXT_2224); stringBuffer.append(oclQry); - stringBuffer.append(TEXT_2197); + stringBuffer.append(TEXT_2225); stringBuffer.append(UML2GenModelUtil.getUpperName(genOperation.getName())); stringBuffer.append(genOperation.getGenParameters().size() == 0 ? "" : "__" + UML2GenModelUtil.getUpperName(genOperation.getParameterTypes("_", false))); - stringBuffer.append(TEXT_2198); + stringBuffer.append(TEXT_2226); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ParserException")); - stringBuffer.append(TEXT_2199); + stringBuffer.append(TEXT_2227); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); - stringBuffer.append(TEXT_2200); + stringBuffer.append(TEXT_2228); stringBuffer.append(oclQry); - stringBuffer.append(TEXT_2201); + stringBuffer.append(TEXT_2229); if (!genOperation.getGenParameters().isEmpty()) { - stringBuffer.append(TEXT_2202); + stringBuffer.append(TEXT_2230); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.EvaluationEnvironment")); if (isJDK50) { - stringBuffer.append(TEXT_2203); + stringBuffer.append(TEXT_2231); } - stringBuffer.append(TEXT_2204); + stringBuffer.append(TEXT_2232); for (GenParameter genParameter : genOperation.getGenParameters()) { - stringBuffer.append(TEXT_2205); + stringBuffer.append(TEXT_2233); stringBuffer.append(genParameter.getName()); - stringBuffer.append(TEXT_2206); + stringBuffer.append(TEXT_2234); stringBuffer.append(genParameter.getName()); - stringBuffer.append(TEXT_2207); + stringBuffer.append(TEXT_2235); stringBuffer.append(genModel.getNonNLS()); } } if (genOperation.isListType()) { if (isJDK50) { - stringBuffer.append(TEXT_2208); + stringBuffer.append(TEXT_2236); } - stringBuffer.append(TEXT_2209); + stringBuffer.append(TEXT_2237); stringBuffer.append(genModel.getImportedName("java.util.Collection")); - stringBuffer.append(TEXT_2210); + stringBuffer.append(TEXT_2238); stringBuffer.append(genOperation.getListItemType(null)); - stringBuffer.append(TEXT_2211); + stringBuffer.append(TEXT_2239); stringBuffer.append(genModel.getImportedName("java.util.Collection")); - stringBuffer.append(TEXT_2212); + stringBuffer.append(TEXT_2240); stringBuffer.append(genOperation.getListItemType(null)); - stringBuffer.append(TEXT_2213); + stringBuffer.append(TEXT_2241); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicEList")); - stringBuffer.append(TEXT_2214); + stringBuffer.append(TEXT_2242); stringBuffer.append(genOperation.getListItemType(null)); - stringBuffer.append(TEXT_2215); + stringBuffer.append(TEXT_2243); } else if (genOperation.isPrimitiveType()) { - stringBuffer.append(TEXT_2216); + stringBuffer.append(TEXT_2244); stringBuffer.append(genOperation.getObjectType(null)); - stringBuffer.append(TEXT_2217); + stringBuffer.append(TEXT_2245); stringBuffer.append(genOperation.getPrimitiveValueFunction()); - stringBuffer.append(TEXT_2218); + stringBuffer.append(TEXT_2246); } else { - stringBuffer.append(TEXT_2219); + stringBuffer.append(TEXT_2247); stringBuffer.append(genOperation.getImportedType(null)); - stringBuffer.append(TEXT_2220); + stringBuffer.append(TEXT_2248); } } else { - stringBuffer.append(TEXT_2221); + stringBuffer.append(TEXT_2249); } } - stringBuffer.append(TEXT_2222); + stringBuffer.append(TEXT_2250); } //Class/implementedGenOperation.override.javajetinc }//for if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseAddGenFeatures())) { - stringBuffer.append(TEXT_2223); + stringBuffer.append(TEXT_2251); if (genModel.useGenerics()) { for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) { if (genFeature.isUncheckedCast(genClass)) { - stringBuffer.append(TEXT_2224); + stringBuffer.append(TEXT_2252); break; } } } if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2225); + stringBuffer.append(TEXT_2253); } - stringBuffer.append(TEXT_2226); + stringBuffer.append(TEXT_2254); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_2227); + stringBuffer.append(TEXT_2255); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_2228); + stringBuffer.append(TEXT_2256); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_2229); + stringBuffer.append(TEXT_2257); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_2230); + stringBuffer.append(TEXT_2258); for (GenFeature genFeature : genClass.getEInverseAddGenFeatures()) { - stringBuffer.append(TEXT_2231); + stringBuffer.append(TEXT_2259); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_2232); + stringBuffer.append(TEXT_2260); 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_2233); + stringBuffer.append(TEXT_2261); stringBuffer.append(cast); - stringBuffer.append(TEXT_2234); + stringBuffer.append(TEXT_2262); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap")); - stringBuffer.append(TEXT_2235); + stringBuffer.append(TEXT_2263); stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass)); - stringBuffer.append(TEXT_2236); + stringBuffer.append(TEXT_2264); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2237); + stringBuffer.append(TEXT_2265); } else { - stringBuffer.append(TEXT_2238); + stringBuffer.append(TEXT_2266); stringBuffer.append(cast); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2239); + stringBuffer.append(TEXT_2267); } } else if (genFeature.isContainer()) { - stringBuffer.append(TEXT_2240); + stringBuffer.append(TEXT_2268); if (genFeature.isBasicSet()) { - stringBuffer.append(TEXT_2241); + stringBuffer.append(TEXT_2269); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2242); + stringBuffer.append(TEXT_2270); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2243); + stringBuffer.append(TEXT_2271); } else { - stringBuffer.append(TEXT_2244); + stringBuffer.append(TEXT_2272); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2245); + stringBuffer.append(TEXT_2273); } } else { if (genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2246); + stringBuffer.append(TEXT_2274); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2247); + stringBuffer.append(TEXT_2275); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2248); + stringBuffer.append(TEXT_2276); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2249); + stringBuffer.append(TEXT_2277); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2250); + stringBuffer.append(TEXT_2278); } else if (genFeature.isVolatile() || genClass.getImplementingGenModel(genFeature).isDynamicDelegation()) { - stringBuffer.append(TEXT_2251); + stringBuffer.append(TEXT_2279); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2252); + stringBuffer.append(TEXT_2280); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2253); + stringBuffer.append(TEXT_2281); if (genFeature.isResolveProxies()) { - stringBuffer.append(TEXT_2254); + stringBuffer.append(TEXT_2282); stringBuffer.append(genFeature.getAccessorName()); } else { stringBuffer.append(genFeature.getGetAccessor()); } - stringBuffer.append(TEXT_2255); + stringBuffer.append(TEXT_2283); } - stringBuffer.append(TEXT_2256); + stringBuffer.append(TEXT_2284); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2257); + stringBuffer.append(TEXT_2285); if (genFeature.isEffectiveContains()) { - stringBuffer.append(TEXT_2258); + stringBuffer.append(TEXT_2286); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_2259); + stringBuffer.append(TEXT_2287); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2260); + stringBuffer.append(TEXT_2288); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_2261); + stringBuffer.append(TEXT_2289); } else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : ""; - stringBuffer.append(TEXT_2262); + stringBuffer.append(TEXT_2290); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_2263); + stringBuffer.append(TEXT_2291); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2264); + stringBuffer.append(TEXT_2292); stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature)); stringBuffer.append(reverseOffsetCorrection); - stringBuffer.append(TEXT_2265); + stringBuffer.append(TEXT_2293); stringBuffer.append(targetClass.getRawImportedInterfaceName()); - stringBuffer.append(TEXT_2266); + stringBuffer.append(TEXT_2294); } - stringBuffer.append(TEXT_2267); + stringBuffer.append(TEXT_2295); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2268); + stringBuffer.append(TEXT_2296); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2269); + stringBuffer.append(TEXT_2297); } } - stringBuffer.append(TEXT_2270); + stringBuffer.append(TEXT_2298); if (genModel.isMinimalReflectiveMethods()) { - stringBuffer.append(TEXT_2271); + stringBuffer.append(TEXT_2299); } else { - stringBuffer.append(TEXT_2272); + stringBuffer.append(TEXT_2300); } - stringBuffer.append(TEXT_2273); + stringBuffer.append(TEXT_2301); } if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEInverseRemoveGenFeatures())) { - stringBuffer.append(TEXT_2274); + stringBuffer.append(TEXT_2302); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2275); + stringBuffer.append(TEXT_2303); } - stringBuffer.append(TEXT_2276); + stringBuffer.append(TEXT_2304); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_2277); + stringBuffer.append(TEXT_2305); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject")); - stringBuffer.append(TEXT_2278); + stringBuffer.append(TEXT_2306); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_2279); + stringBuffer.append(TEXT_2307); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_2280); + stringBuffer.append(TEXT_2308); for (GenFeature genFeature : genClass.getEInverseRemoveGenFeatures()) { - stringBuffer.append(TEXT_2281); + stringBuffer.append(TEXT_2309); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_2282); + stringBuffer.append(TEXT_2310); if (genFeature.isListType()) { if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) { - stringBuffer.append(TEXT_2283); + stringBuffer.append(TEXT_2311); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_2284); + stringBuffer.append(TEXT_2312); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap")); - stringBuffer.append(TEXT_2285); + stringBuffer.append(TEXT_2313); stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass)); - stringBuffer.append(TEXT_2286); + stringBuffer.append(TEXT_2314); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2287); + stringBuffer.append(TEXT_2315); } else if (genFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_2288); + stringBuffer.append(TEXT_2316); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_2289); + stringBuffer.append(TEXT_2317); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_2290); + stringBuffer.append(TEXT_2318); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2291); + stringBuffer.append(TEXT_2319); } else { - stringBuffer.append(TEXT_2292); + stringBuffer.append(TEXT_2320); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_2293); + stringBuffer.append(TEXT_2321); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2294); + stringBuffer.append(TEXT_2322); } } else if (genFeature.isContainer() && !genFeature.isBasicSet()) { - stringBuffer.append(TEXT_2295); + stringBuffer.append(TEXT_2323); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2296); + stringBuffer.append(TEXT_2324); } else if (genFeature.isUnsettable()) { - stringBuffer.append(TEXT_2297); + stringBuffer.append(TEXT_2325); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2298); + stringBuffer.append(TEXT_2326); } else { - stringBuffer.append(TEXT_2299); + stringBuffer.append(TEXT_2327); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2300); + stringBuffer.append(TEXT_2328); } } - stringBuffer.append(TEXT_2301); + stringBuffer.append(TEXT_2329); if (genModel.isMinimalReflectiveMethods()) { - stringBuffer.append(TEXT_2302); + stringBuffer.append(TEXT_2330); } else { - stringBuffer.append(TEXT_2303); + stringBuffer.append(TEXT_2331); } - stringBuffer.append(TEXT_2304); + stringBuffer.append(TEXT_2332); } if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEBasicRemoveFromContainerGenFeatures())) { - stringBuffer.append(TEXT_2305); + stringBuffer.append(TEXT_2333); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2306); + stringBuffer.append(TEXT_2334); } - stringBuffer.append(TEXT_2307); + stringBuffer.append(TEXT_2335); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_2308); + stringBuffer.append(TEXT_2336); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_2309); + stringBuffer.append(TEXT_2337); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_2310); + stringBuffer.append(TEXT_2338); for (GenFeature genFeature : genClass.getEBasicRemoveFromContainerGenFeatures()) { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass(); String reverseOffsetCorrection = targetClass.hasOffsetCorrection() ? " + " + genClass.getOffsetCorrectionField(genFeature) : ""; - stringBuffer.append(TEXT_2311); + stringBuffer.append(TEXT_2339); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_2312); + stringBuffer.append(TEXT_2340); stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature)); stringBuffer.append(reverseOffsetCorrection); - stringBuffer.append(TEXT_2313); + stringBuffer.append(TEXT_2341); stringBuffer.append(targetClass.getRawImportedInterfaceName()); - stringBuffer.append(TEXT_2314); + stringBuffer.append(TEXT_2342); } - stringBuffer.append(TEXT_2315); + stringBuffer.append(TEXT_2343); if (genModel.isMinimalReflectiveMethods()) { - stringBuffer.append(TEXT_2316); + stringBuffer.append(TEXT_2344); } else { - stringBuffer.append(TEXT_2317); + stringBuffer.append(TEXT_2345); } - stringBuffer.append(TEXT_2318); + stringBuffer.append(TEXT_2346); } if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEGetGenFeatures())) { - stringBuffer.append(TEXT_2319); + stringBuffer.append(TEXT_2347); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2320); + stringBuffer.append(TEXT_2348); } - stringBuffer.append(TEXT_2321); + stringBuffer.append(TEXT_2349); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_2322); + stringBuffer.append(TEXT_2350); for (GenFeature genFeature : genClass.getEGetGenFeatures()) { - stringBuffer.append(TEXT_2323); + stringBuffer.append(TEXT_2351); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_2324); + stringBuffer.append(TEXT_2352); if (genFeature.isPrimitiveType()) { if (isJDK50) { - stringBuffer.append(TEXT_2325); + stringBuffer.append(TEXT_2353); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2326); + stringBuffer.append(TEXT_2354); } else if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_2327); + stringBuffer.append(TEXT_2355); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2328); + stringBuffer.append(TEXT_2356); } else { - stringBuffer.append(TEXT_2329); + stringBuffer.append(TEXT_2357); stringBuffer.append(genFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_2330); + stringBuffer.append(TEXT_2358); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2331); + stringBuffer.append(TEXT_2359); } } else if (genFeature.isResolveProxies() && !genFeature.isListType()) { - stringBuffer.append(TEXT_2332); + stringBuffer.append(TEXT_2360); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2333); + stringBuffer.append(TEXT_2361); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2334); + stringBuffer.append(TEXT_2362); } else if (genFeature.isMapType()) { if (genFeature.isEffectiveSuppressEMFTypes()) { - stringBuffer.append(TEXT_2335); + stringBuffer.append(TEXT_2363); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap")); - stringBuffer.append(TEXT_2336); + stringBuffer.append(TEXT_2364); stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass)); - stringBuffer.append(TEXT_2337); + stringBuffer.append(TEXT_2365); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2338); + stringBuffer.append(TEXT_2366); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2339); + stringBuffer.append(TEXT_2367); } else { - stringBuffer.append(TEXT_2340); + stringBuffer.append(TEXT_2368); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2341); + stringBuffer.append(TEXT_2369); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2342); + stringBuffer.append(TEXT_2370); } } else if (genFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_2343); + stringBuffer.append(TEXT_2371); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_2344); + stringBuffer.append(TEXT_2372); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2345); + stringBuffer.append(TEXT_2373); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2346); + stringBuffer.append(TEXT_2374); } else if (genFeature.isFeatureMapType()) { - stringBuffer.append(TEXT_2347); + stringBuffer.append(TEXT_2375); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2348); + stringBuffer.append(TEXT_2376); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_2349); + stringBuffer.append(TEXT_2377); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2350); + stringBuffer.append(TEXT_2378); } else { - stringBuffer.append(TEXT_2351); + stringBuffer.append(TEXT_2379); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2352); + stringBuffer.append(TEXT_2380); } } - stringBuffer.append(TEXT_2353); + stringBuffer.append(TEXT_2381); if (genModel.isMinimalReflectiveMethods()) { - stringBuffer.append(TEXT_2354); + stringBuffer.append(TEXT_2382); } else { - stringBuffer.append(TEXT_2355); + stringBuffer.append(TEXT_2383); } - stringBuffer.append(TEXT_2356); + stringBuffer.append(TEXT_2384); } if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getESetGenFeatures())) { - stringBuffer.append(TEXT_2357); + stringBuffer.append(TEXT_2385); if (genModel.useGenerics()) { for (GenFeature genFeature : genClass.getESetGenFeatures()) { if (genFeature.isUncheckedCast(genClass) && !genFeature.isFeatureMapType() && !genFeature.isMapType()) { - stringBuffer.append(TEXT_2358); + stringBuffer.append(TEXT_2386); break; } } } if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2359); + stringBuffer.append(TEXT_2387); } - stringBuffer.append(TEXT_2360); + stringBuffer.append(TEXT_2388); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_2361); + stringBuffer.append(TEXT_2389); for (GenFeature genFeature : genClass.getESetGenFeatures()) { - stringBuffer.append(TEXT_2362); + stringBuffer.append(TEXT_2390); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_2363); + stringBuffer.append(TEXT_2391); if (genFeature.isListType()) { if (genFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_2364); + stringBuffer.append(TEXT_2392); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_2365); + stringBuffer.append(TEXT_2393); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_2366); + stringBuffer.append(TEXT_2394); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2367); + stringBuffer.append(TEXT_2395); } else if (genFeature.isFeatureMapType()) { - stringBuffer.append(TEXT_2368); + stringBuffer.append(TEXT_2396); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_2369); + stringBuffer.append(TEXT_2397); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2370); + stringBuffer.append(TEXT_2398); } else if (genFeature.isMapType()) { if (genFeature.isEffectiveSuppressEMFTypes()) { - stringBuffer.append(TEXT_2371); + stringBuffer.append(TEXT_2399); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")); - stringBuffer.append(TEXT_2372); + stringBuffer.append(TEXT_2400); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap")); - stringBuffer.append(TEXT_2373); + stringBuffer.append(TEXT_2401); stringBuffer.append(genFeature.getImportedMapTemplateArguments(genClass)); - stringBuffer.append(TEXT_2374); + stringBuffer.append(TEXT_2402); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2375); + stringBuffer.append(TEXT_2403); } else { - stringBuffer.append(TEXT_2376); + stringBuffer.append(TEXT_2404); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature")); - stringBuffer.append(TEXT_2377); + stringBuffer.append(TEXT_2405); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2378); + stringBuffer.append(TEXT_2406); } } else { - stringBuffer.append(TEXT_2379); + stringBuffer.append(TEXT_2407); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2380); + stringBuffer.append(TEXT_2408); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2381); + stringBuffer.append(TEXT_2409); stringBuffer.append(genModel.getImportedName("java.util.Collection")); if (isJDK50) { - stringBuffer.append(TEXT_2382); + stringBuffer.append(TEXT_2410); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_2383); + stringBuffer.append(TEXT_2411); } - stringBuffer.append(TEXT_2384); + stringBuffer.append(TEXT_2412); } } else if (!isJDK50 && genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2385); + stringBuffer.append(TEXT_2413); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2386); + stringBuffer.append(TEXT_2414); stringBuffer.append(genFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_2387); + stringBuffer.append(TEXT_2415); stringBuffer.append(genFeature.getPrimitiveValueFunction()); - stringBuffer.append(TEXT_2388); + stringBuffer.append(TEXT_2416); } else { - stringBuffer.append(TEXT_2389); + stringBuffer.append(TEXT_2417); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2390); + stringBuffer.append(TEXT_2418); if (genFeature.getTypeGenDataType() == null || !genFeature.getTypeGenDataType().isObjectType() || !genFeature.getRawType().equals(genFeature.getType(genClass))) { - stringBuffer.append(TEXT_2391); + stringBuffer.append(TEXT_2419); stringBuffer.append(genFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_2392); + stringBuffer.append(TEXT_2420); } - stringBuffer.append(TEXT_2393); + stringBuffer.append(TEXT_2421); } - stringBuffer.append(TEXT_2394); + stringBuffer.append(TEXT_2422); } - stringBuffer.append(TEXT_2395); + stringBuffer.append(TEXT_2423); if (genModel.isMinimalReflectiveMethods()) { - stringBuffer.append(TEXT_2396); + stringBuffer.append(TEXT_2424); } else { - stringBuffer.append(TEXT_2397); + stringBuffer.append(TEXT_2425); } - stringBuffer.append(TEXT_2398); + stringBuffer.append(TEXT_2426); } if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEUnsetGenFeatures())) { - stringBuffer.append(TEXT_2399); + stringBuffer.append(TEXT_2427); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2400); + stringBuffer.append(TEXT_2428); } - stringBuffer.append(TEXT_2401); + stringBuffer.append(TEXT_2429); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_2402); + stringBuffer.append(TEXT_2430); for (GenFeature genFeature : genClass.getEUnsetGenFeatures()) { - stringBuffer.append(TEXT_2403); + stringBuffer.append(TEXT_2431); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_2404); + stringBuffer.append(TEXT_2432); if (genFeature.isListType() && !genFeature.isUnsettable()) { if (genFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_2405); + stringBuffer.append(TEXT_2433); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_2406); + stringBuffer.append(TEXT_2434); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2407); + stringBuffer.append(TEXT_2435); } else { - stringBuffer.append(TEXT_2408); + stringBuffer.append(TEXT_2436); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2409); + stringBuffer.append(TEXT_2437); } } else if (genFeature.isUnsettable()) { - stringBuffer.append(TEXT_2410); + stringBuffer.append(TEXT_2438); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2411); + stringBuffer.append(TEXT_2439); } else if (!genFeature.hasEDefault()) { - stringBuffer.append(TEXT_2412); + stringBuffer.append(TEXT_2440); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2413); + stringBuffer.append(TEXT_2441); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2414); + stringBuffer.append(TEXT_2442); } else if (genFeature.hasSettingDelegate()) { - stringBuffer.append(TEXT_2415); + stringBuffer.append(TEXT_2443); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2416); + stringBuffer.append(TEXT_2444); } else { - stringBuffer.append(TEXT_2417); + stringBuffer.append(TEXT_2445); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2418); + stringBuffer.append(TEXT_2446); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2419); + stringBuffer.append(TEXT_2447); } - stringBuffer.append(TEXT_2420); + stringBuffer.append(TEXT_2448); } - stringBuffer.append(TEXT_2421); + stringBuffer.append(TEXT_2449); if (genModel.isMinimalReflectiveMethods()) { - stringBuffer.append(TEXT_2422); + stringBuffer.append(TEXT_2450); } else { - stringBuffer.append(TEXT_2423); + stringBuffer.append(TEXT_2451); } - stringBuffer.append(TEXT_2424); + stringBuffer.append(TEXT_2452); //Class/eUnset.override.javajetinc } if (isImplementation && !genModel.isReflectiveDelegation() && genClass.implementsAny(genClass.getEIsSetGenFeatures())) { - stringBuffer.append(TEXT_2425); - stringBuffer.append(TEXT_2426); + stringBuffer.append(TEXT_2453); + stringBuffer.append(TEXT_2454); 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_2427); + stringBuffer.append(TEXT_2455); break; } } } if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2428); + stringBuffer.append(TEXT_2456); } - stringBuffer.append(TEXT_2429); + stringBuffer.append(TEXT_2457); for (GenFeature genFeature : genClass.getEIsSetGenFeatures()) { String safeNameAccessor = genFeature.getSafeName(); if ("featureID".equals(safeNameAccessor)) { safeNameAccessor = "this." + safeNameAccessor; } - stringBuffer.append(TEXT_2430); + stringBuffer.append(TEXT_2458); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_2431); + stringBuffer.append(TEXT_2459); if (UML2GenModelUtil.isUnion(genFeature) || UML2GenModelUtil.isRedefinition(genFeature) || UML2GenModelUtil.isRedefined(genClass, genFeature)) { - stringBuffer.append(TEXT_2432); + stringBuffer.append(TEXT_2460); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2433); + stringBuffer.append(TEXT_2461); } else { if (genFeature.hasSettingDelegate()) { if (genFeature.isUnsettable()) { - stringBuffer.append(TEXT_2434); + stringBuffer.append(TEXT_2462); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2435); + stringBuffer.append(TEXT_2463); } else { - stringBuffer.append(TEXT_2436); + stringBuffer.append(TEXT_2464); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2437); + stringBuffer.append(TEXT_2465); } } else if (genFeature.isListType() && !genFeature.isUnsettable()) { if (genFeature.isWrappedFeatureMapType()) { if (genFeature.isVolatile()) { - stringBuffer.append(TEXT_2438); + stringBuffer.append(TEXT_2466); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_2439); + stringBuffer.append(TEXT_2467); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2440); + stringBuffer.append(TEXT_2468); } else { - stringBuffer.append(TEXT_2441); + stringBuffer.append(TEXT_2469); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2442); + stringBuffer.append(TEXT_2470); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2443); + stringBuffer.append(TEXT_2471); } } else { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_2444); + stringBuffer.append(TEXT_2472); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2445); + stringBuffer.append(TEXT_2473); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2446); + stringBuffer.append(TEXT_2474); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2447); + stringBuffer.append(TEXT_2475); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2448); + stringBuffer.append(TEXT_2476); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2449); + stringBuffer.append(TEXT_2477); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2450); + stringBuffer.append(TEXT_2478); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2451); + stringBuffer.append(TEXT_2479); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2452); + stringBuffer.append(TEXT_2480); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2453); + stringBuffer.append(TEXT_2481); } else { - stringBuffer.append(TEXT_2454); + stringBuffer.append(TEXT_2482); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2455); + stringBuffer.append(TEXT_2483); } } } } else if (genFeature.isUnsettable()) { - stringBuffer.append(TEXT_2456); + stringBuffer.append(TEXT_2484); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2457); + stringBuffer.append(TEXT_2485); } else if (genFeature.isResolveProxies()) { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_2458); + stringBuffer.append(TEXT_2486); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2459); + stringBuffer.append(TEXT_2487); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2460); + stringBuffer.append(TEXT_2488); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2461); + stringBuffer.append(TEXT_2489); } else { - stringBuffer.append(TEXT_2462); + stringBuffer.append(TEXT_2490); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2463); + stringBuffer.append(TEXT_2491); } } } else if (!genFeature.hasEDefault()) { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_2464); + stringBuffer.append(TEXT_2492); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2465); + stringBuffer.append(TEXT_2493); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2466); + stringBuffer.append(TEXT_2494); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2467); + stringBuffer.append(TEXT_2495); } else { - stringBuffer.append(TEXT_2468); + stringBuffer.append(TEXT_2496); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2469); + stringBuffer.append(TEXT_2497); } } } else if (genFeature.isPrimitiveType() || genFeature.isEnumType()) { if (genClass.isField(genFeature)) { if (genClass.isFlag(genFeature)) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_2470); + stringBuffer.append(TEXT_2498); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_2471); + stringBuffer.append(TEXT_2499); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2472); + stringBuffer.append(TEXT_2500); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2473); + stringBuffer.append(TEXT_2501); } else { - stringBuffer.append(TEXT_2474); + stringBuffer.append(TEXT_2502); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_2475); + stringBuffer.append(TEXT_2503); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2476); + stringBuffer.append(TEXT_2504); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2477); + stringBuffer.append(TEXT_2505); } } else { - stringBuffer.append(TEXT_2478); + stringBuffer.append(TEXT_2506); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2479); + stringBuffer.append(TEXT_2507); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2480); + stringBuffer.append(TEXT_2508); } } else { if (genFeature.isEnumType() && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2481); + stringBuffer.append(TEXT_2509); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2482); + stringBuffer.append(TEXT_2510); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2483); + stringBuffer.append(TEXT_2511); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2484); + stringBuffer.append(TEXT_2512); } else { - stringBuffer.append(TEXT_2485); + stringBuffer.append(TEXT_2513); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2486); + stringBuffer.append(TEXT_2514); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2487); + stringBuffer.append(TEXT_2515); } } } else {//datatype if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_2488); + stringBuffer.append(TEXT_2516); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2489); + stringBuffer.append(TEXT_2517); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2490); + stringBuffer.append(TEXT_2518); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2491); + stringBuffer.append(TEXT_2519); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2492); + stringBuffer.append(TEXT_2520); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_2493); + stringBuffer.append(TEXT_2521); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2494); + stringBuffer.append(TEXT_2522); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2495); + stringBuffer.append(TEXT_2523); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2496); + stringBuffer.append(TEXT_2524); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_2497); + stringBuffer.append(TEXT_2525); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2498); + stringBuffer.append(TEXT_2526); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2499); + stringBuffer.append(TEXT_2527); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2500); + stringBuffer.append(TEXT_2528); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2501); + stringBuffer.append(TEXT_2529); stringBuffer.append(safeNameAccessor); - stringBuffer.append(TEXT_2502); + stringBuffer.append(TEXT_2530); } else { - stringBuffer.append(TEXT_2503); + stringBuffer.append(TEXT_2531); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2504); + stringBuffer.append(TEXT_2532); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2505); + stringBuffer.append(TEXT_2533); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_2506); + stringBuffer.append(TEXT_2534); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2507); + stringBuffer.append(TEXT_2535); } } } } } - stringBuffer.append(TEXT_2508); + stringBuffer.append(TEXT_2536); if (genModel.isMinimalReflectiveMethods()) { - stringBuffer.append(TEXT_2509); + stringBuffer.append(TEXT_2537); } else { - stringBuffer.append(TEXT_2510); + stringBuffer.append(TEXT_2538); } - stringBuffer.append(TEXT_2511); + stringBuffer.append(TEXT_2539); //Class/eIsSet.override.javajetinc } if (isImplementation && (!genClass.getMixinGenFeatures().isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty())) { if (!genClass.getMixinGenFeatures().isEmpty()) { - stringBuffer.append(TEXT_2512); + stringBuffer.append(TEXT_2540); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2513); + stringBuffer.append(TEXT_2541); } - stringBuffer.append(TEXT_2514); + stringBuffer.append(TEXT_2542); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_2515); + stringBuffer.append(TEXT_2543); for (GenClass mixinGenClass : genClass.getMixinGenClasses()) { - stringBuffer.append(TEXT_2516); + stringBuffer.append(TEXT_2544); stringBuffer.append(mixinGenClass.getRawImportedInterfaceName()); - stringBuffer.append(TEXT_2517); + stringBuffer.append(TEXT_2545); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_2518); + stringBuffer.append(TEXT_2546); for (GenFeature genFeature : mixinGenClass.getGenFeatures()) { - stringBuffer.append(TEXT_2519); + stringBuffer.append(TEXT_2547); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_2520); + stringBuffer.append(TEXT_2548); stringBuffer.append(mixinGenClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_2521); + stringBuffer.append(TEXT_2549); } - stringBuffer.append(TEXT_2522); + stringBuffer.append(TEXT_2550); } - stringBuffer.append(TEXT_2523); + stringBuffer.append(TEXT_2551); } - stringBuffer.append(TEXT_2524); + stringBuffer.append(TEXT_2552); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2525); + stringBuffer.append(TEXT_2553); } - stringBuffer.append(TEXT_2526); + stringBuffer.append(TEXT_2554); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_2527); + stringBuffer.append(TEXT_2555); for (GenClass mixinGenClass : genClass.getMixinGenClasses()) { - stringBuffer.append(TEXT_2528); + stringBuffer.append(TEXT_2556); stringBuffer.append(mixinGenClass.getRawImportedInterfaceName()); - stringBuffer.append(TEXT_2529); + stringBuffer.append(TEXT_2557); for (GenFeature genFeature : mixinGenClass.getGenFeatures()) { - stringBuffer.append(TEXT_2530); + stringBuffer.append(TEXT_2558); stringBuffer.append(mixinGenClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_2531); + stringBuffer.append(TEXT_2559); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2532); + stringBuffer.append(TEXT_2560); } - stringBuffer.append(TEXT_2533); + stringBuffer.append(TEXT_2561); } if (genClass.hasOffsetCorrection() && !genClass.getGenFeatures().isEmpty()) { - stringBuffer.append(TEXT_2534); + stringBuffer.append(TEXT_2562); stringBuffer.append(genClass.getRawImportedInterfaceName()); - stringBuffer.append(TEXT_2535); + stringBuffer.append(TEXT_2563); stringBuffer.append(negativeOffsetCorrection); - stringBuffer.append(TEXT_2536); + stringBuffer.append(TEXT_2564); for (GenFeature genFeature : genClass.getGenFeatures()) { - stringBuffer.append(TEXT_2537); + stringBuffer.append(TEXT_2565); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_2538); + stringBuffer.append(TEXT_2566); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2539); + stringBuffer.append(TEXT_2567); } - stringBuffer.append(TEXT_2540); + stringBuffer.append(TEXT_2568); } - stringBuffer.append(TEXT_2541); + stringBuffer.append(TEXT_2569); } if (genModel.isOperationReflection() && isImplementation && (!genClass.getMixinGenOperations().isEmpty() || !genClass.getOverrideGenOperations(genClass.getExtendedGenOperations(), genClass.getImplementedGenOperations()).isEmpty() || genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty())) { - stringBuffer.append(TEXT_2542); + stringBuffer.append(TEXT_2570); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2543); + stringBuffer.append(TEXT_2571); } - stringBuffer.append(TEXT_2544); + stringBuffer.append(TEXT_2572); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_2545); + stringBuffer.append(TEXT_2573); for (GenClass extendedGenClass : genClass.getExtendedGenClasses()) { List<GenOperation> extendedImplementedGenOperations = extendedGenClass.getImplementedGenOperations(); List<GenOperation> implementedGenOperations = genClass.getImplementedGenOperations(); if (!genClass.getOverrideGenOperations(extendedImplementedGenOperations, implementedGenOperations).isEmpty()) { - stringBuffer.append(TEXT_2546); + stringBuffer.append(TEXT_2574); stringBuffer.append(extendedGenClass.getRawImportedInterfaceName()); - stringBuffer.append(TEXT_2547); + stringBuffer.append(TEXT_2575); for (GenOperation genOperation : extendedImplementedGenOperations) { GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation); if (implementedGenOperations.contains(overrideGenOperation)) { - stringBuffer.append(TEXT_2548); + stringBuffer.append(TEXT_2576); stringBuffer.append(extendedGenClass.getQualifiedOperationID(genOperation)); - stringBuffer.append(TEXT_2549); + stringBuffer.append(TEXT_2577); stringBuffer.append(genClass.getQualifiedOperationID(overrideGenOperation)); stringBuffer.append(positiveOperationOffsetCorrection); - stringBuffer.append(TEXT_2550); + stringBuffer.append(TEXT_2578); } } - stringBuffer.append(TEXT_2551); + stringBuffer.append(TEXT_2579); } } for (GenClass mixinGenClass : genClass.getMixinGenClasses()) { - stringBuffer.append(TEXT_2552); + stringBuffer.append(TEXT_2580); stringBuffer.append(mixinGenClass.getRawImportedInterfaceName()); - stringBuffer.append(TEXT_2553); + stringBuffer.append(TEXT_2581); for (GenOperation genOperation : mixinGenClass.getGenOperations()) { GenOperation overrideGenOperation = genClass.getOverrideGenOperation(genOperation); - stringBuffer.append(TEXT_2554); + stringBuffer.append(TEXT_2582); stringBuffer.append(mixinGenClass.getQualifiedOperationID(genOperation)); - stringBuffer.append(TEXT_2555); + stringBuffer.append(TEXT_2583); stringBuffer.append(genClass.getQualifiedOperationID(overrideGenOperation != null ? overrideGenOperation : genOperation)); stringBuffer.append(positiveOperationOffsetCorrection); - stringBuffer.append(TEXT_2556); + stringBuffer.append(TEXT_2584); } - stringBuffer.append(TEXT_2557); + stringBuffer.append(TEXT_2585); } if (genClass.hasOffsetCorrection() && !genClass.getGenOperations().isEmpty()) { - stringBuffer.append(TEXT_2558); + stringBuffer.append(TEXT_2586); stringBuffer.append(genClass.getRawImportedInterfaceName()); - stringBuffer.append(TEXT_2559); + stringBuffer.append(TEXT_2587); stringBuffer.append(negativeOperationOffsetCorrection); - stringBuffer.append(TEXT_2560); + stringBuffer.append(TEXT_2588); for (GenOperation genOperation : genClass.getGenOperations()) { - stringBuffer.append(TEXT_2561); + stringBuffer.append(TEXT_2589); stringBuffer.append(genClass.getQualifiedOperationID(genOperation)); - stringBuffer.append(TEXT_2562); + stringBuffer.append(TEXT_2590); stringBuffer.append(genClass.getQualifiedOperationID(genOperation)); stringBuffer.append(positiveOperationOffsetCorrection); - stringBuffer.append(TEXT_2563); + stringBuffer.append(TEXT_2591); } - stringBuffer.append(TEXT_2564); + stringBuffer.append(TEXT_2592); } - stringBuffer.append(TEXT_2565); + stringBuffer.append(TEXT_2593); } if (isImplementation && genModel.isVirtualDelegation()) { String eVirtualValuesField = genClass.getEVirtualValuesField(); if (eVirtualValuesField != null) { - stringBuffer.append(TEXT_2566); + stringBuffer.append(TEXT_2594); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2567); + stringBuffer.append(TEXT_2595); } - stringBuffer.append(TEXT_2568); + stringBuffer.append(TEXT_2596); stringBuffer.append(eVirtualValuesField); - stringBuffer.append(TEXT_2569); + stringBuffer.append(TEXT_2597); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2570); + stringBuffer.append(TEXT_2598); } - stringBuffer.append(TEXT_2571); + stringBuffer.append(TEXT_2599); stringBuffer.append(eVirtualValuesField); - stringBuffer.append(TEXT_2572); + stringBuffer.append(TEXT_2600); } { List<String> eVirtualIndexBitFields = genClass.getEVirtualIndexBitFields(new ArrayList<String>()); if (!eVirtualIndexBitFields.isEmpty()) { List<String> allEVirtualIndexBitFields = genClass.getAllEVirtualIndexBitFields(new ArrayList<String>()); - stringBuffer.append(TEXT_2573); + stringBuffer.append(TEXT_2601); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2574); + stringBuffer.append(TEXT_2602); } - stringBuffer.append(TEXT_2575); + stringBuffer.append(TEXT_2603); for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) { - stringBuffer.append(TEXT_2576); + stringBuffer.append(TEXT_2604); stringBuffer.append(i); - stringBuffer.append(TEXT_2577); + stringBuffer.append(TEXT_2605); stringBuffer.append(allEVirtualIndexBitFields.get(i)); - stringBuffer.append(TEXT_2578); + stringBuffer.append(TEXT_2606); } - stringBuffer.append(TEXT_2579); + stringBuffer.append(TEXT_2607); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2580); + stringBuffer.append(TEXT_2608); } - stringBuffer.append(TEXT_2581); + stringBuffer.append(TEXT_2609); for (int i = 0; i < allEVirtualIndexBitFields.size(); i++) { - stringBuffer.append(TEXT_2582); + stringBuffer.append(TEXT_2610); stringBuffer.append(i); - stringBuffer.append(TEXT_2583); + stringBuffer.append(TEXT_2611); stringBuffer.append(allEVirtualIndexBitFields.get(i)); - stringBuffer.append(TEXT_2584); + stringBuffer.append(TEXT_2612); } - stringBuffer.append(TEXT_2585); + stringBuffer.append(TEXT_2613); } } } if (genModel.isOperationReflection() && isImplementation && !genClass.getImplementedGenOperations().isEmpty()) { - stringBuffer.append(TEXT_2586); + stringBuffer.append(TEXT_2614); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2587); + stringBuffer.append(TEXT_2615); } if (genModel.useGenerics()) { 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_2588); + stringBuffer.append(TEXT_2616); if (!isRaw) { - stringBuffer.append(TEXT_2589); + stringBuffer.append(TEXT_2617); } else { - stringBuffer.append(TEXT_2590); + stringBuffer.append(TEXT_2618); } - stringBuffer.append(TEXT_2591); + stringBuffer.append(TEXT_2619); } } - stringBuffer.append(TEXT_2592); + stringBuffer.append(TEXT_2620); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EList")); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_2593); + stringBuffer.append(TEXT_2621); stringBuffer.append(genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")); - stringBuffer.append(TEXT_2594); + stringBuffer.append(TEXT_2622); stringBuffer.append(negativeOperationOffsetCorrection); - stringBuffer.append(TEXT_2595); + stringBuffer.append(TEXT_2623); for (GenOperation genOperation : (genModel.isMinimalReflectiveMethods() ? genClass.getImplementedGenOperations() : genClass.getAllGenOperations())) { List<GenParameter> genParameters = genOperation.getGenParameters(); int size = genParameters.size(); boolean hasCheckedException = genOperation.hasCheckedException(); String indent = hasCheckedException ? "\t" : ""; - stringBuffer.append(TEXT_2596); + stringBuffer.append(TEXT_2624); stringBuffer.append(genClass.getQualifiedOperationID(genOperation)); - stringBuffer.append(TEXT_2597); + stringBuffer.append(TEXT_2625); if (hasCheckedException) { - stringBuffer.append(TEXT_2598); + stringBuffer.append(TEXT_2626); /*}*/} if (genOperation.isVoid()) { - stringBuffer.append(TEXT_2599); + stringBuffer.append(TEXT_2627); stringBuffer.append(indent); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2600); + stringBuffer.append(TEXT_2628); for (int i = 0; i < size; i++) { GenParameter genParameter = genParameters.get(i); if (!isJDK50 && genParameter.isPrimitiveType()) { - stringBuffer.append(TEXT_2601); + stringBuffer.append(TEXT_2629); } if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) { - stringBuffer.append(TEXT_2602); + stringBuffer.append(TEXT_2630); stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass)); - stringBuffer.append(TEXT_2603); + stringBuffer.append(TEXT_2631); } - stringBuffer.append(TEXT_2604); + stringBuffer.append(TEXT_2632); stringBuffer.append(i); - stringBuffer.append(TEXT_2605); + stringBuffer.append(TEXT_2633); if (!isJDK50 && genParameter.isPrimitiveType()) { - stringBuffer.append(TEXT_2606); + stringBuffer.append(TEXT_2634); stringBuffer.append(genParameter.getPrimitiveValueFunction()); - stringBuffer.append(TEXT_2607); + stringBuffer.append(TEXT_2635); } if (i < (size - 1)) { - stringBuffer.append(TEXT_2608); + stringBuffer.append(TEXT_2636); } } - stringBuffer.append(TEXT_2609); + stringBuffer.append(TEXT_2637); stringBuffer.append(indent); - stringBuffer.append(TEXT_2610); + stringBuffer.append(TEXT_2638); } else { - stringBuffer.append(TEXT_2611); + stringBuffer.append(TEXT_2639); stringBuffer.append(indent); - stringBuffer.append(TEXT_2612); + stringBuffer.append(TEXT_2640); if (!isJDK50 && genOperation.isPrimitiveType()) { - stringBuffer.append(TEXT_2613); + stringBuffer.append(TEXT_2641); stringBuffer.append(genOperation.getObjectType(genClass)); - stringBuffer.append(TEXT_2614); + stringBuffer.append(TEXT_2642); } stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_2615); + stringBuffer.append(TEXT_2643); for (int i = 0; i < size; i++) { GenParameter genParameter = genParameters.get(i); if (!isJDK50 && genParameter.isPrimitiveType()) { - stringBuffer.append(TEXT_2616); + stringBuffer.append(TEXT_2644); } if (genParameter.getTypeGenDataType() == null || !genParameter.getTypeGenDataType().isObjectType() || !genParameter.usesOperationTypeParameters() && !genParameter.getRawType().equals(genParameter.getType(genClass))) { - stringBuffer.append(TEXT_2617); + stringBuffer.append(TEXT_2645); stringBuffer.append(genParameter.usesOperationTypeParameters() ? genParameter.getRawImportedType() : genParameter.getObjectType(genClass)); - stringBuffer.append(TEXT_2618); + stringBuffer.append(TEXT_2646); } - stringBuffer.append(TEXT_2619); + stringBuffer.append(TEXT_2647); stringBuffer.append(i); - stringBuffer.append(TEXT_2620); + stringBuffer.append(TEXT_2648); if (!isJDK50 && genParameter.isPrimitiveType()) { - stringBuffer.append(TEXT_2621); + stringBuffer.append(TEXT_2649); stringBuffer.append(genParameter.getPrimitiveValueFunction()); - stringBuffer.append(TEXT_2622); + stringBuffer.append(TEXT_2650); } if (i < (size - 1)) { - stringBuffer.append(TEXT_2623); + stringBuffer.append(TEXT_2651); } } - stringBuffer.append(TEXT_2624); + stringBuffer.append(TEXT_2652); if (!isJDK50 && genOperation.isPrimitiveType()) { - stringBuffer.append(TEXT_2625); + stringBuffer.append(TEXT_2653); } - stringBuffer.append(TEXT_2626); + stringBuffer.append(TEXT_2654); } if (hasCheckedException) {/*{*/ - stringBuffer.append(TEXT_2627); + stringBuffer.append(TEXT_2655); stringBuffer.append(genModel.getImportedName("java.lang.Throwable")); - stringBuffer.append(TEXT_2628); + stringBuffer.append(TEXT_2656); stringBuffer.append(genModel.getImportedName(isGWT ? "org.eclipse.emf.common.util.InvocationTargetException" : "java.lang.reflect.InvocationTargetException")); - stringBuffer.append(TEXT_2629); + stringBuffer.append(TEXT_2657); } } - stringBuffer.append(TEXT_2630); + stringBuffer.append(TEXT_2658); if (genModel.isMinimalReflectiveMethods()) { - stringBuffer.append(TEXT_2631); + stringBuffer.append(TEXT_2659); } else { - stringBuffer.append(TEXT_2632); + stringBuffer.append(TEXT_2660); } - stringBuffer.append(TEXT_2633); + stringBuffer.append(TEXT_2661); } if (!genClass.hasImplementedToStringGenOperation() && isImplementation && !genModel.isReflectiveDelegation() && !genModel.isDynamicDelegation() && !genClass.getToStringGenFeatures().isEmpty()) { - stringBuffer.append(TEXT_2634); + stringBuffer.append(TEXT_2662); if (genModel.useClassOverrideAnnotation()) { - stringBuffer.append(TEXT_2635); + stringBuffer.append(TEXT_2663); } - stringBuffer.append(TEXT_2636); + stringBuffer.append(TEXT_2664); { boolean first = true; for (GenFeature genFeature : genClass.getToStringGenFeatures()) { if (first) { first = false; - stringBuffer.append(TEXT_2637); + stringBuffer.append(TEXT_2665); stringBuffer.append(genFeature.getName()); - stringBuffer.append(TEXT_2638); + stringBuffer.append(TEXT_2666); stringBuffer.append(genModel.getNonNLS()); } else { - stringBuffer.append(TEXT_2639); + stringBuffer.append(TEXT_2667); stringBuffer.append(genFeature.getName()); - stringBuffer.append(TEXT_2640); + stringBuffer.append(TEXT_2668); stringBuffer.append(genModel.getNonNLS()); } if (genFeature.isUnsettable() && !genFeature.isListType()) { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2641); + stringBuffer.append(TEXT_2669); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2642); + stringBuffer.append(TEXT_2670); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); - stringBuffer.append(TEXT_2643); + stringBuffer.append(TEXT_2671); stringBuffer.append(genModel.getNonNLS()); } else { if (genClass.isFlag(genFeature)) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_2644); + stringBuffer.append(TEXT_2672); if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_2645); + stringBuffer.append(TEXT_2673); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_2646); + stringBuffer.append(TEXT_2674); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2647); + stringBuffer.append(TEXT_2675); } else { stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_2648); + stringBuffer.append(TEXT_2676); } - stringBuffer.append(TEXT_2649); + stringBuffer.append(TEXT_2677); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_2650); + stringBuffer.append(TEXT_2678); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2651); + stringBuffer.append(TEXT_2679); stringBuffer.append(genModel.getNonNLS()); } else { - stringBuffer.append(TEXT_2652); + stringBuffer.append(TEXT_2680); if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_2653); + stringBuffer.append(TEXT_2681); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_2654); + stringBuffer.append(TEXT_2682); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2655); + stringBuffer.append(TEXT_2683); } else { stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_2656); + stringBuffer.append(TEXT_2684); } - stringBuffer.append(TEXT_2657); + stringBuffer.append(TEXT_2685); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2658); + stringBuffer.append(TEXT_2686); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_2659); + stringBuffer.append(TEXT_2687); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2660); + stringBuffer.append(TEXT_2688); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2661); + stringBuffer.append(TEXT_2689); stringBuffer.append(genModel.getNonNLS()); } } else { - stringBuffer.append(TEXT_2662); + stringBuffer.append(TEXT_2690); if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_2663); + stringBuffer.append(TEXT_2691); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_2664); + stringBuffer.append(TEXT_2692); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2665); + stringBuffer.append(TEXT_2693); } else { stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_2666); + stringBuffer.append(TEXT_2694); } - stringBuffer.append(TEXT_2667); + stringBuffer.append(TEXT_2695); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2668); + stringBuffer.append(TEXT_2696); stringBuffer.append(genModel.getNonNLS()); } } } else { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2669); + stringBuffer.append(TEXT_2697); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); stringBuffer.append(positiveOffsetCorrection); if (!genFeature.isListType() && !genFeature.isReferenceType()){ - stringBuffer.append(TEXT_2670); + stringBuffer.append(TEXT_2698); stringBuffer.append(genFeature.getEDefault()); } - stringBuffer.append(TEXT_2671); + stringBuffer.append(TEXT_2699); } else { if (genClass.isFlag(genFeature)) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_2672); + stringBuffer.append(TEXT_2700); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_2673); + stringBuffer.append(TEXT_2701); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2674); + stringBuffer.append(TEXT_2702); } else { - stringBuffer.append(TEXT_2675); + stringBuffer.append(TEXT_2703); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2676); + stringBuffer.append(TEXT_2704); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_2677); + stringBuffer.append(TEXT_2705); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2678); + stringBuffer.append(TEXT_2706); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2679); + stringBuffer.append(TEXT_2707); } } else { - stringBuffer.append(TEXT_2680); + stringBuffer.append(TEXT_2708); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2681); + stringBuffer.append(TEXT_2709); } } } } } - stringBuffer.append(TEXT_2682); + stringBuffer.append(TEXT_2710); } 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_2683); + stringBuffer.append(TEXT_2711); if (isGWT) { - stringBuffer.append(TEXT_2684); + stringBuffer.append(TEXT_2712); stringBuffer.append(genModel.getImportedName("com.google.gwt.user.client.rpc.GwtTransient")); } - stringBuffer.append(TEXT_2685); + stringBuffer.append(TEXT_2713); stringBuffer.append(objectType); - stringBuffer.append(TEXT_2686); + stringBuffer.append(TEXT_2714); stringBuffer.append(keyType); - stringBuffer.append(TEXT_2687); + stringBuffer.append(TEXT_2715); if (!isJDK50 && keyFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2688); + stringBuffer.append(TEXT_2716); stringBuffer.append(keyFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_2689); + stringBuffer.append(TEXT_2717); } else { - stringBuffer.append(TEXT_2690); + stringBuffer.append(TEXT_2718); } - stringBuffer.append(TEXT_2691); + stringBuffer.append(TEXT_2719); stringBuffer.append(keyType); - stringBuffer.append(TEXT_2692); + stringBuffer.append(TEXT_2720); if (keyFeature.isListType()) { - stringBuffer.append(TEXT_2693); + stringBuffer.append(TEXT_2721); if (!genModel.useGenerics()) { - stringBuffer.append(TEXT_2694); + stringBuffer.append(TEXT_2722); stringBuffer.append(genModel.getImportedName("java.util.Collection")); - stringBuffer.append(TEXT_2695); + stringBuffer.append(TEXT_2723); } - stringBuffer.append(TEXT_2696); + stringBuffer.append(TEXT_2724); } else if (isJDK50) { - stringBuffer.append(TEXT_2697); + stringBuffer.append(TEXT_2725); } else if (keyFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2698); + stringBuffer.append(TEXT_2726); stringBuffer.append(keyFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_2699); + stringBuffer.append(TEXT_2727); stringBuffer.append(keyFeature.getPrimitiveValueFunction()); - stringBuffer.append(TEXT_2700); + stringBuffer.append(TEXT_2728); } else { - stringBuffer.append(TEXT_2701); + stringBuffer.append(TEXT_2729); stringBuffer.append(keyFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2702); + stringBuffer.append(TEXT_2730); } - stringBuffer.append(TEXT_2703); + stringBuffer.append(TEXT_2731); stringBuffer.append(valueType); - stringBuffer.append(TEXT_2704); + stringBuffer.append(TEXT_2732); if (!isJDK50 && valueFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2705); + stringBuffer.append(TEXT_2733); stringBuffer.append(valueFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_2706); + stringBuffer.append(TEXT_2734); } else { - stringBuffer.append(TEXT_2707); + stringBuffer.append(TEXT_2735); } - stringBuffer.append(TEXT_2708); + stringBuffer.append(TEXT_2736); stringBuffer.append(valueType); - stringBuffer.append(TEXT_2709); + stringBuffer.append(TEXT_2737); stringBuffer.append(valueType); - stringBuffer.append(TEXT_2710); + stringBuffer.append(TEXT_2738); stringBuffer.append(valueType); - stringBuffer.append(TEXT_2711); + stringBuffer.append(TEXT_2739); if (valueFeature.isListType()) { - stringBuffer.append(TEXT_2712); + stringBuffer.append(TEXT_2740); if (!genModel.useGenerics()) { - stringBuffer.append(TEXT_2713); + stringBuffer.append(TEXT_2741); stringBuffer.append(genModel.getImportedName("java.util.Collection")); - stringBuffer.append(TEXT_2714); + stringBuffer.append(TEXT_2742); } - stringBuffer.append(TEXT_2715); + stringBuffer.append(TEXT_2743); } else if (isJDK50) { - stringBuffer.append(TEXT_2716); + stringBuffer.append(TEXT_2744); } else if (valueFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_2717); + stringBuffer.append(TEXT_2745); stringBuffer.append(valueFeature.getObjectType(genClass)); - stringBuffer.append(TEXT_2718); + stringBuffer.append(TEXT_2746); stringBuffer.append(valueFeature.getPrimitiveValueFunction()); - stringBuffer.append(TEXT_2719); + stringBuffer.append(TEXT_2747); } else { - stringBuffer.append(TEXT_2720); + stringBuffer.append(TEXT_2748); stringBuffer.append(valueFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2721); + stringBuffer.append(TEXT_2749); } - stringBuffer.append(TEXT_2722); + stringBuffer.append(TEXT_2750); if (genModel.useGenerics()) { - stringBuffer.append(TEXT_2723); + stringBuffer.append(TEXT_2751); } - stringBuffer.append(TEXT_2724); + stringBuffer.append(TEXT_2752); stringBuffer.append(eMapType); - stringBuffer.append(TEXT_2725); + stringBuffer.append(TEXT_2753); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject")); - stringBuffer.append(TEXT_2726); + stringBuffer.append(TEXT_2754); stringBuffer.append(eMapType); - stringBuffer.append(TEXT_2727); + stringBuffer.append(TEXT_2755); } if (isImplementation) { if (!UML2GenModelUtil.isOperationsClasses(genPackage) && UML2GenModelUtil.hasOCLOperationBodies(genClass) && (!UML2GenModelUtil.hasOCLOperationBodies(genClass.getClassExtendsGenClass()) || UML2GenModelUtil.isOperationsClasses(genClass.getClassExtendsGenClass().getGenPackage()))) { - stringBuffer.append(TEXT_2728); + stringBuffer.append(TEXT_2756); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); - stringBuffer.append(TEXT_2729); + stringBuffer.append(TEXT_2757); stringBuffer.append(genModel.getImportedName("org.eclipse.ocl.ecore.OCL")); - stringBuffer.append(TEXT_2730); + stringBuffer.append(TEXT_2758); } if (genClass.isModelRoot()) { if (UML2GenModelUtil.isFactoryMethods(genClass)) { - stringBuffer.append(TEXT_2731); + stringBuffer.append(TEXT_2759); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject")); - stringBuffer.append(TEXT_2732); + stringBuffer.append(TEXT_2760); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_2733); + stringBuffer.append(TEXT_2761); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil")); - stringBuffer.append(TEXT_2734); + stringBuffer.append(TEXT_2762); } if (UML2GenModelUtil.isCacheAdapterSupport(genClass)) { - stringBuffer.append(TEXT_2735); + stringBuffer.append(TEXT_2763); stringBuffer.append(genClass.getFormattedName()); - stringBuffer.append(TEXT_2736); + stringBuffer.append(TEXT_2764); stringBuffer.append(genClass.getFormattedName()); - stringBuffer.append(TEXT_2737); + stringBuffer.append(TEXT_2765); stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); - stringBuffer.append(TEXT_2738); + stringBuffer.append(TEXT_2766); stringBuffer.append(genModel.getImportedName("org.eclipse.uml2.common.util.CacheAdapter")); - stringBuffer.append(TEXT_2739); + stringBuffer.append(TEXT_2767); } } for (GenFeature genFeature : UML2GenModelUtil.getImplementedUnionGenFeatures(genClass)) { if (genFeature.isGet()) { if (genFeature.isListType()) { if (!UML2GenModelUtil.isDerivedUnionListType(genClass, genFeature)) { - stringBuffer.append(TEXT_2740); + stringBuffer.append(TEXT_2768); if (genModel.useClassOverrideAnnotation() && genClass.getExtendedGenFeatures().contains(genFeature)) { - stringBuffer.append(TEXT_2741); + stringBuffer.append(TEXT_2769); } - stringBuffer.append(TEXT_2742); + stringBuffer.append(TEXT_2770); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2743); + stringBuffer.append(TEXT_2771); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2744); + stringBuffer.append(TEXT_2772); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2745); + stringBuffer.append(TEXT_2773); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2746); + stringBuffer.append(TEXT_2774); if (genClass.getExtendedGenFeatures().contains(genFeature)) { if (UML2GenModelUtil.isDerivedUnionListType(genClass.getClassExtendsGenClass(), genFeature)) { - stringBuffer.append(TEXT_2747); + stringBuffer.append(TEXT_2775); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2748); + stringBuffer.append(TEXT_2776); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2749); + stringBuffer.append(TEXT_2777); } else { - stringBuffer.append(TEXT_2750); + stringBuffer.append(TEXT_2778); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2751); + stringBuffer.append(TEXT_2779); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2752); + stringBuffer.append(TEXT_2780); } } for (GenFeature subsetGenFeature : UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature)) { @@ -9858,871 +9950,879 @@ 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_2753); + stringBuffer.append(TEXT_2781); stringBuffer.append(subsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2754); + stringBuffer.append(TEXT_2782); stringBuffer.append(genModel.getImportedName("java.util.Iterator")); if (genModel.useGenerics()) { - stringBuffer.append(TEXT_2755); + stringBuffer.append(TEXT_2783); stringBuffer.append(genModel.getImportedName(subsetGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_2756); + stringBuffer.append(TEXT_2784); } - stringBuffer.append(TEXT_2757); + stringBuffer.append(TEXT_2785); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); - stringBuffer.append(TEXT_2758); + stringBuffer.append(TEXT_2786); stringBuffer.append(subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2759); + stringBuffer.append(TEXT_2787); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2760); + stringBuffer.append(TEXT_2788); } else { if (genClass.isField(subsetGenFeature)) { - stringBuffer.append(TEXT_2761); + stringBuffer.append(TEXT_2789); stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); - stringBuffer.append(TEXT_2762); + stringBuffer.append(TEXT_2790); stringBuffer.append(genModel.getImportedName("java.util.Iterator")); if (genModel.useGenerics()) { - stringBuffer.append(TEXT_2763); + stringBuffer.append(TEXT_2791); stringBuffer.append(genModel.getImportedName(subsetGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_2764); + stringBuffer.append(TEXT_2792); } - stringBuffer.append(TEXT_2765); + stringBuffer.append(TEXT_2793); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); - stringBuffer.append(TEXT_2766); + stringBuffer.append(TEXT_2794); stringBuffer.append(subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2767); + stringBuffer.append(TEXT_2795); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2768); + stringBuffer.append(TEXT_2796); } else { - stringBuffer.append(TEXT_2769); + stringBuffer.append(TEXT_2797); stringBuffer.append(subsetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2770); + stringBuffer.append(TEXT_2798); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2771); + stringBuffer.append(TEXT_2799); stringBuffer.append(subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2772); + stringBuffer.append(TEXT_2800); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2773); + stringBuffer.append(TEXT_2801); stringBuffer.append(genModel.getImportedName("java.util.Iterator")); if (genModel.useGenerics()) { - stringBuffer.append(TEXT_2774); + stringBuffer.append(TEXT_2802); stringBuffer.append(genModel.getImportedName(subsetGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_2775); + stringBuffer.append(TEXT_2803); } - stringBuffer.append(TEXT_2776); + stringBuffer.append(TEXT_2804); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); - stringBuffer.append(TEXT_2777); + stringBuffer.append(TEXT_2805); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2778); + stringBuffer.append(TEXT_2806); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2779); + stringBuffer.append(TEXT_2807); } } } else { if (subsetGenFeature.isIsSet() || UML2GenModelUtil.isUnion(subsetGenFeature) || UML2GenModelUtil.isRedefinition(subsetGenFeature) || UML2GenModelUtil.isRedefined(genClass, subsetGenFeature)) { - stringBuffer.append(TEXT_2780); + stringBuffer.append(TEXT_2808); stringBuffer.append(subsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2781); + stringBuffer.append(TEXT_2809); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2782); + stringBuffer.append(TEXT_2810); stringBuffer.append(subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2783); + stringBuffer.append(TEXT_2811); } else { if (genClass.isField(subsetGenFeature)) { - stringBuffer.append(TEXT_2784); + stringBuffer.append(TEXT_2812); stringBuffer.append(genClass.getQualifiedFeatureID(subsetGenFeature)); - stringBuffer.append(TEXT_2785); + stringBuffer.append(TEXT_2813); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2786); + stringBuffer.append(TEXT_2814); stringBuffer.append(subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2787); + stringBuffer.append(TEXT_2815); } else { - stringBuffer.append(TEXT_2788); + stringBuffer.append(TEXT_2816); stringBuffer.append(subsetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2789); + stringBuffer.append(TEXT_2817); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2790); + stringBuffer.append(TEXT_2818); stringBuffer.append(subsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2791); + stringBuffer.append(TEXT_2819); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2792); + stringBuffer.append(TEXT_2820); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2793); + stringBuffer.append(TEXT_2821); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2794); + stringBuffer.append(TEXT_2822); } } } } else { if (subsetGenFeature.isIsSet() || UML2GenModelUtil.isUnion(subsetGenFeature) || UML2GenModelUtil.isRedefinition(subsetGenFeature) || UML2GenModelUtil.isRedefined(genClass, subsetGenFeature)) { - stringBuffer.append(TEXT_2795); + stringBuffer.append(TEXT_2823); stringBuffer.append(subsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2796); + stringBuffer.append(TEXT_2824); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2797); + stringBuffer.append(TEXT_2825); if (subsetGenFeature.isBasicGet()) { - stringBuffer.append(TEXT_2798); + stringBuffer.append(TEXT_2826); stringBuffer.append(subsetGenFeature.getAccessorName()); } else { stringBuffer.append(subsetGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_2799); + stringBuffer.append(TEXT_2827); } else { - stringBuffer.append(TEXT_2800); + stringBuffer.append(TEXT_2828); stringBuffer.append(subsetGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2801); + stringBuffer.append(TEXT_2829); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2802); + stringBuffer.append(TEXT_2830); if (subsetGenFeature.isBasicGet()) { - stringBuffer.append(TEXT_2803); + stringBuffer.append(TEXT_2831); stringBuffer.append(subsetGenFeature.getAccessorName()); } else { stringBuffer.append(subsetGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_2804); + stringBuffer.append(TEXT_2832); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2805); + stringBuffer.append(TEXT_2833); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2806); + stringBuffer.append(TEXT_2834); stringBuffer.append(subsetGenFeature.getSafeName()); - stringBuffer.append(TEXT_2807); + stringBuffer.append(TEXT_2835); } } } } - stringBuffer.append(TEXT_2808); + stringBuffer.append(TEXT_2836); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_2809); + stringBuffer.append(TEXT_2837); } } } - stringBuffer.append(TEXT_2810); + stringBuffer.append(TEXT_2838); 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_2811); + stringBuffer.append(TEXT_2839); } } - stringBuffer.append(TEXT_2812); + stringBuffer.append(TEXT_2840); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2813); + stringBuffer.append(TEXT_2841); if (!UML2GenModelUtil.getIsSetSubsetGenFeatures(genClass, genFeature).isEmpty()) { boolean first = true; if (first && genClass.getExtendedGenFeatures().contains(genFeature)) { first = false; - stringBuffer.append(TEXT_2814); + stringBuffer.append(TEXT_2842); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2815); + stringBuffer.append(TEXT_2843); } 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_2816); + stringBuffer.append(TEXT_2844); stringBuffer.append(isSetSubsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2817); + stringBuffer.append(TEXT_2845); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2818); + stringBuffer.append(TEXT_2846); } } else if (UML2GenModelUtil.isDuplicate(isSetSubsetGenFeature) && !UML2GenModelUtil.isRedefinition(isSetSubsetGenFeature)) { if (isSetSubsetGenFeature.isListType()) { - stringBuffer.append(TEXT_2819); + stringBuffer.append(TEXT_2847); stringBuffer.append(isSetSubsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2820); + stringBuffer.append(TEXT_2848); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2821); + stringBuffer.append(TEXT_2849); } } else { - stringBuffer.append(TEXT_2822); + stringBuffer.append(TEXT_2850); if (isSetSubsetGenFeature.isBasicGet()) { - stringBuffer.append(TEXT_2823); + stringBuffer.append(TEXT_2851); stringBuffer.append(isSetSubsetGenFeature.getAccessorName()); } else { stringBuffer.append(isSetSubsetGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_2824); + stringBuffer.append(TEXT_2852); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2825); + stringBuffer.append(TEXT_2853); } } } else { - stringBuffer.append(TEXT_2826); + stringBuffer.append(TEXT_2854); stringBuffer.append(genClass.getQualifiedFeatureID(isSetSubsetGenFeature)); - stringBuffer.append(TEXT_2827); + stringBuffer.append(TEXT_2855); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2828); + stringBuffer.append(TEXT_2856); } } } else { if (isSetSubsetGenFeature.isIsSet() || UML2GenModelUtil.isUnion(isSetSubsetGenFeature) || UML2GenModelUtil.isRedefinition(isSetSubsetGenFeature) || UML2GenModelUtil.isRedefined(genClass, isSetSubsetGenFeature)) { - stringBuffer.append(TEXT_2829); + stringBuffer.append(TEXT_2857); stringBuffer.append(isSetSubsetGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2830); + stringBuffer.append(TEXT_2858); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2831); + stringBuffer.append(TEXT_2859); } } else if (UML2GenModelUtil.isDuplicate(isSetSubsetGenFeature) && !UML2GenModelUtil.isRedefinition(isSetSubsetGenFeature)) { if (isSetSubsetGenFeature.isListType()) { - stringBuffer.append(TEXT_2832); + stringBuffer.append(TEXT_2860); stringBuffer.append(isSetSubsetGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2833); + stringBuffer.append(TEXT_2861); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2834); + stringBuffer.append(TEXT_2862); } } else { - stringBuffer.append(TEXT_2835); + stringBuffer.append(TEXT_2863); if (isSetSubsetGenFeature.isBasicGet()) { - stringBuffer.append(TEXT_2836); + stringBuffer.append(TEXT_2864); stringBuffer.append(isSetSubsetGenFeature.getAccessorName()); } else { stringBuffer.append(isSetSubsetGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_2837); + stringBuffer.append(TEXT_2865); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2838); + stringBuffer.append(TEXT_2866); } } } else { - stringBuffer.append(TEXT_2839); + stringBuffer.append(TEXT_2867); stringBuffer.append(genClass.getQualifiedFeatureID(isSetSubsetGenFeature)); - stringBuffer.append(TEXT_2840); + stringBuffer.append(TEXT_2868); if (!isSetSubsetGenFeatures.hasNext()) { - stringBuffer.append(TEXT_2841); + stringBuffer.append(TEXT_2869); } } } } } else { if (genClass.getExtendedGenFeatures().contains(genFeature)) { - stringBuffer.append(TEXT_2842); + stringBuffer.append(TEXT_2870); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2843); + stringBuffer.append(TEXT_2871); } else { - stringBuffer.append(TEXT_2844); + stringBuffer.append(TEXT_2872); } } - stringBuffer.append(TEXT_2845); + stringBuffer.append(TEXT_2873); } for (GenFeature genFeature : UML2GenModelUtil.getImplementedRedefinedGenFeatures(genClass)) { GenFeature redefinitionGenFeature = UML2GenModelUtil.getRedefinitionGenFeatures(genClass, genFeature).iterator().next(); if (genFeature.isGet()) { - stringBuffer.append(TEXT_2846); + stringBuffer.append(TEXT_2874); 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_2847); + stringBuffer.append(TEXT_2875); } } - stringBuffer.append(TEXT_2848); + stringBuffer.append(TEXT_2876); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2849); + stringBuffer.append(TEXT_2877); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2850); + stringBuffer.append(TEXT_2878); if (genFeature.isListType()) { if (redefinitionGenFeature.isListType()) { if (genModel.useGenerics() && !redefinitionGenFeature.getListItemType(genClass).equals(genFeature.getListItemType(genClass))) { - stringBuffer.append(TEXT_2851); + stringBuffer.append(TEXT_2879); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2852); + stringBuffer.append(TEXT_2880); stringBuffer.append(redefinitionGenFeature.getUncapName()); - stringBuffer.append(TEXT_2853); + stringBuffer.append(TEXT_2881); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2854); + stringBuffer.append(TEXT_2882); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EList") + "<?>"); - stringBuffer.append(TEXT_2855); + stringBuffer.append(TEXT_2883); stringBuffer.append(redefinitionGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2856); + stringBuffer.append(TEXT_2884); stringBuffer.append(redefinitionGenFeature.getUncapName()); - stringBuffer.append(TEXT_2857); + stringBuffer.append(TEXT_2885); } else { - stringBuffer.append(TEXT_2858); + stringBuffer.append(TEXT_2886); stringBuffer.append(redefinitionGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2859); + stringBuffer.append(TEXT_2887); } } else { - stringBuffer.append(TEXT_2860); + stringBuffer.append(TEXT_2888); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreEList")); - stringBuffer.append(TEXT_2861); + stringBuffer.append(TEXT_2889); if (genModel.useGenerics()) { stringBuffer.append("<" + genFeature.getListItemType(genClass) + ">"); } - stringBuffer.append(TEXT_2862); + stringBuffer.append(TEXT_2890); if (UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_2863); + stringBuffer.append(TEXT_2891); } else { stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); } - stringBuffer.append(TEXT_2864); + stringBuffer.append(TEXT_2892); stringBuffer.append(genModel.getImportedName("java.util.Collections")); - stringBuffer.append(TEXT_2865); + stringBuffer.append(TEXT_2893); } } else { if (redefinitionGenFeature.isListType()) { - stringBuffer.append(TEXT_2866); + stringBuffer.append(TEXT_2894); } else { - stringBuffer.append(TEXT_2867); + stringBuffer.append(TEXT_2895); stringBuffer.append(redefinitionGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_2868); + stringBuffer.append(TEXT_2896); } } - stringBuffer.append(TEXT_2869); + stringBuffer.append(TEXT_2897); } if (genFeature.isBasicGet()) { - stringBuffer.append(TEXT_2870); + stringBuffer.append(TEXT_2898); 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_2871); + stringBuffer.append(TEXT_2899); } } - stringBuffer.append(TEXT_2872); + stringBuffer.append(TEXT_2900); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2873); + stringBuffer.append(TEXT_2901); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2874); + stringBuffer.append(TEXT_2902); if (redefinitionGenFeature.isListType()) { - stringBuffer.append(TEXT_2875); + stringBuffer.append(TEXT_2903); } else { - stringBuffer.append(TEXT_2876); + stringBuffer.append(TEXT_2904); if (redefinitionGenFeature.isBasicGet()) { - stringBuffer.append(TEXT_2877); + stringBuffer.append(TEXT_2905); stringBuffer.append(redefinitionGenFeature.getAccessorName()); } else { stringBuffer.append(redefinitionGenFeature.getGetAccessor()); } - stringBuffer.append(TEXT_2878); + stringBuffer.append(TEXT_2906); } - stringBuffer.append(TEXT_2879); + stringBuffer.append(TEXT_2907); } if (genFeature.isBasicSet()) { - stringBuffer.append(TEXT_2880); + stringBuffer.append(TEXT_2908); 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_2881); + stringBuffer.append(TEXT_2909); } } - stringBuffer.append(TEXT_2882); + stringBuffer.append(TEXT_2910); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_2883); + stringBuffer.append(TEXT_2911); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2884); + stringBuffer.append(TEXT_2912); stringBuffer.append(genFeature.getImportedInternalType(genClass)); - stringBuffer.append(TEXT_2885); + stringBuffer.append(TEXT_2913); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2886); + stringBuffer.append(TEXT_2914); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain")); - stringBuffer.append(TEXT_2887); + stringBuffer.append(TEXT_2915); if (!redefinitionGenFeature.isSet() || redefinitionGenFeature.isListType()) { - stringBuffer.append(TEXT_2888); + stringBuffer.append(TEXT_2916); } else { if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) { - stringBuffer.append(TEXT_2889); + stringBuffer.append(TEXT_2917); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2890); + stringBuffer.append(TEXT_2918); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2891); + stringBuffer.append(TEXT_2919); stringBuffer.append(redefinitionGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2892); + stringBuffer.append(TEXT_2920); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2893); + stringBuffer.append(TEXT_2921); + stringBuffer.append(redefinitionGenFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_2922); + stringBuffer.append(genModel.getNonNLS()); + stringBuffer.append(TEXT_2923); } if (redefinitionGenFeature.isBasicSet()) { - stringBuffer.append(TEXT_2894); + stringBuffer.append(TEXT_2924); stringBuffer.append(redefinitionGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2895); + stringBuffer.append(TEXT_2925); if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) { - stringBuffer.append(TEXT_2896); + stringBuffer.append(TEXT_2926); stringBuffer.append(redefinitionGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2897); + stringBuffer.append(TEXT_2927); } - stringBuffer.append(TEXT_2898); + stringBuffer.append(TEXT_2928); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2899); + stringBuffer.append(TEXT_2929); } else { - stringBuffer.append(TEXT_2900); + stringBuffer.append(TEXT_2930); stringBuffer.append(redefinitionGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2901); + stringBuffer.append(TEXT_2931); if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) { - stringBuffer.append(TEXT_2902); + stringBuffer.append(TEXT_2932); stringBuffer.append(redefinitionGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2903); + stringBuffer.append(TEXT_2933); } - stringBuffer.append(TEXT_2904); + stringBuffer.append(TEXT_2934); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2905); + stringBuffer.append(TEXT_2935); } } - stringBuffer.append(TEXT_2906); + stringBuffer.append(TEXT_2936); } if (genFeature.isSet()) { - stringBuffer.append(TEXT_2907); + stringBuffer.append(TEXT_2937); 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_2908); + stringBuffer.append(TEXT_2938); } } - stringBuffer.append(TEXT_2909); + stringBuffer.append(TEXT_2939); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2910); + stringBuffer.append(TEXT_2940); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2911); + stringBuffer.append(TEXT_2941); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2912); + stringBuffer.append(TEXT_2942); if (!redefinitionGenFeature.isSet() || redefinitionGenFeature.isListType()) { - stringBuffer.append(TEXT_2913); + stringBuffer.append(TEXT_2943); } else { if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) { - stringBuffer.append(TEXT_2914); + stringBuffer.append(TEXT_2944); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2915); + stringBuffer.append(TEXT_2945); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2916); + stringBuffer.append(TEXT_2946); stringBuffer.append(redefinitionGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2917); + stringBuffer.append(TEXT_2947); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2918); + stringBuffer.append(TEXT_2948); + stringBuffer.append(redefinitionGenFeature.getImportedType(genClass)); + stringBuffer.append(TEXT_2949); + stringBuffer.append(genModel.getNonNLS()); + stringBuffer.append(TEXT_2950); } - stringBuffer.append(TEXT_2919); + stringBuffer.append(TEXT_2951); stringBuffer.append(redefinitionGenFeature.getAccessorName()); - stringBuffer.append(TEXT_2920); + stringBuffer.append(TEXT_2952); if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) { - stringBuffer.append(TEXT_2921); + stringBuffer.append(TEXT_2953); stringBuffer.append(redefinitionGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_2922); + stringBuffer.append(TEXT_2954); } - stringBuffer.append(TEXT_2923); + stringBuffer.append(TEXT_2955); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2924); + stringBuffer.append(TEXT_2956); } - stringBuffer.append(TEXT_2925); + stringBuffer.append(TEXT_2957); } if (isImplementation && genFeature.isListType()) { if (!UML2GenModelUtil.getSubsetGenFeatures(genClass, genFeature, UML2GenModelUtil.isDerivedUnionListType(genClass, genFeature)).isEmpty()) { - stringBuffer.append(TEXT_2926); + stringBuffer.append(TEXT_2958); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2927); + stringBuffer.append(TEXT_2959); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2928); + stringBuffer.append(TEXT_2960); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_2929); + stringBuffer.append(TEXT_2961); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2930); + stringBuffer.append(TEXT_2962); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2931); + stringBuffer.append(TEXT_2963); stringBuffer.append(UML2GenModelUtil.getSubsetFeatureIDArray(genClass, genFeature, UML2GenModelUtil.isDerivedUnionListType(genClass, genFeature))); - stringBuffer.append(TEXT_2932); + stringBuffer.append(TEXT_2964); } if (!UML2GenModelUtil.getSupersetGenFeatures(genClass, genFeature, false).isEmpty()) { - stringBuffer.append(TEXT_2933); + stringBuffer.append(TEXT_2965); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2934); + stringBuffer.append(TEXT_2966); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2935); + stringBuffer.append(TEXT_2967); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_2936); + stringBuffer.append(TEXT_2968); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2937); + stringBuffer.append(TEXT_2969); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_2938); + stringBuffer.append(TEXT_2970); stringBuffer.append(UML2GenModelUtil.getSupersetFeatureIDArray(genClass, genFeature)); - stringBuffer.append(TEXT_2939); + stringBuffer.append(TEXT_2971); } } 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()) { - stringBuffer.append(TEXT_2940); + stringBuffer.append(TEXT_2972); if (!keyGenFeatures.isEmpty()) { if (genFeature.isListType()) { - stringBuffer.append(TEXT_2941); + stringBuffer.append(TEXT_2973); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_2942); + stringBuffer.append(TEXT_2974); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_2943); + stringBuffer.append(TEXT_2975); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2944); + stringBuffer.append(TEXT_2976); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_2945); + stringBuffer.append(TEXT_2977); } else { - stringBuffer.append(TEXT_2946); + stringBuffer.append(TEXT_2978); stringBuffer.append(genFeature.getType(genClass)); - stringBuffer.append(TEXT_2947); + stringBuffer.append(TEXT_2979); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_2948); + stringBuffer.append(TEXT_2980); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2949); + stringBuffer.append(TEXT_2981); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_2950); + stringBuffer.append(TEXT_2982); } } else { if (genFeature.isListType()) { - stringBuffer.append(TEXT_2951); + stringBuffer.append(TEXT_2983); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_2952); + stringBuffer.append(TEXT_2984); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2953); + stringBuffer.append(TEXT_2985); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_2954); + stringBuffer.append(TEXT_2986); } else { - stringBuffer.append(TEXT_2955); + stringBuffer.append(TEXT_2987); stringBuffer.append(genFeature.getType(genClass)); - stringBuffer.append(TEXT_2956); + stringBuffer.append(TEXT_2988); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_2957); + stringBuffer.append(TEXT_2989); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_2958); + stringBuffer.append(TEXT_2990); } } - stringBuffer.append(TEXT_2959); + stringBuffer.append(TEXT_2991); for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { - stringBuffer.append(TEXT_2960); + stringBuffer.append(TEXT_2992); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2961); + stringBuffer.append(TEXT_2993); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); - stringBuffer.append(TEXT_2962); + stringBuffer.append(TEXT_2994); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_2963); + stringBuffer.append(TEXT_2995); } - stringBuffer.append(TEXT_2964); + stringBuffer.append(TEXT_2996); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_2965); + stringBuffer.append(TEXT_2997); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_2966); + stringBuffer.append(TEXT_2998); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2967); + stringBuffer.append(TEXT_2999); } } else { - stringBuffer.append(TEXT_2968); + stringBuffer.append(TEXT_3000); } if (!isImplementation) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_2969); + stringBuffer.append(TEXT_3001); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_2970); + stringBuffer.append(TEXT_3002); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2971); + stringBuffer.append(TEXT_3003); if (!keyGenFeatures.isEmpty()) { stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_2972); + stringBuffer.append(TEXT_3004); } stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_2973); + stringBuffer.append(TEXT_3005); } } else { int index = 0; if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_2974); + stringBuffer.append(TEXT_3006); } - stringBuffer.append(TEXT_2975); + stringBuffer.append(TEXT_3007); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_2976); + stringBuffer.append(TEXT_3008); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2977); + stringBuffer.append(TEXT_3009); if (!keyGenFeatures.isEmpty()) { stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_2978); + stringBuffer.append(TEXT_3010); } stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_2979); + stringBuffer.append(TEXT_3011); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_2980); + stringBuffer.append(TEXT_3012); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2981); + stringBuffer.append(TEXT_3013); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_2982); + stringBuffer.append(TEXT_3014); if (genFeature.isListType()) { - stringBuffer.append(TEXT_2983); + stringBuffer.append(TEXT_3015); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_2984); + stringBuffer.append(TEXT_3016); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2985); + stringBuffer.append(TEXT_3017); } else { - stringBuffer.append(TEXT_2986); + stringBuffer.append(TEXT_3018); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_2987); + stringBuffer.append(TEXT_3019); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_2988); + stringBuffer.append(TEXT_3020); } 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_2989); + stringBuffer.append(TEXT_3021); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_2990); + stringBuffer.append(TEXT_3022); for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { - stringBuffer.append(TEXT_2991); + stringBuffer.append(TEXT_3023); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2992); + stringBuffer.append(TEXT_3024); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2993); + stringBuffer.append(TEXT_3025); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2994); + stringBuffer.append(TEXT_3026); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2995); + stringBuffer.append(TEXT_3027); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_2996); + stringBuffer.append(TEXT_3028); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_2997); + stringBuffer.append(TEXT_3029); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_2998); + stringBuffer.append(TEXT_3030); index++;} - stringBuffer.append(TEXT_2999); + stringBuffer.append(TEXT_3031); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3000); + stringBuffer.append(TEXT_3032); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3001); + stringBuffer.append(TEXT_3033); stringBuffer.append(keyGenFeature.getCapName()); - stringBuffer.append(TEXT_3002); + stringBuffer.append(TEXT_3034); for (int n = nestedKeyGenFeatures.size(); n > 0; n--) { GenFeature nestedKeyGenFeature = nestedKeyGenFeatures.get(nestedKeyGenFeatures.size() - n); if (first) { first = false; } else { - stringBuffer.append(TEXT_3003); + stringBuffer.append(TEXT_3035); } - stringBuffer.append(TEXT_3004); + stringBuffer.append(TEXT_3036); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); - stringBuffer.append(TEXT_3005); + stringBuffer.append(TEXT_3037); stringBuffer.append(nestedKeyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3006); + stringBuffer.append(TEXT_3038); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); - stringBuffer.append(TEXT_3007); + stringBuffer.append(TEXT_3039); } - stringBuffer.append(TEXT_3008); + stringBuffer.append(TEXT_3040); } else { - stringBuffer.append(TEXT_3009); + stringBuffer.append(TEXT_3041); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3010); + stringBuffer.append(TEXT_3042); stringBuffer.append(keyGenFeature.getCapName()); - stringBuffer.append(TEXT_3011); + stringBuffer.append(TEXT_3043); for (int n = 0; n < nestedKeyGenFeatures.size(); n++) { if (first) { first = false; } else { - stringBuffer.append(TEXT_3012); + stringBuffer.append(TEXT_3044); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); index++;} - stringBuffer.append(TEXT_3013); + stringBuffer.append(TEXT_3045); } } else { - stringBuffer.append(TEXT_3014); + stringBuffer.append(TEXT_3046); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3015); + stringBuffer.append(TEXT_3047); if (keyGenFeature.isListType()) { - stringBuffer.append(TEXT_3016); + stringBuffer.append(TEXT_3048); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3017); + stringBuffer.append(TEXT_3049); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3018); + stringBuffer.append(TEXT_3050); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3019); + stringBuffer.append(TEXT_3051); } else { - stringBuffer.append(TEXT_3020); + stringBuffer.append(TEXT_3052); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3021); + stringBuffer.append(TEXT_3053); stringBuffer.append(keyGenFeature.getAccessorName()); - stringBuffer.append(TEXT_3022); + stringBuffer.append(TEXT_3054); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3023); + stringBuffer.append(TEXT_3055); } index++;} } - stringBuffer.append(TEXT_3024); + stringBuffer.append(TEXT_3056); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3025); + stringBuffer.append(TEXT_3057); } } if (genClass.getChildrenClasses(genFeature).size() == 1 || !genFeature.getTypeGenClass().isAbstract()) { GenClass childGenClass = genClass.getChildrenClasses(genFeature).get(0); if (isInterface) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_3026); + stringBuffer.append(TEXT_3058); if (!keyGenFeatures.isEmpty()) { if (genFeature.isListType()) { - stringBuffer.append(TEXT_3027); + stringBuffer.append(TEXT_3059); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_3028); + stringBuffer.append(TEXT_3060); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_3029); + stringBuffer.append(TEXT_3061); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_3030); + stringBuffer.append(TEXT_3062); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_3031); + stringBuffer.append(TEXT_3063); } else { - stringBuffer.append(TEXT_3032); + stringBuffer.append(TEXT_3064); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_3033); + stringBuffer.append(TEXT_3065); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_3034); + stringBuffer.append(TEXT_3066); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_3035); + stringBuffer.append(TEXT_3067); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_3036); + stringBuffer.append(TEXT_3068); } } else { if (genFeature.isListType()) { - stringBuffer.append(TEXT_3037); + stringBuffer.append(TEXT_3069); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_3038); + stringBuffer.append(TEXT_3070); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_3039); + stringBuffer.append(TEXT_3071); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_3040); + stringBuffer.append(TEXT_3072); } else { - stringBuffer.append(TEXT_3041); + stringBuffer.append(TEXT_3073); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_3042); + stringBuffer.append(TEXT_3074); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_3043); + stringBuffer.append(TEXT_3075); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_3044); + stringBuffer.append(TEXT_3076); } } - stringBuffer.append(TEXT_3045); + stringBuffer.append(TEXT_3077); for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { - stringBuffer.append(TEXT_3046); + stringBuffer.append(TEXT_3078); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3047); + stringBuffer.append(TEXT_3079); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); - stringBuffer.append(TEXT_3048); + stringBuffer.append(TEXT_3080); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3049); + stringBuffer.append(TEXT_3081); } - stringBuffer.append(TEXT_3050); + stringBuffer.append(TEXT_3082); stringBuffer.append(childGenClass.getQualifiedInterfaceName()); - stringBuffer.append(TEXT_3051); + stringBuffer.append(TEXT_3083); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3052); + stringBuffer.append(TEXT_3084); } } else { - stringBuffer.append(TEXT_3053); + stringBuffer.append(TEXT_3085); } if (!isImplementation) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_3054); + stringBuffer.append(TEXT_3086); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_3055); + stringBuffer.append(TEXT_3087); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3056); + stringBuffer.append(TEXT_3088); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_3057); + stringBuffer.append(TEXT_3089); } } else { int index = 0; if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_3058); + stringBuffer.append(TEXT_3090); } - stringBuffer.append(TEXT_3059); + stringBuffer.append(TEXT_3091); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_3060); + stringBuffer.append(TEXT_3092); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3061); + stringBuffer.append(TEXT_3093); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_3062); + stringBuffer.append(TEXT_3094); if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3063); + stringBuffer.append(TEXT_3095); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3064); + stringBuffer.append(TEXT_3096); if (!keyGenFeatures.isEmpty()) { stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature, false)); - stringBuffer.append(TEXT_3065); + stringBuffer.append(TEXT_3097); } stringBuffer.append(genFeature.getTypeGenClass().getQualifiedClassifierAccessor()); - stringBuffer.append(TEXT_3066); + stringBuffer.append(TEXT_3098); } else { - stringBuffer.append(TEXT_3067); + stringBuffer.append(TEXT_3099); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_3068); + stringBuffer.append(TEXT_3100); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3069); + stringBuffer.append(TEXT_3101); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_3070); + stringBuffer.append(TEXT_3102); stringBuffer.append(genFeature.getTypeGenClass().getQualifiedClassifierAccessor()); - stringBuffer.append(TEXT_3071); + stringBuffer.append(TEXT_3103); if (genFeature.isListType()) { - stringBuffer.append(TEXT_3072); + stringBuffer.append(TEXT_3104); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3073); + stringBuffer.append(TEXT_3105); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3074); + stringBuffer.append(TEXT_3106); } else { - stringBuffer.append(TEXT_3075); + stringBuffer.append(TEXT_3107); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_3076); + stringBuffer.append(TEXT_3108); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3077); + stringBuffer.append(TEXT_3109); } 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_3078); + stringBuffer.append(TEXT_3110); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3079); + stringBuffer.append(TEXT_3111); for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { - stringBuffer.append(TEXT_3080); + stringBuffer.append(TEXT_3112); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3081); + stringBuffer.append(TEXT_3113); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3082); + stringBuffer.append(TEXT_3114); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3083); + stringBuffer.append(TEXT_3115); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3084); + stringBuffer.append(TEXT_3116); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3085); + stringBuffer.append(TEXT_3117); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3086); + stringBuffer.append(TEXT_3118); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3087); + stringBuffer.append(TEXT_3119); index++;} - stringBuffer.append(TEXT_3088); + stringBuffer.append(TEXT_3120); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3089); + stringBuffer.append(TEXT_3121); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3090); + stringBuffer.append(TEXT_3122); stringBuffer.append(keyGenFeature.getCapName()); - stringBuffer.append(TEXT_3091); + stringBuffer.append(TEXT_3123); for (int n = nestedKeyGenFeatures.size(); n > 0; n--) { GenFeature nestedKeyGenFeature = nestedKeyGenFeatures.get(nestedKeyGenFeatures.size() - n); if (first) { first = false; } else { - stringBuffer.append(TEXT_3092); + stringBuffer.append(TEXT_3124); } - stringBuffer.append(TEXT_3093); + stringBuffer.append(TEXT_3125); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); - stringBuffer.append(TEXT_3094); + stringBuffer.append(TEXT_3126); stringBuffer.append(nestedKeyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3095); + stringBuffer.append(TEXT_3127); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index - n, false)); - stringBuffer.append(TEXT_3096); + stringBuffer.append(TEXT_3128); } - stringBuffer.append(TEXT_3097); + stringBuffer.append(TEXT_3129); } else { - stringBuffer.append(TEXT_3098); + stringBuffer.append(TEXT_3130); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3099); + stringBuffer.append(TEXT_3131); stringBuffer.append(keyGenFeature.getCapName()); - stringBuffer.append(TEXT_3100); + stringBuffer.append(TEXT_3132); for (int n = 0; n < nestedKeyGenFeatures.size(); n++) { if (first) { first = false; } else { - stringBuffer.append(TEXT_3101); + stringBuffer.append(TEXT_3133); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); index++;} - stringBuffer.append(TEXT_3102); + stringBuffer.append(TEXT_3134); } } else { - stringBuffer.append(TEXT_3103); + stringBuffer.append(TEXT_3135); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3104); + stringBuffer.append(TEXT_3136); if (keyGenFeature.isListType()) { - stringBuffer.append(TEXT_3105); + stringBuffer.append(TEXT_3137); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3106); + stringBuffer.append(TEXT_3138); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3107); + stringBuffer.append(TEXT_3139); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3108); + stringBuffer.append(TEXT_3140); } else { - stringBuffer.append(TEXT_3109); + stringBuffer.append(TEXT_3141); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3110); + stringBuffer.append(TEXT_3142); stringBuffer.append(keyGenFeature.getAccessorName()); - stringBuffer.append(TEXT_3111); + stringBuffer.append(TEXT_3143); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3112); + stringBuffer.append(TEXT_3144); } index++;} } - stringBuffer.append(TEXT_3113); + stringBuffer.append(TEXT_3145); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3114); + stringBuffer.append(TEXT_3146); } - stringBuffer.append(TEXT_3115); + stringBuffer.append(TEXT_3147); } } } @@ -10731,682 +10831,682 @@ if (index != -1) { head = typeName.substring(0, index); tail = typeName.substrin if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature) || UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { if (isInterface) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_3116); + stringBuffer.append(TEXT_3148); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3117); + stringBuffer.append(TEXT_3149); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_3118); + stringBuffer.append(TEXT_3150); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_3119); + stringBuffer.append(TEXT_3151); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_3120); + stringBuffer.append(TEXT_3152); for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { - stringBuffer.append(TEXT_3121); + stringBuffer.append(TEXT_3153); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3122); + stringBuffer.append(TEXT_3154); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); - stringBuffer.append(TEXT_3123); + stringBuffer.append(TEXT_3155); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3124); + stringBuffer.append(TEXT_3156); } - stringBuffer.append(TEXT_3125); + stringBuffer.append(TEXT_3157); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3126); + stringBuffer.append(TEXT_3158); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_3127); + stringBuffer.append(TEXT_3159); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3128); + stringBuffer.append(TEXT_3160); } } else { - stringBuffer.append(TEXT_3129); + stringBuffer.append(TEXT_3161); } if (!isImplementation) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_3130); + stringBuffer.append(TEXT_3162); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_3131); + stringBuffer.append(TEXT_3163); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3132); + stringBuffer.append(TEXT_3164); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_3133); + stringBuffer.append(TEXT_3165); } } else { if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_3134); + stringBuffer.append(TEXT_3166); } - stringBuffer.append(TEXT_3135); + stringBuffer.append(TEXT_3167); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_3136); + stringBuffer.append(TEXT_3168); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3137); + stringBuffer.append(TEXT_3169); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); - stringBuffer.append(TEXT_3138); + stringBuffer.append(TEXT_3170); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3139); + stringBuffer.append(TEXT_3171); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature, false)); if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_3140); + stringBuffer.append(TEXT_3172); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3141); + stringBuffer.append(TEXT_3173); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_3142); + stringBuffer.append(TEXT_3174); } - stringBuffer.append(TEXT_3143); + stringBuffer.append(TEXT_3175); } } if (isInterface) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_3144); + stringBuffer.append(TEXT_3176); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3145); + stringBuffer.append(TEXT_3177); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_3146); + stringBuffer.append(TEXT_3178); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_3147); + stringBuffer.append(TEXT_3179); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_3148); + stringBuffer.append(TEXT_3180); for (int index = 0, size = keyGenFeatures.size(); index < size; index++) { - stringBuffer.append(TEXT_3149); + stringBuffer.append(TEXT_3181); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3150); + stringBuffer.append(TEXT_3182); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureName(genFeature, index)); - stringBuffer.append(TEXT_3151); + stringBuffer.append(TEXT_3183); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3152); + stringBuffer.append(TEXT_3184); } if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_3153); + stringBuffer.append(TEXT_3185); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3154); + stringBuffer.append(TEXT_3186); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3155); + stringBuffer.append(TEXT_3187); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_3156); + stringBuffer.append(TEXT_3188); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3157); + stringBuffer.append(TEXT_3189); } - stringBuffer.append(TEXT_3158); + stringBuffer.append(TEXT_3190); stringBuffer.append(genFeature.getQualifiedListItemType(genClass)); - stringBuffer.append(TEXT_3159); + stringBuffer.append(TEXT_3191); stringBuffer.append(UML2GenModelUtil.getFormattedKeyFeatureNames(genFeature)); - stringBuffer.append(TEXT_3160); + stringBuffer.append(TEXT_3192); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3161); + stringBuffer.append(TEXT_3193); } } else { - stringBuffer.append(TEXT_3162); + stringBuffer.append(TEXT_3194); } if (!isImplementation) { if (!genFeature.isSuppressedGetVisibility()) { - stringBuffer.append(TEXT_3163); + stringBuffer.append(TEXT_3195); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_3164); + stringBuffer.append(TEXT_3196); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3165); + stringBuffer.append(TEXT_3197); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_3166); + stringBuffer.append(TEXT_3198); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3167); + stringBuffer.append(TEXT_3199); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_3168); + stringBuffer.append(TEXT_3200); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_3169); + stringBuffer.append(TEXT_3201); } - stringBuffer.append(TEXT_3170); + stringBuffer.append(TEXT_3202); } } else { int index = 0; if (genModel.useClassOverrideAnnotation() && UML2GenModelUtil.isDuplicate(genFeature) && !UML2GenModelUtil.isRedefinition(genFeature)) { - stringBuffer.append(TEXT_3171); + stringBuffer.append(TEXT_3203); } - stringBuffer.append(TEXT_3172); + stringBuffer.append(TEXT_3204); stringBuffer.append(genFeature.getListItemType(genClass)); - stringBuffer.append(TEXT_3173); + stringBuffer.append(TEXT_3205); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3174); + stringBuffer.append(TEXT_3206); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature)); if (UML2GenModelUtil.hasStringTypeKeyGenFeature(genFeature)) { - stringBuffer.append(TEXT_3175); + stringBuffer.append(TEXT_3207); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3176); + stringBuffer.append(TEXT_3208); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass")); - stringBuffer.append(TEXT_3177); + stringBuffer.append(TEXT_3209); } if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_3178); + stringBuffer.append(TEXT_3210); } - stringBuffer.append(TEXT_3179); + stringBuffer.append(TEXT_3211); if (isJDK50) { - stringBuffer.append(TEXT_3180); + stringBuffer.append(TEXT_3212); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3181); + stringBuffer.append(TEXT_3213); stringBuffer.append(genModel.getImportedName(genFeature.getListItemType(genClass))); - stringBuffer.append(TEXT_3182); + stringBuffer.append(TEXT_3214); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3183); + stringBuffer.append(TEXT_3215); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3184); + stringBuffer.append(TEXT_3216); } else { - stringBuffer.append(TEXT_3185); + stringBuffer.append(TEXT_3217); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3186); + stringBuffer.append(TEXT_3218); stringBuffer.append(genModel.getImportedName("java.util.Iterator")); - stringBuffer.append(TEXT_3187); + stringBuffer.append(TEXT_3219); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3188); + stringBuffer.append(TEXT_3220); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_3189); + stringBuffer.append(TEXT_3221); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3190); + stringBuffer.append(TEXT_3222); stringBuffer.append(genModel.getImportedName(genFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_3191); + stringBuffer.append(TEXT_3223); } if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3192); + stringBuffer.append(TEXT_3224); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3193); + stringBuffer.append(TEXT_3225); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3194); + stringBuffer.append(TEXT_3226); } 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_3195); + stringBuffer.append(TEXT_3227); stringBuffer.append(keyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3196); + stringBuffer.append(TEXT_3228); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3197); + stringBuffer.append(TEXT_3229); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3198); + stringBuffer.append(TEXT_3230); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3199); + stringBuffer.append(TEXT_3231); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3200); + stringBuffer.append(TEXT_3232); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3201); + stringBuffer.append(TEXT_3233); for (int n = 0, size = nestedKeyGenFeatures.size(); n < size; n++) { if (!first) { - stringBuffer.append(TEXT_3202); + stringBuffer.append(TEXT_3234); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index + n, false)); - stringBuffer.append(TEXT_3203); + stringBuffer.append(TEXT_3235); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index + n, false)); - stringBuffer.append(TEXT_3204); + stringBuffer.append(TEXT_3236); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3205); + stringBuffer.append(TEXT_3237); if (first) {first = false; } else { - stringBuffer.append(TEXT_3206); + stringBuffer.append(TEXT_3238); } } - stringBuffer.append(TEXT_3207); + stringBuffer.append(TEXT_3239); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3208); + stringBuffer.append(TEXT_3240); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3209); + stringBuffer.append(TEXT_3241); stringBuffer.append(genModel.getImportedName(keyGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_3210); + stringBuffer.append(TEXT_3242); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3211); + stringBuffer.append(TEXT_3243); if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) { - stringBuffer.append(TEXT_3212); + stringBuffer.append(TEXT_3244); stringBuffer.append(genModel.getImportedName(keyGenFeature.getQualifiedListItemType(genClass))); - stringBuffer.append(TEXT_3213); + stringBuffer.append(TEXT_3245); } stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3214); + stringBuffer.append(TEXT_3246); for (GenFeature nestedKeyGenFeature : nestedKeyGenFeatures) { if (nestedKeyGenFeature.isStringType()) { - stringBuffer.append(TEXT_3215); + stringBuffer.append(TEXT_3247); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3216); + stringBuffer.append(TEXT_3248); if (genModel.getComplianceLevel().getValue() < GenJDKLevel.JDK50) { - stringBuffer.append(TEXT_3217); + stringBuffer.append(TEXT_3249); stringBuffer.append(genModel.getImportedName("java.lang.String")); - stringBuffer.append(TEXT_3218); + stringBuffer.append(TEXT_3250); } stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3219); + stringBuffer.append(TEXT_3251); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3220); + stringBuffer.append(TEXT_3252); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3221); + stringBuffer.append(TEXT_3253); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3222); + stringBuffer.append(TEXT_3254); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3223); + stringBuffer.append(TEXT_3255); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3224); + stringBuffer.append(TEXT_3256); } else { - stringBuffer.append(TEXT_3225); + stringBuffer.append(TEXT_3257); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3226); + stringBuffer.append(TEXT_3258); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3227); + stringBuffer.append(TEXT_3259); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3228); + stringBuffer.append(TEXT_3260); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3229); + stringBuffer.append(TEXT_3261); } - stringBuffer.append(TEXT_3230); + stringBuffer.append(TEXT_3262); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3231); + stringBuffer.append(TEXT_3263); index++;} - stringBuffer.append(TEXT_3232); + stringBuffer.append(TEXT_3264); } else { - stringBuffer.append(TEXT_3233); + stringBuffer.append(TEXT_3265); stringBuffer.append(keyGenFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3234); + stringBuffer.append(TEXT_3266); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3235); + stringBuffer.append(TEXT_3267); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3236); + stringBuffer.append(TEXT_3268); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3237); + stringBuffer.append(TEXT_3269); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3238); + stringBuffer.append(TEXT_3270); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3239); + stringBuffer.append(TEXT_3271); for (GenFeature nestedKeyGenFeature : nestedKeyGenFeatures) { if (nestedKeyGenFeature.isStringType()) { - stringBuffer.append(TEXT_3240); + stringBuffer.append(TEXT_3272); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3241); + stringBuffer.append(TEXT_3273); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3242); + stringBuffer.append(TEXT_3274); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3243); + stringBuffer.append(TEXT_3275); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3244); + stringBuffer.append(TEXT_3276); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3245); + stringBuffer.append(TEXT_3277); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3246); + stringBuffer.append(TEXT_3278); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3247); + stringBuffer.append(TEXT_3279); } else { - stringBuffer.append(TEXT_3248); + stringBuffer.append(TEXT_3280); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3249); + stringBuffer.append(TEXT_3281); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3250); + stringBuffer.append(TEXT_3282); stringBuffer.append(keyGenFeature.getUncapName()); - stringBuffer.append(TEXT_3251); + stringBuffer.append(TEXT_3283); stringBuffer.append(nestedKeyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3252); + stringBuffer.append(TEXT_3284); } - stringBuffer.append(TEXT_3253); + stringBuffer.append(TEXT_3285); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3254); + stringBuffer.append(TEXT_3286); index++;} } } else { if (keyGenFeature.isStringType()) { - stringBuffer.append(TEXT_3255); + stringBuffer.append(TEXT_3287); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3256); + stringBuffer.append(TEXT_3288); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3257); + stringBuffer.append(TEXT_3289); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3258); + stringBuffer.append(TEXT_3290); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3259); + stringBuffer.append(TEXT_3291); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3260); + stringBuffer.append(TEXT_3292); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3261); + stringBuffer.append(TEXT_3293); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3262); + stringBuffer.append(TEXT_3294); } else { - stringBuffer.append(TEXT_3263); + stringBuffer.append(TEXT_3295); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3264); + stringBuffer.append(TEXT_3296); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameter(genClass, genFeature, index, false)); - stringBuffer.append(TEXT_3265); + stringBuffer.append(TEXT_3297); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3266); + stringBuffer.append(TEXT_3298); stringBuffer.append(keyGenFeature.getGetAccessor()); - stringBuffer.append(TEXT_3267); + stringBuffer.append(TEXT_3299); } - stringBuffer.append(TEXT_3268); + stringBuffer.append(TEXT_3300); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3269); + stringBuffer.append(TEXT_3301); index++;} } - stringBuffer.append(TEXT_3270); + stringBuffer.append(TEXT_3302); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3271); + stringBuffer.append(TEXT_3303); if (UML2GenModelUtil.isFactoryMethods(genClass, genFeature)) { - stringBuffer.append(TEXT_3272); + stringBuffer.append(TEXT_3304); if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3273); + stringBuffer.append(TEXT_3305); } - stringBuffer.append(TEXT_3274); + stringBuffer.append(TEXT_3306); stringBuffer.append(genFeature.getCapName()); - stringBuffer.append(TEXT_3275); + stringBuffer.append(TEXT_3307); stringBuffer.append(UML2GenModelUtil.getKeyFeatureParameters(genClass, genFeature, false)); if (genClass.getChildrenClasses(genFeature).size() > 1 || genFeature.getTypeGenClass().isAbstract()) { - stringBuffer.append(TEXT_3276); + stringBuffer.append(TEXT_3308); } - stringBuffer.append(TEXT_3277); + stringBuffer.append(TEXT_3309); } else { - stringBuffer.append(TEXT_3278); + stringBuffer.append(TEXT_3310); } - stringBuffer.append(TEXT_3279); + stringBuffer.append(TEXT_3311); } } } if (isImplementation && ((UML2GenModelUtil.isRedefinition(genFeature) && !genFeature.isIsSet()) || UML2GenModelUtil.isRedefined(genClass, genFeature))) { - stringBuffer.append(TEXT_3280); + stringBuffer.append(TEXT_3312); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_3281); + stringBuffer.append(TEXT_3313); if (!genFeature.isUnsettable()) { if (UML2GenModelUtil.isRedefined(genClass, genFeature)) { - stringBuffer.append(TEXT_3282); + stringBuffer.append(TEXT_3314); } else if (genModel.isReflectiveDelegation()) { - stringBuffer.append(TEXT_3283); + stringBuffer.append(TEXT_3315); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_3284); + stringBuffer.append(TEXT_3316); } else if (genFeature.isListType()) { if (genFeature.isWrappedFeatureMapType()) { if (genFeature.isVolatile()) { - stringBuffer.append(TEXT_3285); + stringBuffer.append(TEXT_3317); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_3286); + stringBuffer.append(TEXT_3318); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3287); + stringBuffer.append(TEXT_3319); } else { - stringBuffer.append(TEXT_3288); + stringBuffer.append(TEXT_3320); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3289); + stringBuffer.append(TEXT_3321); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3290); + stringBuffer.append(TEXT_3322); } } else { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_3291); + stringBuffer.append(TEXT_3323); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3292); + stringBuffer.append(TEXT_3324); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3293); + stringBuffer.append(TEXT_3325); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_3294); + stringBuffer.append(TEXT_3326); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3295); + stringBuffer.append(TEXT_3327); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3296); + stringBuffer.append(TEXT_3328); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3297); + stringBuffer.append(TEXT_3329); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3298); + stringBuffer.append(TEXT_3330); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3299); + stringBuffer.append(TEXT_3331); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3300); + stringBuffer.append(TEXT_3332); } else { - stringBuffer.append(TEXT_3301); + stringBuffer.append(TEXT_3333); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3302); + stringBuffer.append(TEXT_3334); } } } } else if (genFeature.isResolveProxies()) { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_3303); + stringBuffer.append(TEXT_3335); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3304); + stringBuffer.append(TEXT_3336); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_3305); + stringBuffer.append(TEXT_3337); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3306); + stringBuffer.append(TEXT_3338); } else { - stringBuffer.append(TEXT_3307); + stringBuffer.append(TEXT_3339); stringBuffer.append(genFeature.getAccessorName()); - stringBuffer.append(TEXT_3308); + stringBuffer.append(TEXT_3340); } } } else if (genFeature.isReferenceType()) { if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_3309); + stringBuffer.append(TEXT_3341); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3310); + stringBuffer.append(TEXT_3342); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_3311); + stringBuffer.append(TEXT_3343); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3312); + stringBuffer.append(TEXT_3344); } else { - stringBuffer.append(TEXT_3313); + stringBuffer.append(TEXT_3345); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3314); + stringBuffer.append(TEXT_3346); } } } else if (genFeature.isPrimitiveType() || genFeature.isEnumType()) { if (genClass.isField(genFeature)) { if (genClass.isFlag(genFeature)) { if (genFeature.isBooleanType()) { - stringBuffer.append(TEXT_3315); + stringBuffer.append(TEXT_3347); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_3316); + stringBuffer.append(TEXT_3348); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_3317); + stringBuffer.append(TEXT_3349); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3318); + stringBuffer.append(TEXT_3350); } else { - stringBuffer.append(TEXT_3319); + stringBuffer.append(TEXT_3351); stringBuffer.append(genClass.getFlagsField(genFeature)); - stringBuffer.append(TEXT_3320); + stringBuffer.append(TEXT_3352); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_3321); + stringBuffer.append(TEXT_3353); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_3322); + stringBuffer.append(TEXT_3354); } } else { - stringBuffer.append(TEXT_3323); + stringBuffer.append(TEXT_3355); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3324); + stringBuffer.append(TEXT_3356); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3325); + stringBuffer.append(TEXT_3357); } } else { if (genFeature.isEnumType() && genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_3326); + stringBuffer.append(TEXT_3358); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3327); + stringBuffer.append(TEXT_3359); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3328); + stringBuffer.append(TEXT_3360); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3329); + stringBuffer.append(TEXT_3361); } else { - stringBuffer.append(TEXT_3330); + stringBuffer.append(TEXT_3362); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3331); + stringBuffer.append(TEXT_3363); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3332); + stringBuffer.append(TEXT_3364); } } } else {//datatype if (genClass.isField(genFeature)) { - stringBuffer.append(TEXT_3333); + stringBuffer.append(TEXT_3365); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3334); + stringBuffer.append(TEXT_3366); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3335); + stringBuffer.append(TEXT_3367); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3336); + stringBuffer.append(TEXT_3368); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3337); + stringBuffer.append(TEXT_3369); } else { if (genFeature.isField() && genClass.getImplementingGenModel(genFeature).isVirtualDelegation()) { - stringBuffer.append(TEXT_3338); + stringBuffer.append(TEXT_3370); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3339); + stringBuffer.append(TEXT_3371); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3340); + stringBuffer.append(TEXT_3372); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3341); + stringBuffer.append(TEXT_3373); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3342); + stringBuffer.append(TEXT_3374); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3343); + stringBuffer.append(TEXT_3375); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3344); + stringBuffer.append(TEXT_3376); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3345); + stringBuffer.append(TEXT_3377); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3346); + stringBuffer.append(TEXT_3378); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3347); + stringBuffer.append(TEXT_3379); } else { - stringBuffer.append(TEXT_3348); + stringBuffer.append(TEXT_3380); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3349); + stringBuffer.append(TEXT_3381); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3350); + stringBuffer.append(TEXT_3382); stringBuffer.append(genFeature.getEDefault()); - stringBuffer.append(TEXT_3351); + stringBuffer.append(TEXT_3383); stringBuffer.append(genFeature.getGetAccessor()); - stringBuffer.append(TEXT_3352); + stringBuffer.append(TEXT_3384); } } } } else { if (genModel.isReflectiveDelegation()) { - stringBuffer.append(TEXT_3353); + stringBuffer.append(TEXT_3385); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_3354); + stringBuffer.append(TEXT_3386); } else if (!genFeature.isVolatile()) { if (genFeature.isListType()) { if (genModel.isVirtualDelegation()) { - stringBuffer.append(TEXT_3355); + stringBuffer.append(TEXT_3387); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3356); + stringBuffer.append(TEXT_3388); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3357); + stringBuffer.append(TEXT_3389); stringBuffer.append(genFeature.getImportedType(genClass)); - stringBuffer.append(TEXT_3358); + stringBuffer.append(TEXT_3390); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3359); + stringBuffer.append(TEXT_3391); } - stringBuffer.append(TEXT_3360); + stringBuffer.append(TEXT_3392); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3361); + stringBuffer.append(TEXT_3393); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList")); - stringBuffer.append(TEXT_3362); + stringBuffer.append(TEXT_3394); stringBuffer.append(singleWildcard); - stringBuffer.append(TEXT_3363); + stringBuffer.append(TEXT_3395); stringBuffer.append(genFeature.getSafeName()); - stringBuffer.append(TEXT_3364); + stringBuffer.append(TEXT_3396); } else { if (genModel.isVirtualDelegation() && !genFeature.isPrimitiveType()) { - stringBuffer.append(TEXT_3365); + stringBuffer.append(TEXT_3397); stringBuffer.append(genClass.getQualifiedFeatureID(genFeature)); - stringBuffer.append(TEXT_3366); + stringBuffer.append(TEXT_3398); } else if (genClass.isESetFlag(genFeature)) { - stringBuffer.append(TEXT_3367); + stringBuffer.append(TEXT_3399); stringBuffer.append(genClass.getESetFlagsField(genFeature)); - stringBuffer.append(TEXT_3368); + stringBuffer.append(TEXT_3400); stringBuffer.append(genFeature.getUpperName()); - stringBuffer.append(TEXT_3369); + stringBuffer.append(TEXT_3401); } else { - stringBuffer.append(TEXT_3370); + stringBuffer.append(TEXT_3402); stringBuffer.append(genFeature.getUncapName()); - stringBuffer.append(TEXT_3371); + stringBuffer.append(TEXT_3403); } } } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature(); if (delegateFeature.isWrappedFeatureMapType()) { - stringBuffer.append(TEXT_3372); + stringBuffer.append(TEXT_3404); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_3373); + stringBuffer.append(TEXT_3405); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_3374); + stringBuffer.append(TEXT_3406); stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_3375); + stringBuffer.append(TEXT_3407); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_3376); + stringBuffer.append(TEXT_3408); } else { - stringBuffer.append(TEXT_3377); + stringBuffer.append(TEXT_3409); stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); - stringBuffer.append(TEXT_3378); + stringBuffer.append(TEXT_3410); stringBuffer.append(delegateFeature.getAccessorName()); - stringBuffer.append(TEXT_3379); + stringBuffer.append(TEXT_3411); stringBuffer.append(genFeature.getQualifiedFeatureAccessor()); - stringBuffer.append(TEXT_3380); + stringBuffer.append(TEXT_3412); } } else { { GenOperation genOperation = UML2GenModelUtil.getImplementedCollidingIsSetGenOperation(genClass, genFeature); if (genOperation != null && UML2GenModelUtil.hasOperationsClass(genClass, genOperation)) { - stringBuffer.append(TEXT_3381); + stringBuffer.append(TEXT_3413); stringBuffer.append(UML2GenModelUtil.getImportedOperationsClassName(genClass, genOperation)); - stringBuffer.append(TEXT_3382); + stringBuffer.append(TEXT_3414); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_3383); + stringBuffer.append(TEXT_3415); } else { - stringBuffer.append(TEXT_3384); + stringBuffer.append(TEXT_3416); stringBuffer.append(genFeature.getFormattedName()); - stringBuffer.append(TEXT_3385); + stringBuffer.append(TEXT_3417); stringBuffer.append(genFeature.getFeatureKind()); - stringBuffer.append(TEXT_3386); + stringBuffer.append(TEXT_3418); } } //isSetGenFeature.todo.override.javajetinc } } - stringBuffer.append(TEXT_3387); + stringBuffer.append(TEXT_3419); } } for (GenOperation genOperation : UML2GenModelUtil.getImplementedRedefinedGenOperations(genClass)) { GenOperation redefinitionGenOperation = UML2GenModelUtil.getRedefinitionGenOperations(genClass, genOperation).iterator().next(); - stringBuffer.append(TEXT_3388); + stringBuffer.append(TEXT_3420); 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_3389); + stringBuffer.append(TEXT_3421); } } - stringBuffer.append(TEXT_3390); + stringBuffer.append(TEXT_3422); stringBuffer.append(genOperation.getTypeParameters(genClass)); stringBuffer.append(genOperation.getImportedType(genClass)); - stringBuffer.append(TEXT_3391); + stringBuffer.append(TEXT_3423); stringBuffer.append(genOperation.getName()); - stringBuffer.append(TEXT_3392); + stringBuffer.append(TEXT_3424); stringBuffer.append(genOperation.getParameters(isImplementation, genClass)); - stringBuffer.append(TEXT_3393); + stringBuffer.append(TEXT_3425); stringBuffer.append(genOperation.getThrows(genClass)); - stringBuffer.append(TEXT_3394); + stringBuffer.append(TEXT_3426); if (genOperation.isVoid()) { - stringBuffer.append(TEXT_3395); + stringBuffer.append(TEXT_3427); stringBuffer.append(redefinitionGenOperation.getName()); - stringBuffer.append(TEXT_3396); + stringBuffer.append(TEXT_3428); stringBuffer.append(genOperation.getParameterNames(", ")); - stringBuffer.append(TEXT_3397); + stringBuffer.append(TEXT_3429); } else { if (redefinitionGenOperation.isVoid()) { - stringBuffer.append(TEXT_3398); + stringBuffer.append(TEXT_3430); } else { - stringBuffer.append(TEXT_3399); + stringBuffer.append(TEXT_3431); stringBuffer.append(redefinitionGenOperation.getName()); - stringBuffer.append(TEXT_3400); + stringBuffer.append(TEXT_3432); stringBuffer.append(genOperation.getParameterNames(", ")); - stringBuffer.append(TEXT_3401); + stringBuffer.append(TEXT_3433); } } - stringBuffer.append(TEXT_3402); + stringBuffer.append(TEXT_3434); } } - stringBuffer.append(TEXT_3403); + stringBuffer.append(TEXT_3435); stringBuffer.append(isInterface ? " " + genClass.getInterfaceName() : genClass.getClassName()); // TODO fix the space above genModel.emitSortedImports(); - stringBuffer.append(TEXT_3404); + stringBuffer.append(TEXT_3436); return stringBuffer.toString(); } } diff --git a/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/basicSetGenFeature.pre.insert.javajetinc b/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/basicSetGenFeature.pre.insert.javajetinc new file mode 100644 index 000000000..5bfb762b0 --- /dev/null +++ b/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/basicSetGenFeature.pre.insert.javajetinc @@ -0,0 +1,6 @@ +<%if (UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature) != genFeature.getTypeGenClassifier()) {%> + if (new<%=genFeature.getCapName()%> != null && !(new<%=genFeature.getCapName()%> instanceof <%=UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature).getRawImportedInstanceClassName()%>)) + { + throw new IllegalArgumentException("new<%=genFeature.getCapName()%> must be an instance of <%=UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature).getRawImportedInstanceClassName()%>");<%=genModel.getNonNLS()%> + } +<%}%>
\ No newline at end of file diff --git a/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/insert.javajetinc b/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/insert.javajetinc index 50f9bca3c..d728c246b 100644 --- a/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/insert.javajetinc +++ b/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/insert.javajetinc @@ -258,7 +258,7 @@ <%if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) {%> if (new<%=genFeature.getCapName()%> != null && !(new<%=genFeature.getCapName()%> instanceof <%=redefinitionGenFeature.getImportedType(genClass)%>)) { - throw new IllegalArgumentException(String.valueOf(new<%=genFeature.getCapName()%>)); + throw new IllegalArgumentException("new<%=genFeature.getCapName()%> must be an instance of <%=redefinitionGenFeature.getImportedType(genClass)%>");<%=genModel.getNonNLS()%> } <%}%> <%if (redefinitionGenFeature.isBasicSet()) {%> @@ -288,7 +288,7 @@ <%if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) {%> if (new<%=genFeature.getCapName()%> != null && !(new<%=genFeature.getCapName()%> instanceof <%=redefinitionGenFeature.getImportedType(genClass)%>)) { - throw new IllegalArgumentException(String.valueOf(new<%=genFeature.getCapName()%>)); + throw new IllegalArgumentException("new<%=genFeature.getCapName()%> must be an instance of <%=redefinitionGenFeature.getImportedType(genClass)%>");<%=genModel.getNonNLS()%> } <%}%> set<%=redefinitionGenFeature.getAccessorName()%>(<%if (!genFeature.getType(genClass).equals(redefinitionGenFeature.getType(genClass))) {%>(<%=redefinitionGenFeature.getImportedType(genClass)%>) <%}%>new<%=genFeature.getCapName()%>); diff --git a/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/setGenFeature.pre.insert.javajetinc b/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/setGenFeature.pre.insert.javajetinc index eba1c3407..6837a364b 100644 --- a/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/setGenFeature.pre.insert.javajetinc +++ b/plugins/org.eclipse.uml2.codegen.ecore/templates/model/Class/setGenFeature.pre.insert.javajetinc @@ -1,3 +1,9 @@ +<%if (UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature) != genFeature.getTypeGenClassifier()) {%> + if (new<%=genFeature.getCapName()%> != null && !(new<%=genFeature.getCapName()%> instanceof <%=UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature).getRawImportedInstanceClassName()%>)) + { + throw new IllegalArgumentException("new<%=genFeature.getCapName()%> must be an instance of <%=UML2GenModelUtil.getRedefinitionTypeGenClassifier(genFeature).getRawImportedInstanceClassName()%>");<%=genModel.getNonNLS()%> + } +<%}%> <%if (genFeature.isStringType() && UML2GenModelUtil.isSafeStrings(genModel)) {%> new<%=genFeature.getCapName()%> = new<%=genFeature.getCapName()%> == null ? <%=genFeature.getEDefault()%> : new<%=genFeature.getCapName()%>; <%}%>
\ No newline at end of file diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierImpl.java index bf587ead4..f9e55cb71 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2013 IBM Corporation, Embarcadero Technologies, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -9,7 +9,7 @@ * IBM - initial API and implementation * Kenn Hussey (Embarcadero Technologies) - 204200 * Kenn Hussey - 286329, 323181 - * Kenn Hussey (CEA) - 327039, 351774 + * Kenn Hussey (CEA) - 327039, 351774, 212765 * */ package org.eclipse.uml2.uml.internal.impl; @@ -522,6 +522,11 @@ public abstract class ClassifierImpl */ public NotificationChain basicSetTemplateParameterGen( TemplateParameter newTemplateParameter, NotificationChain msgs) { + if (newTemplateParameter != null + && !(newTemplateParameter instanceof ClassifierTemplateParameter)) { + throw new IllegalArgumentException( + "newTemplateParameter must be an instance of ClassifierTemplateParameter"); //$NON-NLS-1$ + } TemplateParameter oldTemplateParameter = templateParameter; templateParameter = newTemplateParameter; if (eNotificationRequired()) { @@ -538,13 +543,6 @@ public abstract class ClassifierImpl public NotificationChain basicSetTemplateParameter( TemplateParameter newTemplateParameter, NotificationChain msgs) { - - if (newTemplateParameter != null - && !(newTemplateParameter instanceof ClassifierTemplateParameter)) { - - throw new IllegalArgumentException(newTemplateParameter.toString()); - } - msgs = basicSetTemplateParameterGen(newTemplateParameter, msgs); Resource.Internal eInternalResource = eInternalResource(); @@ -568,6 +566,11 @@ public abstract class ClassifierImpl * @generated */ public void setTemplateParameter(TemplateParameter newTemplateParameter) { + if (newTemplateParameter != null + && !(newTemplateParameter instanceof ClassifierTemplateParameter)) { + throw new IllegalArgumentException( + "newTemplateParameter must be an instance of ClassifierTemplateParameter"); //$NON-NLS-1$ + } if (newTemplateParameter != templateParameter) { NotificationChain msgs = null; if (templateParameter != null) @@ -909,8 +912,13 @@ public abstract class ClassifierImpl * <!-- end-user-doc --> * @generated */ - public NotificationChain basicSetOwnedTemplateSignatureGen( + public NotificationChain basicSetOwnedTemplateSignature( TemplateSignature newOwnedTemplateSignature, NotificationChain msgs) { + if (newOwnedTemplateSignature != null + && !(newOwnedTemplateSignature instanceof RedefinableTemplateSignature)) { + throw new IllegalArgumentException( + "newOwnedTemplateSignature must be an instance of RedefinableTemplateSignature"); //$NON-NLS-1$ + } TemplateSignature oldOwnedTemplateSignature = ownedTemplateSignature; ownedTemplateSignature = newOwnedTemplateSignature; if (eNotificationRequired()) { @@ -926,20 +934,6 @@ public abstract class ClassifierImpl return msgs; } - public NotificationChain basicSetOwnedTemplateSignature( - TemplateSignature newOwnedTemplateSignature, NotificationChain msgs) { - - if (newOwnedTemplateSignature != null - && !(newOwnedTemplateSignature instanceof RedefinableTemplateSignature)) { - - throw new IllegalArgumentException( - newOwnedTemplateSignature.toString()); - } - - return basicSetOwnedTemplateSignatureGen(newOwnedTemplateSignature, - msgs); - } - /** * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -947,6 +941,11 @@ public abstract class ClassifierImpl */ public void setOwnedTemplateSignature( TemplateSignature newOwnedTemplateSignature) { + if (newOwnedTemplateSignature != null + && !(newOwnedTemplateSignature instanceof RedefinableTemplateSignature)) { + throw new IllegalArgumentException( + "newOwnedTemplateSignature must be an instance of RedefinableTemplateSignature"); //$NON-NLS-1$ + } if (newOwnedTemplateSignature != ownedTemplateSignature) { NotificationChain msgs = null; if (ownedTemplateSignature != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierTemplateParameterImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierTemplateParameterImpl.java index 21a455939..3e811ebac 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierTemplateParameterImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ClassifierTemplateParameterImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2013 IBM Corporation, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -8,7 +8,7 @@ * Contributors: * IBM - initial API and implementation * Kenn Hussey - 286329, 323181 - * Kenn Hussey (CEA) - 327039, 351774 + * Kenn Hussey (CEA) - 327039, 351774, 212765 * */ package org.eclipse.uml2.uml.internal.impl; @@ -218,6 +218,11 @@ public class ClassifierTemplateParameterImpl */ public NotificationChain basicSetParameteredElementGen( ParameterableElement newParameteredElement, NotificationChain msgs) { + if (newParameteredElement != null + && !(newParameteredElement instanceof Classifier)) { + throw new IllegalArgumentException( + "newParameteredElement must be an instance of Classifier"); //$NON-NLS-1$ + } ParameterableElement oldParameteredElement = parameteredElement; parameteredElement = newParameteredElement; if (eNotificationRequired()) { @@ -236,13 +241,6 @@ public class ClassifierTemplateParameterImpl @Override public NotificationChain basicSetParameteredElement( ParameterableElement newParameteredElement, NotificationChain msgs) { - - if (newParameteredElement != null - && !(newParameteredElement instanceof Classifier)) { - - throw new IllegalArgumentException(newParameteredElement.toString()); - } - msgs = basicSetParameteredElementGen(newParameteredElement, msgs); Resource.Internal eInternalResource = eInternalResource(); @@ -266,6 +264,11 @@ public class ClassifierTemplateParameterImpl */ @Override public void setParameteredElement(ParameterableElement newParameteredElement) { + if (newParameteredElement != null + && !(newParameteredElement instanceof Classifier)) { + throw new IllegalArgumentException( + "newParameteredElement must be an instance of Classifier"); //$NON-NLS-1$ + } if (newParameteredElement != parameteredElement) { NotificationChain msgs = null; if (parameteredElement != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ConnectableElementImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ConnectableElementImpl.java index 7cffb85f6..1094587e0 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ConnectableElementImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ConnectableElementImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2013 IBM Corporation, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -8,7 +8,7 @@ * Contributors: * IBM - initial API and implementation * Kenn Hussey - 286329, 323181 - * Kenn Hussey (CEA) - 327039, 351774 + * Kenn Hussey (CEA) - 327039, 351774, 212765 * */ package org.eclipse.uml2.uml.internal.impl; @@ -149,6 +149,11 @@ public abstract class ConnectableElementImpl */ public NotificationChain basicSetTemplateParameterGen( TemplateParameter newTemplateParameter, NotificationChain msgs) { + if (newTemplateParameter != null + && !(newTemplateParameter instanceof ConnectableElementTemplateParameter)) { + throw new IllegalArgumentException( + "newTemplateParameter must be an instance of ConnectableElementTemplateParameter"); //$NON-NLS-1$ + } TemplateParameter oldTemplateParameter = templateParameter; templateParameter = newTemplateParameter; if (eNotificationRequired()) { @@ -166,13 +171,6 @@ public abstract class ConnectableElementImpl public NotificationChain basicSetTemplateParameter( TemplateParameter newTemplateParameter, NotificationChain msgs) { - - if (newTemplateParameter != null - && !(newTemplateParameter instanceof ConnectableElementTemplateParameter)) { - - throw new IllegalArgumentException(newTemplateParameter.toString()); - } - msgs = basicSetTemplateParameterGen(newTemplateParameter, msgs); Resource.Internal eInternalResource = eInternalResource(); @@ -196,6 +194,11 @@ public abstract class ConnectableElementImpl * @generated */ public void setTemplateParameter(TemplateParameter newTemplateParameter) { + if (newTemplateParameter != null + && !(newTemplateParameter instanceof ConnectableElementTemplateParameter)) { + throw new IllegalArgumentException( + "newTemplateParameter must be an instance of ConnectableElementTemplateParameter"); //$NON-NLS-1$ + } if (newTemplateParameter != templateParameter) { NotificationChain msgs = null; if (templateParameter != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ConnectableElementTemplateParameterImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ConnectableElementTemplateParameterImpl.java index 6980aeb2e..577e50312 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ConnectableElementTemplateParameterImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ConnectableElementTemplateParameterImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2007 IBM Corporation and others. + * Copyright (c) 2005, 2013 IBM Corporation, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,8 +7,8 @@ * * Contributors: * IBM - initial API and implementation + * Kenn Hussey (CEA) - 212765 * - * $Id: ConnectableElementTemplateParameterImpl.java,v 1.18 2007/04/25 17:47:01 khussey Exp $ */ package org.eclipse.uml2.uml.internal.impl; @@ -101,6 +101,11 @@ public class ConnectableElementTemplateParameterImpl */ public NotificationChain basicSetParameteredElementGen( ParameterableElement newParameteredElement, NotificationChain msgs) { + if (newParameteredElement != null + && !(newParameteredElement instanceof ConnectableElement)) { + throw new IllegalArgumentException( + "newParameteredElement must be an instance of ConnectableElement"); //$NON-NLS-1$ + } ParameterableElement oldParameteredElement = parameteredElement; parameteredElement = newParameteredElement; if (eNotificationRequired()) { @@ -120,13 +125,6 @@ public class ConnectableElementTemplateParameterImpl @Override public NotificationChain basicSetParameteredElement( ParameterableElement newParameteredElement, NotificationChain msgs) { - - if (newParameteredElement != null - && !(newParameteredElement instanceof ConnectableElement)) { - - throw new IllegalArgumentException(newParameteredElement.toString()); - } - msgs = basicSetParameteredElementGen(newParameteredElement, msgs); Resource.Internal eInternalResource = eInternalResource(); @@ -150,6 +148,11 @@ public class ConnectableElementTemplateParameterImpl */ @Override public void setParameteredElement(ParameterableElement newParameteredElement) { + if (newParameteredElement != null + && !(newParameteredElement instanceof ConnectableElement)) { + throw new IllegalArgumentException( + "newParameteredElement must be an instance of ConnectableElement"); //$NON-NLS-1$ + } if (newParameteredElement != parameteredElement) { NotificationChain msgs = null; if (parameteredElement != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DurationConstraintImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DurationConstraintImpl.java index 75bf28ade..f54538e23 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DurationConstraintImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DurationConstraintImpl.java @@ -8,7 +8,7 @@ * Contributors: * IBM - initial API and implementation * Kenn Hussey - 286329, 323181 - * Kenn Hussey (CEA) - 327039, 351774, 397324 + * Kenn Hussey (CEA) - 327039, 351774, 397324, 212765 * */ package org.eclipse.uml2.uml.internal.impl; @@ -159,8 +159,13 @@ public class DurationConstraintImpl * @generated */ @Override - public NotificationChain basicSetSpecificationGen( + public NotificationChain basicSetSpecification( ValueSpecification newSpecification, NotificationChain msgs) { + if (newSpecification != null + && !(newSpecification instanceof DurationInterval)) { + throw new IllegalArgumentException( + "newSpecification must be an instance of DurationInterval"); //$NON-NLS-1$ + } ValueSpecification oldSpecification = specification; specification = newSpecification; if (eNotificationRequired()) { @@ -176,19 +181,6 @@ public class DurationConstraintImpl return msgs; } - @Override - public NotificationChain basicSetSpecification( - ValueSpecification newSpecification, NotificationChain msgs) { - - if (newSpecification != null - && !(newSpecification instanceof DurationInterval)) { - - throw new IllegalArgumentException(newSpecification.toString()); - } - - return basicSetSpecificationGen(newSpecification, msgs); - } - /** * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -196,6 +188,11 @@ public class DurationConstraintImpl */ @Override public void setSpecification(ValueSpecification newSpecification) { + if (newSpecification != null + && !(newSpecification instanceof DurationInterval)) { + throw new IllegalArgumentException( + "newSpecification must be an instance of DurationInterval"); //$NON-NLS-1$ + } if (newSpecification != specification) { NotificationChain msgs = null; if (specification != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DurationIntervalImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DurationIntervalImpl.java index 290135e2e..86565bb13 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DurationIntervalImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/DurationIntervalImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2013 IBM Corporation, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,9 +7,8 @@ * * Contributors: * IBM - initial API and implementation - * Kenn Hussey (CEA) - 327039 + * Kenn Hussey (CEA) - 327039, 212765 * - * $Id: DurationIntervalImpl.java,v 1.16 2007/04/25 17:47:01 khussey Exp $ */ package org.eclipse.uml2.uml.internal.impl; @@ -96,7 +95,12 @@ public class DurationIntervalImpl * <!-- end-user-doc --> * @generated */ - public void setMinGen(ValueSpecification newMin) { + @Override + public void setMin(ValueSpecification newMin) { + if (newMin != null && !(newMin instanceof Duration)) { + throw new IllegalArgumentException( + "newMin must be an instance of Duration"); //$NON-NLS-1$ + } ValueSpecification oldMin = min; min = newMin; if (eNotificationRequired()) @@ -104,16 +108,6 @@ public class DurationIntervalImpl UMLPackage.DURATION_INTERVAL__MIN, oldMin, min)); } - @Override - public void setMin(ValueSpecification newMin) { - - if (newMin != null && !(newMin instanceof Duration)) { - throw new IllegalArgumentException(newMin.toString()); - } - - setMinGen(newMin); - } - /** * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -157,7 +151,12 @@ public class DurationIntervalImpl * <!-- end-user-doc --> * @generated */ - public void setMaxGen(ValueSpecification newMax) { + @Override + public void setMax(ValueSpecification newMax) { + if (newMax != null && !(newMax instanceof Duration)) { + throw new IllegalArgumentException( + "newMax must be an instance of Duration"); //$NON-NLS-1$ + } ValueSpecification oldMax = max; max = newMax; if (eNotificationRequired()) @@ -165,16 +164,6 @@ public class DurationIntervalImpl UMLPackage.DURATION_INTERVAL__MAX, oldMax, max)); } - @Override - public void setMax(ValueSpecification newMax) { - - if (newMax != null && !(newMax instanceof Duration)) { - throw new IllegalArgumentException(newMax.toString()); - } - - setMaxGen(newMax); - } - /** * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ExtensionEndImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ExtensionEndImpl.java index 489a19901..5b088f2de 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ExtensionEndImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ExtensionEndImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2013 IBM Corporation, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -8,7 +8,7 @@ * Contributors: * IBM - initial API and implementation * Kenn Hussey - 286329, 323181 - * Kenn Hussey (CEA) - 327039, 351774 + * Kenn Hussey (CEA) - 327039, 351774, 212765 * */ package org.eclipse.uml2.uml.internal.impl; @@ -112,6 +112,10 @@ public class ExtensionEndImpl */ @Override public void setType(Type newType) { + if (newType != null && !(newType instanceof Stereotype)) { + throw new IllegalArgumentException( + "newType must be an instance of Stereotype"); //$NON-NLS-1$ + } Type oldType = type; type = newType; if (eNotificationRequired()) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/IntervalConstraintImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/IntervalConstraintImpl.java index b18bae47a..96afd8c4f 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/IntervalConstraintImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/IntervalConstraintImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2013 IBM Corporation, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,9 +7,8 @@ * * Contributors: * IBM - initial API and implementation - * Kenn Hussey (CEA) - 327039 + * Kenn Hussey (CEA) - 327039, 212765 * - * $Id: IntervalConstraintImpl.java,v 1.21 2007/04/25 17:47:02 khussey Exp $ */ package org.eclipse.uml2.uml.internal.impl; @@ -111,8 +110,13 @@ public class IntervalConstraintImpl * <!-- end-user-doc --> * @generated */ - public NotificationChain basicSetSpecificationGen( + @Override + public NotificationChain basicSetSpecification( ValueSpecification newSpecification, NotificationChain msgs) { + if (newSpecification != null && !(newSpecification instanceof Interval)) { + throw new IllegalArgumentException( + "newSpecification must be an instance of Interval"); //$NON-NLS-1$ + } ValueSpecification oldSpecification = specification; specification = newSpecification; if (eNotificationRequired()) { @@ -128,17 +132,6 @@ public class IntervalConstraintImpl return msgs; } - @Override - public NotificationChain basicSetSpecification( - ValueSpecification newSpecification, NotificationChain msgs) { - - if (newSpecification != null && !(newSpecification instanceof Interval)) { - throw new IllegalArgumentException(newSpecification.toString()); - } - - return basicSetSpecificationGen(newSpecification, msgs); - } - /** * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -146,6 +139,10 @@ public class IntervalConstraintImpl */ @Override public void setSpecification(ValueSpecification newSpecification) { + if (newSpecification != null && !(newSpecification instanceof Interval)) { + throw new IllegalArgumentException( + "newSpecification must be an instance of Interval"); //$NON-NLS-1$ + } if (newSpecification != specification) { NotificationChain msgs = null; if (specification != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationImpl.java index 3ba1f0bcb..82b3db6ed 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2013 IBM Corporation, Embarcadero Technologies, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -9,7 +9,7 @@ * IBM - initial API and implementation * Kenn Hussey (Embarcadero Technologies) - 204200 * Kenn Hussey - 286329, 323181 - * Kenn Hussey (CEA) - 327039, 351774 + * Kenn Hussey (CEA) - 327039, 351774, 212765 * */ package org.eclipse.uml2.uml.internal.impl; @@ -317,6 +317,11 @@ public class OperationImpl */ public NotificationChain basicSetTemplateParameterGen( TemplateParameter newTemplateParameter, NotificationChain msgs) { + if (newTemplateParameter != null + && !(newTemplateParameter instanceof OperationTemplateParameter)) { + throw new IllegalArgumentException( + "newTemplateParameter must be an instance of OperationTemplateParameter"); //$NON-NLS-1$ + } TemplateParameter oldTemplateParameter = templateParameter; templateParameter = newTemplateParameter; if (eNotificationRequired()) { @@ -333,13 +338,6 @@ public class OperationImpl public NotificationChain basicSetTemplateParameter( TemplateParameter newTemplateParameter, NotificationChain msgs) { - - if (newTemplateParameter != null - && !(newTemplateParameter instanceof OperationTemplateParameter)) { - - throw new IllegalArgumentException(newTemplateParameter.toString()); - } - msgs = basicSetTemplateParameterGen(newTemplateParameter, msgs); Resource.Internal eInternalResource = eInternalResource(); @@ -363,6 +361,11 @@ public class OperationImpl * @generated */ public void setTemplateParameter(TemplateParameter newTemplateParameter) { + if (newTemplateParameter != null + && !(newTemplateParameter instanceof OperationTemplateParameter)) { + throw new IllegalArgumentException( + "newTemplateParameter must be an instance of OperationTemplateParameter"); //$NON-NLS-1$ + } if (newTemplateParameter != templateParameter) { NotificationChain msgs = null; if (templateParameter != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationTemplateParameterImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationTemplateParameterImpl.java index 83804f039..21a85776b 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationTemplateParameterImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/OperationTemplateParameterImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2007 IBM Corporation and others. + * Copyright (c) 2005, 2013 IBM Corporation, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,8 +7,8 @@ * * Contributors: * IBM - initial API and implementation + * Kenn Hussey (CEA) - 212765 * - * $Id: OperationTemplateParameterImpl.java,v 1.18 2007/04/25 17:47:01 khussey Exp $ */ package org.eclipse.uml2.uml.internal.impl; @@ -101,6 +101,11 @@ public class OperationTemplateParameterImpl */ public NotificationChain basicSetParameteredElementGen( ParameterableElement newParameteredElement, NotificationChain msgs) { + if (newParameteredElement != null + && !(newParameteredElement instanceof Operation)) { + throw new IllegalArgumentException( + "newParameteredElement must be an instance of Operation"); //$NON-NLS-1$ + } ParameterableElement oldParameteredElement = parameteredElement; parameteredElement = newParameteredElement; if (eNotificationRequired()) { @@ -119,13 +124,6 @@ public class OperationTemplateParameterImpl @Override public NotificationChain basicSetParameteredElement( ParameterableElement newParameteredElement, NotificationChain msgs) { - - if (newParameteredElement != null - && !(newParameteredElement instanceof Operation)) { - - throw new IllegalArgumentException(newParameteredElement.toString()); - } - msgs = basicSetParameteredElementGen(newParameteredElement, msgs); Resource.Internal eInternalResource = eInternalResource(); @@ -149,6 +147,11 @@ public class OperationTemplateParameterImpl */ @Override public void setParameteredElement(ParameterableElement newParameteredElement) { + if (newParameteredElement != null + && !(newParameteredElement instanceof Operation)) { + throw new IllegalArgumentException( + "newParameteredElement must be an instance of Operation"); //$NON-NLS-1$ + } if (newParameteredElement != parameteredElement) { NotificationChain msgs = null; if (parameteredElement != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/PropertyImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/PropertyImpl.java index 88fbc546e..40d87e816 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/PropertyImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/PropertyImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2013 IBM Corporation, Embarcadero Technologies, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -9,7 +9,7 @@ * IBM - initial API and implementation * Kenn Hussey (Embarcadero Technologies) - 208353, 204200 * Kenn Hussey - 286329, 323181 - * Kenn Hussey (CEA) - 327039, 351774 + * Kenn Hussey (CEA) - 327039, 351774, 212765 * */ package org.eclipse.uml2.uml.internal.impl; @@ -388,6 +388,11 @@ public class PropertyImpl */ public NotificationChain basicSetTemplateParameterGen( TemplateParameter newTemplateParameter, NotificationChain msgs) { + if (newTemplateParameter != null + && !(newTemplateParameter instanceof ConnectableElementTemplateParameter)) { + throw new IllegalArgumentException( + "newTemplateParameter must be an instance of ConnectableElementTemplateParameter"); //$NON-NLS-1$ + } TemplateParameter oldTemplateParameter = templateParameter; templateParameter = newTemplateParameter; if (eNotificationRequired()) { @@ -404,13 +409,6 @@ public class PropertyImpl public NotificationChain basicSetTemplateParameter( TemplateParameter newTemplateParameter, NotificationChain msgs) { - - if (newTemplateParameter != null - && !(newTemplateParameter instanceof ConnectableElementTemplateParameter)) { - - throw new IllegalArgumentException(newTemplateParameter.toString()); - } - msgs = basicSetTemplateParameterGen(newTemplateParameter, msgs); Resource.Internal eInternalResource = eInternalResource(); @@ -434,6 +432,11 @@ public class PropertyImpl * @generated */ public void setTemplateParameter(TemplateParameter newTemplateParameter) { + if (newTemplateParameter != null + && !(newTemplateParameter instanceof ConnectableElementTemplateParameter)) { + throw new IllegalArgumentException( + "newTemplateParameter must be an instance of ConnectableElementTemplateParameter"); //$NON-NLS-1$ + } if (newTemplateParameter != templateParameter) { NotificationChain msgs = null; if (templateParameter != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/RedefinableTemplateSignatureImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/RedefinableTemplateSignatureImpl.java index c9304565b..389412602 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/RedefinableTemplateSignatureImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/RedefinableTemplateSignatureImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2012 IBM Corporation, CEA, and others. + * Copyright (c) 2005, 2013 IBM Corporation, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -8,7 +8,7 @@ * Contributors: * IBM - initial API and implementation * Kenn Hussey - 286329, 323181 - * Kenn Hussey (CEA) - 327039, 351774, 386760 + * Kenn Hussey (CEA) - 327039, 351774, 386760, 212765 * */ package org.eclipse.uml2.uml.internal.impl; @@ -209,7 +209,8 @@ public class RedefinableTemplateSignatureImpl NotificationChain msgs) { if (newTemplate != null && !(newTemplate instanceof Classifier)) { - throw new IllegalArgumentException(newTemplate.toString()); + throw new IllegalArgumentException( + "newTemplate must be an instance of Classifier"); //$NON-NLS-1$ } return basicSetClassifier((Classifier) newTemplate, msgs); @@ -230,7 +231,8 @@ public class RedefinableTemplateSignatureImpl public void setTemplate(TemplateableElement newTemplate) { if (newTemplate != null && !(newTemplate instanceof Classifier)) { - throw new IllegalArgumentException(newTemplate.toString()); + throw new IllegalArgumentException( + "newTemplate must be an instance of Classifier"); //$NON-NLS-1$ } if (newTemplate != eInternalContainer() diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TimeConstraintImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TimeConstraintImpl.java index 6928d9e2a..109787e86 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TimeConstraintImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TimeConstraintImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2011 IBM Corporation, Embarcadero Technologies, CEA, and others. + * Copyright (c) 2005, 2013 IBM Corporation, Embarcadero Technologies, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -8,9 +8,8 @@ * Contributors: * IBM - initial API and implementation * Kenn Hussey (Embarcadero Technologies) - 204200 - * Kenn Hussey (CEA) - 327039 + * Kenn Hussey (CEA) - 327039, 212765 * - * $Id: TimeConstraintImpl.java,v 1.25 2009/01/07 15:55:26 jbruck Exp $ */ package org.eclipse.uml2.uml.internal.impl; @@ -171,8 +170,13 @@ public class TimeConstraintImpl * @generated */ @Override - public NotificationChain basicSetSpecificationGen( + public NotificationChain basicSetSpecification( ValueSpecification newSpecification, NotificationChain msgs) { + if (newSpecification != null + && !(newSpecification instanceof TimeInterval)) { + throw new IllegalArgumentException( + "newSpecification must be an instance of TimeInterval"); //$NON-NLS-1$ + } ValueSpecification oldSpecification = specification; specification = newSpecification; if (eNotificationRequired()) { @@ -187,19 +191,6 @@ public class TimeConstraintImpl return msgs; } - @Override - public NotificationChain basicSetSpecification( - ValueSpecification newSpecification, NotificationChain msgs) { - - if (newSpecification != null - && !(newSpecification instanceof TimeInterval)) { - - throw new IllegalArgumentException(newSpecification.toString()); - } - - return basicSetSpecificationGen(newSpecification, msgs); - } - /** * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -207,6 +198,11 @@ public class TimeConstraintImpl */ @Override public void setSpecification(ValueSpecification newSpecification) { + if (newSpecification != null + && !(newSpecification instanceof TimeInterval)) { + throw new IllegalArgumentException( + "newSpecification must be an instance of TimeInterval"); //$NON-NLS-1$ + } if (newSpecification != specification) { NotificationChain msgs = null; if (specification != null) diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TimeIntervalImpl.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TimeIntervalImpl.java index cf69a04a0..ec16b3e74 100644 --- a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TimeIntervalImpl.java +++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/TimeIntervalImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2007 IBM Corporation and others. + * Copyright (c) 2005, 2013 IBM Corporation, CEA, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,8 +7,8 @@ * * Contributors: * IBM - initial API and implementation + * Kenn Hussey (CEA) - 212765 * - * $Id: TimeIntervalImpl.java,v 1.16 2007/04/25 17:47:02 khussey Exp $ */ package org.eclipse.uml2.uml.internal.impl; @@ -95,7 +95,12 @@ public class TimeIntervalImpl * <!-- end-user-doc --> * @generated */ - public void setMaxGen(ValueSpecification newMax) { + @Override + public void setMax(ValueSpecification newMax) { + if (newMax != null && !(newMax instanceof TimeExpression)) { + throw new IllegalArgumentException( + "newMax must be an instance of TimeExpression"); //$NON-NLS-1$ + } ValueSpecification oldMax = max; max = newMax; if (eNotificationRequired()) @@ -103,16 +108,6 @@ public class TimeIntervalImpl UMLPackage.TIME_INTERVAL__MAX, oldMax, max)); } - @Override - public void setMax(ValueSpecification newMax) { - - if (newMax != null && !(newMax instanceof TimeExpression)) { - throw new IllegalArgumentException(newMax.toString()); - } - - setMaxGen(newMax); - } - /** * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -156,7 +151,12 @@ public class TimeIntervalImpl * <!-- end-user-doc --> * @generated */ - public void setMinGen(ValueSpecification newMin) { + @Override + public void setMin(ValueSpecification newMin) { + if (newMin != null && !(newMin instanceof TimeExpression)) { + throw new IllegalArgumentException( + "newMin must be an instance of TimeExpression"); //$NON-NLS-1$ + } ValueSpecification oldMin = min; min = newMin; if (eNotificationRequired()) @@ -164,16 +164,6 @@ public class TimeIntervalImpl UMLPackage.TIME_INTERVAL__MIN, oldMin, min)); } - @Override - public void setMin(ValueSpecification newMin) { - - if (newMin != null && !(newMin instanceof TimeExpression)) { - throw new IllegalArgumentException(newMin.toString()); - } - - setMinGen(newMin); - } - /** * <!-- begin-user-doc --> * <!-- end-user-doc --> |