KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > codegen > ecore > templates > model > Class


1 package org.eclipse.emf.codegen.ecore.templates.model;
2
3 import java.util.*;
4 import org.eclipse.emf.codegen.ecore.genmodel.*;
5
6 public class Class
7 {
8   protected static String JavaDoc nl;
9   public static synchronized Class JavaDoc create(String JavaDoc lineSeparator)
10   {
11     nl = lineSeparator;
12     Class JavaDoc result = new Class JavaDoc();
13     nl = null;
14     return result;
15   }
16
17   protected final String JavaDoc NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
18   protected final String JavaDoc TEXT_1 = "";
19   protected final String JavaDoc TEXT_2 = "/**" + NL + " * <copyright>" + NL + " * </copyright>" + NL + " *" + NL + " * ";
20   protected final String JavaDoc TEXT_3 = "Id";
21   protected final String JavaDoc TEXT_4 = NL + " */" + NL + "package ";
22   protected final String JavaDoc TEXT_5 = ";" + NL;
23   protected final String JavaDoc TEXT_6 = NL + NL + "/**" + NL + " * <!-- begin-user-doc -->" + NL + " * An implementation of the model object '<em><b>";
24   protected final String JavaDoc TEXT_7 = "</b></em>'." + NL + " * <!-- end-user-doc -->" + NL + " * <p>";
25   protected final String JavaDoc TEXT_8 = NL + " * The following features are implemented:" + NL + " * <ul>";
26   protected final String JavaDoc TEXT_9 = NL + " * <li>{@link ";
27   protected final String JavaDoc TEXT_10 = "#";
28   protected final String JavaDoc TEXT_11 = " <em>";
29   protected final String JavaDoc TEXT_12 = "</em>}</li>";
30   protected final String JavaDoc TEXT_13 = NL + " * </ul>";
31   protected final String JavaDoc TEXT_14 = NL + " * </p>" + NL + " *" + NL + " * @generated" + NL + " */" + NL + "public";
32   protected final String JavaDoc TEXT_15 = " abstract";
33   protected final String JavaDoc TEXT_16 = " class ";
34   protected final String JavaDoc TEXT_17 = NL + "{";
35   protected final String JavaDoc TEXT_18 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
36   protected final String JavaDoc TEXT_19 = " copyright = \"";
37   protected final String JavaDoc TEXT_20 = "\";";
38   protected final String JavaDoc TEXT_21 = NL;
39   protected final String JavaDoc TEXT_22 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic static final ";
40   protected final String JavaDoc TEXT_23 = " mofDriverNumber = \"";
41   protected final String JavaDoc TEXT_24 = "\";";
42   protected final String JavaDoc TEXT_25 = NL;
43   protected final String JavaDoc TEXT_26 = NL + "\t/**" + NL + "\t * A set of bit flags representing the values of boolean attributes and whether unsettable features have been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected int ";
44   protected final String JavaDoc TEXT_27 = " = 0;" + NL;
45   protected final String JavaDoc TEXT_28 = NL + "\t/**" + NL + "\t * The cached value of the '{@link #";
46   protected final String JavaDoc TEXT_29 = "() <em>";
47   protected final String JavaDoc TEXT_30 = "</em>}' ";
48   protected final String JavaDoc TEXT_31 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
49   protected final String JavaDoc TEXT_32 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected ";
50   protected final String JavaDoc TEXT_33 = " ";
51   protected final String JavaDoc TEXT_34 = " = null;" + NL;
52   protected final String JavaDoc TEXT_35 = NL + "\t/**" + NL + "\t * The default value of the '{@link #";
53   protected final String JavaDoc TEXT_36 = "() <em>";
54   protected final String JavaDoc TEXT_37 = "</em>}' ";
55   protected final String JavaDoc TEXT_38 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
56   protected final String JavaDoc TEXT_39 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final ";
57   protected final String JavaDoc TEXT_40 = " ";
58   protected final String JavaDoc TEXT_41 = "_EDEFAULT = ";
59   protected final String JavaDoc TEXT_42 = ";";
60   protected final String JavaDoc TEXT_43 = NL;
61   protected final String JavaDoc TEXT_44 = NL + "\t/**" + NL + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected int ";
62   protected final String JavaDoc TEXT_45 = " = 0;" + NL;
63   protected final String JavaDoc TEXT_46 = NL + "\t/**" + NL + "\t * The flag representing the value of the '{@link #";
64   protected final String JavaDoc TEXT_47 = "() <em>";
65   protected final String JavaDoc TEXT_48 = "</em>}' ";
66   protected final String JavaDoc TEXT_49 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
67   protected final String JavaDoc TEXT_50 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
68   protected final String JavaDoc TEXT_51 = "_EFLAG = 1 ";
69   protected final String JavaDoc TEXT_52 = ";" + NL;
70   protected final String JavaDoc TEXT_53 = NL + "\t/**" + NL + "\t * The cached value of the '{@link #";
71   protected final String JavaDoc TEXT_54 = "() <em>";
72   protected final String JavaDoc TEXT_55 = "</em>}' ";
73   protected final String JavaDoc TEXT_56 = "." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @see #";
74   protected final String JavaDoc TEXT_57 = "()" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected ";
75   protected final String JavaDoc TEXT_58 = " ";
76   protected final String JavaDoc TEXT_59 = " = ";
77   protected final String JavaDoc TEXT_60 = "_EDEFAULT;" + NL;
78   protected final String JavaDoc TEXT_61 = NL + "\t/**" + NL + "\t * An additional set of bit flags representing the values of boolean attributes and whether unsettable features have been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected int ";
79   protected final String JavaDoc TEXT_62 = " = 0;" + NL;
80   protected final String JavaDoc TEXT_63 = NL + "\t/**" + NL + "\t * The flag representing whether the ";
81   protected final String JavaDoc TEXT_64 = " ";
82   protected final String JavaDoc TEXT_65 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected static final int ";
83   protected final String JavaDoc TEXT_66 = "_ESETFLAG = 1 ";
84   protected final String JavaDoc TEXT_67 = ";" + NL;
85   protected final String JavaDoc TEXT_68 = NL + "\t/**" + NL + "\t * This is true if the ";
86   protected final String JavaDoc TEXT_69 = " ";
87   protected final String JavaDoc TEXT_70 = " has been set." + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t * @ordered" + NL + "\t */" + NL + "\tprotected boolean ";
88   protected final String JavaDoc TEXT_71 = "ESet = false;" + NL;
89   protected final String JavaDoc TEXT_72 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
90   protected final String JavaDoc TEXT_73 = "()" + NL + "\t{" + NL + "\t\tsuper();";
91   protected final String JavaDoc TEXT_74 = NL + "\t\t";
92   protected final String JavaDoc TEXT_75 = " |= ";
93   protected final String JavaDoc TEXT_76 = "_EFLAG;";
94   protected final String JavaDoc TEXT_77 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
95   protected final String JavaDoc TEXT_78 = " eStaticClass()" + NL + "\t{" + NL + "\t\treturn ";
96   protected final String JavaDoc TEXT_79 = ".eINSTANCE.get";
97   protected final String JavaDoc TEXT_80 = "();" + NL + "\t}" + NL;
98   protected final String JavaDoc TEXT_81 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
99   protected final String JavaDoc TEXT_82 = " ";
100   protected final String JavaDoc TEXT_83 = "()" + NL + "\t{";
101   protected final String JavaDoc TEXT_84 = NL + "\t\treturn ";
102   protected final String JavaDoc TEXT_85 = "(";
103   protected final String JavaDoc TEXT_86 = "(";
104   protected final String JavaDoc TEXT_87 = ")eGet(";
105   protected final String JavaDoc TEXT_88 = ".eINSTANCE.get";
106   protected final String JavaDoc TEXT_89 = "(), true)";
107   protected final String JavaDoc TEXT_90 = ").";
108   protected final String JavaDoc TEXT_91 = "()";
109   protected final String JavaDoc TEXT_92 = ";";
110   protected final String JavaDoc TEXT_93 = NL + "\t\tif (";
111   protected final String JavaDoc TEXT_94 = " == null)" + NL + "\t\t{" + NL + "\t\t\t";
112   protected final String JavaDoc TEXT_95 = " = new ";
113   protected final String JavaDoc TEXT_96 = ";" + NL + "\t\t}" + NL + "\t\treturn ";
114   protected final String JavaDoc TEXT_97 = ";";
115   protected final String JavaDoc TEXT_98 = NL + "\t\tif (eContainerFeatureID != ";
116   protected final String JavaDoc TEXT_99 = ") return null;" + NL + "\t\treturn (";
117   protected final String JavaDoc TEXT_100 = ")eContainer;";
118   protected final String JavaDoc TEXT_101 = NL + "\t\tif (";
119   protected final String JavaDoc TEXT_102 = " != null && ";
120   protected final String JavaDoc TEXT_103 = ".eIsProxy())" + NL + "\t\t{" + NL + "\t\t\t";
121   protected final String JavaDoc TEXT_104 = " old";
122   protected final String JavaDoc TEXT_105 = " = ";
123   protected final String JavaDoc TEXT_106 = ";" + NL + "\t\t\t";
124   protected final String JavaDoc TEXT_107 = " = (";
125   protected final String JavaDoc TEXT_108 = ")eResolveProxy((";
126   protected final String JavaDoc TEXT_109 = ")";
127   protected final String JavaDoc TEXT_110 = ");" + NL + "\t\t\tif (";
128   protected final String JavaDoc TEXT_111 = " != old";
129   protected final String JavaDoc TEXT_112 = ")" + NL + "\t\t\t{" + NL + "\t\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\t\teNotify(new ";
130   protected final String JavaDoc TEXT_113 = "(this, ";
131   protected final String JavaDoc TEXT_114 = ".RESOLVE, ";
132   protected final String JavaDoc TEXT_115 = ", old";
133   protected final String JavaDoc TEXT_116 = ", ";
134   protected final String JavaDoc TEXT_117 = "));" + NL + "\t\t\t}" + NL + "\t\t}";
135   protected final String JavaDoc TEXT_118 = NL + "\t\treturn (";
136   protected final String JavaDoc TEXT_119 = " & ";
137   protected final String JavaDoc TEXT_120 = "_EFLAG) != 0;";
138   protected final String JavaDoc TEXT_121 = NL + "\t\treturn ";
139   protected final String JavaDoc TEXT_122 = ";";
140   protected final String JavaDoc TEXT_123 = NL + "\t\t";
141   protected final String JavaDoc TEXT_124 = " ";
142   protected final String JavaDoc TEXT_125 = " = basicGet";
143   protected final String JavaDoc TEXT_126 = "();" + NL + "\t\treturn ";
144   protected final String JavaDoc TEXT_127 = " == null ? null : (";
145   protected final String JavaDoc TEXT_128 = ")eResolveProxy((";
146   protected final String JavaDoc TEXT_129 = ")";
147   protected final String JavaDoc TEXT_130 = ");";
148   protected final String JavaDoc TEXT_131 = NL + "\t\treturn new ";
149   protected final String JavaDoc TEXT_132 = "((";
150   protected final String JavaDoc TEXT_133 = ")((";
151   protected final String JavaDoc TEXT_134 = ")get";
152   protected final String JavaDoc TEXT_135 = "()).featureMap().list(";
153   protected final String JavaDoc TEXT_136 = "()));";
154   protected final String JavaDoc TEXT_137 = NL + "\t\treturn (";
155   protected final String JavaDoc TEXT_138 = ")((";
156   protected final String JavaDoc TEXT_139 = ")get";
157   protected final String JavaDoc TEXT_140 = "()).list(";
158   protected final String JavaDoc TEXT_141 = "());";
159   protected final String JavaDoc TEXT_142 = NL + "\t\treturn ((";
160   protected final String JavaDoc TEXT_143 = ")get";
161   protected final String JavaDoc TEXT_144 = "()).featureMap().list(";
162   protected final String JavaDoc TEXT_145 = "());";
163   protected final String JavaDoc TEXT_146 = NL + "\t\treturn ((";
164   protected final String JavaDoc TEXT_147 = ")get";
165   protected final String JavaDoc TEXT_148 = "()).list(";
166   protected final String JavaDoc TEXT_149 = "());";
167   protected final String JavaDoc TEXT_150 = NL + "\t\treturn ";
168   protected final String JavaDoc TEXT_151 = "(";
169   protected final String JavaDoc TEXT_152 = "(";
170   protected final String JavaDoc TEXT_153 = ")((";
171   protected final String JavaDoc TEXT_154 = ")get";
172   protected final String JavaDoc TEXT_155 = "()).featureMap().get(";
173   protected final String JavaDoc TEXT_156 = "(), true)";
174   protected final String JavaDoc TEXT_157 = ").";
175   protected final String JavaDoc TEXT_158 = "()";
176   protected final String JavaDoc TEXT_159 = ";";
177   protected final String JavaDoc TEXT_160 = NL + "\t\treturn ";
178   protected final String JavaDoc TEXT_161 = "(";
179   protected final String JavaDoc TEXT_162 = "(";
180   protected final String JavaDoc TEXT_163 = ")get";
181   protected final String JavaDoc TEXT_164 = "().get(";
182   protected final String JavaDoc TEXT_165 = "(), true)";
183   protected final String JavaDoc TEXT_166 = ").";
184   protected final String JavaDoc TEXT_167 = "()";
185   protected final String JavaDoc TEXT_168 = ";";
186   protected final String JavaDoc TEXT_169 = NL + "\t\t// TODO: implement this method to return the '";
187   protected final String JavaDoc TEXT_170 = "' ";
188   protected final String JavaDoc TEXT_171 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();";
189   protected final String JavaDoc TEXT_172 = NL + "\t}" + NL;
190   protected final String JavaDoc TEXT_173 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
191   protected final String JavaDoc TEXT_174 = " basicGet";
192   protected final String JavaDoc TEXT_175 = "()" + NL + "\t{";
193   protected final String JavaDoc TEXT_176 = NL + "\t\treturn ";
194   protected final String JavaDoc TEXT_177 = ";";
195   protected final String JavaDoc TEXT_178 = NL + "\t\treturn (";
196   protected final String JavaDoc TEXT_179 = ")((";
197   protected final String JavaDoc TEXT_180 = ")get";
198   protected final String JavaDoc TEXT_181 = "()).featureMap().get(";
199   protected final String JavaDoc TEXT_182 = "(), false);";
200   protected final String JavaDoc TEXT_183 = NL + "\t\treturn (";
201   protected final String JavaDoc TEXT_184 = ")get";
202   protected final String JavaDoc TEXT_185 = "().get(";
203   protected final String JavaDoc TEXT_186 = "(), false);";
204   protected final String JavaDoc TEXT_187 = NL + "\t\t// TODO: implement this method to return the '";
205   protected final String JavaDoc TEXT_188 = "' ";
206   protected final String JavaDoc TEXT_189 = NL + "\t\t// -> do not perform proxy resolution" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();";
207   protected final String JavaDoc TEXT_190 = NL + "\t}" + NL;
208   protected final String JavaDoc TEXT_191 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
209   protected final String JavaDoc TEXT_192 = " basicSet";
210   protected final String JavaDoc TEXT_193 = "(";
211   protected final String JavaDoc TEXT_194 = " new";
212   protected final String JavaDoc TEXT_195 = ", ";
213   protected final String JavaDoc TEXT_196 = " msgs)" + NL + "\t{";
214   protected final String JavaDoc TEXT_197 = NL + "\t\t";
215   protected final String JavaDoc TEXT_198 = " old";
216   protected final String JavaDoc TEXT_199 = " = ";
217   protected final String JavaDoc TEXT_200 = ";" + NL + "\t\t";
218   protected final String JavaDoc TEXT_201 = " = new";
219   protected final String JavaDoc TEXT_202 = ";";
220   protected final String JavaDoc TEXT_203 = NL + "\t\tboolean old";
221   protected final String JavaDoc TEXT_204 = "ESet = (";
222   protected final String JavaDoc TEXT_205 = " & ";
223   protected final String JavaDoc TEXT_206 = "_ESETFLAG) != 0;" + NL + "\t\t";
224   protected final String JavaDoc TEXT_207 = " |= ";
225   protected final String JavaDoc TEXT_208 = "_ESETFLAG;";
226   protected final String JavaDoc TEXT_209 = NL + "\t\tboolean old";
227   protected final String JavaDoc TEXT_210 = "ESet = ";
228   protected final String JavaDoc TEXT_211 = "ESet;" + NL + "\t\t";
229   protected final String JavaDoc TEXT_212 = "ESet = true;";
230   protected final String JavaDoc TEXT_213 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{";
231   protected final String JavaDoc TEXT_214 = NL + "\t\t\t";
232   protected final String JavaDoc TEXT_215 = " notification = new ";
233   protected final String JavaDoc TEXT_216 = "(this, ";
234   protected final String JavaDoc TEXT_217 = ".SET, ";
235   protected final String JavaDoc TEXT_218 = ", old";
236   protected final String JavaDoc TEXT_219 = ", new";
237   protected final String JavaDoc TEXT_220 = ", !old";
238   protected final String JavaDoc TEXT_221 = "ESet);";
239   protected final String JavaDoc TEXT_222 = NL + "\t\t\t";
240   protected final String JavaDoc TEXT_223 = " notification = new ";
241   protected final String JavaDoc TEXT_224 = "(this, ";
242   protected final String JavaDoc TEXT_225 = ".SET, ";
243   protected final String JavaDoc TEXT_226 = ", old";
244   protected final String JavaDoc TEXT_227 = ", new";
245   protected final String JavaDoc TEXT_228 = ");";
246   protected final String JavaDoc TEXT_229 = NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}";
247   protected final String JavaDoc TEXT_230 = NL + "\t\treturn msgs;";
248   protected final String JavaDoc TEXT_231 = NL + "\t\treturn ((";
249   protected final String JavaDoc TEXT_232 = ".Internal)((";
250   protected final String JavaDoc TEXT_233 = ")get";
251   protected final String JavaDoc TEXT_234 = "()).featureMap()).basicAdd(";
252   protected final String JavaDoc TEXT_235 = "(), new";
253   protected final String JavaDoc TEXT_236 = ", msgs);";
254   protected final String JavaDoc TEXT_237 = NL + "\t\treturn ((";
255   protected final String JavaDoc TEXT_238 = ".Internal)get";
256   protected final String JavaDoc TEXT_239 = "()).basicAdd(";
257   protected final String JavaDoc TEXT_240 = "(), new";
258   protected final String JavaDoc TEXT_241 = ", msgs);";
259   protected final String JavaDoc TEXT_242 = NL + "\t\t// TODO: implement this method to set the contained '";
260   protected final String JavaDoc TEXT_243 = "' ";
261   protected final String JavaDoc TEXT_244 = 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();";
262   protected final String JavaDoc TEXT_245 = NL + "\t}" + NL;
263   protected final String JavaDoc TEXT_246 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void set";
264   protected final String JavaDoc TEXT_247 = "(";
265   protected final String JavaDoc TEXT_248 = " new";
266   protected final String JavaDoc TEXT_249 = ")" + NL + "\t{";
267   protected final String JavaDoc TEXT_250 = NL + "\t\teSet(";
268   protected final String JavaDoc TEXT_251 = ".eINSTANCE.get";
269   protected final String JavaDoc TEXT_252 = "(), ";
270   protected final String JavaDoc TEXT_253 = "new ";
271   protected final String JavaDoc TEXT_254 = "(";
272   protected final String JavaDoc TEXT_255 = "new";
273   protected final String JavaDoc TEXT_256 = ")";
274   protected final String JavaDoc TEXT_257 = ");";
275   protected final String JavaDoc TEXT_258 = NL + "\t\tif (new";
276   protected final String JavaDoc TEXT_259 = " != eContainer || (eContainerFeatureID != ";
277   protected final String JavaDoc TEXT_260 = " && new";
278   protected final String JavaDoc TEXT_261 = " != null))" + NL + "\t\t{" + NL + "\t\t\tif (";
279   protected final String JavaDoc TEXT_262 = ".isAncestor(this, ";
280   protected final String JavaDoc TEXT_263 = "new";
281   protected final String JavaDoc TEXT_264 = "))" + NL + "\t\t\t\tthrow new ";
282   protected final String JavaDoc TEXT_265 = "(\"Recursive containment not allowed for \" + toString());";
283   protected final String JavaDoc TEXT_266 = NL + "\t\t\t";
284   protected final String JavaDoc TEXT_267 = " msgs = null;" + NL + "\t\t\tif (eContainer != null)" + NL + "\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\t\tif (new";
285   protected final String JavaDoc TEXT_268 = " != null)" + NL + "\t\t\t\tmsgs = ((";
286   protected final String JavaDoc TEXT_269 = ")new";
287   protected final String JavaDoc TEXT_270 = ").eInverseAdd(this, ";
288   protected final String JavaDoc TEXT_271 = ", ";
289   protected final String JavaDoc TEXT_272 = ".class, msgs);" + NL + "\t\t\tmsgs = eBasicSetContainer((";
290   protected final String JavaDoc TEXT_273 = ")new";
291   protected final String JavaDoc TEXT_274 = ", ";
292   protected final String JavaDoc TEXT_275 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}" + NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
293   protected final String JavaDoc TEXT_276 = "(this, ";
294   protected final String JavaDoc TEXT_277 = ".SET, ";
295   protected final String JavaDoc TEXT_278 = ", new";
296   protected final String JavaDoc TEXT_279 = ", new";
297   protected final String JavaDoc TEXT_280 = "));";
298   protected final String JavaDoc TEXT_281 = NL + "\t\tif (new";
299   protected final String JavaDoc TEXT_282 = " != ";
300   protected final String JavaDoc TEXT_283 = ")" + NL + "\t\t{" + NL + "\t\t\t";
301   protected final String JavaDoc TEXT_284 = " msgs = null;" + NL + "\t\t\tif (";
302   protected final String JavaDoc TEXT_285 = " != null)";
303   protected final String JavaDoc TEXT_286 = NL + "\t\t\t\tmsgs = ((";
304   protected final String JavaDoc TEXT_287 = ")";
305   protected final String JavaDoc TEXT_288 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ";
306   protected final String JavaDoc TEXT_289 = ", null, msgs);" + NL + "\t\t\tif (new";
307   protected final String JavaDoc TEXT_290 = " != null)" + NL + "\t\t\t\tmsgs = ((";
308   protected final String JavaDoc TEXT_291 = ")new";
309   protected final String JavaDoc TEXT_292 = ").eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ";
310   protected final String JavaDoc TEXT_293 = ", null, msgs);";
311   protected final String JavaDoc TEXT_294 = NL + "\t\t\t\tmsgs = ((";
312   protected final String JavaDoc TEXT_295 = ")";
313   protected final String JavaDoc TEXT_296 = ").eInverseRemove(this, ";
314   protected final String JavaDoc TEXT_297 = ", ";
315   protected final String JavaDoc TEXT_298 = ".class, msgs);" + NL + "\t\t\tif (new";
316   protected final String JavaDoc TEXT_299 = " != null)" + NL + "\t\t\t\tmsgs = ((";
317   protected final String JavaDoc TEXT_300 = ")new";
318   protected final String JavaDoc TEXT_301 = ").eInverseAdd(this, ";
319   protected final String JavaDoc TEXT_302 = ", ";
320   protected final String JavaDoc TEXT_303 = ".class, msgs);";
321   protected final String JavaDoc TEXT_304 = NL + "\t\t\tmsgs = basicSet";
322   protected final String JavaDoc TEXT_305 = "(";
323   protected final String JavaDoc TEXT_306 = "new";
324   protected final String JavaDoc TEXT_307 = ", msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}";
325   protected final String JavaDoc TEXT_308 = NL + "\t\telse" + NL + " \t{";
326   protected final String JavaDoc TEXT_309 = NL + "\t\tboolean old";
327   protected final String JavaDoc TEXT_310 = "ESet = (";
328   protected final String JavaDoc TEXT_311 = " & ";
329   protected final String JavaDoc TEXT_312 = "_ESETFLAG) != 0;" + NL + "\t\t";
330   protected final String JavaDoc TEXT_313 = " |= ";
331   protected final String JavaDoc TEXT_314 = "_ESETFLAG;";
332   protected final String JavaDoc TEXT_315 = NL + "\t\t\tboolean old";
333   protected final String JavaDoc TEXT_316 = "ESet = ";
334   protected final String JavaDoc TEXT_317 = "ESet;" + NL + "\t\t\t";
335   protected final String JavaDoc TEXT_318 = "ESet = true;";
336   protected final String JavaDoc TEXT_319 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new ";
337   protected final String JavaDoc TEXT_320 = "(this, ";
338   protected final String JavaDoc TEXT_321 = ".SET, ";
339   protected final String JavaDoc TEXT_322 = ", new";
340   protected final String JavaDoc TEXT_323 = ", new";
341   protected final String JavaDoc TEXT_324 = ", !old";
342   protected final String JavaDoc TEXT_325 = "ESet));" + NL + " \t}";
343   protected final String JavaDoc TEXT_326 = NL + "\t\telse if (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
344   protected final String JavaDoc TEXT_327 = "(this, ";
345   protected final String JavaDoc TEXT_328 = ".SET, ";
346   protected final String JavaDoc TEXT_329 = ", new";
347   protected final String JavaDoc TEXT_330 = ", new";
348   protected final String JavaDoc TEXT_331 = "));";
349   protected final String JavaDoc TEXT_332 = NL + "\t\t";
350   protected final String JavaDoc TEXT_333 = " old";
351   protected final String JavaDoc TEXT_334 = " = (";
352   protected final String JavaDoc TEXT_335 = " & ";
353   protected final String JavaDoc TEXT_336 = "_EFLAG) != 0;" + NL + "\t\tif (new";
354   protected final String JavaDoc TEXT_337 = ") ";
355   protected final String JavaDoc TEXT_338 = " |= ";
356   protected final String JavaDoc TEXT_339 = "_EFLAG; else ";
357   protected final String JavaDoc TEXT_340 = " &= ~";
358   protected final String JavaDoc TEXT_341 = "_EFLAG;";
359   protected final String JavaDoc TEXT_342 = NL + "\t\t";
360   protected final String JavaDoc TEXT_343 = " old";
361   protected final String JavaDoc TEXT_344 = " = ";
362   protected final String JavaDoc TEXT_345 = ";";
363   protected final String JavaDoc TEXT_346 = NL + "\t\t";
364   protected final String JavaDoc TEXT_347 = " = new";
365   protected final String JavaDoc TEXT_348 = " == null ? ";
366   protected final String JavaDoc TEXT_349 = "_EDEFAULT : new";
367   protected final String JavaDoc TEXT_350 = ";";
368   protected final String JavaDoc TEXT_351 = NL + "\t\t";
369   protected final String JavaDoc TEXT_352 = " = ";
370   protected final String JavaDoc TEXT_353 = "new";
371   protected final String JavaDoc TEXT_354 = ";";
372   protected final String JavaDoc TEXT_355 = NL + "\t\tboolean old";
373   protected final String JavaDoc TEXT_356 = "ESet = (";
374   protected final String JavaDoc TEXT_357 = " & ";
375   protected final String JavaDoc TEXT_358 = "_ESETFLAG) != 0;" + NL + "\t\t";
376   protected final String JavaDoc TEXT_359 = " |= ";
377   protected final String JavaDoc TEXT_360 = "_ESETFLAG;";
378   protected final String JavaDoc TEXT_361 = NL + "\t\tboolean old";
379   protected final String JavaDoc TEXT_362 = "ESet = ";
380   protected final String JavaDoc TEXT_363 = "ESet;" + NL + "\t\t";
381   protected final String JavaDoc TEXT_364 = "ESet = true;";
382   protected final String JavaDoc TEXT_365 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
383   protected final String JavaDoc TEXT_366 = "(this, ";
384   protected final String JavaDoc TEXT_367 = ".SET, ";
385   protected final String JavaDoc TEXT_368 = ", old";
386   protected final String JavaDoc TEXT_369 = ", ";
387   protected final String JavaDoc TEXT_370 = "new";
388   protected final String JavaDoc TEXT_371 = ", !old";
389   protected final String JavaDoc TEXT_372 = "ESet));";
390   protected final String JavaDoc TEXT_373 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
391   protected final String JavaDoc TEXT_374 = "(this, ";
392   protected final String JavaDoc TEXT_375 = ".SET, ";
393   protected final String JavaDoc TEXT_376 = ", old";
394   protected final String JavaDoc TEXT_377 = ", ";
395   protected final String JavaDoc TEXT_378 = "new";
396   protected final String JavaDoc TEXT_379 = "));";
397   protected final String JavaDoc TEXT_380 = NL + "\t\t((";
398   protected final String JavaDoc TEXT_381 = ".Internal)((";
399   protected final String JavaDoc TEXT_382 = ")get";
400   protected final String JavaDoc TEXT_383 = "()).featureMap()).set(";
401   protected final String JavaDoc TEXT_384 = "(), ";
402   protected final String JavaDoc TEXT_385 = "new ";
403   protected final String JavaDoc TEXT_386 = "(";
404   protected final String JavaDoc TEXT_387 = "new";
405   protected final String JavaDoc TEXT_388 = ")";
406   protected final String JavaDoc TEXT_389 = ");";
407   protected final String JavaDoc TEXT_390 = NL + "\t\t((";
408   protected final String JavaDoc TEXT_391 = ".Internal)get";
409   protected final String JavaDoc TEXT_392 = "()).set(";
410   protected final String JavaDoc TEXT_393 = "(), ";
411   protected final String JavaDoc TEXT_394 = "new ";
412   protected final String JavaDoc TEXT_395 = "(";
413   protected final String JavaDoc TEXT_396 = "new";
414   protected final String JavaDoc TEXT_397 = ")";
415   protected final String JavaDoc TEXT_398 = ");";
416   protected final String JavaDoc TEXT_399 = NL + "\t\t// TODO: implement this method to set the '";
417   protected final String JavaDoc TEXT_400 = "' ";
418   protected final String JavaDoc TEXT_401 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();";
419   protected final String JavaDoc TEXT_402 = NL + "\t}" + NL;
420   protected final String JavaDoc TEXT_403 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
421   protected final String JavaDoc TEXT_404 = " basicUnset";
422   protected final String JavaDoc TEXT_405 = "(";
423   protected final String JavaDoc TEXT_406 = " msgs)" + NL + "\t{";
424   protected final String JavaDoc TEXT_407 = NL + "\t\t";
425   protected final String JavaDoc TEXT_408 = " old";
426   protected final String JavaDoc TEXT_409 = " = ";
427   protected final String JavaDoc TEXT_410 = ";" + NL + "\t\t";
428   protected final String JavaDoc TEXT_411 = " = null;";
429   protected final String JavaDoc TEXT_412 = NL + "\t\tboolean old";
430   protected final String JavaDoc TEXT_413 = "ESet = (";
431   protected final String JavaDoc TEXT_414 = " & ";
432   protected final String JavaDoc TEXT_415 = "_ESETFLAG) != 0;" + NL + "\t\t";
433   protected final String JavaDoc TEXT_416 = " &= ~";
434   protected final String JavaDoc TEXT_417 = "_ESETFLAG;";
435   protected final String JavaDoc TEXT_418 = NL + "\t\tboolean old";
436   protected final String JavaDoc TEXT_419 = "ESet = ";
437   protected final String JavaDoc TEXT_420 = "ESet;" + NL + "\t\t";
438   protected final String JavaDoc TEXT_421 = "ESet = false;";
439   protected final String JavaDoc TEXT_422 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t{" + NL + "\t\t\t";
440   protected final String JavaDoc TEXT_423 = " notification = new ";
441   protected final String JavaDoc TEXT_424 = "(this, ";
442   protected final String JavaDoc TEXT_425 = ".UNSET, ";
443   protected final String JavaDoc TEXT_426 = ", old";
444   protected final String JavaDoc TEXT_427 = ", null, old";
445   protected final String JavaDoc TEXT_428 = "ESet);" + NL + "\t\t\tif (msgs == null) msgs = notification; else msgs.add(notification);" + NL + "\t\t}" + NL + "\t\treturn msgs;";
446   protected final String JavaDoc TEXT_429 = NL + "\t\t// TODO: implement this method to unset the contained '";
447   protected final String JavaDoc TEXT_430 = "' ";
448   protected final String JavaDoc TEXT_431 = 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();";
449   protected final String JavaDoc TEXT_432 = NL + "\t}" + NL;
450   protected final String JavaDoc TEXT_433 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void unset";
451   protected final String JavaDoc TEXT_434 = "()" + NL + "\t{";
452   protected final String JavaDoc TEXT_435 = NL + "\t\teUnset(";
453   protected final String JavaDoc TEXT_436 = ".eINSTANCE.get";
454   protected final String JavaDoc TEXT_437 = "());";
455   protected final String JavaDoc TEXT_438 = NL + "\t\t((";
456   protected final String JavaDoc TEXT_439 = ".Unsettable)get";
457   protected final String JavaDoc TEXT_440 = "()).unset();";
458   protected final String JavaDoc TEXT_441 = NL + "\t\tif (";
459   protected final String JavaDoc TEXT_442 = " != null)" + NL + "\t\t{" + NL + "\t\t\t";
460   protected final String JavaDoc TEXT_443 = " msgs = null;";
461   protected final String JavaDoc TEXT_444 = NL + "\t\t\tmsgs = ((";
462   protected final String JavaDoc TEXT_445 = ")";
463   protected final String JavaDoc TEXT_446 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ";
464   protected final String JavaDoc TEXT_447 = ", null, msgs);";
465   protected final String JavaDoc TEXT_448 = NL + "\t\t\tmsgs = ((";
466   protected final String JavaDoc TEXT_449 = ")";
467   protected final String JavaDoc TEXT_450 = ").eInverseRemove(this, ";
468   protected final String JavaDoc TEXT_451 = ", ";
469   protected final String JavaDoc TEXT_452 = ".class, msgs);";
470   protected final String JavaDoc TEXT_453 = NL + "\t\t\tmsgs = basicUnset";
471   protected final String JavaDoc TEXT_454 = "(msgs);" + NL + "\t\t\tif (msgs != null) msgs.dispatch();" + NL + "\t\t}" + NL + "\t\telse" + NL + " \t{";
472   protected final String JavaDoc TEXT_455 = NL + "\t\t\tboolean old";
473   protected final String JavaDoc TEXT_456 = "ESet = (";
474   protected final String JavaDoc TEXT_457 = " & ";
475   protected final String JavaDoc TEXT_458 = "_ESETFLAG) != 0;" + NL + "\t\t\t";
476   protected final String JavaDoc TEXT_459 = " &= ~";
477   protected final String JavaDoc TEXT_460 = "_ESETFLAG;";
478   protected final String JavaDoc TEXT_461 = NL + "\t\t\tboolean old";
479   protected final String JavaDoc TEXT_462 = "ESet = ";
480   protected final String JavaDoc TEXT_463 = "ESet;" + NL + "\t\t\t";
481   protected final String JavaDoc TEXT_464 = "ESet = false;";
482   protected final String JavaDoc TEXT_465 = NL + "\t\t\tif (eNotificationRequired())" + NL + "\t\t\t\teNotify(new ";
483   protected final String JavaDoc TEXT_466 = "(this, ";
484   protected final String JavaDoc TEXT_467 = ".UNSET, ";
485   protected final String JavaDoc TEXT_468 = ", null, null, old";
486   protected final String JavaDoc TEXT_469 = "ESet));" + NL + " \t}";
487   protected final String JavaDoc TEXT_470 = NL + "\t\t";
488   protected final String JavaDoc TEXT_471 = " old";
489   protected final String JavaDoc TEXT_472 = " = (";
490   protected final String JavaDoc TEXT_473 = " & ";
491   protected final String JavaDoc TEXT_474 = "_EFLAG) != 0;";
492   protected final String JavaDoc TEXT_475 = NL + "\t\t";
493   protected final String JavaDoc TEXT_476 = " old";
494   protected final String JavaDoc TEXT_477 = " = ";
495   protected final String JavaDoc TEXT_478 = ";";
496   protected final String JavaDoc TEXT_479 = NL + "\t\tboolean old";
497   protected final String JavaDoc TEXT_480 = "ESet = (";
498   protected final String JavaDoc TEXT_481 = " & ";
499   protected final String JavaDoc TEXT_482 = "_ESETFLAG) != 0;";
500   protected final String JavaDoc TEXT_483 = NL + "\t\tboolean old";
501   protected final String JavaDoc TEXT_484 = "ESet = ";
502   protected final String JavaDoc TEXT_485 = "ESet;";
503   protected final String JavaDoc TEXT_486 = NL + "\t\t";
504   protected final String JavaDoc TEXT_487 = " = null;";
505   protected final String JavaDoc TEXT_488 = NL + "\t\t";
506   protected final String JavaDoc TEXT_489 = " &= ~";
507   protected final String JavaDoc TEXT_490 = "_ESETFLAG;";
508   protected final String JavaDoc TEXT_491 = NL + "\t\t";
509   protected final String JavaDoc TEXT_492 = "ESet = false;";
510   protected final String JavaDoc TEXT_493 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
511   protected final String JavaDoc TEXT_494 = "(this, ";
512   protected final String JavaDoc TEXT_495 = ".UNSET, ";
513   protected final String JavaDoc TEXT_496 = ", old";
514   protected final String JavaDoc TEXT_497 = ", null, old";
515   protected final String JavaDoc TEXT_498 = "ESet));";
516   protected final String JavaDoc TEXT_499 = NL + "\t\tif (";
517   protected final String JavaDoc TEXT_500 = "_EDEFAULT) ";
518   protected final String JavaDoc TEXT_501 = " |= ";
519   protected final String JavaDoc TEXT_502 = "_EFLAG; else ";
520   protected final String JavaDoc TEXT_503 = " &= ~";
521   protected final String JavaDoc TEXT_504 = "_EFLAG;";
522   protected final String JavaDoc TEXT_505 = NL + "\t\t";
523   protected final String JavaDoc TEXT_506 = " = ";
524   protected final String JavaDoc TEXT_507 = "_EDEFAULT;";
525   protected final String JavaDoc TEXT_508 = NL + "\t\t";
526   protected final String JavaDoc TEXT_509 = " &= ~";
527   protected final String JavaDoc TEXT_510 = "_ESETFLAG;";
528   protected final String JavaDoc TEXT_511 = NL + "\t\t";
529   protected final String JavaDoc TEXT_512 = "ESet = false;";
530   protected final String JavaDoc TEXT_513 = NL + "\t\tif (eNotificationRequired())" + NL + "\t\t\teNotify(new ";
531   protected final String JavaDoc TEXT_514 = "(this, ";
532   protected final String JavaDoc TEXT_515 = ".UNSET, ";
533   protected final String JavaDoc TEXT_516 = ", old";
534   protected final String JavaDoc TEXT_517 = ", ";
535   protected final String JavaDoc TEXT_518 = "_EDEFAULT, old";
536   protected final String JavaDoc TEXT_519 = "ESet));";
537   protected final String JavaDoc TEXT_520 = NL + "\t\t((";
538   protected final String JavaDoc TEXT_521 = ".Internal)((";
539   protected final String JavaDoc TEXT_522 = ")get";
540   protected final String JavaDoc TEXT_523 = "()).featureMap()).clear(";
541   protected final String JavaDoc TEXT_524 = "());";
542   protected final String JavaDoc TEXT_525 = NL + "\t\t((";
543   protected final String JavaDoc TEXT_526 = ".Internal)get";
544   protected final String JavaDoc TEXT_527 = "()).clear(";
545   protected final String JavaDoc TEXT_528 = "());";
546   protected final String JavaDoc TEXT_529 = NL + "\t\t// TODO: implement this method to unset the '";
547   protected final String JavaDoc TEXT_530 = "' ";
548   protected final String JavaDoc TEXT_531 = NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();";
549   protected final String JavaDoc TEXT_532 = NL + "\t}" + NL;
550   protected final String JavaDoc TEXT_533 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic boolean isSet";
551   protected final String JavaDoc TEXT_534 = "()" + NL + "\t{";
552   protected final String JavaDoc TEXT_535 = NL + "\t\treturn eIsSet(";
553   protected final String JavaDoc TEXT_536 = ".eINSTANCE.get";
554   protected final String JavaDoc TEXT_537 = "());";
555   protected final String JavaDoc TEXT_538 = NL + "\t\treturn ";
556   protected final String JavaDoc TEXT_539 = " != null && ((";
557   protected final String JavaDoc TEXT_540 = ".Unsettable)";
558   protected final String JavaDoc TEXT_541 = ").isSet();";
559   protected final String JavaDoc TEXT_542 = NL + "\t\treturn (";
560   protected final String JavaDoc TEXT_543 = " & ";
561   protected final String JavaDoc TEXT_544 = "_ESETFLAG) != 0;";
562   protected final String JavaDoc TEXT_545 = NL + "\t\treturn ";
563   protected final String JavaDoc TEXT_546 = "ESet;";
564   protected final String JavaDoc TEXT_547 = NL + "\t\treturn !((";
565   protected final String JavaDoc TEXT_548 = ".Internal)((";
566   protected final String JavaDoc TEXT_549 = ")get";
567   protected final String JavaDoc TEXT_550 = "()).featureMap()).isEmpty(";
568   protected final String JavaDoc TEXT_551 = "());";
569   protected final String JavaDoc TEXT_552 = NL + "\t\treturn !((";
570   protected final String JavaDoc TEXT_553 = ".Internal)get";
571   protected final String JavaDoc TEXT_554 = "()).isEmpty(";
572   protected final String JavaDoc TEXT_555 = "());";
573   protected final String JavaDoc TEXT_556 = NL + "\t\t// TODO: implement this method to return whether the '";
574   protected final String JavaDoc TEXT_557 = "' ";
575   protected final String JavaDoc TEXT_558 = " is set" + NL + "\t\t// Ensure that you remove @generated or mark it @generated NOT" + NL + "\t\tthrow new UnsupportedOperationException();";
576   protected final String JavaDoc TEXT_559 = NL + "\t}" + NL;
577   protected final String JavaDoc TEXT_560 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
578   protected final String JavaDoc TEXT_561 = " ";
579   protected final String JavaDoc TEXT_562 = "(";
580   protected final String JavaDoc TEXT_563 = ")";
581   protected final String JavaDoc TEXT_564 = NL + "\t{";
582   protected final String JavaDoc TEXT_565 = NL + "\t\t";
583   protected final String JavaDoc TEXT_566 = 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)" + NL + "\t\t{" + NL + "\t\t\tif (";
584   protected final String JavaDoc TEXT_567 = " != null)" + NL + "\t\t\t{" + NL + "\t\t\t\t";
585   protected final String JavaDoc TEXT_568 = ".add" + NL + "\t\t\t\t\t(new ";
586   protected final String JavaDoc TEXT_569 = NL + "\t\t\t\t\t\t(";
587   protected final String JavaDoc TEXT_570 = ".ERROR," + NL + "\t\t\t\t\t\t ";
588   protected final String JavaDoc TEXT_571 = ".DIAGNOSTIC_SOURCE," + NL + "\t\t\t\t\t\t ";
589   protected final String JavaDoc TEXT_572 = ".";
590   protected final String JavaDoc TEXT_573 = "," + NL + "\t\t\t\t\t\t ";
591   protected final String JavaDoc TEXT_574 = ".INSTANCE.getString(\"_UI_GenericInvariant_diagnostic\", new Object[] { \"";
592   protected final String JavaDoc TEXT_575 = "\", ";
593   protected final String JavaDoc TEXT_576 = ".getObjectLabel(this, ";
594   protected final String JavaDoc TEXT_577 = ") }),";
595   protected final String JavaDoc TEXT_578 = NL + "\t\t\t\t\t\t new Object [] { this }));" + NL + "\t\t\t}" + NL + "\t\t\treturn false;" + NL + "\t\t}" + NL + "\t\treturn true;";
596   protected final String JavaDoc TEXT_579 = 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();";
597   protected final String JavaDoc TEXT_580 = NL + "\t}" + NL;
598   protected final String JavaDoc TEXT_581 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
599   protected final String JavaDoc TEXT_582 = " eInverseAdd(";
600   protected final String JavaDoc TEXT_583 = " otherEnd, int featureID, Class baseClass, ";
601   protected final String JavaDoc TEXT_584 = " msgs)" + NL + "\t{" + NL + "\t\tif (featureID >= 0)" + NL + "\t\t{" + NL + "\t\t\tswitch (eDerivedStructuralFeatureID(featureID, baseClass))" + NL + "\t\t\t{";
602   protected final String JavaDoc TEXT_585 = NL + "\t\t\t\tcase ";
603   protected final String JavaDoc TEXT_586 = ":";
604   protected final String JavaDoc TEXT_587 = NL + "\t\t\t\t\treturn ((";
605   protected final String JavaDoc TEXT_588 = ")((";
606   protected final String JavaDoc TEXT_589 = ")";
607   protected final String JavaDoc TEXT_590 = "()).eMap()).basicAdd(otherEnd, msgs);";
608   protected final String JavaDoc TEXT_591 = NL + "\t\t\t\t\treturn ((";
609   protected final String JavaDoc TEXT_592 = ")";
610   protected final String JavaDoc TEXT_593 = "()).basicAdd(otherEnd, msgs);";
611   protected final String JavaDoc TEXT_594 = NL + "\t\t\t\t\tif (eContainer != null)" + NL + "\t\t\t\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\t\t\t\treturn eBasicSetContainer(otherEnd, ";
612   protected final String JavaDoc TEXT_595 = ", msgs);";
613   protected final String JavaDoc TEXT_596 = NL + "\t\t\t\t\tif (";
614   protected final String JavaDoc TEXT_597 = " != null)";
615   protected final String JavaDoc TEXT_598 = NL + "\t\t\t\t\t\tmsgs = ((";
616   protected final String JavaDoc TEXT_599 = ")";
617   protected final String JavaDoc TEXT_600 = ").eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ";
618   protected final String JavaDoc TEXT_601 = ", null, msgs);";
619   protected final String JavaDoc TEXT_602 = NL + "\t\t\t\t\t\tmsgs = ((";
620   protected final String JavaDoc TEXT_603 = ")";
621   protected final String JavaDoc TEXT_604 = ").eInverseRemove(this, ";
622   protected final String JavaDoc TEXT_605 = ", ";
623   protected final String JavaDoc TEXT_606 = ".class, msgs);";
624   protected final String JavaDoc TEXT_607 = NL + "\t\t\t\t\treturn basicSet";
625   protected final String JavaDoc TEXT_608 = "((";
626   protected final String JavaDoc TEXT_609 = ")otherEnd, msgs);";
627   protected final String JavaDoc TEXT_610 = NL + "\t\t\t\tdefault:" + NL + "\t\t\t\t\treturn eDynamicInverseAdd(otherEnd, featureID, baseClass, msgs);" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tif (eContainer != null)" + NL + "\t\t\tmsgs = eBasicRemoveFromContainer(msgs);" + NL + "\t\treturn eBasicSetContainer(otherEnd, featureID, msgs);" + NL + "\t}" + NL;
628   protected final String JavaDoc TEXT_611 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
629   protected final String JavaDoc TEXT_612 = " eInverseRemove(";
630   protected final String JavaDoc TEXT_613 = " otherEnd, int featureID, Class baseClass, ";
631   protected final String JavaDoc TEXT_614 = " msgs)" + NL + "\t{" + NL + "\t\tif (featureID >= 0)" + NL + "\t\t{" + NL + "\t\t\tswitch (eDerivedStructuralFeatureID(featureID, baseClass))" + NL + "\t\t\t{";
632   protected final String JavaDoc TEXT_615 = NL + "\t\t\t\tcase ";
633   protected final String JavaDoc TEXT_616 = ":";
634   protected final String JavaDoc TEXT_617 = NL + "\t\t\t\t\treturn ((";
635   protected final String JavaDoc TEXT_618 = ")((";
636   protected final String JavaDoc TEXT_619 = ")";
637   protected final String JavaDoc TEXT_620 = "()).eMap()).basicRemove(otherEnd, msgs);";
638   protected final String JavaDoc TEXT_621 = NL + "\t\t\t\treturn ((";
639   protected final String JavaDoc TEXT_622 = ")((";
640   protected final String JavaDoc TEXT_623 = ")";
641   protected final String JavaDoc TEXT_624 = "()).featureMap()).basicRemove(otherEnd, msgs);";
642   protected final String JavaDoc TEXT_625 = NL + "\t\t\t\t\treturn ((";
643   protected final String JavaDoc TEXT_626 = ")";
644   protected final String JavaDoc TEXT_627 = "()).basicRemove(otherEnd, msgs);";
645   protected final String JavaDoc TEXT_628 = NL + "\t\t\t\t\treturn eBasicSetContainer(null, ";
646   protected final String JavaDoc TEXT_629 = ", msgs);";
647   protected final String JavaDoc TEXT_630 = NL + "\t\t\t\t\treturn basicUnset";
648   protected final String JavaDoc TEXT_631 = "(msgs);";
649   protected final String JavaDoc TEXT_632 = NL + "\t\t\t\t\treturn basicSet";
650   protected final String JavaDoc TEXT_633 = "(null, msgs);";
651   protected final String JavaDoc TEXT_634 = NL + "\t\t\t\tdefault:" + NL + "\t\t\t\t\treturn eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn eBasicSetContainer(null, featureID, msgs);" + NL + "\t}" + NL;
652   protected final String JavaDoc TEXT_635 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
653   protected final String JavaDoc TEXT_636 = " eBasicRemoveFromContainer(";
654   protected final String JavaDoc TEXT_637 = " msgs)" + NL + "\t{" + NL + "\t\tif (eContainerFeatureID >= 0)" + NL + "\t\t{" + NL + "\t\t\tswitch (eContainerFeatureID)" + NL + "\t\t\t{";
655   protected final String JavaDoc TEXT_638 = NL + "\t\t\t\tcase ";
656   protected final String JavaDoc TEXT_639 = ":" + NL + "\t\t\t\t\treturn eContainer.eInverseRemove(this, ";
657   protected final String JavaDoc TEXT_640 = ", ";
658   protected final String JavaDoc TEXT_641 = ".class, msgs);";
659   protected final String JavaDoc TEXT_642 = NL + "\t\t\t\tdefault:" + NL + "\t\t\t\t\treturn eDynamicBasicRemoveFromContainer(msgs);" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\treturn eContainer.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - eContainerFeatureID, null, msgs);" + NL + "\t}" + NL;
660   protected final String JavaDoc TEXT_643 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic Object eGet(";
661   protected final String JavaDoc TEXT_644 = " eFeature, boolean resolve)" + NL + "\t{" + NL + "\t\tswitch (eDerivedStructuralFeatureID(eFeature))" + NL + "\t\t{";
662   protected final String JavaDoc TEXT_645 = NL + "\t\t\tcase ";
663   protected final String JavaDoc TEXT_646 = ":";
664   protected final String JavaDoc TEXT_647 = NL + "\t\t\t\treturn ";
665   protected final String JavaDoc TEXT_648 = "() ? Boolean.TRUE : Boolean.FALSE;";
666   protected final String JavaDoc TEXT_649 = NL + "\t\t\t\treturn new ";
667   protected final String JavaDoc TEXT_650 = "(";
668   protected final String JavaDoc TEXT_651 = "());";
669   protected final String JavaDoc TEXT_652 = NL + "\t\t\t\tif (resolve) return ";
670   protected final String JavaDoc TEXT_653 = "();" + NL + "\t\t\t\treturn basicGet";
671   protected final String JavaDoc TEXT_654 = "();";
672   protected final String JavaDoc TEXT_655 = NL + "\t\t\t\treturn ((";
673   protected final String JavaDoc TEXT_656 = ")";
674   protected final String JavaDoc TEXT_657 = "()).eMap();";
675   protected final String JavaDoc TEXT_658 = NL + "\t\t\t\treturn ((";
676   protected final String JavaDoc TEXT_659 = ")";
677   protected final String JavaDoc TEXT_660 = "()).featureMap();";
678   protected final String JavaDoc TEXT_661 = NL + "\t\t\t\treturn ";
679   protected final String JavaDoc TEXT_662 = "();";
680   protected final String JavaDoc TEXT_663 = NL + "\t\t}" + NL + "\t\treturn eDynamicGet(eFeature, resolve);" + NL + "\t}" + NL;
681   protected final String JavaDoc TEXT_664 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void eSet(";
682   protected final String JavaDoc TEXT_665 = " eFeature, Object newValue)" + NL + "\t{" + NL + "\t\tswitch (eDerivedStructuralFeatureID(eFeature))" + NL + "\t\t{";
683   protected final String JavaDoc TEXT_666 = NL + "\t\t\tcase ";
684   protected final String JavaDoc TEXT_667 = ":";
685   protected final String JavaDoc TEXT_668 = NL + "\t\t\t\t((";
686   protected final String JavaDoc TEXT_669 = ")";
687   protected final String JavaDoc TEXT_670 = "()).featureMap().clear();";
688   protected final String JavaDoc TEXT_671 = NL + "\t\t\t\t";
689   protected final String JavaDoc TEXT_672 = "().clear();";
690   protected final String JavaDoc TEXT_673 = NL + "\t\t\t\t((";
691   protected final String JavaDoc TEXT_674 = ")";
692   protected final String JavaDoc TEXT_675 = "()).featureMap().addAll((";
693   protected final String JavaDoc TEXT_676 = ")newValue);";
694   protected final String JavaDoc TEXT_677 = NL + "\t\t\t\t((";
695   protected final String JavaDoc TEXT_678 = ")";
696   protected final String JavaDoc TEXT_679 = "()).eMap().addAll((";
697   protected final String JavaDoc TEXT_680 = ")newValue);";
698   protected final String JavaDoc TEXT_681 = NL + "\t\t\t\t";
699   protected final String JavaDoc TEXT_682 = "().addAll((";
700   protected final String JavaDoc TEXT_683 = ")newValue);";
701   protected final String JavaDoc TEXT_684 = NL + "\t\t\t\tset";
702   protected final String JavaDoc TEXT_685 = "(((";
703   protected final String JavaDoc TEXT_686 = ")newValue).";
704   protected final String JavaDoc TEXT_687 = "());";
705   protected final String JavaDoc TEXT_688 = NL + "\t\t\t\tset";
706   protected final String JavaDoc TEXT_689 = "((";
707   protected final String JavaDoc TEXT_690 = ")newValue);";
708   protected final String JavaDoc TEXT_691 = NL + "\t\t\t\treturn;";
709   protected final String JavaDoc TEXT_692 = NL + "\t\t}" + NL + "\t\teDynamicSet(eFeature, newValue);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void eUnset(";
710   protected final String JavaDoc TEXT_693 = " eFeature)" + NL + "\t{" + NL + "\t\tswitch (eDerivedStructuralFeatureID(eFeature))" + NL + "\t\t{";
711   protected final String JavaDoc TEXT_694 = NL + "\t\t\tcase ";
712   protected final String JavaDoc TEXT_695 = ":";
713   protected final String JavaDoc TEXT_696 = NL + "\t\t\t\t((";
714   protected final String JavaDoc TEXT_697 = ")";
715   protected final String JavaDoc TEXT_698 = "()).featureMap().clear();";
716   protected final String JavaDoc TEXT_699 = NL + "\t\t\t\t";
717   protected final String JavaDoc TEXT_700 = "().clear();";
718   protected final String JavaDoc TEXT_701 = NL + "\t\t\t\tunset";
719   protected final String JavaDoc TEXT_702 = "();";
720   protected final String JavaDoc TEXT_703 = NL + "\t\t\t\tset";
721   protected final String JavaDoc TEXT_704 = "((";
722   protected final String JavaDoc TEXT_705 = ")null);";
723   protected final String JavaDoc TEXT_706 = NL + "\t\t\t\tset";
724   protected final String JavaDoc TEXT_707 = "(";
725   protected final String JavaDoc TEXT_708 = "_EDEFAULT);";
726   protected final String JavaDoc TEXT_709 = NL + "\t\t\t\treturn;";
727   protected final String JavaDoc TEXT_710 = NL + "\t\t}" + NL + "\t\teDynamicUnset(eFeature);" + NL + "\t}" + NL;
728   protected final String JavaDoc TEXT_711 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic boolean eIsSet(";
729   protected final String JavaDoc TEXT_712 = " eFeature)" + NL + "\t{" + NL + "\t\tswitch (eDerivedStructuralFeatureID(eFeature))" + NL + "\t\t{";
730   protected final String JavaDoc TEXT_713 = NL + "\t\t\tcase ";
731   protected final String JavaDoc TEXT_714 = ":";
732   protected final String JavaDoc TEXT_715 = NL + "\t\t\t\treturn !((";
733   protected final String JavaDoc TEXT_716 = ")";
734   protected final String JavaDoc TEXT_717 = "()).featureMap().isEmpty();";
735   protected final String JavaDoc TEXT_718 = NL + "\t\t\t\treturn ";
736   protected final String JavaDoc TEXT_719 = " != null && !";
737   protected final String JavaDoc TEXT_720 = ".featureMap().isEmpty();";
738   protected final String JavaDoc TEXT_721 = NL + "\t\t\t\treturn ";
739   protected final String JavaDoc TEXT_722 = " != null && !";
740   protected final String JavaDoc TEXT_723 = ".isEmpty();";
741   protected final String JavaDoc TEXT_724 = NL + "\t\t\t\treturn !";
742   protected final String JavaDoc TEXT_725 = "().isEmpty();";
743   protected final String JavaDoc TEXT_726 = NL + "\t\t\t\treturn isSet";
744   protected final String JavaDoc TEXT_727 = "();";
745   protected final String JavaDoc TEXT_728 = NL + "\t\t\t\treturn ";
746   protected final String JavaDoc TEXT_729 = " != null;";
747   protected final String JavaDoc TEXT_730 = NL + "\t\t\t\treturn basicGet";
748   protected final String JavaDoc TEXT_731 = "() != null;";
749   protected final String JavaDoc TEXT_732 = NL + "\t\t\t\treturn ";
750   protected final String JavaDoc TEXT_733 = " != null;";
751   protected final String JavaDoc TEXT_734 = NL + "\t\t\t\treturn ";
752   protected final String JavaDoc TEXT_735 = "() != null;";
753   protected final String JavaDoc TEXT_736 = NL + "\t\t\t\treturn ((";
754   protected final String JavaDoc TEXT_737 = " & ";
755   protected final String JavaDoc TEXT_738 = "_EFLAG) != 0) != ";
756   protected final String JavaDoc TEXT_739 = "_EDEFAULT;";
757   protected final String JavaDoc TEXT_740 = NL + "\t\t\t\treturn ";
758   protected final String JavaDoc TEXT_741 = " != ";
759   protected final String JavaDoc TEXT_742 = "_EDEFAULT;";
760   protected final String JavaDoc TEXT_743 = NL + "\t\t\t\treturn ";
761   protected final String JavaDoc TEXT_744 = "() != ";
762   protected final String JavaDoc TEXT_745 = "_EDEFAULT;";
763   protected final String JavaDoc TEXT_746 = NL + "\t\t\t\treturn ";
764   protected final String JavaDoc TEXT_747 = "_EDEFAULT == null ? ";
765   protected final String JavaDoc TEXT_748 = " != null : !";
766   protected final String JavaDoc TEXT_749 = "_EDEFAULT.equals(";
767   protected final String JavaDoc TEXT_750 = ");";
768   protected final String JavaDoc TEXT_751 = NL + "\t\t\t\treturn ";
769   protected final String JavaDoc TEXT_752 = "_EDEFAULT == null ? ";
770   protected final String JavaDoc TEXT_753 = "() != null : !";
771   protected final String JavaDoc TEXT_754 = "_EDEFAULT.equals(";
772   protected final String JavaDoc TEXT_755 = "());";
773   protected final String JavaDoc TEXT_756 = NL + "\t\t}" + NL + "\t\treturn eDynamicIsSet(eFeature);" + NL + "\t}" + NL;
774   protected final String JavaDoc TEXT_757 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic int eBaseStructuralFeatureID(int derivedFeatureID, Class baseClass)" + NL + "\t{";
775   protected final String JavaDoc TEXT_758 = NL + "\t\tif (baseClass == ";
776   protected final String JavaDoc TEXT_759 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (derivedFeatureID)" + NL + "\t\t\t{";
777   protected final String JavaDoc TEXT_760 = NL + "\t\t\t\tcase ";
778   protected final String JavaDoc TEXT_761 = ": return ";
779   protected final String JavaDoc TEXT_762 = ";";
780   protected final String JavaDoc TEXT_763 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
781   protected final String JavaDoc TEXT_764 = NL + "\t\treturn super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic int eDerivedStructuralFeatureID(int baseFeatureID, Class baseClass)" + NL + "\t{";
782   protected final String JavaDoc TEXT_765 = NL + "\t\tif (baseClass == ";
783   protected final String JavaDoc TEXT_766 = ".class)" + NL + "\t\t{" + NL + "\t\t\tswitch (baseFeatureID)" + NL + "\t\t\t{";
784   protected final String JavaDoc TEXT_767 = NL + "\t\t\t\tcase ";
785   protected final String JavaDoc TEXT_768 = ": return ";
786   protected final String JavaDoc TEXT_769 = ";";
787   protected final String JavaDoc TEXT_770 = NL + "\t\t\t\tdefault: return -1;" + NL + "\t\t\t}" + NL + "\t\t}";
788   protected final String JavaDoc TEXT_771 = NL + "\t\treturn super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);" + NL + "\t}" + NL;
789   protected final String JavaDoc TEXT_772 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic String toString()" + NL + "\t{" + NL + "\t\tif (eIsProxy()) return super.toString();" + NL + "" + NL + "\t\tStringBuffer result = new StringBuffer(super.toString());";
790   protected final String JavaDoc TEXT_773 = NL + "\t\tresult.append(\" (";
791   protected final String JavaDoc TEXT_774 = ": \");";
792   protected final String JavaDoc TEXT_775 = NL + "\t\tresult.append(\", ";
793   protected final String JavaDoc TEXT_776 = ": \");";
794   protected final String JavaDoc TEXT_777 = NL + "\t\tif (";
795   protected final String JavaDoc TEXT_778 = "(";
796   protected final String JavaDoc TEXT_779 = " & ";
797   protected final String JavaDoc TEXT_780 = "_ESETFLAG) != 0";
798   protected final String JavaDoc TEXT_781 = "ESet";
799   protected final String JavaDoc TEXT_782 = ") result.append((";
800   protected final String JavaDoc TEXT_783 = " & ";
801   protected final String JavaDoc TEXT_784 = "_EFLAG) != 0); else result.append(\"<unset>\");";
802   protected final String JavaDoc TEXT_785 = NL + "\t\tif (";
803   protected final String JavaDoc TEXT_786 = "(";
804   protected final String JavaDoc TEXT_787 = " & ";
805   protected final String JavaDoc TEXT_788 = "_ESETFLAG) != 0";
806   protected final String JavaDoc TEXT_789 = "ESet";
807   protected final String JavaDoc TEXT_790 = ") result.append(";
808   protected final String JavaDoc TEXT_791 = "); else result.append(\"<unset>\");";
809   protected final String JavaDoc TEXT_792 = NL + "\t\tresult.append((";
810   protected final String JavaDoc TEXT_793 = " & ";
811   protected final String JavaDoc TEXT_794 = "_EFLAG) != 0);";
812   protected final String JavaDoc TEXT_795 = NL + "\t\tresult.append(";
813   protected final String JavaDoc TEXT_796 = ");";
814   protected final String JavaDoc TEXT_797 = NL + "\t\tresult.append(')');" + NL + "\t\treturn result.toString();" + NL + "\t}" + NL;
815   protected final String JavaDoc TEXT_798 = NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + 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\tObject 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 Object getKey()" + NL + "\t{";
816   protected final String JavaDoc TEXT_799 = NL + "\t\treturn new ";
817   protected final String JavaDoc TEXT_800 = "(getTypedKey());";
818   protected final String JavaDoc TEXT_801 = NL + "\t\treturn getTypedKey();";
819   protected final String JavaDoc TEXT_802 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void setKey(Object key)" + NL + "\t{";
820   protected final String JavaDoc TEXT_803 = NL + "\t\tgetTypedKey().addAll((";
821   protected final String JavaDoc TEXT_804 = ")key);";
822   protected final String JavaDoc TEXT_805 = NL + "\t\tsetTypedKey(((";
823   protected final String JavaDoc TEXT_806 = ")key).";
824   protected final String JavaDoc TEXT_807 = "());";
825   protected final String JavaDoc TEXT_808 = NL + "\t\tsetTypedKey((";
826   protected final String JavaDoc TEXT_809 = ")key);";
827   protected final String JavaDoc TEXT_810 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic Object getValue()" + NL + "\t{";
828   protected final String JavaDoc TEXT_811 = NL + "\t\treturn new ";
829   protected final String JavaDoc TEXT_812 = "(getTypedValue());";
830   protected final String JavaDoc TEXT_813 = NL + "\t\treturn getTypedValue();";
831   protected final String JavaDoc TEXT_814 = NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic Object setValue(Object value)" + NL + "\t{" + NL + "\t\tObject oldValue = getValue();";
832   protected final String JavaDoc TEXT_815 = NL + "\t\tgetTypedValue().clear();" + NL + "\t\tgetTypedValue().addAll((";
833   protected final String JavaDoc TEXT_816 = ")value);";
834   protected final String JavaDoc TEXT_817 = NL + "\t\tsetTypedValue(((";
835   protected final String JavaDoc TEXT_818 = ")value).";
836   protected final String JavaDoc TEXT_819 = "());";
837   protected final String JavaDoc TEXT_820 = NL + "\t\tsetTypedValue((";
838   protected final String JavaDoc TEXT_821 = ")value);";
839   protected final String JavaDoc TEXT_822 = NL + "\t\treturn oldValue;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * <!-- begin-user-doc -->" + NL + "\t * <!-- end-user-doc -->" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic ";
840   protected final String JavaDoc TEXT_823 = " getEMap()" + NL + "\t{" + NL + "\t\t";
841   protected final String JavaDoc TEXT_824 = " container = eContainer();" + NL + "\t\treturn container == null ? null : (";
842   protected final String JavaDoc TEXT_825 = ")container.eGet(eContainmentFeature());" + NL + "\t}" + NL;
843   protected final String JavaDoc TEXT_826 = NL + "} //";
844   protected final String JavaDoc TEXT_827 = NL;
845
846   public String JavaDoc generate(Object JavaDoc argument)
847   {
848     StringBuffer JavaDoc stringBuffer = new StringBuffer JavaDoc();
849     
850 /**
851  * <copyright>
852  *
853  * Copyright (c) 2002-2005 IBM Corporation and others.
854  * All rights reserved. This program and the accompanying materials
855  * are made available under the terms of the Eclipse Public License v1.0
856  * which accompanies this distribution, and is available at
857  * http://www.eclipse.org/legal/epl-v10.html
858  *
859  * Contributors:
860  * IBM - Initial API and implementation
861  *
862  * </copyright>
863  */

864
865     GenClass genClass = (GenClass)argument; GenPackage genPackage = genClass.getGenPackage(); GenModel genModel=genPackage.getGenModel();
866     stringBuffer.append(TEXT_1);
867     stringBuffer.append(TEXT_2);
868     stringBuffer.append("$");
869     stringBuffer.append(TEXT_3);
870     stringBuffer.append("$");
871     stringBuffer.append(TEXT_4);
872     stringBuffer.append(genPackage.getClassPackageName());
873     stringBuffer.append(TEXT_5);
874     genModel.markImportLocation(stringBuffer);
875     stringBuffer.append(TEXT_6);
876     stringBuffer.append(genClass.getFormattedName());
877     stringBuffer.append(TEXT_7);
878     if (!genClass.getImplementedGenFeatures().isEmpty()) {
879     stringBuffer.append(TEXT_8);
880     for (Iterator i=genClass.getImplementedGenFeatures().iterator(); i.hasNext();) { GenFeature genFeature = (GenFeature)i.next();
881     stringBuffer.append(TEXT_9);
882     stringBuffer.append(genClass.getQualifiedClassName());
883     stringBuffer.append(TEXT_10);
884     stringBuffer.append(genFeature.getGetAccessor());
885     stringBuffer.append(TEXT_11);
886     stringBuffer.append(genFeature.getFormattedName());
887     stringBuffer.append(TEXT_12);
888     }
889     stringBuffer.append(TEXT_13);
890     }
891     stringBuffer.append(TEXT_14);
892     if (genClass.isAbstract()) {
893     stringBuffer.append(TEXT_15);
894     }
895     stringBuffer.append(TEXT_16);
896     stringBuffer.append(genClass.getClassName());
897     stringBuffer.append(genClass.getClassExtends());
898     stringBuffer.append(genClass.getClassImplements());
899     stringBuffer.append(TEXT_17);
900     if (genModel.getCopyrightText() != null) {
901     stringBuffer.append(TEXT_18);
902     stringBuffer.append(genModel.getImportedName("java.lang.String"));
903     stringBuffer.append(TEXT_19);
904     stringBuffer.append(genModel.getCopyrightText());
905     stringBuffer.append(TEXT_20);
906     stringBuffer.append(genModel.getNonNLS());
907     stringBuffer.append(TEXT_21);
908     }
909     if (genModel.getDriverNumber() != null) {
910     stringBuffer.append(TEXT_22);
911     stringBuffer.append(genModel.getImportedName("java.lang.String"));
912     stringBuffer.append(TEXT_23);
913     stringBuffer.append(genModel.getDriverNumber());
914     stringBuffer.append(TEXT_24);
915     stringBuffer.append(genModel.getNonNLS());
916     stringBuffer.append(TEXT_25);
917     }
918     if (genClass.isModelRoot() && genModel.isBooleanFlagsEnabled() && genModel.getBooleanFlagsReservedBits() == -1) {
919     stringBuffer.append(TEXT_26);
920     stringBuffer.append(genModel.getBooleanFlagsField());
921     stringBuffer.append(TEXT_27);
922     }
923     if (!genModel.isReflectiveDelegation()) {
924     for (Iterator i=genClass.getDeclaredFieldGenFeatures().iterator(); i.hasNext();) { GenFeature genFeature = (GenFeature)i.next();
925     if (genFeature.isListType() || genFeature.isReferenceType()) {
926     if (genClass.isField(genFeature)) {
927     stringBuffer.append(TEXT_28);
928     stringBuffer.append(genFeature.getGetAccessor());
929     stringBuffer.append(TEXT_29);
930     stringBuffer.append(genFeature.getFormattedName());
931     stringBuffer.append(TEXT_30);
932     stringBuffer.append(genFeature.getFeatureKind());
933     stringBuffer.append(TEXT_31);
934     stringBuffer.append(genFeature.getGetAccessor());
935     stringBuffer.append(TEXT_32);
936     stringBuffer.append(genFeature.getImportedInternalType());
937     stringBuffer.append(TEXT_33);
938     stringBuffer.append(genFeature.getSafeName());
939     stringBuffer.append(TEXT_34);
940     }
941     } else {
942     if (!genFeature.isVolatile() || !genModel.isReflectiveDelegation() && (!genFeature.hasDelegateFeature() || !genFeature.isUnsettable())) {
943     stringBuffer.append(TEXT_35);
944     stringBuffer.append(genFeature.getGetAccessor());
945     stringBuffer.append(TEXT_36);
946     stringBuffer.append(genFeature.getFormattedName());
947     stringBuffer.append(TEXT_37);
948     stringBuffer.append(genFeature.getFeatureKind());
949     stringBuffer.append(TEXT_38);
950     stringBuffer.append(genFeature.getGetAccessor());
951     stringBuffer.append(TEXT_39);
952     stringBuffer.append(genFeature.getImportedType());
953     stringBuffer.append(TEXT_40);
954     stringBuffer.append(genFeature.getUpperName());
955     stringBuffer.append(TEXT_41);
956     stringBuffer.append(genFeature.getStaticDefaultValue());
957     stringBuffer.append(TEXT_42);
958     stringBuffer.append(genModel.getNonNLS(genFeature.getStaticDefaultValue()));
959     stringBuffer.append(TEXT_43);
960     }
961     if (genClass.isField(genFeature)) {
962     if (genClass.isFlag(genFeature)) {
963     if (genClass.getFlagIndex(genFeature) > 31 && genClass.getFlagIndex(genFeature) % 32 == 0) {
964     stringBuffer.append(TEXT_44);
965     stringBuffer.append(genClass.getFlagsField(genFeature));
966     stringBuffer.append(TEXT_45);
967     }
968     stringBuffer.append(TEXT_46);
969     stringBuffer.append(genFeature.getGetAccessor());
970     stringBuffer.append(TEXT_47);
971     stringBuffer.append(genFeature.getFormattedName());
972     stringBuffer.append(TEXT_48);
973     stringBuffer.append(genFeature.getFeatureKind());
974     stringBuffer.append(TEXT_49);
975     stringBuffer.append(genFeature.getGetAccessor());
976     stringBuffer.append(TEXT_50);
977     stringBuffer.append(genFeature.getUpperName());
978     stringBuffer.append(TEXT_51);
979     stringBuffer.append("<< " + genClass.getFlagIndex(genFeature) % 32 );
980     stringBuffer.append(TEXT_52);
981     } else {
982     stringBuffer.append(TEXT_53);
983     stringBuffer.append(genFeature.getGetAccessor());
984     stringBuffer.append(TEXT_54);
985     stringBuffer.append(genFeature.getFormattedName());
986     stringBuffer.append(TEXT_55);
987     stringBuffer.append(genFeature.getFeatureKind());
988     stringBuffer.append(TEXT_56);
989     stringBuffer.append(genFeature.getGetAccessor());
990     stringBuffer.append(TEXT_57);
991     stringBuffer.append(genFeature.getImportedType());
992     stringBuffer.append(TEXT_58);
993     stringBuffer.append(genFeature.getSafeName());
994     stringBuffer.append(TEXT_59);
995     stringBuffer.append(genFeature.getUpperName());
996     stringBuffer.append(TEXT_60);
997     }
998     }
999     }
1000    if (genClass.isESetField(genFeature)) {
1001    if (genClass.isESetFlag(genFeature)) {
1002    if (genClass.getESetFlagIndex(genFeature) > 31 && genClass.getESetFlagIndex(genFeature) % 32 == 0) {
1003    stringBuffer.append(TEXT_61);
1004    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1005    stringBuffer.append(TEXT_62);
1006    }
1007    stringBuffer.append(TEXT_63);
1008    stringBuffer.append(genFeature.getFormattedName());
1009    stringBuffer.append(TEXT_64);
1010    stringBuffer.append(genFeature.getFeatureKind());
1011    stringBuffer.append(TEXT_65);
1012    stringBuffer.append(genFeature.getUpperName());
1013    stringBuffer.append(TEXT_66);
1014    stringBuffer.append("<< " + genClass.getESetFlagIndex(genFeature) % 32 );
1015    stringBuffer.append(TEXT_67);
1016    } else {
1017    stringBuffer.append(TEXT_68);
1018    stringBuffer.append(genFeature.getFormattedName());
1019    stringBuffer.append(TEXT_69);
1020    stringBuffer.append(genFeature.getFeatureKind());
1021    stringBuffer.append(TEXT_70);
1022    stringBuffer.append(genFeature.getUncapName());
1023    stringBuffer.append(TEXT_71);
1024    }
1025    }
1026    }
1027    //Class/declaredFieldGenFeature.override.javajetinc
1028
}
1029    stringBuffer.append(TEXT_72);
1030    stringBuffer.append(genClass.getClassName());
1031    stringBuffer.append(TEXT_73);
1032    for (Iterator i=genClass.getFlagGenFeatures("true").iterator(); i.hasNext();) { GenFeature genFeature = (GenFeature)i.next();
1033    stringBuffer.append(TEXT_74);
1034    stringBuffer.append(genClass.getFlagsField(genFeature));
1035    stringBuffer.append(TEXT_75);
1036    stringBuffer.append(genFeature.getUpperName());
1037    stringBuffer.append(TEXT_76);
1038    }
1039    stringBuffer.append(TEXT_77);
1040    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EClass"));
1041    stringBuffer.append(TEXT_78);
1042    stringBuffer.append(genPackage.getImportedPackageInterfaceName());
1043    stringBuffer.append(TEXT_79);
1044    stringBuffer.append(genClass.getClassifierAccessorName());
1045    stringBuffer.append(TEXT_80);
1046    for (Iterator i=genClass.getImplementedGenFeatures().iterator(); i.hasNext();) { GenFeature genFeature = (GenFeature)i.next();
1047    if (genFeature.isGet()) {
1048    stringBuffer.append(TEXT_81);
1049    stringBuffer.append(genFeature.getImportedType());
1050    stringBuffer.append(TEXT_82);
1051    stringBuffer.append(genFeature.getGetAccessor());
1052    stringBuffer.append(TEXT_83);
1053    if (genModel.isReflectiveDelegation()) {
1054    stringBuffer.append(TEXT_84);
1055    if (genFeature.isPrimitiveType()) {
1056    stringBuffer.append(TEXT_85);
1057    }
1058    stringBuffer.append(TEXT_86);
1059    stringBuffer.append(genFeature.getObjectType());
1060    stringBuffer.append(TEXT_87);
1061    stringBuffer.append(genFeature.getGenPackage().getImportedPackageInterfaceName());
1062    stringBuffer.append(TEXT_88);
1063    stringBuffer.append(genFeature.getFeatureAccessorName());
1064    stringBuffer.append(TEXT_89);
1065    if (genFeature.isPrimitiveType()) {
1066    stringBuffer.append(TEXT_90);
1067    stringBuffer.append(genFeature.getPrimitiveValueFunction());
1068    stringBuffer.append(TEXT_91);
1069    }
1070    stringBuffer.append(TEXT_92);
1071    } else if (!genFeature.isVolatile()) {
1072    if (genFeature.isListType()) {
1073    stringBuffer.append(TEXT_93);
1074    stringBuffer.append(genFeature.getSafeName());
1075    stringBuffer.append(TEXT_94);
1076    stringBuffer.append(genFeature.getSafeName());
1077    stringBuffer.append(TEXT_95);
1078    stringBuffer.append(genClass.getListConstructor(genFeature));
1079    stringBuffer.append(TEXT_96);
1080    stringBuffer.append(genFeature.getSafeName());
1081    stringBuffer.append(genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes() ? ".map()" : "");
1082    stringBuffer.append(TEXT_97);
1083    } else if (genFeature.isContainer()) {
1084    stringBuffer.append(TEXT_98);
1085    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1086    stringBuffer.append(TEXT_99);
1087    stringBuffer.append(genFeature.getImportedType());
1088    stringBuffer.append(TEXT_100);
1089    } else {
1090    if (genFeature.isResolveProxies()) {
1091    stringBuffer.append(TEXT_101);
1092    stringBuffer.append(genFeature.getSafeName());
1093    stringBuffer.append(TEXT_102);
1094    stringBuffer.append(genFeature.getSafeNameAsEObject());
1095    stringBuffer.append(TEXT_103);
1096    stringBuffer.append(genFeature.getImportedType());
1097    stringBuffer.append(TEXT_104);
1098    stringBuffer.append(genFeature.getCapName());
1099    stringBuffer.append(TEXT_105);
1100    stringBuffer.append(genFeature.getSafeName());
1101    stringBuffer.append(TEXT_106);
1102    stringBuffer.append(genFeature.getSafeName());
1103    stringBuffer.append(TEXT_107);
1104    stringBuffer.append(genFeature.getImportedInternalType());
1105    stringBuffer.append(TEXT_108);
1106    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
1107    stringBuffer.append(TEXT_109);
1108    stringBuffer.append(genFeature.getSafeName());
1109    stringBuffer.append(TEXT_110);
1110    stringBuffer.append(genFeature.getSafeName());
1111    stringBuffer.append(TEXT_111);
1112    stringBuffer.append(genFeature.getCapName());
1113    stringBuffer.append(TEXT_112);
1114    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1115    stringBuffer.append(TEXT_113);
1116    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
1117    stringBuffer.append(TEXT_114);
1118    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1119    stringBuffer.append(TEXT_115);
1120    stringBuffer.append(genFeature.getCapName());
1121    stringBuffer.append(TEXT_116);
1122    stringBuffer.append(genFeature.getSafeName());
1123    stringBuffer.append(TEXT_117);
1124    }
1125    if (genClass.isFlag(genFeature)) {
1126    stringBuffer.append(TEXT_118);
1127    stringBuffer.append(genClass.getFlagsField(genFeature));
1128    stringBuffer.append(TEXT_119);
1129    stringBuffer.append(genFeature.getUpperName());
1130    stringBuffer.append(TEXT_120);
1131    } else {
1132    stringBuffer.append(TEXT_121);
1133    stringBuffer.append(genFeature.getSafeName());
1134    stringBuffer.append(TEXT_122);
1135    }
1136    }
1137    } else {//volatile
1138
if (genFeature.isResolveProxies() && !genFeature.isListType()) {
1139    stringBuffer.append(TEXT_123);
1140    stringBuffer.append(genFeature.getImportedType());
1141    stringBuffer.append(TEXT_124);
1142    stringBuffer.append(genFeature.getSafeName());
1143    stringBuffer.append(TEXT_125);
1144    stringBuffer.append(genFeature.getAccessorName());
1145    stringBuffer.append(TEXT_126);
1146    stringBuffer.append(genFeature.getSafeName());
1147    stringBuffer.append(TEXT_127);
1148    stringBuffer.append(genFeature.getImportedInternalType());
1149    stringBuffer.append(TEXT_128);
1150    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
1151    stringBuffer.append(TEXT_129);
1152    stringBuffer.append(genFeature.getSafeName());
1153    stringBuffer.append(TEXT_130);
1154    } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();
1155    if (genFeature.isFeatureMapType()) {
1156    if (delegateFeature.isWrappedFeatureMapType()) {
1157    stringBuffer.append(TEXT_131);
1158    stringBuffer.append(genFeature.getImportedEffectiveFeatureMapWrapperClass());
1159    stringBuffer.append(TEXT_132);
1160    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap$Internal"));
1161    stringBuffer.append(TEXT_133);
1162    stringBuffer.append(delegateFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
1163    stringBuffer.append(TEXT_134);
1164    stringBuffer.append(delegateFeature.getAccessorName());
1165    stringBuffer.append(TEXT_135);
1166    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1167    stringBuffer.append(TEXT_136);
1168    } else {
1169    stringBuffer.append(TEXT_137);
1170    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
1171    stringBuffer.append(TEXT_138);
1172    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
1173    stringBuffer.append(TEXT_139);
1174    stringBuffer.append(delegateFeature.getAccessorName());
1175    stringBuffer.append(TEXT_140);
1176    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1177    stringBuffer.append(TEXT_141);
1178    }
1179    } else if (genFeature.isListType()) {
1180    if (delegateFeature.isWrappedFeatureMapType()) {
1181    stringBuffer.append(TEXT_142);
1182    stringBuffer.append(delegateFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
1183    stringBuffer.append(TEXT_143);
1184    stringBuffer.append(delegateFeature.getAccessorName());
1185    stringBuffer.append(TEXT_144);
1186    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1187    stringBuffer.append(TEXT_145);
1188    } else {
1189    stringBuffer.append(TEXT_146);
1190    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
1191    stringBuffer.append(TEXT_147);
1192    stringBuffer.append(delegateFeature.getAccessorName());
1193    stringBuffer.append(TEXT_148);
1194    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1195    stringBuffer.append(TEXT_149);
1196    }
1197    } else {
1198    if (delegateFeature.isWrappedFeatureMapType()) {
1199    stringBuffer.append(TEXT_150);
1200    if (genFeature.isPrimitiveType()) {
1201    stringBuffer.append(TEXT_151);
1202    }
1203    stringBuffer.append(TEXT_152);
1204    stringBuffer.append(genFeature.getObjectType());
1205    stringBuffer.append(TEXT_153);
1206    stringBuffer.append(delegateFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
1207    stringBuffer.append(TEXT_154);
1208    stringBuffer.append(delegateFeature.getAccessorName());
1209    stringBuffer.append(TEXT_155);
1210    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1211    stringBuffer.append(TEXT_156);
1212    if (genFeature.isPrimitiveType()) {
1213    stringBuffer.append(TEXT_157);
1214    stringBuffer.append(genFeature.getPrimitiveValueFunction());
1215    stringBuffer.append(TEXT_158);
1216    }
1217    stringBuffer.append(TEXT_159);
1218    } else {
1219    stringBuffer.append(TEXT_160);
1220    if (genFeature.isPrimitiveType()) {
1221    stringBuffer.append(TEXT_161);
1222    }
1223    stringBuffer.append(TEXT_162);
1224    stringBuffer.append(genFeature.getObjectType());
1225    stringBuffer.append(TEXT_163);
1226    stringBuffer.append(delegateFeature.getAccessorName());
1227    stringBuffer.append(TEXT_164);
1228    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1229    stringBuffer.append(TEXT_165);
1230    if (genFeature.isPrimitiveType()) {
1231    stringBuffer.append(TEXT_166);
1232    stringBuffer.append(genFeature.getPrimitiveValueFunction());
1233    stringBuffer.append(TEXT_167);
1234    }
1235    stringBuffer.append(TEXT_168);
1236    }
1237    }
1238    } else {
1239    stringBuffer.append(TEXT_169);
1240    stringBuffer.append(genFeature.getFormattedName());
1241    stringBuffer.append(TEXT_170);
1242    stringBuffer.append(genFeature.getFeatureKind());
1243    stringBuffer.append(TEXT_171);
1244    //Class/getGenFeature.todo.override.javajetinc
1245
}
1246    }
1247    stringBuffer.append(TEXT_172);
1248    //Class/getGenFeature.override.javajetinc
1249
}
1250    if (genFeature.isBasicGet()) {
1251    stringBuffer.append(TEXT_173);
1252    stringBuffer.append(genFeature.getImportedType());
1253    stringBuffer.append(TEXT_174);
1254    stringBuffer.append(genFeature.getAccessorName());
1255    stringBuffer.append(TEXT_175);
1256    if (!genFeature.isVolatile()) {
1257    stringBuffer.append(TEXT_176);
1258    stringBuffer.append(genFeature.getSafeName());
1259    stringBuffer.append(TEXT_177);
1260    } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();
1261    if (delegateFeature.isWrappedFeatureMapType()) {
1262    stringBuffer.append(TEXT_178);
1263    stringBuffer.append(genFeature.getImportedType());
1264    stringBuffer.append(TEXT_179);
1265    stringBuffer.append(delegateFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
1266    stringBuffer.append(TEXT_180);
1267    stringBuffer.append(delegateFeature.getAccessorName());
1268    stringBuffer.append(TEXT_181);
1269    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1270    stringBuffer.append(TEXT_182);
1271    } else {
1272    stringBuffer.append(TEXT_183);
1273    stringBuffer.append(genFeature.getImportedType());
1274    stringBuffer.append(TEXT_184);
1275    stringBuffer.append(delegateFeature.getAccessorName());
1276    stringBuffer.append(TEXT_185);
1277    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1278    stringBuffer.append(TEXT_186);
1279    }
1280    } else {
1281    stringBuffer.append(TEXT_187);
1282    stringBuffer.append(genFeature.getFormattedName());
1283    stringBuffer.append(TEXT_188);
1284    stringBuffer.append(genFeature.getFeatureKind());
1285    stringBuffer.append(TEXT_189);
1286    //Class/basicGetGenFeature.todo.override.javajetinc
1287
}
1288    stringBuffer.append(TEXT_190);
1289    //Class/basicGetGenFeature.override.javajetinc
1290
}
1291    if (genFeature.isBasicSet()) {
1292    stringBuffer.append(TEXT_191);
1293    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
1294    stringBuffer.append(TEXT_192);
1295    stringBuffer.append(genFeature.getAccessorName());
1296    stringBuffer.append(TEXT_193);
1297    stringBuffer.append(genFeature.getImportedInternalType());
1298    stringBuffer.append(TEXT_194);
1299    stringBuffer.append(genFeature.getCapName());
1300    stringBuffer.append(TEXT_195);
1301    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
1302    stringBuffer.append(TEXT_196);
1303    if (!genFeature.isVolatile()) {
1304    stringBuffer.append(TEXT_197);
1305    stringBuffer.append(genFeature.getImportedType());
1306    stringBuffer.append(TEXT_198);
1307    stringBuffer.append(genFeature.getCapName());
1308    stringBuffer.append(TEXT_199);
1309    stringBuffer.append(genFeature.getSafeName());
1310    stringBuffer.append(TEXT_200);
1311    stringBuffer.append(genFeature.getSafeName());
1312    stringBuffer.append(TEXT_201);
1313    stringBuffer.append(genFeature.getCapName());
1314    stringBuffer.append(TEXT_202);
1315    if (genFeature.isUnsettable()) {
1316    if (genClass.isESetFlag(genFeature)) {
1317    stringBuffer.append(TEXT_203);
1318    stringBuffer.append(genFeature.getCapName());
1319    stringBuffer.append(TEXT_204);
1320    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1321    stringBuffer.append(TEXT_205);
1322    stringBuffer.append(genFeature.getUpperName());
1323    stringBuffer.append(TEXT_206);
1324    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1325    stringBuffer.append(TEXT_207);
1326    stringBuffer.append(genFeature.getUpperName());
1327    stringBuffer.append(TEXT_208);
1328    } else {
1329    stringBuffer.append(TEXT_209);
1330    stringBuffer.append(genFeature.getCapName());
1331    stringBuffer.append(TEXT_210);
1332    stringBuffer.append(genFeature.getUncapName());
1333    stringBuffer.append(TEXT_211);
1334    stringBuffer.append(genFeature.getUncapName());
1335    stringBuffer.append(TEXT_212);
1336    }
1337    }
1338    stringBuffer.append(TEXT_213);
1339    if (genFeature.isUnsettable()) {
1340    stringBuffer.append(TEXT_214);
1341    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1342    stringBuffer.append(TEXT_215);
1343    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1344    stringBuffer.append(TEXT_216);
1345    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
1346    stringBuffer.append(TEXT_217);
1347    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1348    stringBuffer.append(TEXT_218);
1349    stringBuffer.append(genFeature.getCapName());
1350    stringBuffer.append(TEXT_219);
1351    stringBuffer.append(genFeature.getCapName());
1352    stringBuffer.append(TEXT_220);
1353    stringBuffer.append(genFeature.getCapName());
1354    stringBuffer.append(TEXT_221);
1355    } else {
1356    stringBuffer.append(TEXT_222);
1357    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1358    stringBuffer.append(TEXT_223);
1359    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1360    stringBuffer.append(TEXT_224);
1361    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
1362    stringBuffer.append(TEXT_225);
1363    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1364    stringBuffer.append(TEXT_226);
1365    stringBuffer.append(genFeature.getCapName());
1366    stringBuffer.append(TEXT_227);
1367    stringBuffer.append(genFeature.getCapName());
1368    stringBuffer.append(TEXT_228);
1369    }
1370    stringBuffer.append(TEXT_229);
1371    stringBuffer.append(TEXT_230);
1372    } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();
1373    if (delegateFeature.isWrappedFeatureMapType()) {
1374    stringBuffer.append(TEXT_231);
1375    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
1376    stringBuffer.append(TEXT_232);
1377    stringBuffer.append(delegateFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
1378    stringBuffer.append(TEXT_233);
1379    stringBuffer.append(delegateFeature.getAccessorName());
1380    stringBuffer.append(TEXT_234);
1381    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1382    stringBuffer.append(TEXT_235);
1383    stringBuffer.append(genFeature.getCapName());
1384    stringBuffer.append(TEXT_236);
1385    } else {
1386    stringBuffer.append(TEXT_237);
1387    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
1388    stringBuffer.append(TEXT_238);
1389    stringBuffer.append(delegateFeature.getAccessorName());
1390    stringBuffer.append(TEXT_239);
1391    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1392    stringBuffer.append(TEXT_240);
1393    stringBuffer.append(genFeature.getCapName());
1394    stringBuffer.append(TEXT_241);
1395    }
1396    } else {
1397    stringBuffer.append(TEXT_242);
1398    stringBuffer.append(genFeature.getFormattedName());
1399    stringBuffer.append(TEXT_243);
1400    stringBuffer.append(genFeature.getFeatureKind());
1401    stringBuffer.append(TEXT_244);
1402    //Class/basicSetGenFeature.todo.override.javajetinc
1403
}
1404    stringBuffer.append(TEXT_245);
1405    //Class/basicSetGenFeature.override.javajetinc
1406
}
1407    if (genFeature.isSet()) {
1408    stringBuffer.append(TEXT_246);
1409    stringBuffer.append(genFeature.getAccessorName());
1410    stringBuffer.append(TEXT_247);
1411    stringBuffer.append(genFeature.getImportedType());
1412    stringBuffer.append(TEXT_248);
1413    stringBuffer.append(genFeature.getCapName());
1414    stringBuffer.append(TEXT_249);
1415    if (genModel.isReflectiveDelegation()) {
1416    stringBuffer.append(TEXT_250);
1417    stringBuffer.append(genFeature.getGenPackage().getImportedPackageInterfaceName());
1418    stringBuffer.append(TEXT_251);
1419    stringBuffer.append(genFeature.getFeatureAccessorName());
1420    stringBuffer.append(TEXT_252);
1421    if (genFeature.isPrimitiveType()) {
1422    stringBuffer.append(TEXT_253);
1423    stringBuffer.append(genFeature.getObjectType());
1424    stringBuffer.append(TEXT_254);
1425    }
1426    stringBuffer.append(TEXT_255);
1427    stringBuffer.append(genFeature.getCapName());
1428    if (genFeature.isPrimitiveType()) {
1429    stringBuffer.append(TEXT_256);
1430    }
1431    stringBuffer.append(TEXT_257);
1432    } else if (!genFeature.isVolatile()) {
1433    if (genFeature.isContainer()) { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass();
1434    stringBuffer.append(TEXT_258);
1435    stringBuffer.append(genFeature.getCapName());
1436    stringBuffer.append(TEXT_259);
1437    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1438    stringBuffer.append(TEXT_260);
1439    stringBuffer.append(genFeature.getCapName());
1440    stringBuffer.append(TEXT_261);
1441    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EcoreUtil"));
1442    stringBuffer.append(TEXT_262);
1443    stringBuffer.append(genFeature.getEObjectCast());
1444    stringBuffer.append(TEXT_263);
1445    stringBuffer.append(genFeature.getCapName());
1446    stringBuffer.append(TEXT_264);
1447    stringBuffer.append(genModel.getImportedName("java.lang.IllegalArgumentException"));
1448    stringBuffer.append(TEXT_265);
1449    stringBuffer.append(genModel.getNonNLS());
1450    stringBuffer.append(TEXT_266);
1451    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
1452    stringBuffer.append(TEXT_267);
1453    stringBuffer.append(genFeature.getCapName());
1454    stringBuffer.append(TEXT_268);
1455    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
1456    stringBuffer.append(TEXT_269);
1457    stringBuffer.append(genFeature.getCapName());
1458    stringBuffer.append(TEXT_270);
1459    stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
1460    stringBuffer.append(TEXT_271);
1461    stringBuffer.append(targetClass.getImportedInterfaceName());
1462    stringBuffer.append(TEXT_272);
1463    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
1464    stringBuffer.append(TEXT_273);
1465    stringBuffer.append(genFeature.getCapName());
1466    stringBuffer.append(TEXT_274);
1467    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1468    stringBuffer.append(TEXT_275);
1469    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1470    stringBuffer.append(TEXT_276);
1471    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
1472    stringBuffer.append(TEXT_277);
1473    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1474    stringBuffer.append(TEXT_278);
1475    stringBuffer.append(genFeature.getCapName());
1476    stringBuffer.append(TEXT_279);
1477    stringBuffer.append(genFeature.getCapName());
1478    stringBuffer.append(TEXT_280);
1479    } else if (genFeature.isBidirectional() || genFeature.isContains()) {
1480    stringBuffer.append(TEXT_281);
1481    stringBuffer.append(genFeature.getCapName());
1482    stringBuffer.append(TEXT_282);
1483    stringBuffer.append(genFeature.getSafeName());
1484    stringBuffer.append(TEXT_283);
1485    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
1486    stringBuffer.append(TEXT_284);
1487    stringBuffer.append(genFeature.getSafeName());
1488    stringBuffer.append(TEXT_285);
1489    if (!genFeature.isBidirectional()) {
1490    stringBuffer.append(TEXT_286);
1491    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
1492    stringBuffer.append(TEXT_287);
1493    stringBuffer.append(genFeature.getSafeName());
1494    stringBuffer.append(TEXT_288);
1495    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1496    stringBuffer.append(TEXT_289);
1497    stringBuffer.append(genFeature.getCapName());
1498    stringBuffer.append(TEXT_290);
1499    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
1500    stringBuffer.append(TEXT_291);
1501    stringBuffer.append(genFeature.getCapName());
1502    stringBuffer.append(TEXT_292);
1503    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1504    stringBuffer.append(TEXT_293);
1505    } else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass();
1506    stringBuffer.append(TEXT_294);
1507    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
1508    stringBuffer.append(TEXT_295);
1509    stringBuffer.append(genFeature.getSafeName());
1510    stringBuffer.append(TEXT_296);
1511    stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
1512    stringBuffer.append(TEXT_297);
1513    stringBuffer.append(targetClass.getImportedInterfaceName());
1514    stringBuffer.append(TEXT_298);
1515    stringBuffer.append(genFeature.getCapName());
1516    stringBuffer.append(TEXT_299);
1517    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
1518    stringBuffer.append(TEXT_300);
1519    stringBuffer.append(genFeature.getCapName());
1520    stringBuffer.append(TEXT_301);
1521    stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
1522    stringBuffer.append(TEXT_302);
1523    stringBuffer.append(targetClass.getImportedInterfaceName());
1524    stringBuffer.append(TEXT_303);
1525    }
1526    stringBuffer.append(TEXT_304);
1527    stringBuffer.append(genFeature.getAccessorName());
1528    stringBuffer.append(TEXT_305);
1529    stringBuffer.append(genFeature.getInternalTypeCast());
1530    stringBuffer.append(TEXT_306);
1531    stringBuffer.append(genFeature.getCapName());
1532    stringBuffer.append(TEXT_307);
1533    if (genFeature.isUnsettable()) {
1534    stringBuffer.append(TEXT_308);
1535    if (genClass.isESetFlag(genFeature)) {
1536    stringBuffer.append(TEXT_309);
1537    stringBuffer.append(genFeature.getCapName());
1538    stringBuffer.append(TEXT_310);
1539    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1540    stringBuffer.append(TEXT_311);
1541    stringBuffer.append(genFeature.getUpperName());
1542    stringBuffer.append(TEXT_312);
1543    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1544    stringBuffer.append(TEXT_313);
1545    stringBuffer.append(genFeature.getUpperName());
1546    stringBuffer.append(TEXT_314);
1547    } else {
1548    stringBuffer.append(TEXT_315);
1549    stringBuffer.append(genFeature.getCapName());
1550    stringBuffer.append(TEXT_316);
1551    stringBuffer.append(genFeature.getUncapName());
1552    stringBuffer.append(TEXT_317);
1553    stringBuffer.append(genFeature.getUncapName());
1554    stringBuffer.append(TEXT_318);
1555    }
1556    stringBuffer.append(TEXT_319);
1557    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1558    stringBuffer.append(TEXT_320);
1559    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
1560    stringBuffer.append(TEXT_321);
1561    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1562    stringBuffer.append(TEXT_322);
1563    stringBuffer.append(genFeature.getCapName());
1564    stringBuffer.append(TEXT_323);
1565    stringBuffer.append(genFeature.getCapName());
1566    stringBuffer.append(TEXT_324);
1567    stringBuffer.append(genFeature.getCapName());
1568    stringBuffer.append(TEXT_325);
1569    } else {
1570    stringBuffer.append(TEXT_326);
1571    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1572    stringBuffer.append(TEXT_327);
1573    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
1574    stringBuffer.append(TEXT_328);
1575    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1576    stringBuffer.append(TEXT_329);
1577    stringBuffer.append(genFeature.getCapName());
1578    stringBuffer.append(TEXT_330);
1579    stringBuffer.append(genFeature.getCapName());
1580    stringBuffer.append(TEXT_331);
1581    }
1582    } else {
1583    if (genClass.isFlag(genFeature)) {
1584    stringBuffer.append(TEXT_332);
1585    stringBuffer.append(genFeature.getImportedType());
1586    stringBuffer.append(TEXT_333);
1587    stringBuffer.append(genFeature.getCapName());
1588    stringBuffer.append(TEXT_334);
1589    stringBuffer.append(genClass.getFlagsField(genFeature));
1590    stringBuffer.append(TEXT_335);
1591    stringBuffer.append(genFeature.getUpperName());
1592    stringBuffer.append(TEXT_336);
1593    stringBuffer.append(genFeature.getCapName());
1594    stringBuffer.append(TEXT_337);
1595    stringBuffer.append(genClass.getFlagsField(genFeature));
1596    stringBuffer.append(TEXT_338);
1597    stringBuffer.append(genFeature.getUpperName());
1598    stringBuffer.append(TEXT_339);
1599    stringBuffer.append(genClass.getFlagsField(genFeature));
1600    stringBuffer.append(TEXT_340);
1601    stringBuffer.append(genFeature.getUpperName());
1602    stringBuffer.append(TEXT_341);
1603    } else {
1604    stringBuffer.append(TEXT_342);
1605    stringBuffer.append(genFeature.getImportedType());
1606    stringBuffer.append(TEXT_343);
1607    stringBuffer.append(genFeature.getCapName());
1608    stringBuffer.append(TEXT_344);
1609    stringBuffer.append(genFeature.getSafeName());
1610    stringBuffer.append(TEXT_345);
1611    if (genFeature.isEnumType()) {
1612    stringBuffer.append(TEXT_346);
1613    stringBuffer.append(genFeature.getSafeName());
1614    stringBuffer.append(TEXT_347);
1615    stringBuffer.append(genFeature.getCapName());
1616    stringBuffer.append(TEXT_348);
1617    stringBuffer.append(genFeature.getUpperName());
1618    stringBuffer.append(TEXT_349);
1619    stringBuffer.append(genFeature.getCapName());
1620    stringBuffer.append(TEXT_350);
1621    } else {
1622    stringBuffer.append(TEXT_351);
1623    stringBuffer.append(genFeature.getSafeName());
1624    stringBuffer.append(TEXT_352);
1625    stringBuffer.append(genFeature.getInternalTypeCast());
1626    stringBuffer.append(TEXT_353);
1627    stringBuffer.append(genFeature.getCapName());
1628    stringBuffer.append(TEXT_354);
1629    }
1630    }
1631    if (genFeature.isUnsettable()) {
1632    if (genClass.isESetFlag(genFeature)) {
1633    stringBuffer.append(TEXT_355);
1634    stringBuffer.append(genFeature.getCapName());
1635    stringBuffer.append(TEXT_356);
1636    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1637    stringBuffer.append(TEXT_357);
1638    stringBuffer.append(genFeature.getUpperName());
1639    stringBuffer.append(TEXT_358);
1640    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1641    stringBuffer.append(TEXT_359);
1642    stringBuffer.append(genFeature.getUpperName());
1643    stringBuffer.append(TEXT_360);
1644    } else {
1645    stringBuffer.append(TEXT_361);
1646    stringBuffer.append(genFeature.getCapName());
1647    stringBuffer.append(TEXT_362);
1648    stringBuffer.append(genFeature.getUncapName());
1649    stringBuffer.append(TEXT_363);
1650    stringBuffer.append(genFeature.getUncapName());
1651    stringBuffer.append(TEXT_364);
1652    }
1653    stringBuffer.append(TEXT_365);
1654    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1655    stringBuffer.append(TEXT_366);
1656    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
1657    stringBuffer.append(TEXT_367);
1658    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1659    stringBuffer.append(TEXT_368);
1660    stringBuffer.append(genFeature.getCapName());
1661    stringBuffer.append(TEXT_369);
1662    if (genClass.isFlag(genFeature)) {
1663    stringBuffer.append(TEXT_370);
1664    stringBuffer.append(genFeature.getCapName());
1665    } else {
1666    stringBuffer.append(genFeature.getSafeName());
1667    }
1668    stringBuffer.append(TEXT_371);
1669    stringBuffer.append(genFeature.getCapName());
1670    stringBuffer.append(TEXT_372);
1671    } else {
1672    stringBuffer.append(TEXT_373);
1673    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1674    stringBuffer.append(TEXT_374);
1675    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
1676    stringBuffer.append(TEXT_375);
1677    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1678    stringBuffer.append(TEXT_376);
1679    stringBuffer.append(genFeature.getCapName());
1680    stringBuffer.append(TEXT_377);
1681    if (genClass.isFlag(genFeature)) {
1682    stringBuffer.append(TEXT_378);
1683    stringBuffer.append(genFeature.getCapName());
1684    } else {
1685    stringBuffer.append(genFeature.getSafeName());
1686    }
1687    stringBuffer.append(TEXT_379);
1688    }
1689    }
1690    } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();
1691    if (delegateFeature.isWrappedFeatureMapType()) {
1692    stringBuffer.append(TEXT_380);
1693    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
1694    stringBuffer.append(TEXT_381);
1695    stringBuffer.append(delegateFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
1696    stringBuffer.append(TEXT_382);
1697    stringBuffer.append(delegateFeature.getAccessorName());
1698    stringBuffer.append(TEXT_383);
1699    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1700    stringBuffer.append(TEXT_384);
1701    if (genFeature.isPrimitiveType()) {
1702    stringBuffer.append(TEXT_385);
1703    stringBuffer.append(genFeature.getObjectType());
1704    stringBuffer.append(TEXT_386);
1705    }
1706    stringBuffer.append(TEXT_387);
1707    stringBuffer.append(genFeature.getCapName());
1708    if (genFeature.isPrimitiveType()) {
1709    stringBuffer.append(TEXT_388);
1710    }
1711    stringBuffer.append(TEXT_389);
1712    } else {
1713    stringBuffer.append(TEXT_390);
1714    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
1715    stringBuffer.append(TEXT_391);
1716    stringBuffer.append(delegateFeature.getAccessorName());
1717    stringBuffer.append(TEXT_392);
1718    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1719    stringBuffer.append(TEXT_393);
1720    if (genFeature.isPrimitiveType()) {
1721    stringBuffer.append(TEXT_394);
1722    stringBuffer.append(genFeature.getObjectType());
1723    stringBuffer.append(TEXT_395);
1724    }
1725    stringBuffer.append(TEXT_396);
1726    stringBuffer.append(genFeature.getCapName());
1727    if (genFeature.isPrimitiveType()) {
1728    stringBuffer.append(TEXT_397);
1729    }
1730    stringBuffer.append(TEXT_398);
1731    }
1732    } else {
1733    stringBuffer.append(TEXT_399);
1734    stringBuffer.append(genFeature.getFormattedName());
1735    stringBuffer.append(TEXT_400);
1736    stringBuffer.append(genFeature.getFeatureKind());
1737    stringBuffer.append(TEXT_401);
1738    //Class/setGenFeature.todo.override.javajetinc
1739
}
1740    stringBuffer.append(TEXT_402);
1741    //Class/setGenFeature.override.javajetinc
1742
}
1743    if (genFeature.isBasicUnset()) {
1744    stringBuffer.append(TEXT_403);
1745    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
1746    stringBuffer.append(TEXT_404);
1747    stringBuffer.append(genFeature.getAccessorName());
1748    stringBuffer.append(TEXT_405);
1749    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
1750    stringBuffer.append(TEXT_406);
1751    if (!genFeature.isVolatile()) {
1752    stringBuffer.append(TEXT_407);
1753    stringBuffer.append(genFeature.getImportedType());
1754    stringBuffer.append(TEXT_408);
1755    stringBuffer.append(genFeature.getCapName());
1756    stringBuffer.append(TEXT_409);
1757    stringBuffer.append(genFeature.getSafeName());
1758    stringBuffer.append(TEXT_410);
1759    stringBuffer.append(genFeature.getSafeName());
1760    stringBuffer.append(TEXT_411);
1761    if (genClass.isESetFlag(genFeature)) {
1762    stringBuffer.append(TEXT_412);
1763    stringBuffer.append(genFeature.getCapName());
1764    stringBuffer.append(TEXT_413);
1765    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1766    stringBuffer.append(TEXT_414);
1767    stringBuffer.append(genFeature.getUpperName());
1768    stringBuffer.append(TEXT_415);
1769    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1770    stringBuffer.append(TEXT_416);
1771    stringBuffer.append(genFeature.getUpperName());
1772    stringBuffer.append(TEXT_417);
1773    } else {
1774    stringBuffer.append(TEXT_418);
1775    stringBuffer.append(genFeature.getCapName());
1776    stringBuffer.append(TEXT_419);
1777    stringBuffer.append(genFeature.getUncapName());
1778    stringBuffer.append(TEXT_420);
1779    stringBuffer.append(genFeature.getUncapName());
1780    stringBuffer.append(TEXT_421);
1781    }
1782    stringBuffer.append(TEXT_422);
1783    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1784    stringBuffer.append(TEXT_423);
1785    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1786    stringBuffer.append(TEXT_424);
1787    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
1788    stringBuffer.append(TEXT_425);
1789    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1790    stringBuffer.append(TEXT_426);
1791    stringBuffer.append(genFeature.getCapName());
1792    stringBuffer.append(TEXT_427);
1793    stringBuffer.append(genFeature.getCapName());
1794    stringBuffer.append(TEXT_428);
1795    } else {
1796    stringBuffer.append(TEXT_429);
1797    stringBuffer.append(genFeature.getFormattedName());
1798    stringBuffer.append(TEXT_430);
1799    stringBuffer.append(genFeature.getFeatureKind());
1800    stringBuffer.append(TEXT_431);
1801    //Class/basicUnsetGenFeature.todo.override.javajetinc
1802
}
1803    stringBuffer.append(TEXT_432);
1804    //Class.basicUnsetGenFeature.override.javajetinc
1805
}
1806    if (genFeature.isUnset()) {
1807    stringBuffer.append(TEXT_433);
1808    stringBuffer.append(genFeature.getAccessorName());
1809    stringBuffer.append(TEXT_434);
1810    if (genModel.isReflectiveDelegation()) {
1811    stringBuffer.append(TEXT_435);
1812    stringBuffer.append(genFeature.getGenPackage().getImportedPackageInterfaceName());
1813    stringBuffer.append(TEXT_436);
1814    stringBuffer.append(genFeature.getFeatureAccessorName());
1815    stringBuffer.append(TEXT_437);
1816    } else if (!genFeature.isVolatile()) {
1817    if (genFeature.isListType()) {
1818    stringBuffer.append(TEXT_438);
1819    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
1820    stringBuffer.append(TEXT_439);
1821    stringBuffer.append(genFeature.getAccessorName());
1822    stringBuffer.append(TEXT_440);
1823    } else if (genFeature.isBidirectional() || genFeature.isContains()) {
1824    stringBuffer.append(TEXT_441);
1825    stringBuffer.append(genFeature.getSafeName());
1826    stringBuffer.append(TEXT_442);
1827    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
1828    stringBuffer.append(TEXT_443);
1829    if (!genFeature.isBidirectional()) {
1830    stringBuffer.append(TEXT_444);
1831    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
1832    stringBuffer.append(TEXT_445);
1833    stringBuffer.append(genFeature.getSafeName());
1834    stringBuffer.append(TEXT_446);
1835    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1836    stringBuffer.append(TEXT_447);
1837    } else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass();
1838    stringBuffer.append(TEXT_448);
1839    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
1840    stringBuffer.append(TEXT_449);
1841    stringBuffer.append(genFeature.getSafeName());
1842    stringBuffer.append(TEXT_450);
1843    stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
1844    stringBuffer.append(TEXT_451);
1845    stringBuffer.append(targetClass.getImportedInterfaceName());
1846    stringBuffer.append(TEXT_452);
1847    }
1848    stringBuffer.append(TEXT_453);
1849    stringBuffer.append(genFeature.getAccessorName());
1850    stringBuffer.append(TEXT_454);
1851    if (genClass.isESetFlag(genFeature)) {
1852    stringBuffer.append(TEXT_455);
1853    stringBuffer.append(genFeature.getCapName());
1854    stringBuffer.append(TEXT_456);
1855    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1856    stringBuffer.append(TEXT_457);
1857    stringBuffer.append(genFeature.getUpperName());
1858    stringBuffer.append(TEXT_458);
1859    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1860    stringBuffer.append(TEXT_459);
1861    stringBuffer.append(genFeature.getUpperName());
1862    stringBuffer.append(TEXT_460);
1863    } else {
1864    stringBuffer.append(TEXT_461);
1865    stringBuffer.append(genFeature.getCapName());
1866    stringBuffer.append(TEXT_462);
1867    stringBuffer.append(genFeature.getUncapName());
1868    stringBuffer.append(TEXT_463);
1869    stringBuffer.append(genFeature.getUncapName());
1870    stringBuffer.append(TEXT_464);
1871    }
1872    stringBuffer.append(TEXT_465);
1873    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1874    stringBuffer.append(TEXT_466);
1875    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
1876    stringBuffer.append(TEXT_467);
1877    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1878    stringBuffer.append(TEXT_468);
1879    stringBuffer.append(genFeature.getCapName());
1880    stringBuffer.append(TEXT_469);
1881    } else {
1882    if (genClass.isFlag(genFeature)) {
1883    stringBuffer.append(TEXT_470);
1884    stringBuffer.append(genFeature.getImportedType());
1885    stringBuffer.append(TEXT_471);
1886    stringBuffer.append(genFeature.getCapName());
1887    stringBuffer.append(TEXT_472);
1888    stringBuffer.append(genClass.getFlagsField(genFeature));
1889    stringBuffer.append(TEXT_473);
1890    stringBuffer.append(genFeature.getUpperName());
1891    stringBuffer.append(TEXT_474);
1892    } else {
1893    stringBuffer.append(TEXT_475);
1894    stringBuffer.append(genFeature.getImportedType());
1895    stringBuffer.append(TEXT_476);
1896    stringBuffer.append(genFeature.getCapName());
1897    stringBuffer.append(TEXT_477);
1898    stringBuffer.append(genFeature.getSafeName());
1899    stringBuffer.append(TEXT_478);
1900    }
1901    if (genClass.isESetFlag(genFeature)) {
1902    stringBuffer.append(TEXT_479);
1903    stringBuffer.append(genFeature.getCapName());
1904    stringBuffer.append(TEXT_480);
1905    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1906    stringBuffer.append(TEXT_481);
1907    stringBuffer.append(genFeature.getUpperName());
1908    stringBuffer.append(TEXT_482);
1909    } else {
1910    stringBuffer.append(TEXT_483);
1911    stringBuffer.append(genFeature.getCapName());
1912    stringBuffer.append(TEXT_484);
1913    stringBuffer.append(genFeature.getUncapName());
1914    stringBuffer.append(TEXT_485);
1915    }
1916    if (genFeature.isReferenceType()) {
1917    stringBuffer.append(TEXT_486);
1918    stringBuffer.append(genFeature.getSafeName());
1919    stringBuffer.append(TEXT_487);
1920    if (genClass.isESetFlag(genFeature)) {
1921    stringBuffer.append(TEXT_488);
1922    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1923    stringBuffer.append(TEXT_489);
1924    stringBuffer.append(genFeature.getUpperName());
1925    stringBuffer.append(TEXT_490);
1926    } else {
1927    stringBuffer.append(TEXT_491);
1928    stringBuffer.append(genFeature.getUncapName());
1929    stringBuffer.append(TEXT_492);
1930    }
1931    stringBuffer.append(TEXT_493);
1932    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1933    stringBuffer.append(TEXT_494);
1934    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
1935    stringBuffer.append(TEXT_495);
1936    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1937    stringBuffer.append(TEXT_496);
1938    stringBuffer.append(genFeature.getCapName());
1939    stringBuffer.append(TEXT_497);
1940    stringBuffer.append(genFeature.getCapName());
1941    stringBuffer.append(TEXT_498);
1942    } else {
1943    if (genClass.isFlag(genFeature)) {
1944    stringBuffer.append(TEXT_499);
1945    stringBuffer.append(genFeature.getUpperName());
1946    stringBuffer.append(TEXT_500);
1947    stringBuffer.append(genClass.getFlagsField(genFeature));
1948    stringBuffer.append(TEXT_501);
1949    stringBuffer.append(genFeature.getUpperName());
1950    stringBuffer.append(TEXT_502);
1951    stringBuffer.append(genClass.getFlagsField(genFeature));
1952    stringBuffer.append(TEXT_503);
1953    stringBuffer.append(genFeature.getUpperName());
1954    stringBuffer.append(TEXT_504);
1955    } else {
1956    stringBuffer.append(TEXT_505);
1957    stringBuffer.append(genFeature.getSafeName());
1958    stringBuffer.append(TEXT_506);
1959    stringBuffer.append(genFeature.getUpperName());
1960    stringBuffer.append(TEXT_507);
1961    }
1962    if (genClass.isESetFlag(genFeature)) {
1963    stringBuffer.append(TEXT_508);
1964    stringBuffer.append(genClass.getESetFlagsField(genFeature));
1965    stringBuffer.append(TEXT_509);
1966    stringBuffer.append(genFeature.getUpperName());
1967    stringBuffer.append(TEXT_510);
1968    } else {
1969    stringBuffer.append(TEXT_511);
1970    stringBuffer.append(genFeature.getUncapName());
1971    stringBuffer.append(TEXT_512);
1972    }
1973    stringBuffer.append(TEXT_513);
1974    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.impl.ENotificationImpl"));
1975    stringBuffer.append(TEXT_514);
1976    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.Notification"));
1977    stringBuffer.append(TEXT_515);
1978    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
1979    stringBuffer.append(TEXT_516);
1980    stringBuffer.append(genFeature.getCapName());
1981    stringBuffer.append(TEXT_517);
1982    stringBuffer.append(genFeature.getUpperName());
1983    stringBuffer.append(TEXT_518);
1984    stringBuffer.append(genFeature.getCapName());
1985    stringBuffer.append(TEXT_519);
1986    }
1987    }
1988    } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();
1989    if (delegateFeature.isWrappedFeatureMapType()) {
1990    stringBuffer.append(TEXT_520);
1991    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
1992    stringBuffer.append(TEXT_521);
1993    stringBuffer.append(delegateFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
1994    stringBuffer.append(TEXT_522);
1995    stringBuffer.append(delegateFeature.getAccessorName());
1996    stringBuffer.append(TEXT_523);
1997    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
1998    stringBuffer.append(TEXT_524);
1999    } else {
2000    stringBuffer.append(TEXT_525);
2001    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
2002    stringBuffer.append(TEXT_526);
2003    stringBuffer.append(delegateFeature.getAccessorName());
2004    stringBuffer.append(TEXT_527);
2005    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
2006    stringBuffer.append(TEXT_528);
2007    }
2008    } else {
2009    stringBuffer.append(TEXT_529);
2010    stringBuffer.append(genFeature.getFormattedName());
2011    stringBuffer.append(TEXT_530);
2012    stringBuffer.append(genFeature.getFeatureKind());
2013    stringBuffer.append(TEXT_531);
2014    //Class/unsetGenFeature.todo.override.javajetinc
2015
}
2016    stringBuffer.append(TEXT_532);
2017    //Class/unsetGenFeature.override.javajetinc
2018
}
2019    if (genFeature.isIsSet()) {
2020    stringBuffer.append(TEXT_533);
2021    stringBuffer.append(genFeature.getAccessorName());
2022    stringBuffer.append(TEXT_534);
2023    if (genModel.isReflectiveDelegation()) {
2024    stringBuffer.append(TEXT_535);
2025    stringBuffer.append(genFeature.getGenPackage().getImportedPackageInterfaceName());
2026    stringBuffer.append(TEXT_536);
2027    stringBuffer.append(genFeature.getFeatureAccessorName());
2028    stringBuffer.append(TEXT_537);
2029    } else if (!genFeature.isVolatile()) {
2030    if (genFeature.isListType()) {
2031    stringBuffer.append(TEXT_538);
2032    stringBuffer.append(genFeature.getSafeName());
2033    stringBuffer.append(TEXT_539);
2034    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
2035    stringBuffer.append(TEXT_540);
2036    stringBuffer.append(genFeature.getSafeName());
2037    stringBuffer.append(TEXT_541);
2038    } else {
2039    if (genClass.isESetFlag(genFeature)) {
2040    stringBuffer.append(TEXT_542);
2041    stringBuffer.append(genClass.getESetFlagsField(genFeature));
2042    stringBuffer.append(TEXT_543);
2043    stringBuffer.append(genFeature.getUpperName());
2044    stringBuffer.append(TEXT_544);
2045    } else {
2046    stringBuffer.append(TEXT_545);
2047    stringBuffer.append(genFeature.getUncapName());
2048    stringBuffer.append(TEXT_546);
2049    }
2050    }
2051    } else if (genFeature.hasDelegateFeature()) { GenFeature delegateFeature = genFeature.getDelegateFeature();
2052    if (delegateFeature.isWrappedFeatureMapType()) {
2053    stringBuffer.append(TEXT_547);
2054    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
2055    stringBuffer.append(TEXT_548);
2056    stringBuffer.append(delegateFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
2057    stringBuffer.append(TEXT_549);
2058    stringBuffer.append(delegateFeature.getAccessorName());
2059    stringBuffer.append(TEXT_550);
2060    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
2061    stringBuffer.append(TEXT_551);
2062    } else {
2063    stringBuffer.append(TEXT_552);
2064    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.FeatureMap"));
2065    stringBuffer.append(TEXT_553);
2066    stringBuffer.append(delegateFeature.getAccessorName());
2067    stringBuffer.append(TEXT_554);
2068    stringBuffer.append(genFeature.getQualifiedFeatureAccessorName());
2069    stringBuffer.append(TEXT_555);
2070    }
2071    } else {
2072    stringBuffer.append(TEXT_556);
2073    stringBuffer.append(genFeature.getFormattedName());
2074    stringBuffer.append(TEXT_557);
2075    stringBuffer.append(genFeature.getFeatureKind());
2076    stringBuffer.append(TEXT_558);
2077    //Class/isSetGenFeature.todo.override.javajetinc
2078
}
2079    stringBuffer.append(TEXT_559);
2080    //Class/isSetGenFeature.override.javajetinc
2081
}
2082    //Class/implementedGenFeature.override.javajetinc
2083
}//for
2084
for (Iterator i=genClass.getImplementedGenOperations().iterator(); i.hasNext();) { GenOperation genOperation = (GenOperation)i.next();
2085    stringBuffer.append(TEXT_560);
2086    stringBuffer.append(genOperation.getImportedType());
2087    stringBuffer.append(TEXT_561);
2088    stringBuffer.append(genOperation.getName());
2089    stringBuffer.append(TEXT_562);
2090    stringBuffer.append(genOperation.getParameters());
2091    stringBuffer.append(TEXT_563);
2092    stringBuffer.append(genOperation.getThrows());
2093    stringBuffer.append(TEXT_564);
2094    if (genOperation.hasBody()) {
2095    stringBuffer.append(TEXT_565);
2096    stringBuffer.append(genOperation.getBody(genModel.getIndentation(stringBuffer)));
2097    } else if (genOperation.isInvariant()) {GenClass opClass = genOperation.getGenClass(); String JavaDoc diagnostics = ((GenParameter)genOperation.getGenParameters().get(0)).getName(); String JavaDoc context = ((GenParameter)genOperation.getGenParameters().get(1)).getName();
2098    stringBuffer.append(TEXT_566);
2099    stringBuffer.append(diagnostics);
2100    stringBuffer.append(TEXT_567);
2101    stringBuffer.append(diagnostics);
2102    stringBuffer.append(TEXT_568);
2103    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.BasicDiagnostic"));
2104    stringBuffer.append(TEXT_569);
2105    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.Diagnostic"));
2106    stringBuffer.append(TEXT_570);
2107    stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName());
2108    stringBuffer.append(TEXT_571);
2109    stringBuffer.append(opClass.getGenPackage().getImportedValidatorClassName());
2110    stringBuffer.append(TEXT_572);
2111    stringBuffer.append(opClass.getOperationID(genOperation));
2112    stringBuffer.append(TEXT_573);
2113    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.plugin.EcorePlugin"));
2114    stringBuffer.append(TEXT_574);
2115    stringBuffer.append(genOperation.getName());
2116    stringBuffer.append(TEXT_575);
2117    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.EObjectValidator"));
2118    stringBuffer.append(TEXT_576);
2119    stringBuffer.append(context);
2120    stringBuffer.append(TEXT_577);
2121    stringBuffer.append(genModel.getNonNLS());
2122    stringBuffer.append(genModel.getNonNLS(2));
2123    stringBuffer.append(TEXT_578);
2124    } else {
2125    stringBuffer.append(TEXT_579);
2126    //Class/implementedGenOperation.todo.override.javajetinc
2127
}
2128    stringBuffer.append(TEXT_580);
2129    //Class/implementedGenOperation.override.javajetinc
2130
}//for
2131
if (!genModel.isReflectiveDelegation() && !genClass.getEInverseAddGenFeatures().isEmpty()) {
2132    stringBuffer.append(TEXT_581);
2133    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
2134    stringBuffer.append(TEXT_582);
2135    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
2136    stringBuffer.append(TEXT_583);
2137    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
2138    stringBuffer.append(TEXT_584);
2139    for (Iterator i=genClass.getEInverseAddGenFeatures().iterator(); i.hasNext();) { GenFeature genFeature = (GenFeature)i.next();
2140    stringBuffer.append(TEXT_585);
2141    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
2142    stringBuffer.append(TEXT_586);
2143    if (genFeature.isListType()) {
2144    if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {
2145    stringBuffer.append(TEXT_587);
2146    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
2147    stringBuffer.append(TEXT_588);
2148    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap$InternalMapView"));
2149    stringBuffer.append(TEXT_589);
2150    stringBuffer.append(genFeature.getGetAccessor());
2151    stringBuffer.append(TEXT_590);
2152    } else {
2153    stringBuffer.append(TEXT_591);
2154    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
2155    stringBuffer.append(TEXT_592);
2156    stringBuffer.append(genFeature.getGetAccessor());
2157    stringBuffer.append(TEXT_593);
2158    }
2159    } else if (genFeature.isContainer()) {
2160    stringBuffer.append(TEXT_594);
2161    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
2162    stringBuffer.append(TEXT_595);
2163    } else {
2164    stringBuffer.append(TEXT_596);
2165    stringBuffer.append(genFeature.getSafeName());
2166    stringBuffer.append(TEXT_597);
2167    if (genFeature.isContains()) {
2168    stringBuffer.append(TEXT_598);
2169    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
2170    stringBuffer.append(TEXT_599);
2171    stringBuffer.append(genFeature.getSafeName());
2172    stringBuffer.append(TEXT_600);
2173    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
2174    stringBuffer.append(TEXT_601);
2175    } else { GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass();
2176    stringBuffer.append(TEXT_602);
2177    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
2178    stringBuffer.append(TEXT_603);
2179    stringBuffer.append(genFeature.getSafeName());
2180    stringBuffer.append(TEXT_604);
2181    stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
2182    stringBuffer.append(TEXT_605);
2183    stringBuffer.append(targetClass.getImportedInterfaceName());
2184    stringBuffer.append(TEXT_606);
2185    }
2186    stringBuffer.append(TEXT_607);
2187    stringBuffer.append(genFeature.getAccessorName());
2188    stringBuffer.append(TEXT_608);
2189    stringBuffer.append(genFeature.getImportedType());
2190    stringBuffer.append(TEXT_609);
2191    }
2192    }
2193    stringBuffer.append(TEXT_610);
2194    }
2195    if (!genModel.isReflectiveDelegation() && !genClass.getEInverseRemoveGenFeatures().isEmpty()) {
2196    stringBuffer.append(TEXT_611);
2197    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
2198    stringBuffer.append(TEXT_612);
2199    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.InternalEObject"));
2200    stringBuffer.append(TEXT_613);
2201    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
2202    stringBuffer.append(TEXT_614);
2203    for (Iterator i=genClass.getEInverseRemoveGenFeatures().iterator(); i.hasNext();) { GenFeature genFeature = (GenFeature)i.next();
2204    stringBuffer.append(TEXT_615);
2205    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
2206    stringBuffer.append(TEXT_616);
2207    if (genFeature.isListType()) {
2208    if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {
2209    stringBuffer.append(TEXT_617);
2210    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
2211    stringBuffer.append(TEXT_618);
2212    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap$InternalMapView"));
2213    stringBuffer.append(TEXT_619);
2214    stringBuffer.append(genFeature.getGetAccessor());
2215    stringBuffer.append(TEXT_620);
2216    } else if (genFeature.isWrappedFeatureMapType()) {
2217    stringBuffer.append(TEXT_621);
2218    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
2219    stringBuffer.append(TEXT_622);
2220    stringBuffer.append(genFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
2221    stringBuffer.append(TEXT_623);
2222    stringBuffer.append(genFeature.getGetAccessor());
2223    stringBuffer.append(TEXT_624);
2224    } else {
2225    stringBuffer.append(TEXT_625);
2226    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.util.InternalEList"));
2227    stringBuffer.append(TEXT_626);
2228    stringBuffer.append(genFeature.getGetAccessor());
2229    stringBuffer.append(TEXT_627);
2230    }
2231    } else if (genFeature.isContainer()) {
2232    stringBuffer.append(TEXT_628);
2233    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
2234    stringBuffer.append(TEXT_629);
2235    } else if (genFeature.isUnsettable()) {
2236    stringBuffer.append(TEXT_630);
2237    stringBuffer.append(genFeature.getAccessorName());
2238    stringBuffer.append(TEXT_631);
2239    } else {
2240    stringBuffer.append(TEXT_632);
2241    stringBuffer.append(genFeature.getAccessorName());
2242    stringBuffer.append(TEXT_633);
2243    }
2244    }
2245    stringBuffer.append(TEXT_634);
2246    }
2247    if (!genModel.isReflectiveDelegation() && !genClass.getEBasicRemoveFromContainerGenFeatures().isEmpty()) {
2248    stringBuffer.append(TEXT_635);
2249    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
2250    stringBuffer.append(TEXT_636);
2251    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.notify.NotificationChain"));
2252    stringBuffer.append(TEXT_637);
2253    for (Iterator i=genClass.getEBasicRemoveFromContainerGenFeatures().iterator(); i.hasNext();) { GenFeature genFeature = (GenFeature)i.next();
2254    GenFeature reverseFeature = genFeature.getReverse(); GenClass targetClass = reverseFeature.getGenClass();
2255    stringBuffer.append(TEXT_638);
2256    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
2257    stringBuffer.append(TEXT_639);
2258    stringBuffer.append(targetClass.getQualifiedFeatureID(reverseFeature));
2259    stringBuffer.append(TEXT_640);
2260    stringBuffer.append(targetClass.getImportedInterfaceName());
2261    stringBuffer.append(TEXT_641);
2262    }
2263    stringBuffer.append(TEXT_642);
2264    }
2265    if (!genModel.isReflectiveDelegation() && !genClass.getAllGenFeatures().isEmpty()) {
2266    stringBuffer.append(TEXT_643);
2267    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
2268    stringBuffer.append(TEXT_644);
2269    for (Iterator i=genClass.getAllGenFeatures().iterator(); i.hasNext();) { GenFeature genFeature = (GenFeature)i.next();
2270    stringBuffer.append(TEXT_645);
2271    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
2272    stringBuffer.append(TEXT_646);
2273    if (genFeature.isPrimitiveType() && !genFeature.isListType()) {
2274    if (genFeature.isBooleanType()) {
2275    stringBuffer.append(TEXT_647);
2276    stringBuffer.append(genFeature.getGetAccessor());
2277    stringBuffer.append(TEXT_648);
2278    } else {
2279    stringBuffer.append(TEXT_649);
2280    stringBuffer.append(genFeature.getObjectType());
2281    stringBuffer.append(TEXT_650);
2282    stringBuffer.append(genFeature.getGetAccessor());
2283    stringBuffer.append(TEXT_651);
2284    }
2285    } else if (genFeature.isResolveProxies() && !genFeature.isListType()) {
2286    stringBuffer.append(TEXT_652);
2287    stringBuffer.append(genFeature.getGetAccessor());
2288    stringBuffer.append(TEXT_653);
2289    stringBuffer.append(genFeature.getAccessorName());
2290    stringBuffer.append(TEXT_654);
2291    } else if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {
2292    stringBuffer.append(TEXT_655);
2293    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap$InternalMapView"));
2294    stringBuffer.append(TEXT_656);
2295    stringBuffer.append(genFeature.getGetAccessor());
2296    stringBuffer.append(TEXT_657);
2297    } else if (genFeature.isWrappedFeatureMapType()) {
2298    stringBuffer.append(TEXT_658);
2299    stringBuffer.append(genFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
2300    stringBuffer.append(TEXT_659);
2301    stringBuffer.append(genFeature.getGetAccessor());
2302    stringBuffer.append(TEXT_660);
2303    } else {
2304    stringBuffer.append(TEXT_661);
2305    stringBuffer.append(genFeature.getGetAccessor());
2306    stringBuffer.append(TEXT_662);
2307    }
2308    }
2309    stringBuffer.append(TEXT_663);
2310    }
2311    if (!genModel.isReflectiveDelegation() && !genClass.getESetGenFeatures().isEmpty()) {
2312    stringBuffer.append(TEXT_664);
2313    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
2314    stringBuffer.append(TEXT_665);
2315    for (Iterator i=genClass.getESetGenFeatures().iterator(); i.hasNext();) { GenFeature genFeature = (GenFeature)i.next();
2316    stringBuffer.append(TEXT_666);
2317    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
2318    stringBuffer.append(TEXT_667);
2319    if (genFeature.isListType()) {
2320    if (genFeature.isWrappedFeatureMapType()) {
2321    stringBuffer.append(TEXT_668);
2322    stringBuffer.append(genFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
2323    stringBuffer.append(TEXT_669);
2324    stringBuffer.append(genFeature.getGetAccessor());
2325    stringBuffer.append(TEXT_670);
2326    } else {
2327    stringBuffer.append(TEXT_671);
2328    stringBuffer.append(genFeature.getGetAccessor());
2329    stringBuffer.append(TEXT_672);
2330    }
2331    if (genFeature.isWrappedFeatureMapType()) {
2332    stringBuffer.append(TEXT_673);
2333    stringBuffer.append(genFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
2334    stringBuffer.append(TEXT_674);
2335    stringBuffer.append(genFeature.getGetAccessor());
2336    stringBuffer.append(TEXT_675);
2337    stringBuffer.append(genModel.getImportedName("java.util.Collection"));
2338    stringBuffer.append(TEXT_676);
2339    } else if (genFeature.isMapType() && genFeature.isEffectiveSuppressEMFTypes()) {
2340    stringBuffer.append(TEXT_677);
2341    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap$InternalMapView"));
2342    stringBuffer.append(TEXT_678);
2343    stringBuffer.append(genFeature.getGetAccessor());
2344    stringBuffer.append(TEXT_679);
2345    stringBuffer.append(genModel.getImportedName("java.util.Collection"));
2346    stringBuffer.append(TEXT_680);
2347    } else {
2348    stringBuffer.append(TEXT_681);
2349    stringBuffer.append(genFeature.getGetAccessor());
2350    stringBuffer.append(TEXT_682);
2351    stringBuffer.append(genModel.getImportedName("java.util.Collection"));
2352    stringBuffer.append(TEXT_683);
2353    }
2354    } else if (genFeature.isPrimitiveType()) {
2355    stringBuffer.append(TEXT_684);
2356    stringBuffer.append(genFeature.getAccessorName());
2357    stringBuffer.append(TEXT_685);
2358    stringBuffer.append(genFeature.getObjectType());
2359    stringBuffer.append(TEXT_686);
2360    stringBuffer.append(genFeature.getPrimitiveValueFunction());
2361    stringBuffer.append(TEXT_687);
2362    } else {
2363    stringBuffer.append(TEXT_688);
2364    stringBuffer.append(genFeature.getAccessorName());
2365    stringBuffer.append(TEXT_689);
2366    stringBuffer.append(genFeature.getImportedType());
2367    stringBuffer.append(TEXT_690);
2368    }
2369    stringBuffer.append(TEXT_691);
2370    }
2371    stringBuffer.append(TEXT_692);
2372    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
2373    stringBuffer.append(TEXT_693);
2374    for (Iterator i=genClass.getESetGenFeatures().iterator(); i.hasNext();) { GenFeature genFeature = (GenFeature)i.next();
2375    stringBuffer.append(TEXT_694);
2376    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
2377    stringBuffer.append(TEXT_695);
2378    if (genFeature.isListType() && !genFeature.isUnsettable()) {
2379    if (genFeature.isWrappedFeatureMapType()) {
2380    stringBuffer.append(TEXT_696);
2381    stringBuffer.append(genFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
2382    stringBuffer.append(TEXT_697);
2383    stringBuffer.append(genFeature.getGetAccessor());
2384    stringBuffer.append(TEXT_698);
2385    } else {
2386    stringBuffer.append(TEXT_699);
2387    stringBuffer.append(genFeature.getGetAccessor());
2388    stringBuffer.append(TEXT_700);
2389    }
2390    } else if (genFeature.isUnsettable()) {
2391    stringBuffer.append(TEXT_701);
2392    stringBuffer.append(genFeature.getAccessorName());
2393    stringBuffer.append(TEXT_702);
2394    } else if (genFeature.isReferenceType()) {
2395    stringBuffer.append(TEXT_703);
2396    stringBuffer.append(genFeature.getAccessorName());
2397    stringBuffer.append(TEXT_704);
2398    stringBuffer.append(genFeature.getImportedType());
2399    stringBuffer.append(TEXT_705);
2400    } else {
2401    stringBuffer.append(TEXT_706);
2402    stringBuffer.append(genFeature.getAccessorName());
2403    stringBuffer.append(TEXT_707);
2404    stringBuffer.append(genFeature.getUpperName());
2405    stringBuffer.append(TEXT_708);
2406    }
2407    stringBuffer.append(TEXT_709);
2408    }
2409    stringBuffer.append(TEXT_710);
2410    }
2411    if (!genModel.isReflectiveDelegation() && !genClass.getAllGenFeatures().isEmpty()) {
2412    stringBuffer.append(TEXT_711);
2413    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
2414    stringBuffer.append(TEXT_712);
2415    for (Iterator i=genClass.getAllGenFeatures().iterator(); i.hasNext();) { GenFeature genFeature = (GenFeature)i.next();
2416    stringBuffer.append(TEXT_713);
2417    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
2418    stringBuffer.append(TEXT_714);
2419    if (genFeature.isListType() && !genFeature.isUnsettable()) {
2420    if (genFeature.isWrappedFeatureMapType()) {
2421    if (genFeature.isVolatile()) {
2422    stringBuffer.append(TEXT_715);
2423    stringBuffer.append(genFeature.getImportedEffectiveFeatureMapWrapperInternalInterface());
2424    stringBuffer.append(TEXT_716);
2425    stringBuffer.append(genFeature.getGetAccessor());
2426    stringBuffer.append(TEXT_717);
2427    } else {
2428    stringBuffer.append(TEXT_718);
2429    stringBuffer.append(genFeature.getSafeName());
2430    stringBuffer.append(TEXT_719);
2431    stringBuffer.append(genFeature.getSafeName());
2432    stringBuffer.append(TEXT_720);
2433    }
2434    } else {
2435    if (genClass.isField(genFeature)) {
2436    stringBuffer.append(TEXT_721);
2437    stringBuffer.append(genFeature.getSafeName());
2438    stringBuffer.append(TEXT_722);
2439    stringBuffer.append(genFeature.getSafeName());
2440    stringBuffer.append(TEXT_723);
2441    } else {
2442    stringBuffer.append(TEXT_724);
2443    stringBuffer.append(genFeature.getGetAccessor());
2444    stringBuffer.append(TEXT_725);
2445    }
2446    }
2447    } else if (genFeature.isUnsettable()) {
2448    stringBuffer.append(TEXT_726);
2449    stringBuffer.append(genFeature.getAccessorName());
2450    stringBuffer.append(TEXT_727);
2451    } else if (genFeature.isResolveProxies()) {
2452    if (genClass.isField(genFeature)) {
2453    stringBuffer.append(TEXT_728);
2454    stringBuffer.append(genFeature.getSafeName());
2455    stringBuffer.append(TEXT_729);
2456    } else {
2457    stringBuffer.append(TEXT_730);
2458    stringBuffer.append(genFeature.getAccessorName());
2459    stringBuffer.append(TEXT_731);
2460    }
2461    } else if (genFeature.isReferenceType()) {
2462    if (genClass.isField(genFeature)) {
2463    stringBuffer.append(TEXT_732);
2464    stringBuffer.append(genFeature.getSafeName());
2465    stringBuffer.append(TEXT_733);
2466    } else {
2467    stringBuffer.append(TEXT_734);
2468    stringBuffer.append(genFeature.getGetAccessor());
2469    stringBuffer.append(TEXT_735);
2470    }
2471    } else if (genFeature.isPrimitiveType() || genFeature.isEnumType()) {
2472    if (genClass.isField(genFeature)) {
2473    if (genClass.isFlag(genFeature)) {
2474    stringBuffer.append(TEXT_736);
2475    stringBuffer.append(genClass.getFlagsField(genFeature));
2476    stringBuffer.append(TEXT_737);
2477    stringBuffer.append(genFeature.getUpperName());
2478    stringBuffer.append(TEXT_738);
2479    stringBuffer.append(genFeature.getUpperName());
2480    stringBuffer.append(TEXT_739);
2481    } else {
2482    stringBuffer.append(TEXT_740);
2483    stringBuffer.append(genFeature.getSafeName());
2484    stringBuffer.append(TEXT_741);
2485    stringBuffer.append(genFeature.getUpperName());
2486    stringBuffer.append(TEXT_742);
2487    }
2488    } else {
2489    stringBuffer.append(TEXT_743);
2490    stringBuffer.append(genFeature.getGetAccessor());
2491    stringBuffer.append(TEXT_744);
2492    stringBuffer.append(genFeature.getUpperName());
2493    stringBuffer.append(TEXT_745);
2494    }
2495    } else {//datatype
2496
if (genClass.isField(genFeature)) {
2497    stringBuffer.append(TEXT_746);
2498    stringBuffer.append(genFeature.getUpperName());
2499    stringBuffer.append(TEXT_747);
2500    stringBuffer.append(genFeature.getSafeName());
2501    stringBuffer.append(TEXT_748);
2502    stringBuffer.append(genFeature.getUpperName());
2503    stringBuffer.append(TEXT_749);
2504    stringBuffer.append(genFeature.getSafeName());
2505    stringBuffer.append(TEXT_750);
2506    } else {
2507    stringBuffer.append(TEXT_751);
2508    stringBuffer.append(genFeature.getUpperName());
2509    stringBuffer.append(TEXT_752);
2510    stringBuffer.append(genFeature.getGetAccessor());
2511    stringBuffer.append(TEXT_753);
2512    stringBuffer.append(genFeature.getUpperName());
2513    stringBuffer.append(TEXT_754);
2514    stringBuffer.append(genFeature.getGetAccessor());
2515    stringBuffer.append(TEXT_755);
2516    }
2517    }
2518    }
2519    stringBuffer.append(TEXT_756);
2520    }
2521    if (!genClass.getMixinGenFeatures().isEmpty()) {
2522    stringBuffer.append(TEXT_757);
2523    for (Iterator m=genClass.getMixinGenClasses().iterator(); m.hasNext();) { GenClass mixinGenClass = (GenClass)m.next();
2524    stringBuffer.append(TEXT_758);
2525    stringBuffer.append(mixinGenClass.getImportedInterfaceName());
2526    stringBuffer.append(TEXT_759);
2527    for (Iterator f=mixinGenClass.getGenFeatures().iterator(); f.hasNext();) { GenFeature genFeature = (GenFeature)f.next();
2528    stringBuffer.append(TEXT_760);
2529    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
2530    stringBuffer.append(TEXT_761);
2531    stringBuffer.append(mixinGenClass.getQualifiedFeatureID(genFeature));
2532    stringBuffer.append(TEXT_762);
2533    }
2534    stringBuffer.append(TEXT_763);
2535    }
2536    stringBuffer.append(TEXT_764);
2537    for (Iterator m=genClass.getMixinGenClasses().iterator(); m.hasNext();) { GenClass mixinGenClass = (GenClass)m.next();
2538    stringBuffer.append(TEXT_765);
2539    stringBuffer.append(mixinGenClass.getImportedInterfaceName());
2540    stringBuffer.append(TEXT_766);
2541    for (Iterator f=mixinGenClass.getGenFeatures().iterator(); f.hasNext();) { GenFeature genFeature = (GenFeature)f.next();
2542    stringBuffer.append(TEXT_767);
2543    stringBuffer.append(mixinGenClass.getQualifiedFeatureID(genFeature));
2544    stringBuffer.append(TEXT_768);
2545    stringBuffer.append(genClass.getQualifiedFeatureID(genFeature));
2546    stringBuffer.append(TEXT_769);
2547    }
2548    stringBuffer.append(TEXT_770);
2549    }
2550    stringBuffer.append(TEXT_771);
2551    }
2552    if (!genModel.isReflectiveDelegation() && !genClass.getToStringGenFeatures().isEmpty()) {
2553    stringBuffer.append(TEXT_772);
2554    { boolean first = true;
2555    for (Iterator i=genClass.getToStringGenFeatures().iterator(); i.hasNext(); ) { GenFeature genFeature = (GenFeature)i.next();
2556    if (first) { first = false;
2557    stringBuffer.append(TEXT_773);
2558    stringBuffer.append(genFeature.getName());
2559    stringBuffer.append(TEXT_774);
2560    stringBuffer.append(genModel.getNonNLS());
2561    } else {
2562    stringBuffer.append(TEXT_775);
2563    stringBuffer.append(genFeature.getName());
2564    stringBuffer.append(TEXT_776);
2565    stringBuffer.append(genModel.getNonNLS());
2566    }
2567    if (genFeature.isUnsettable() && !genFeature.isListType()) {
2568    if (genClass.isFlag(genFeature)) {
2569    stringBuffer.append(TEXT_777);
2570    if (genClass.isESetFlag(genFeature)) {
2571    stringBuffer.append(TEXT_778);
2572    stringBuffer.append(genClass.getESetFlagsField(genFeature));
2573    stringBuffer.append(TEXT_779);
2574    stringBuffer.append(genFeature.getUpperName());
2575    stringBuffer.append(TEXT_780);
2576    } else {
2577    stringBuffer.append(genFeature.getUncapName());
2578    stringBuffer.append(TEXT_781);
2579    }
2580    stringBuffer.append(TEXT_782);
2581    stringBuffer.append(genClass.getFlagsField(genFeature));
2582    stringBuffer.append(TEXT_783);
2583    stringBuffer.append(genFeature.getUpperName());
2584    stringBuffer.append(TEXT_784);
2585    stringBuffer.append(genModel.getNonNLS());
2586    } else {
2587    stringBuffer.append(TEXT_785);
2588    if (genClass.isESetFlag(genFeature)) {
2589    stringBuffer.append(TEXT_786);
2590    stringBuffer.append(genClass.getESetFlagsField(genFeature));
2591    stringBuffer.append(TEXT_787);
2592    stringBuffer.append(genFeature.getUpperName());
2593    stringBuffer.append(TEXT_788);
2594    } else {
2595    stringBuffer.append(genFeature.getUncapName());
2596    stringBuffer.append(TEXT_789);
2597    }
2598    stringBuffer.append(TEXT_790);
2599    stringBuffer.append(genFeature.getSafeName());
2600    stringBuffer.append(TEXT_791);
2601    stringBuffer.append(genModel.getNonNLS());
2602    }
2603    } else {
2604    if (genClass.isFlag(genFeature)) {
2605    stringBuffer.append(TEXT_792);
2606    stringBuffer.append(genClass.getFlagsField(genFeature));
2607    stringBuffer.append(TEXT_793);
2608    stringBuffer.append(genFeature.getUpperName());
2609    stringBuffer.append(TEXT_794);
2610    } else {
2611    stringBuffer.append(TEXT_795);
2612    stringBuffer.append(genFeature.getSafeName());
2613    stringBuffer.append(TEXT_796);
2614    }
2615    }
2616    }
2617    }
2618    stringBuffer.append(TEXT_797);
2619    }
2620    if (genClass.isMapEntry()) { GenFeature keyFeature = genClass.getMapEntryKeyFeature(); GenFeature valueFeature = genClass.getMapEntryValueFeature();
2621    stringBuffer.append(TEXT_798);
2622    if (keyFeature.isPrimitiveType()) {
2623    stringBuffer.append(TEXT_799);
2624    stringBuffer.append(keyFeature.getObjectType());
2625    stringBuffer.append(TEXT_800);
2626    } else {
2627    stringBuffer.append(TEXT_801);
2628    }
2629    stringBuffer.append(TEXT_802);
2630    if (keyFeature.isListType()) {
2631    stringBuffer.append(TEXT_803);
2632    stringBuffer.append(genModel.getImportedName("java.util.Collection"));
2633    stringBuffer.append(TEXT_804);
2634    } else if (keyFeature.isPrimitiveType()) {
2635    stringBuffer.append(TEXT_805);
2636    stringBuffer.append(keyFeature.getObjectType());
2637    stringBuffer.append(TEXT_806);
2638    stringBuffer.append(keyFeature.getPrimitiveValueFunction());
2639    stringBuffer.append(TEXT_807);
2640    } else {
2641    stringBuffer.append(TEXT_808);
2642    stringBuffer.append(keyFeature.getImportedType());
2643    stringBuffer.append(TEXT_809);
2644    }
2645    stringBuffer.append(TEXT_810);
2646    if (valueFeature.isPrimitiveType()) {
2647    stringBuffer.append(TEXT_811);
2648    stringBuffer.append(valueFeature.getObjectType());
2649    stringBuffer.append(TEXT_812);
2650    } else {
2651    stringBuffer.append(TEXT_813);
2652    }
2653    stringBuffer.append(TEXT_814);
2654    if (valueFeature.isListType()) {
2655    stringBuffer.append(TEXT_815);
2656    stringBuffer.append(genModel.getImportedName("java.util.Collection"));
2657    stringBuffer.append(TEXT_816);
2658    } else if (valueFeature.isPrimitiveType()) {
2659    stringBuffer.append(TEXT_817);
2660    stringBuffer.append(valueFeature.getObjectType());
2661    stringBuffer.append(TEXT_818);
2662    stringBuffer.append(valueFeature.getPrimitiveValueFunction());
2663    stringBuffer.append(TEXT_819);
2664    } else {
2665    stringBuffer.append(TEXT_820);
2666    stringBuffer.append(valueFeature.getImportedType());
2667    stringBuffer.append(TEXT_821);
2668    }
2669    stringBuffer.append(TEXT_822);
2670    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap"));
2671    stringBuffer.append(TEXT_823);
2672    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.ecore.EObject"));
2673    stringBuffer.append(TEXT_824);
2674    stringBuffer.append(genModel.getImportedName("org.eclipse.emf.common.util.EMap"));
2675    stringBuffer.append(TEXT_825);
2676    }
2677    stringBuffer.append(TEXT_826);
2678    stringBuffer.append(genClass.getClassName());
2679    genModel.emitSortedImports();
2680    stringBuffer.append(TEXT_827);
2681    return stringBuffer.toString();
2682  }
2683}
2684
Popular Tags