KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > codegen > ecore > genmodel > impl > GenModelPackageImpl


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2002-2005 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
13  * </copyright>
14  *
15  * $Id: GenModelPackageImpl.java,v 1.23 2005/06/08 20:30:20 marcelop Exp $
16  */

17 package org.eclipse.emf.codegen.ecore.genmodel.impl;
18
19
20 import org.eclipse.emf.codegen.ecore.genmodel.GenBase;
21 import org.eclipse.emf.codegen.ecore.genmodel.GenClass;
22 import org.eclipse.emf.codegen.ecore.genmodel.GenClassifier;
23 import org.eclipse.emf.codegen.ecore.genmodel.GenDataType;
24 import org.eclipse.emf.codegen.ecore.genmodel.GenEnum;
25 import org.eclipse.emf.codegen.ecore.genmodel.GenEnumLiteral;
26 import org.eclipse.emf.codegen.ecore.genmodel.GenFeature;
27 import org.eclipse.emf.codegen.ecore.genmodel.GenModel;
28 import org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory;
29 import org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage;
30 import org.eclipse.emf.codegen.ecore.genmodel.GenOperation;
31 import org.eclipse.emf.codegen.ecore.genmodel.GenPackage;
32 import org.eclipse.emf.codegen.ecore.genmodel.GenParameter;
33 import org.eclipse.emf.codegen.ecore.genmodel.GenPropertyKind;
34 import org.eclipse.emf.codegen.ecore.genmodel.GenProviderKind;
35 import org.eclipse.emf.codegen.ecore.genmodel.GenResourceKind;
36 import org.eclipse.emf.codegen.ecore.genmodel.GenTypedElement;
37
38 import org.eclipse.emf.ecore.EAttribute;
39 import org.eclipse.emf.ecore.EClass;
40 import org.eclipse.emf.ecore.EEnum;
41 import org.eclipse.emf.ecore.EPackage;
42 import org.eclipse.emf.ecore.EReference;
43 import org.eclipse.emf.ecore.EcorePackage;
44 import org.eclipse.emf.ecore.impl.EPackageImpl;
45 import org.eclipse.emf.ecore.impl.EcorePackageImpl;
46
47
48 /**
49  * <!-- begin-user-doc -->
50  * An implementation of the model <b>Package</b>.
51  * <!-- end-user-doc -->
52  * @generated
53  */

54 public class GenModelPackageImpl extends EPackageImpl implements GenModelPackage
55 {
56   /**
57    * <!-- begin-user-doc -->
58    * <!-- end-user-doc -->
59    * @generated
60    */

61   private EClass genModelEClass = null;
62
63   /**
64    * <!-- begin-user-doc -->
65    * <!-- end-user-doc -->
66    * @generated
67    */

68   private EClass genPackageEClass = null;
69
70   /**
71    * <!-- begin-user-doc -->
72    * <!-- end-user-doc -->
73    * @generated
74    */

75   private EClass genClassEClass = null;
76
77   /**
78    * <!-- begin-user-doc -->
79    * <!-- end-user-doc -->
80    * @generated
81    */

82   private EClass genFeatureEClass = null;
83
84   /**
85    * <!-- begin-user-doc -->
86    * <!-- end-user-doc -->
87    * @generated
88    */

89   private EClass genBaseEClass = null;
90
91   /**
92    * <!-- begin-user-doc -->
93    * <!-- end-user-doc -->
94    * @generated
95    */

96   private EClass genEnumEClass = null;
97
98   /**
99    * <!-- begin-user-doc -->
100    * <!-- end-user-doc -->
101    * @generated
102    */

103   private EClass genEnumLiteralEClass = null;
104
105   /**
106    * <!-- begin-user-doc -->
107    * <!-- end-user-doc -->
108    * @generated
109    */

110   private EClass genClassifierEClass = null;
111
112   /**
113    * <!-- begin-user-doc -->
114    * <!-- end-user-doc -->
115    * @generated
116    */

117   private EClass genDataTypeEClass = null;
118
119   /**
120    * <!-- begin-user-doc -->
121    * <!-- end-user-doc -->
122    * @generated
123    */

124   private EClass genOperationEClass = null;
125
126   /**
127    * <!-- begin-user-doc -->
128    * <!-- end-user-doc -->
129    * @generated
130    */

131   private EClass genParameterEClass = null;
132
133   /**
134    * <!-- begin-user-doc -->
135    * <!-- end-user-doc -->
136    * @generated
137    */

138   private EClass genTypedElementEClass = null;
139
140   /**
141    * <!-- begin-user-doc -->
142    * <!-- end-user-doc -->
143    * @generated
144    */

145   private EEnum genProviderKindEEnum = null;
146
147   /**
148    * <!-- begin-user-doc -->
149    * <!-- end-user-doc -->
150    * @generated
151    */

152   private EEnum genPropertyKindEEnum = null;
153
154   /**
155    * <!-- begin-user-doc -->
156    * <!-- end-user-doc -->
157    * @generated
158    */

159   private EEnum genResourceKindEEnum = null;
160
161   /**
162    * Creates an instance of the model <b>Package</b>, registered with
163    * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
164    * package URI value.
165    * <p>Note: the correct way to create the package is via the static
166    * factory method {@link #init init()}, which also performs
167    * initialization of the package, or returns the registered package,
168    * if one already exists.
169    * <!-- begin-user-doc -->
170    * <!-- end-user-doc -->
171    * @see org.eclipse.emf.ecore.EPackage.Registry
172    * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#eNS_URI
173    * @see #init()
174    * @generated
175    */

176   private GenModelPackageImpl()
177   {
178     super(eNS_URI, GenModelFactory.eINSTANCE);
179   }
180
181   /**
182    * <!-- begin-user-doc -->
183    * <!-- end-user-doc -->
184    * @generated
185    */

186   private static boolean isInited = false;
187
188   /**
189    * Creates, registers, and initializes the <b>Package</b> for this
190    * model, and for any others upon which it depends. Simple
191    * dependencies are satisfied by calling this method on all
192    * dependent packages before doing anything else. This method drives
193    * initialization for interdependent packages directly, in parallel
194    * with this package, itself.
195    * <p>Of this package and its interdependencies, all packages which
196    * have not yet been registered by their URI values are first created
197    * and registered. The packages are then initialized in two steps:
198    * meta-model objects for all of the packages are created before any
199    * are initialized, since one package's meta-model objects may refer to
200    * those of another.
201    * <p>Invocation of this method will not affect any packages that have
202    * already been initialized.
203    * <!-- begin-user-doc -->
204    * <!-- end-user-doc -->
205    * @see #eNS_URI
206    * @see #createPackageContents()
207    * @see #initializePackageContents()
208    * @generated
209    */

210   public static GenModelPackage init()
211   {
212     if (isInited) return (GenModelPackage)EPackage.Registry.INSTANCE.getEPackage(GenModelPackage.eNS_URI);
213
214     // Obtain or create and register package
215
GenModelPackageImpl theGenModelPackage = (GenModelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof GenModelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new GenModelPackageImpl());
216
217     isInited = true;
218
219     // Initialize simple dependencies
220
EcorePackageImpl.init();
221
222     // Create package meta-data objects
223
theGenModelPackage.createPackageContents();
224
225     // Initialize created meta-data
226
theGenModelPackage.initializePackageContents();
227
228     // Mark meta-data to indicate it can't be changed
229
theGenModelPackage.freeze();
230
231     return theGenModelPackage;
232   }
233
234   /**
235    * <!-- begin-user-doc -->
236    * <!-- end-user-doc -->
237    * @generated
238    */

239   public EClass getGenModel()
240   {
241     return genModelEClass;
242   }
243
244   /**
245    * <!-- begin-user-doc -->
246    * <!-- end-user-doc -->
247    * @generated
248    */

249   public EAttribute getGenModel_CopyrightText()
250   {
251     return (EAttribute)genModelEClass.getEStructuralFeatures().get(0);
252   }
253
254   /**
255    * <!-- begin-user-doc -->
256    * <!-- end-user-doc -->
257    * @generated
258    */

259   public EAttribute getGenModel_ModelDirectory()
260   {
261     return (EAttribute)genModelEClass.getEStructuralFeatures().get(1);
262   }
263
264   /**
265    * <!-- begin-user-doc -->
266    * <!-- end-user-doc -->
267    * @generated
268    */

269   public EAttribute getGenModel_CreationCommands()
270   {
271     return (EAttribute)genModelEClass.getEStructuralFeatures().get(2);
272   }
273
274   /**
275    * <!-- begin-user-doc -->
276    * <!-- end-user-doc -->
277    * @generated
278    */

279   public EAttribute getGenModel_CreationIcons()
280   {
281     return (EAttribute)genModelEClass.getEStructuralFeatures().get(3);
282   }
283
284   /**
285    * <!-- begin-user-doc -->
286    * <!-- end-user-doc -->
287    * @generated
288    */

289   public EAttribute getGenModel_EditDirectory()
290   {
291     return (EAttribute)genModelEClass.getEStructuralFeatures().get(4);
292   }
293
294   /**
295    * <!-- begin-user-doc -->
296    * <!-- end-user-doc -->
297    * @generated
298    */

299   public EAttribute getGenModel_EditorDirectory()
300   {
301     return (EAttribute)genModelEClass.getEStructuralFeatures().get(5);
302   }
303
304   /**
305    * <!-- begin-user-doc -->
306    * <!-- end-user-doc -->
307    * @generated
308    */

309   public EAttribute getGenModel_ModelPluginID()
310   {
311     return (EAttribute)genModelEClass.getEStructuralFeatures().get(6);
312   }
313
314   /**
315    * <!-- begin-user-doc -->
316    * <!-- end-user-doc -->
317    * @generated
318    */

319   public EAttribute getGenModel_TemplateDirectory()
320   {
321     return (EAttribute)genModelEClass.getEStructuralFeatures().get(7);
322   }
323
324   /**
325    * <!-- begin-user-doc -->
326    * <!-- end-user-doc -->
327    * @generated
328    */

329   public EAttribute getGenModel_RuntimeJar()
330   {
331     return (EAttribute)genModelEClass.getEStructuralFeatures().get(8);
332   }
333
334   /**
335    * <!-- begin-user-doc -->
336    * <!-- end-user-doc -->
337    * @generated
338    */

339   public EAttribute getGenModel_ForeignModel()
340   {
341     return (EAttribute)genModelEClass.getEStructuralFeatures().get(9);
342   }
343
344   /**
345    * <!-- begin-user-doc -->
346    * <!-- end-user-doc -->
347    * @generated
348    */

349   public EAttribute getGenModel_DynamicTemplates()
350   {
351     return (EAttribute)genModelEClass.getEStructuralFeatures().get(10);
352   }
353
354   /**
355    * <!-- begin-user-doc -->
356    * <!-- end-user-doc -->
357    * @generated
358    */

359   public EAttribute getGenModel_Redirection()
360   {
361     return (EAttribute)genModelEClass.getEStructuralFeatures().get(11);
362   }
363
364   /**
365    * <!-- begin-user-doc -->
366    * <!-- end-user-doc -->
367    * @generated
368    */

369   public EAttribute getGenModel_ForceOverwrite()
370   {
371     return (EAttribute)genModelEClass.getEStructuralFeatures().get(12);
372   }
373
374   /**
375    * <!-- begin-user-doc -->
376    * <!-- end-user-doc -->
377    * @generated
378    */

379   public EAttribute getGenModel_NonExternalizedStringTag()
380   {
381     return (EAttribute)genModelEClass.getEStructuralFeatures().get(13);
382   }
383
384   /**
385    * <!-- begin-user-doc -->
386    * <!-- end-user-doc -->
387    * @generated
388    */

389   public EAttribute getGenModel_ModelName()
390   {
391     return (EAttribute)genModelEClass.getEStructuralFeatures().get(14);
392   }
393
394   /**
395    * <!-- begin-user-doc -->
396    * <!-- end-user-doc -->
397    * @generated
398    */

399   public EAttribute getGenModel_ModelPluginClass()
400   {
401     return (EAttribute)genModelEClass.getEStructuralFeatures().get(15);
402   }
403
404   /**
405    * <!-- begin-user-doc -->
406    * <!-- end-user-doc -->
407    * @generated
408    */

409   public EAttribute getGenModel_EditPluginClass()
410   {
411     return (EAttribute)genModelEClass.getEStructuralFeatures().get(16);
412   }
413
414   /**
415    * <!-- begin-user-doc -->
416    * <!-- end-user-doc -->
417    * @generated
418    */

419   public EAttribute getGenModel_EditorPluginClass()
420   {
421     return (EAttribute)genModelEClass.getEStructuralFeatures().get(17);
422   }
423
424   /**
425    * <!-- begin-user-doc -->
426    * <!-- end-user-doc -->
427    * @generated
428    */

429   public EAttribute getGenModel_UpdateClasspath()
430   {
431     return (EAttribute)genModelEClass.getEStructuralFeatures().get(18);
432   }
433
434   /**
435    * <!-- begin-user-doc -->
436    * <!-- end-user-doc -->
437    * @generated
438    */

439   public EAttribute getGenModel_GenerateSchema()
440   {
441     return (EAttribute)genModelEClass.getEStructuralFeatures().get(19);
442   }
443
444   /**
445    * <!-- begin-user-doc -->
446    * <!-- end-user-doc -->
447    * @generated
448    */

449   public EAttribute getGenModel_NonNLSMarkers()
450   {
451     return (EAttribute)genModelEClass.getEStructuralFeatures().get(20);
452   }
453
454   /**
455    * <!-- begin-user-doc -->
456    * <!-- end-user-doc -->
457    * @generated
458    */

459   public EAttribute getGenModel_StaticPackages()
460   {
461     return (EAttribute)genModelEClass.getEStructuralFeatures().get(21);
462   }
463
464   /**
465    * <!-- begin-user-doc -->
466    * <!-- end-user-doc -->
467    * @generated
468    */

469   public EAttribute getGenModel_ModelPluginVariables()
470   {
471     return (EAttribute)genModelEClass.getEStructuralFeatures().get(22);
472   }
473
474   /**
475    * <!-- begin-user-doc -->
476    * <!-- end-user-doc -->
477    * @generated
478    */

479   public EAttribute getGenModel_RootExtendsInterface()
480   {
481     return (EAttribute)genModelEClass.getEStructuralFeatures().get(23);
482   }
483
484   /**
485    * <!-- begin-user-doc -->
486    * <!-- end-user-doc -->
487    * @generated
488    */

489   public EAttribute getGenModel_RootExtendsClass()
490   {
491     return (EAttribute)genModelEClass.getEStructuralFeatures().get(24);
492   }
493
494   /**
495    * <!-- begin-user-doc -->
496    * <!-- end-user-doc -->
497    * @generated
498    */

499   public EAttribute getGenModel_RootImplementsInterface()
500   {
501     return (EAttribute)genModelEClass.getEStructuralFeatures().get(25);
502   }
503
504   /**
505    * <!-- begin-user-doc -->
506    * <!-- end-user-doc -->
507    * @generated
508    */

509   public EAttribute getGenModel_SuppressEMFTypes()
510   {
511     return (EAttribute)genModelEClass.getEStructuralFeatures().get(26);
512   }
513
514   /**
515    * <!-- begin-user-doc -->
516    * <!-- end-user-doc -->
517    * @generated
518    */

519   public EAttribute getGenModel_FeatureMapWrapperInterface()
520   {
521     return (EAttribute)genModelEClass.getEStructuralFeatures().get(27);
522   }
523
524   /**
525    * <!-- begin-user-doc -->
526    * <!-- end-user-doc -->
527    * @generated
528    */

529   public EAttribute getGenModel_FeatureMapWrapperInternalInterface()
530   {
531     return (EAttribute)genModelEClass.getEStructuralFeatures().get(28);
532   }
533
534   /**
535    * <!-- begin-user-doc -->
536    * <!-- end-user-doc -->
537    * @generated
538    */

539   public EAttribute getGenModel_FeatureMapWrapperClass()
540   {
541     return (EAttribute)genModelEClass.getEStructuralFeatures().get(29);
542   }
543
544   /**
545    * <!-- begin-user-doc -->
546    * <!-- end-user-doc -->
547    * @generated
548    */

549   public EAttribute getGenModel_RuntimeCompatibility()
550   {
551     return (EAttribute)genModelEClass.getEStructuralFeatures().get(30);
552   }
553
554   /**
555    * <!-- begin-user-doc -->
556    * <!-- end-user-doc -->
557    * @generated
558    */

559   public EAttribute getGenModel_RichClientPlatform()
560   {
561     return (EAttribute)genModelEClass.getEStructuralFeatures().get(31);
562   }
563
564   /**
565    * <!-- begin-user-doc -->
566    * <!-- end-user-doc -->
567    * @generated
568    */

569   public EAttribute getGenModel_ReflectiveDelegation()
570   {
571     return (EAttribute)genModelEClass.getEStructuralFeatures().get(32);
572   }
573
574   /**
575    * <!-- begin-user-doc -->
576    * <!-- end-user-doc -->
577    * @generated
578    */

579   public EAttribute getGenModel_CodeFormatting()
580   {
581     return (EAttribute)genModelEClass.getEStructuralFeatures().get(33);
582   }
583
584   /**
585    * <!-- begin-user-doc -->
586    * <!-- end-user-doc -->
587    * @generated
588    */

589   public EAttribute getGenModel_TestsDirectory()
590   {
591     return (EAttribute)genModelEClass.getEStructuralFeatures().get(34);
592   }
593
594   /**
595    * <!-- begin-user-doc -->
596    * <!-- end-user-doc -->
597    * @generated
598    */

599   public EAttribute getGenModel_TestSuiteClass()
600   {
601     return (EAttribute)genModelEClass.getEStructuralFeatures().get(35);
602   }
603
604   /**
605    * <!-- begin-user-doc -->
606    * <!-- end-user-doc -->
607    * @generated
608    */

609   public EAttribute getGenModel_BooleanFlagsField()
610   {
611     return (EAttribute)genModelEClass.getEStructuralFeatures().get(36);
612   }
613
614   /**
615    * <!-- begin-user-doc -->
616    * <!-- end-user-doc -->
617    * @generated
618    */

619   public EAttribute getGenModel_BooleanFlagsReservedBits()
620   {
621     return (EAttribute)genModelEClass.getEStructuralFeatures().get(37);
622   }
623
624   /**
625    * <!-- begin-user-doc -->
626    * <!-- end-user-doc -->
627    * @generated
628    */

629   public EAttribute getGenModel_ImporterID()
630   {
631     return (EAttribute)genModelEClass.getEStructuralFeatures().get(38);
632   }
633
634   /**
635    * <!-- begin-user-doc -->
636    * <!-- end-user-doc -->
637    * @generated
638    */

639   public EAttribute getGenModel_BundleManifest()
640   {
641     return (EAttribute)genModelEClass.getEStructuralFeatures().get(39);
642   }
643
644   /**
645    * <!-- begin-user-doc -->
646    * <!-- end-user-doc -->
647    * @generated
648    */

649   public EReference getGenModel_GenPackages()
650   {
651     return (EReference)genModelEClass.getEStructuralFeatures().get(40);
652   }
653
654   /**
655    * <!-- begin-user-doc -->
656    * <!-- end-user-doc -->
657    * @generated
658    */

659   public EReference getGenModel_UsedGenPackages()
660   {
661     return (EReference)genModelEClass.getEStructuralFeatures().get(41);
662   }
663
664   /**
665    * <!-- begin-user-doc -->
666    * <!-- end-user-doc -->
667    * @generated
668    */

669   public EClass getGenPackage()
670   {
671     return genPackageEClass;
672   }
673
674   /**
675    * <!-- begin-user-doc -->
676    * <!-- end-user-doc -->
677    * @generated
678    */

679   public EAttribute getGenPackage_Prefix()
680   {
681     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(0);
682   }
683
684   /**
685    * <!-- begin-user-doc -->
686    * <!-- end-user-doc -->
687    * @generated
688    */

689   public EAttribute getGenPackage_BasePackage()
690   {
691     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(1);
692   }
693
694   /**
695    * <!-- begin-user-doc -->
696    * <!-- end-user-doc -->
697    * @generated
698    */

699   public EAttribute getGenPackage_Resource()
700   {
701     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(2);
702   }
703
704   /**
705    * <!-- begin-user-doc -->
706    * <!-- end-user-doc -->
707    * @generated
708    */

709   public EAttribute getGenPackage_DisposableProviderFactory()
710   {
711     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(3);
712   }
713
714   /**
715    * <!-- begin-user-doc -->
716    * <!-- end-user-doc -->
717    * @generated
718    */

719   public EAttribute getGenPackage_AdapterFactory()
720   {
721     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(4);
722   }
723
724   /**
725    * <!-- begin-user-doc -->
726    * <!-- end-user-doc -->
727    * @generated
728    */

729   public EAttribute getGenPackage_LoadInitialization()
730   {
731     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(5);
732   }
733
734   /**
735    * <!-- begin-user-doc -->
736    * <!-- end-user-doc -->
737    * @generated
738    */

739   public EAttribute getGenPackage_InterfacePackageSuffix()
740   {
741     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(6);
742   }
743
744   /**
745    * <!-- begin-user-doc -->
746    * <!-- end-user-doc -->
747    * @generated
748    */

749   public EAttribute getGenPackage_ClassPackageSuffix()
750   {
751     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(7);
752   }
753
754   /**
755    * <!-- begin-user-doc -->
756    * <!-- end-user-doc -->
757    * @generated
758    */

759   public EAttribute getGenPackage_UtilityPackageSuffix()
760   {
761     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(8);
762   }
763
764   /**
765    * <!-- begin-user-doc -->
766    * <!-- end-user-doc -->
767    * @generated
768    */

769   public EAttribute getGenPackage_ProviderPackageSuffix()
770   {
771     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(9);
772   }
773
774   /**
775    * <!-- begin-user-doc -->
776    * <!-- end-user-doc -->
777    * @generated
778    */

779   public EAttribute getGenPackage_PresentationPackageSuffix()
780   {
781     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(10);
782   }
783
784   /**
785    * <!-- begin-user-doc -->
786    * <!-- end-user-doc -->
787    * @generated
788    */

789   public EAttribute getGenPackage_TestsPackageSuffix()
790   {
791     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(11);
792   }
793
794   /**
795    * <!-- begin-user-doc -->
796    * <!-- end-user-doc -->
797    * @generated
798    */

799   public EAttribute getGenPackage_GenerateExampleClass()
800   {
801     return (EAttribute)genPackageEClass.getEStructuralFeatures().get(12);
802   }
803
804   /**
805    * <!-- begin-user-doc -->
806    * <!-- end-user-doc -->
807    * @generated
808    */

809   public EReference getGenPackage_EcorePackage()
810   {
811     return (EReference)genPackageEClass.getEStructuralFeatures().get(13);
812   }
813
814   /**
815    * <!-- begin-user-doc -->
816    * <!-- end-user-doc -->
817    * @generated
818    */

819   public EReference getGenPackage_GenModel()
820   {
821     return (EReference)genPackageEClass.getEStructuralFeatures().get(14);
822   }
823
824   /**
825    * <!-- begin-user-doc -->
826    * <!-- end-user-doc -->
827    * @generated
828    */

829   public EReference getGenPackage_GenEnums()
830   {
831     return (EReference)genPackageEClass.getEStructuralFeatures().get(15);
832   }
833
834   /**
835    * <!-- begin-user-doc -->
836    * <!-- end-user-doc -->
837    * @generated
838    */

839   public EReference getGenPackage_GenDataTypes()
840   {
841     return (EReference)genPackageEClass.getEStructuralFeatures().get(16);
842   }
843
844   /**
845    * <!-- begin-user-doc -->
846    * <!-- end-user-doc -->
847    * @generated
848    */

849   public EReference getGenPackage_GenClasses()
850   {
851     return (EReference)genPackageEClass.getEStructuralFeatures().get(17);
852   }
853
854   /**
855    * <!-- begin-user-doc -->
856    * <!-- end-user-doc -->
857    * @generated
858    */

859   public EReference getGenPackage_NestedGenPackages()
860   {
861     return (EReference)genPackageEClass.getEStructuralFeatures().get(18);
862   }
863
864   /**
865    * <!-- begin-user-doc -->
866    * <!-- end-user-doc -->
867    * @generated
868    */

869   public EReference getGenPackage_GenClassifiers()
870   {
871     return (EReference)genPackageEClass.getEStructuralFeatures().get(19);
872   }
873
874   /**
875    * <!-- begin-user-doc -->
876    * <!-- end-user-doc -->
877    * @generated
878    */

879   public EClass getGenClass()
880   {
881     return genClassEClass;
882   }
883
884   /**
885    * <!-- begin-user-doc -->
886    * <!-- end-user-doc -->
887    * @generated
888    */

889   public EAttribute getGenClass_Provider()
890   {
891     return (EAttribute)genClassEClass.getEStructuralFeatures().get(0);
892   }
893
894   /**
895    * <!-- begin-user-doc -->
896    * <!-- end-user-doc -->
897    * @generated
898    */

899   public EAttribute getGenClass_Image()
900   {
901     return (EAttribute)genClassEClass.getEStructuralFeatures().get(1);
902   }
903
904   /**
905    * <!-- begin-user-doc -->
906    * <!-- end-user-doc -->
907    * @generated
908    */

909   public EReference getGenClass_EcoreClass()
910   {
911     return (EReference)genClassEClass.getEStructuralFeatures().get(2);
912   }
913
914   /**
915    * <!-- begin-user-doc -->
916    * <!-- end-user-doc -->
917    * @generated
918    */

919   public EReference getGenClass_GenFeatures()
920   {
921     return (EReference)genClassEClass.getEStructuralFeatures().get(3);
922   }
923
924   /**
925    * <!-- begin-user-doc -->
926    * <!-- end-user-doc -->
927    * @generated
928    */

929   public EReference getGenClass_GenOperations()
930   {
931     return (EReference)genClassEClass.getEStructuralFeatures().get(4);
932   }
933
934   /**
935    * <!-- begin-user-doc -->
936    * <!-- end-user-doc -->
937    * @generated
938    */

939   public EReference getGenClass_LabelFeature()
940   {
941     return (EReference)genClassEClass.getEStructuralFeatures().get(5);
942   }
943
944   /**
945    * <!-- begin-user-doc -->
946    * <!-- end-user-doc -->
947    * @generated
948    */

949   public EClass getGenFeature()
950   {
951     return genFeatureEClass;
952   }
953
954   /**
955    * <!-- begin-user-doc -->
956    * <!-- end-user-doc -->
957    * @generated
958    */

959   public EAttribute getGenFeature_Property()
960   {
961     return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(0);
962   }
963
964   /**
965    * <!-- begin-user-doc -->
966    * <!-- end-user-doc -->
967    * @generated
968    */

969   public EAttribute getGenFeature_Notify()
970   {
971     return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(1);
972   }
973
974   /**
975    * <!-- begin-user-doc -->
976    * <!-- end-user-doc -->
977    * @generated
978    */

979   public EAttribute getGenFeature_Children()
980   {
981     return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(2);
982   }
983
984   /**
985    * <!-- begin-user-doc -->
986    * <!-- end-user-doc -->
987    * @generated
988    */

989   public EAttribute getGenFeature_CreateChild()
990   {
991     return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(3);
992   }
993
994   /**
995    * <!-- begin-user-doc -->
996    * <!-- end-user-doc -->
997    * @generated
998    */

999   public EAttribute getGenFeature_PropertyCategory()
1000  {
1001    return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(4);
1002  }
1003
1004  /**
1005   * <!-- begin-user-doc -->
1006   * <!-- end-user-doc -->
1007   * @generated
1008   */

1009  public EAttribute getGenFeature_PropertyFilterFlags()
1010  {
1011    return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(5);
1012  }
1013
1014  /**
1015   * <!-- begin-user-doc -->
1016   * <!-- end-user-doc -->
1017   * @generated
1018   */

1019  public EAttribute getGenFeature_PropertyDescription()
1020  {
1021    return (EAttribute)genFeatureEClass.getEStructuralFeatures().get(6);
1022  }
1023
1024  /**
1025   * <!-- begin-user-doc -->
1026   * <!-- end-user-doc -->
1027   * @generated
1028   */

1029  public EReference getGenFeature_GenClass()
1030  {
1031    return (EReference)genFeatureEClass.getEStructuralFeatures().get(7);
1032  }
1033
1034  /**
1035   * <!-- begin-user-doc -->
1036   * <!-- end-user-doc -->
1037   * @generated
1038   */

1039  public EReference getGenFeature_EcoreFeature()
1040  {
1041    return (EReference)genFeatureEClass.getEStructuralFeatures().get(8);
1042  }
1043
1044  /**
1045   * <!-- begin-user-doc -->
1046   * <!-- end-user-doc -->
1047   * @generated
1048   */

1049  public EClass getGenBase()
1050  {
1051    return genBaseEClass;
1052  }
1053
1054  /**
1055   * <!-- begin-user-doc -->
1056   * <!-- end-user-doc -->
1057   * @generated
1058   */

1059  public EClass getGenEnum()
1060  {
1061    return genEnumEClass;
1062  }
1063
1064  /**
1065   * <!-- begin-user-doc -->
1066   * <!-- end-user-doc -->
1067   * @generated
1068   */

1069  public EReference getGenEnum_EcoreEnum()
1070  {
1071    return (EReference)genEnumEClass.getEStructuralFeatures().get(0);
1072  }
1073
1074  /**
1075   * <!-- begin-user-doc -->
1076   * <!-- end-user-doc -->
1077   * @generated
1078   */

1079  public EReference getGenEnum_GenEnumLiterals()
1080  {
1081    return (EReference)genEnumEClass.getEStructuralFeatures().get(1);
1082  }
1083
1084  /**
1085   * <!-- begin-user-doc -->
1086   * <!-- end-user-doc -->
1087   * @generated
1088   */

1089  public EClass getGenEnumLiteral()
1090  {
1091    return genEnumLiteralEClass;
1092  }
1093
1094  /**
1095   * <!-- begin-user-doc -->
1096   * <!-- end-user-doc -->
1097   * @generated
1098   */

1099  public EReference getGenEnumLiteral_GenEnum()
1100  {
1101    return (EReference)genEnumLiteralEClass.getEStructuralFeatures().get(0);
1102  }
1103
1104  /**
1105   * <!-- begin-user-doc -->
1106   * <!-- end-user-doc -->
1107   * @generated
1108   */

1109  public EReference getGenEnumLiteral_EcoreEnumLiteral()
1110  {
1111    return (EReference)genEnumLiteralEClass.getEStructuralFeatures().get(1);
1112  }
1113
1114  /**
1115   * <!-- begin-user-doc -->
1116   * <!-- end-user-doc -->
1117   * @generated
1118   */

1119  public EClass getGenClassifier()
1120  {
1121    return genClassifierEClass;
1122  }
1123
1124  /**
1125   * <!-- begin-user-doc -->
1126   * <!-- end-user-doc -->
1127   * @generated
1128   */

1129  public EReference getGenClassifier_GenPackage()
1130  {
1131    return (EReference)genClassifierEClass.getEStructuralFeatures().get(0);
1132  }
1133
1134  /**
1135   * <!-- begin-user-doc -->
1136   * <!-- end-user-doc -->
1137   * @generated
1138   */

1139  public EClass getGenDataType()
1140  {
1141    return genDataTypeEClass;
1142  }
1143
1144  /**
1145   * <!-- begin-user-doc -->
1146   * <!-- end-user-doc -->
1147   * @generated
1148   */

1149  public EReference getGenDataType_EcoreDataType()
1150  {
1151    return (EReference)genDataTypeEClass.getEStructuralFeatures().get(0);
1152  }
1153
1154  /**
1155   * <!-- begin-user-doc -->
1156   * <!-- end-user-doc -->
1157   * @generated
1158   */

1159  public EClass getGenOperation()
1160  {
1161    return genOperationEClass;
1162  }
1163
1164  /**
1165   * <!-- begin-user-doc -->
1166   * <!-- end-user-doc -->
1167   * @generated
1168   */

1169  public EReference getGenOperation_GenClass()
1170  {
1171    return (EReference)genOperationEClass.getEStructuralFeatures().get(0);
1172  }
1173
1174  /**
1175   * <!-- begin-user-doc -->
1176   * <!-- end-user-doc -->
1177   * @generated
1178   */

1179  public EReference getGenOperation_EcoreOperation()
1180  {
1181    return (EReference)genOperationEClass.getEStructuralFeatures().get(1);
1182  }
1183
1184  /**
1185   * <!-- begin-user-doc -->
1186   * <!-- end-user-doc -->
1187   * @generated
1188   */

1189  public EReference getGenOperation_GenParameters()
1190  {
1191    return (EReference)genOperationEClass.getEStructuralFeatures().get(2);
1192  }
1193
1194  /**
1195   * <!-- begin-user-doc -->
1196   * <!-- end-user-doc -->
1197   * @generated
1198   */

1199  public EClass getGenParameter()
1200  {
1201    return genParameterEClass;
1202  }
1203
1204  /**
1205   * <!-- begin-user-doc -->
1206   * <!-- end-user-doc -->
1207   * @generated
1208   */

1209  public EReference getGenParameter_GenOperation()
1210  {
1211    return (EReference)genParameterEClass.getEStructuralFeatures().get(0);
1212  }
1213
1214  /**
1215   * <!-- begin-user-doc -->
1216   * <!-- end-user-doc -->
1217   * @generated
1218   */

1219  public EReference getGenParameter_EcoreParameter()
1220  {
1221    return (EReference)genParameterEClass.getEStructuralFeatures().get(1);
1222  }
1223
1224  /**
1225   * <!-- begin-user-doc -->
1226   * <!-- end-user-doc -->
1227   * @generated
1228   */

1229  public EClass getGenTypedElement()
1230  {
1231    return genTypedElementEClass;
1232  }
1233
1234  /**
1235   * <!-- begin-user-doc -->
1236   * <!-- end-user-doc -->
1237   * @generated
1238   */

1239  public EEnum getGenProviderKind()
1240  {
1241    return genProviderKindEEnum;
1242  }
1243
1244  /**
1245   * <!-- begin-user-doc -->
1246   * <!-- end-user-doc -->
1247   * @generated
1248   */

1249  public EEnum getGenPropertyKind()
1250  {
1251    return genPropertyKindEEnum;
1252  }
1253
1254  /**
1255   * <!-- begin-user-doc -->
1256   * <!-- end-user-doc -->
1257   * @generated
1258   */

1259  public EEnum getGenResourceKind()
1260  {
1261    return genResourceKindEEnum;
1262  }
1263
1264  /**
1265   * <!-- begin-user-doc -->
1266   * <!-- end-user-doc -->
1267   * @generated
1268   */

1269  public GenModelFactory getGenModelFactory()
1270  {
1271    return (GenModelFactory)getEFactoryInstance();
1272  }
1273
1274  /**
1275   * <!-- begin-user-doc -->
1276   * <!-- end-user-doc -->
1277   * @generated
1278   */

1279  private boolean isCreated = false;
1280 
1281  /**
1282   * Creates the meta-model objects for the package. This method is
1283   * guarded to have no affect on any invocation but its first.
1284   * <!-- begin-user-doc -->
1285   * <!-- end-user-doc -->
1286   * @generated
1287   */

1288  public void createPackageContents()
1289  {
1290    if (isCreated) return;
1291    isCreated = true;
1292
1293    // Create classes and their features
1294
genModelEClass = createEClass(GEN_MODEL);
1295    createEAttribute(genModelEClass, GEN_MODEL__COPYRIGHT_TEXT);
1296    createEAttribute(genModelEClass, GEN_MODEL__MODEL_DIRECTORY);
1297    createEAttribute(genModelEClass, GEN_MODEL__CREATION_COMMANDS);
1298    createEAttribute(genModelEClass, GEN_MODEL__CREATION_ICONS);
1299    createEAttribute(genModelEClass, GEN_MODEL__EDIT_DIRECTORY);
1300    createEAttribute(genModelEClass, GEN_MODEL__EDITOR_DIRECTORY);
1301    createEAttribute(genModelEClass, GEN_MODEL__MODEL_PLUGIN_ID);
1302    createEAttribute(genModelEClass, GEN_MODEL__TEMPLATE_DIRECTORY);
1303    createEAttribute(genModelEClass, GEN_MODEL__RUNTIME_JAR);
1304    createEAttribute(genModelEClass, GEN_MODEL__FOREIGN_MODEL);
1305    createEAttribute(genModelEClass, GEN_MODEL__DYNAMIC_TEMPLATES);
1306    createEAttribute(genModelEClass, GEN_MODEL__REDIRECTION);
1307    createEAttribute(genModelEClass, GEN_MODEL__FORCE_OVERWRITE);
1308    createEAttribute(genModelEClass, GEN_MODEL__NON_EXTERNALIZED_STRING_TAG);
1309    createEAttribute(genModelEClass, GEN_MODEL__MODEL_NAME);
1310    createEAttribute(genModelEClass, GEN_MODEL__MODEL_PLUGIN_CLASS);
1311    createEAttribute(genModelEClass, GEN_MODEL__EDIT_PLUGIN_CLASS);
1312    createEAttribute(genModelEClass, GEN_MODEL__EDITOR_PLUGIN_CLASS);
1313    createEAttribute(genModelEClass, GEN_MODEL__UPDATE_CLASSPATH);
1314    createEAttribute(genModelEClass, GEN_MODEL__GENERATE_SCHEMA);
1315    createEAttribute(genModelEClass, GEN_MODEL__NON_NLS_MARKERS);
1316    createEAttribute(genModelEClass, GEN_MODEL__STATIC_PACKAGES);
1317    createEAttribute(genModelEClass, GEN_MODEL__MODEL_PLUGIN_VARIABLES);
1318    createEAttribute(genModelEClass, GEN_MODEL__ROOT_EXTENDS_INTERFACE);
1319    createEAttribute(genModelEClass, GEN_MODEL__ROOT_EXTENDS_CLASS);
1320    createEAttribute(genModelEClass, GEN_MODEL__ROOT_IMPLEMENTS_INTERFACE);
1321    createEAttribute(genModelEClass, GEN_MODEL__SUPPRESS_EMF_TYPES);
1322    createEAttribute(genModelEClass, GEN_MODEL__FEATURE_MAP_WRAPPER_INTERFACE);
1323    createEAttribute(genModelEClass, GEN_MODEL__FEATURE_MAP_WRAPPER_INTERNAL_INTERFACE);
1324    createEAttribute(genModelEClass, GEN_MODEL__FEATURE_MAP_WRAPPER_CLASS);
1325    createEAttribute(genModelEClass, GEN_MODEL__RUNTIME_COMPATIBILITY);
1326    createEAttribute(genModelEClass, GEN_MODEL__RICH_CLIENT_PLATFORM);
1327    createEAttribute(genModelEClass, GEN_MODEL__REFLECTIVE_DELEGATION);
1328    createEAttribute(genModelEClass, GEN_MODEL__CODE_FORMATTING);
1329    createEAttribute(genModelEClass, GEN_MODEL__TESTS_DIRECTORY);
1330    createEAttribute(genModelEClass, GEN_MODEL__TEST_SUITE_CLASS);
1331    createEAttribute(genModelEClass, GEN_MODEL__BOOLEAN_FLAGS_FIELD);
1332    createEAttribute(genModelEClass, GEN_MODEL__BOOLEAN_FLAGS_RESERVED_BITS);
1333    createEAttribute(genModelEClass, GEN_MODEL__IMPORTER_ID);
1334    createEAttribute(genModelEClass, GEN_MODEL__BUNDLE_MANIFEST);
1335    createEReference(genModelEClass, GEN_MODEL__GEN_PACKAGES);
1336    createEReference(genModelEClass, GEN_MODEL__USED_GEN_PACKAGES);
1337
1338    genPackageEClass = createEClass(GEN_PACKAGE);
1339    createEAttribute(genPackageEClass, GEN_PACKAGE__PREFIX);
1340    createEAttribute(genPackageEClass, GEN_PACKAGE__BASE_PACKAGE);
1341    createEAttribute(genPackageEClass, GEN_PACKAGE__RESOURCE);
1342    createEAttribute(genPackageEClass, GEN_PACKAGE__DISPOSABLE_PROVIDER_FACTORY);
1343    createEAttribute(genPackageEClass, GEN_PACKAGE__ADAPTER_FACTORY);
1344    createEAttribute(genPackageEClass, GEN_PACKAGE__LOAD_INITIALIZATION);
1345    createEAttribute(genPackageEClass, GEN_PACKAGE__INTERFACE_PACKAGE_SUFFIX);
1346    createEAttribute(genPackageEClass, GEN_PACKAGE__CLASS_PACKAGE_SUFFIX);
1347    createEAttribute(genPackageEClass, GEN_PACKAGE__UTILITY_PACKAGE_SUFFIX);
1348    createEAttribute(genPackageEClass, GEN_PACKAGE__PROVIDER_PACKAGE_SUFFIX);
1349    createEAttribute(genPackageEClass, GEN_PACKAGE__PRESENTATION_PACKAGE_SUFFIX);
1350    createEAttribute(genPackageEClass, GEN_PACKAGE__TESTS_PACKAGE_SUFFIX);
1351    createEAttribute(genPackageEClass, GEN_PACKAGE__GENERATE_EXAMPLE_CLASS);
1352    createEReference(genPackageEClass, GEN_PACKAGE__ECORE_PACKAGE);
1353    createEReference(genPackageEClass, GEN_PACKAGE__GEN_MODEL);
1354    createEReference(genPackageEClass, GEN_PACKAGE__GEN_ENUMS);
1355    createEReference(genPackageEClass, GEN_PACKAGE__GEN_DATA_TYPES);
1356    createEReference(genPackageEClass, GEN_PACKAGE__GEN_CLASSES);
1357    createEReference(genPackageEClass, GEN_PACKAGE__NESTED_GEN_PACKAGES);
1358    createEReference(genPackageEClass, GEN_PACKAGE__GEN_CLASSIFIERS);
1359
1360    genClassEClass = createEClass(GEN_CLASS);
1361    createEAttribute(genClassEClass, GEN_CLASS__PROVIDER);
1362    createEAttribute(genClassEClass, GEN_CLASS__IMAGE);
1363    createEReference(genClassEClass, GEN_CLASS__ECORE_CLASS);
1364    createEReference(genClassEClass, GEN_CLASS__GEN_FEATURES);
1365    createEReference(genClassEClass, GEN_CLASS__GEN_OPERATIONS);
1366    createEReference(genClassEClass, GEN_CLASS__LABEL_FEATURE);
1367
1368    genFeatureEClass = createEClass(GEN_FEATURE);
1369    createEAttribute(genFeatureEClass, GEN_FEATURE__PROPERTY);
1370    createEAttribute(genFeatureEClass, GEN_FEATURE__NOTIFY);
1371    createEAttribute(genFeatureEClass, GEN_FEATURE__CHILDREN);
1372    createEAttribute(genFeatureEClass, GEN_FEATURE__CREATE_CHILD);
1373    createEAttribute(genFeatureEClass, GEN_FEATURE__PROPERTY_CATEGORY);
1374    createEAttribute(genFeatureEClass, GEN_FEATURE__PROPERTY_FILTER_FLAGS);
1375    createEAttribute(genFeatureEClass, GEN_FEATURE__PROPERTY_DESCRIPTION);
1376    createEReference(genFeatureEClass, GEN_FEATURE__GEN_CLASS);
1377    createEReference(genFeatureEClass, GEN_FEATURE__ECORE_FEATURE);
1378
1379    genBaseEClass = createEClass(GEN_BASE);
1380
1381    genEnumEClass = createEClass(GEN_ENUM);
1382    createEReference(genEnumEClass, GEN_ENUM__ECORE_ENUM);
1383    createEReference(genEnumEClass, GEN_ENUM__GEN_ENUM_LITERALS);
1384
1385    genEnumLiteralEClass = createEClass(GEN_ENUM_LITERAL);
1386    createEReference(genEnumLiteralEClass, GEN_ENUM_LITERAL__GEN_ENUM);
1387    createEReference(genEnumLiteralEClass, GEN_ENUM_LITERAL__ECORE_ENUM_LITERAL);
1388
1389    genClassifierEClass = createEClass(GEN_CLASSIFIER);
1390    createEReference(genClassifierEClass, GEN_CLASSIFIER__GEN_PACKAGE);
1391
1392    genDataTypeEClass = createEClass(GEN_DATA_TYPE);
1393    createEReference(genDataTypeEClass, GEN_DATA_TYPE__ECORE_DATA_TYPE);
1394
1395    genOperationEClass = createEClass(GEN_OPERATION);
1396    createEReference(genOperationEClass, GEN_OPERATION__GEN_CLASS);
1397    createEReference(genOperationEClass, GEN_OPERATION__ECORE_OPERATION);
1398    createEReference(genOperationEClass, GEN_OPERATION__GEN_PARAMETERS);
1399
1400    genParameterEClass = createEClass(GEN_PARAMETER);
1401    createEReference(genParameterEClass, GEN_PARAMETER__GEN_OPERATION);
1402    createEReference(genParameterEClass, GEN_PARAMETER__ECORE_PARAMETER);
1403
1404    genTypedElementEClass = createEClass(GEN_TYPED_ELEMENT);
1405
1406    // Create enums
1407
genProviderKindEEnum = createEEnum(GEN_PROVIDER_KIND);
1408    genPropertyKindEEnum = createEEnum(GEN_PROPERTY_KIND);
1409    genResourceKindEEnum = createEEnum(GEN_RESOURCE_KIND);
1410  }
1411
1412  /**
1413   * <!-- begin-user-doc -->
1414   * <!-- end-user-doc -->
1415   * @generated
1416   */

1417  private boolean isInitialized = false;
1418
1419  /**
1420   * Complete the initialization of the package and its meta-model. This
1421   * method is guarded to have no affect on any invocation but its first.
1422   * <!-- begin-user-doc -->
1423   * <!-- end-user-doc -->
1424   * @generated
1425   */

1426  public void initializePackageContents()
1427  {
1428    if (isInitialized) return;
1429    isInitialized = true;
1430
1431    // Initialize package
1432
setName(eNAME);
1433    setNsPrefix(eNS_PREFIX);
1434    setNsURI(eNS_URI);
1435
1436    // Obtain other dependent packages
1437
EcorePackageImpl theEcorePackage = (EcorePackageImpl)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
1438
1439    // Add supertypes to classes
1440
genModelEClass.getESuperTypes().add(this.getGenBase());
1441    genPackageEClass.getESuperTypes().add(this.getGenBase());
1442    genClassEClass.getESuperTypes().add(this.getGenClassifier());
1443    genFeatureEClass.getESuperTypes().add(this.getGenTypedElement());
1444    genEnumEClass.getESuperTypes().add(this.getGenDataType());
1445    genEnumLiteralEClass.getESuperTypes().add(this.getGenBase());
1446    genClassifierEClass.getESuperTypes().add(this.getGenBase());
1447    genDataTypeEClass.getESuperTypes().add(this.getGenClassifier());
1448    genOperationEClass.getESuperTypes().add(this.getGenTypedElement());
1449    genParameterEClass.getESuperTypes().add(this.getGenTypedElement());
1450    genTypedElementEClass.getESuperTypes().add(this.getGenBase());
1451
1452    // Initialize classes and features; add operations and parameters
1453
initEClass(genModelEClass, GenModel.class, "GenModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1454    initEAttribute(getGenModel_CopyrightText(), ecorePackage.getEString(), "copyrightText", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1455    initEAttribute(getGenModel_ModelDirectory(), ecorePackage.getEString(), "modelDirectory", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1456    initEAttribute(getGenModel_CreationCommands(), ecorePackage.getEBoolean(), "creationCommands", "true", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1457    initEAttribute(getGenModel_CreationIcons(), ecorePackage.getEBoolean(), "creationIcons", "true", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1458    initEAttribute(getGenModel_EditDirectory(), ecorePackage.getEString(), "editDirectory", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1459    initEAttribute(getGenModel_EditorDirectory(), ecorePackage.getEString(), "editorDirectory", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1460    initEAttribute(getGenModel_ModelPluginID(), ecorePackage.getEString(), "modelPluginID", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1461    initEAttribute(getGenModel_TemplateDirectory(), ecorePackage.getEString(), "templateDirectory", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1462    initEAttribute(getGenModel_RuntimeJar(), ecorePackage.getEBoolean(), "runtimeJar", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1463    initEAttribute(getGenModel_ForeignModel(), ecorePackage.getEString(), "foreignModel", null, 0, -1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1464    initEAttribute(getGenModel_DynamicTemplates(), ecorePackage.getEBoolean(), "dynamicTemplates", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1465    initEAttribute(getGenModel_Redirection(), ecorePackage.getEString(), "redirection", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1466    initEAttribute(getGenModel_ForceOverwrite(), ecorePackage.getEBoolean(), "forceOverwrite", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1467    initEAttribute(getGenModel_NonExternalizedStringTag(), ecorePackage.getEString(), "nonExternalizedStringTag", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1468    initEAttribute(getGenModel_ModelName(), ecorePackage.getEString(), "modelName", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1469    initEAttribute(getGenModel_ModelPluginClass(), ecorePackage.getEString(), "modelPluginClass", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1470    initEAttribute(getGenModel_EditPluginClass(), ecorePackage.getEString(), "editPluginClass", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1471    initEAttribute(getGenModel_EditorPluginClass(), ecorePackage.getEString(), "editorPluginClass", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1472    initEAttribute(getGenModel_UpdateClasspath(), ecorePackage.getEBoolean(), "updateClasspath", "true", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1473    initEAttribute(getGenModel_GenerateSchema(), ecorePackage.getEBoolean(), "generateSchema", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1474    initEAttribute(getGenModel_NonNLSMarkers(), ecorePackage.getEBoolean(), "nonNLSMarkers", "false", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1475    initEAttribute(getGenModel_StaticPackages(), ecorePackage.getEString(), "staticPackages", null, 0, -1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1476    initEAttribute(getGenModel_ModelPluginVariables(), ecorePackage.getEString(), "modelPluginVariables", null, 0, -1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1477    initEAttribute(getGenModel_RootExtendsInterface(), ecorePackage.getEString(), "rootExtendsInterface", "org.eclipse.emf.ecore.EObject", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1478    initEAttribute(getGenModel_RootExtendsClass(), ecorePackage.getEString(), "rootExtendsClass", "org.eclipse.emf.ecore.impl.EObjectImpl", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1479    initEAttribute(getGenModel_RootImplementsInterface(), ecorePackage.getEString(), "rootImplementsInterface", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1480    initEAttribute(getGenModel_SuppressEMFTypes(), ecorePackage.getEBoolean(), "suppressEMFTypes", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1481    initEAttribute(getGenModel_FeatureMapWrapperInterface(), ecorePackage.getEString(), "featureMapWrapperInterface", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1482    initEAttribute(getGenModel_FeatureMapWrapperInternalInterface(), ecorePackage.getEString(), "featureMapWrapperInternalInterface", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1483    initEAttribute(getGenModel_FeatureMapWrapperClass(), ecorePackage.getEString(), "featureMapWrapperClass", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1484    initEAttribute(getGenModel_RuntimeCompatibility(), ecorePackage.getEBoolean(), "runtimeCompatibility", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1485    initEAttribute(getGenModel_RichClientPlatform(), ecorePackage.getEBoolean(), "richClientPlatform", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1486    initEAttribute(getGenModel_ReflectiveDelegation(), ecorePackage.getEBoolean(), "reflectiveDelegation", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1487    initEAttribute(getGenModel_CodeFormatting(), ecorePackage.getEBoolean(), "codeFormatting", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1488    initEAttribute(getGenModel_TestsDirectory(), ecorePackage.getEString(), "testsDirectory", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1489    initEAttribute(getGenModel_TestSuiteClass(), ecorePackage.getEString(), "testSuiteClass", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1490    initEAttribute(getGenModel_BooleanFlagsField(), ecorePackage.getEString(), "booleanFlagsField", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1491    initEAttribute(getGenModel_BooleanFlagsReservedBits(), ecorePackage.getEInt(), "booleanFlagsReservedBits", "-1", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1492    initEAttribute(getGenModel_ImporterID(), ecorePackage.getEString(), "importerID", null, 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1493    initEAttribute(getGenModel_BundleManifest(), ecorePackage.getEBoolean(), "bundleManifest", "true", 0, 1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1494    initEReference(getGenModel_GenPackages(), this.getGenPackage(), this.getGenPackage_GenModel(), "genPackages", null, 0, -1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1495    initEReference(getGenModel_UsedGenPackages(), this.getGenPackage(), null, "usedGenPackages", null, 0, -1, GenModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1496
1497    initEClass(genPackageEClass, GenPackage.class, "GenPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1498    initEAttribute(getGenPackage_Prefix(), ecorePackage.getEString(), "prefix", null, 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1499    initEAttribute(getGenPackage_BasePackage(), ecorePackage.getEString(), "basePackage", null, 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1500    initEAttribute(getGenPackage_Resource(), this.getGenResourceKind(), "resource", null, 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1501    initEAttribute(getGenPackage_DisposableProviderFactory(), ecorePackage.getEBoolean(), "disposableProviderFactory", null, 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1502    initEAttribute(getGenPackage_AdapterFactory(), ecorePackage.getEBoolean(), "adapterFactory", "true", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1503    initEAttribute(getGenPackage_LoadInitialization(), ecorePackage.getEBoolean(), "loadInitialization", null, 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1504    initEAttribute(getGenPackage_InterfacePackageSuffix(), ecorePackage.getEString(), "interfacePackageSuffix", "", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1505    initEAttribute(getGenPackage_ClassPackageSuffix(), ecorePackage.getEString(), "classPackageSuffix", "impl", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1506    initEAttribute(getGenPackage_UtilityPackageSuffix(), ecorePackage.getEString(), "utilityPackageSuffix", "util", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1507    initEAttribute(getGenPackage_ProviderPackageSuffix(), ecorePackage.getEString(), "providerPackageSuffix", "provider", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1508    initEAttribute(getGenPackage_PresentationPackageSuffix(), ecorePackage.getEString(), "presentationPackageSuffix", "presentation", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1509    initEAttribute(getGenPackage_TestsPackageSuffix(), ecorePackage.getEString(), "testsPackageSuffix", "tests", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1510    initEAttribute(getGenPackage_GenerateExampleClass(), ecorePackage.getEBoolean(), "generateExampleClass", "true", 0, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1511    initEReference(getGenPackage_EcorePackage(), theEcorePackage.getEPackage(), null, "ecorePackage", null, 1, 1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1512    initEReference(getGenPackage_GenModel(), this.getGenModel(), this.getGenModel_GenPackages(), "genModel", null, 1, 1, GenPackage.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1513    initEReference(getGenPackage_GenEnums(), this.getGenEnum(), null, "genEnums", null, 0, -1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1514    initEReference(getGenPackage_GenDataTypes(), this.getGenDataType(), null, "genDataTypes", null, 0, -1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1515    initEReference(getGenPackage_GenClasses(), this.getGenClass(), null, "genClasses", null, 0, -1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1516    initEReference(getGenPackage_NestedGenPackages(), this.getGenPackage(), null, "nestedGenPackages", null, 0, -1, GenPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1517    initEReference(getGenPackage_GenClassifiers(), this.getGenClassifier(), this.getGenClassifier_GenPackage(), "genClassifiers", null, 0, -1, GenPackage.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1518
1519    initEClass(genClassEClass, GenClass.class, "GenClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1520    initEAttribute(getGenClass_Provider(), this.getGenProviderKind(), "provider", null, 0, 1, GenClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1521    initEAttribute(getGenClass_Image(), ecorePackage.getEBoolean(), "image", "true", 0, 1, GenClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1522    initEReference(getGenClass_EcoreClass(), theEcorePackage.getEClass(), null, "ecoreClass", null, 1, 1, GenClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1523    initEReference(getGenClass_GenFeatures(), this.getGenFeature(), this.getGenFeature_GenClass(), "genFeatures", null, 0, -1, GenClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1524    initEReference(getGenClass_GenOperations(), this.getGenOperation(), this.getGenOperation_GenClass(), "genOperations", null, 0, -1, GenClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1525    initEReference(getGenClass_LabelFeature(), this.getGenFeature(), null, "labelFeature", null, 0, 1, GenClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1526
1527    initEClass(genFeatureEClass, GenFeature.class, "GenFeature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1528    initEAttribute(getGenFeature_Property(), this.getGenPropertyKind(), "property", null, 0, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1529    initEAttribute(getGenFeature_Notify(), ecorePackage.getEBoolean(), "notify", "true", 0, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1530    initEAttribute(getGenFeature_Children(), ecorePackage.getEBoolean(), "children", null, 0, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1531    initEAttribute(getGenFeature_CreateChild(), ecorePackage.getEBoolean(), "createChild", null, 0, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1532    initEAttribute(getGenFeature_PropertyCategory(), ecorePackage.getEString(), "propertyCategory", null, 0, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1533    initEAttribute(getGenFeature_PropertyFilterFlags(), ecorePackage.getEString(), "propertyFilterFlags", null, 0, -1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1534    initEAttribute(getGenFeature_PropertyDescription(), ecorePackage.getEString(), "propertyDescription", null, 0, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1535    initEReference(getGenFeature_GenClass(), this.getGenClass(), this.getGenClass_GenFeatures(), "genClass", null, 1, 1, GenFeature.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1536    initEReference(getGenFeature_EcoreFeature(), theEcorePackage.getEStructuralFeature(), null, "ecoreFeature", null, 1, 1, GenFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1537
1538    initEClass(genBaseEClass, GenBase.class, "GenBase", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1539
1540    initEClass(genEnumEClass, GenEnum.class, "GenEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1541    initEReference(getGenEnum_EcoreEnum(), theEcorePackage.getEEnum(), null, "ecoreEnum", null, 1, 1, GenEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1542    initEReference(getGenEnum_GenEnumLiterals(), this.getGenEnumLiteral(), this.getGenEnumLiteral_GenEnum(), "genEnumLiterals", null, 0, -1, GenEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1543
1544    initEClass(genEnumLiteralEClass, GenEnumLiteral.class, "GenEnumLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1545    initEReference(getGenEnumLiteral_GenEnum(), this.getGenEnum(), this.getGenEnum_GenEnumLiterals(), "genEnum", null, 1, 1, GenEnumLiteral.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1546    initEReference(getGenEnumLiteral_EcoreEnumLiteral(), theEcorePackage.getEEnumLiteral(), null, "ecoreEnumLiteral", null, 1, 1, GenEnumLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1547
1548    initEClass(genClassifierEClass, GenClassifier.class, "GenClassifier", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1549    initEReference(getGenClassifier_GenPackage(), this.getGenPackage(), this.getGenPackage_GenClassifiers(), "genPackage", null, 1, 1, GenClassifier.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1550
1551    initEClass(genDataTypeEClass, GenDataType.class, "GenDataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1552    initEReference(getGenDataType_EcoreDataType(), theEcorePackage.getEDataType(), null, "ecoreDataType", null, 1, 1, GenDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1553
1554    initEClass(genOperationEClass, GenOperation.class, "GenOperation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1555    initEReference(getGenOperation_GenClass(), this.getGenClass(), this.getGenClass_GenOperations(), "genClass", null, 1, 1, GenOperation.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1556    initEReference(getGenOperation_EcoreOperation(), theEcorePackage.getEOperation(), null, "ecoreOperation", null, 1, 1, GenOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1557    initEReference(getGenOperation_GenParameters(), this.getGenParameter(), this.getGenParameter_GenOperation(), "genParameters", null, 0, -1, GenOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1558
1559    initEClass(genParameterEClass, GenParameter.class, "GenParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1560    initEReference(getGenParameter_GenOperation(), this.getGenOperation(), this.getGenOperation_GenParameters(), "genOperation", null, 1, 1, GenParameter.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1561    initEReference(getGenParameter_EcoreParameter(), theEcorePackage.getEParameter(), null, "ecoreParameter", null, 1, 1, GenParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1562
1563    initEClass(genTypedElementEClass, GenTypedElement.class, "GenTypedElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1564
1565    // Initialize enums and add enum literals
1566
initEEnum(genProviderKindEEnum, GenProviderKind.class, "GenProviderKind");
1567    addEEnumLiteral(genProviderKindEEnum, GenProviderKind.SINGLETON_LITERAL);
1568    addEEnumLiteral(genProviderKindEEnum, GenProviderKind.STATEFUL_LITERAL);
1569    addEEnumLiteral(genProviderKindEEnum, GenProviderKind.NONE_LITERAL);
1570
1571    initEEnum(genPropertyKindEEnum, GenPropertyKind.class, "GenPropertyKind");
1572    addEEnumLiteral(genPropertyKindEEnum, GenPropertyKind.EDITABLE_LITERAL);
1573    addEEnumLiteral(genPropertyKindEEnum, GenPropertyKind.READONLY_LITERAL);
1574    addEEnumLiteral(genPropertyKindEEnum, GenPropertyKind.NONE_LITERAL);
1575
1576    initEEnum(genResourceKindEEnum, GenResourceKind.class, "GenResourceKind");
1577    addEEnumLiteral(genResourceKindEEnum, GenResourceKind.NONE_LITERAL);
1578    addEEnumLiteral(genResourceKindEEnum, GenResourceKind.BASIC_LITERAL);
1579    addEEnumLiteral(genResourceKindEEnum, GenResourceKind.XMI_LITERAL);
1580    addEEnumLiteral(genResourceKindEEnum, GenResourceKind.XML_LITERAL);
1581
1582    // Create resource
1583
createResource(eNS_URI);
1584  }
1585
1586} //GenModelPackageImpl
1587
Popular Tags