KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > ecore > impl > EcorePackageImpl


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2002-2004 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: EcorePackageImpl.java,v 1.9 2005/06/08 06:20:10 nickb Exp $
16  */

17 package org.eclipse.emf.ecore.impl;
18
19
20 import java.math.BigDecimal JavaDoc;
21 import java.math.BigInteger JavaDoc;
22 import java.util.Date JavaDoc;
23 import java.util.Map JavaDoc;
24
25 import org.eclipse.emf.common.util.DiagnosticChain;
26 import org.eclipse.emf.common.util.EList;
27 import org.eclipse.emf.common.util.Enumerator;
28 import org.eclipse.emf.common.util.TreeIterator;
29 import org.eclipse.emf.ecore.EAnnotation;
30 import org.eclipse.emf.ecore.EAttribute;
31 import org.eclipse.emf.ecore.EClass;
32 import org.eclipse.emf.ecore.EClassifier;
33 import org.eclipse.emf.ecore.EDataType;
34 import org.eclipse.emf.ecore.EEnum;
35 import org.eclipse.emf.ecore.EEnumLiteral;
36 import org.eclipse.emf.ecore.EFactory;
37 import org.eclipse.emf.ecore.EModelElement;
38 import org.eclipse.emf.ecore.ENamedElement;
39 import org.eclipse.emf.ecore.EObject;
40 import org.eclipse.emf.ecore.EOperation;
41 import org.eclipse.emf.ecore.EPackage;
42 import org.eclipse.emf.ecore.EParameter;
43 import org.eclipse.emf.ecore.EReference;
44 import org.eclipse.emf.ecore.EStructuralFeature;
45 import org.eclipse.emf.ecore.ETypedElement;
46 import org.eclipse.emf.ecore.EcoreFactory;
47 import org.eclipse.emf.ecore.EcorePackage;
48 import org.eclipse.emf.ecore.resource.Resource;
49 import org.eclipse.emf.ecore.resource.ResourceSet;
50 import org.eclipse.emf.ecore.util.FeatureMap;
51
52
53 /**
54  * <!-- begin-user-doc -->
55  * An implementation of the model <b>Package</b>.
56  * <!-- end-user-doc -->
57  * @generated
58  */

59 public class EcorePackageImpl extends EPackageImpl implements EcorePackage
60 {
61   /**
62    * Creates an instance of the model <b>Package</b>, registered with
63    * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
64    * package URI value.
65    * <p>Note: the correct way to create the package is via the static
66    * factory method {@link #init init()}, which also performs
67    * initialization of the package, or returns the registered package,
68    * if one already exists.
69    * <!-- begin-user-doc -->
70    * <!-- end-user-doc -->
71    * @see org.eclipse.emf.ecore.EPackage.Registry
72    * @see org.eclipse.emf.ecore.EcorePackage#eNS_URI
73    * @see #init()
74    * @generated
75    */

76   private EcorePackageImpl()
77   {
78     super(eNS_URI, EcoreFactory.eINSTANCE);
79   }
80
81   /**
82    * <!-- begin-user-doc -->
83    * <!-- end-user-doc -->
84    * @generated
85    */

86   private static boolean isInited = false;
87
88   /**
89    * <!-- begin-user-doc -->
90    * <!-- end-user-doc -->
91    * @generated
92    */

93   private EClass eAttributeEClass = null;
94
95   /**
96    * <!-- begin-user-doc -->
97    * <!-- end-user-doc -->
98    * @generated
99    */

100   private EClass eAnnotationEClass = null;
101
102   /**
103    * <!-- begin-user-doc -->
104    * <!-- end-user-doc -->
105    * @generated
106    */

107   private EClass eClassEClass = null;
108
109   /**
110    * <!-- begin-user-doc -->
111    * <!-- end-user-doc -->
112    * @generated
113    */

114   private EClass eDataTypeEClass = null;
115
116   /**
117    * <!-- begin-user-doc -->
118    * <!-- end-user-doc -->
119    * @generated
120    */

121   private EClass eEnumEClass = null;
122
123   /**
124    * <!-- begin-user-doc -->
125    * <!-- end-user-doc -->
126    * @generated
127    */

128   private EClass eEnumLiteralEClass = null;
129
130   /**
131    * <!-- begin-user-doc -->
132    * <!-- end-user-doc -->
133    * @generated
134    */

135   private EClass eFactoryEClass = null;
136
137   /**
138    * <!-- begin-user-doc -->
139    * <!-- end-user-doc -->
140    * @generated
141    */

142   private EClass eClassifierEClass = null;
143
144   /**
145    * <!-- begin-user-doc -->
146    * <!-- end-user-doc -->
147    * @generated
148    */

149   private EClass eModelElementEClass = null;
150
151   /**
152    * <!-- begin-user-doc -->
153    * <!-- end-user-doc -->
154    * @generated
155    */

156   private EClass eNamedElementEClass = null;
157
158   /**
159    * <!-- begin-user-doc -->
160    * <!-- end-user-doc -->
161    * @generated
162    */

163   private EClass eObjectEClass = null;
164
165   /**
166    * <!-- begin-user-doc -->
167    * <!-- end-user-doc -->
168    * @generated
169    */

170   private EClass eOperationEClass = null;
171
172   /**
173    * <!-- begin-user-doc -->
174    * <!-- end-user-doc -->
175    * @generated
176    */

177   private EClass ePackageEClass = null;
178
179   /**
180    * <!-- begin-user-doc -->
181    * <!-- end-user-doc -->
182    * @generated
183    */

184   private EClass eParameterEClass = null;
185
186   /**
187    * <!-- begin-user-doc -->
188    * <!-- end-user-doc -->
189    * @generated
190    */

191   private EClass eReferenceEClass = null;
192
193   /**
194    * <!-- begin-user-doc -->
195    * <!-- end-user-doc -->
196    * @generated
197    */

198   private EClass eStructuralFeatureEClass = null;
199
200   /**
201    * <!-- begin-user-doc -->
202    * <!-- end-user-doc -->
203    * @generated
204    */

205   private EClass eTypedElementEClass = null;
206
207   /**
208    * <!-- begin-user-doc -->
209    * <!-- end-user-doc -->
210    * @generated
211    */

212   private EClass eStringToStringMapEntryEClass = null;
213
214   /**
215    * <!-- begin-user-doc -->
216    * <!-- end-user-doc -->
217    * @generated
218    */

219   private EDataType eBigDecimalEDataType = null;
220
221   /**
222    * <!-- begin-user-doc -->
223    * <!-- end-user-doc -->
224    * @generated
225    */

226   private EDataType eBigIntegerEDataType = null;
227
228   /**
229    * <!-- begin-user-doc -->
230    * <!-- end-user-doc -->
231    * @generated
232    */

233   private EDataType eBooleanObjectEDataType = null;
234
235   /**
236    * <!-- begin-user-doc -->
237    * <!-- end-user-doc -->
238    * @generated
239    */

240   private EDataType eCharacterObjectEDataType = null;
241
242   /**
243    * <!-- begin-user-doc -->
244    * <!-- end-user-doc -->
245    * @generated
246    */

247   private EDataType eDateEDataType = null;
248
249   /**
250    * <!-- begin-user-doc -->
251    * <!-- end-user-doc -->
252    * @generated
253    */

254   private EDataType eDiagnosticChainEDataType = null;
255
256   /**
257    * <!-- begin-user-doc -->
258    * <!-- end-user-doc -->
259    * @generated
260    */

261   private EDataType eDoubleObjectEDataType = null;
262
263   /**
264    * <!-- begin-user-doc -->
265    * <!-- end-user-doc -->
266    * @generated
267    */

268   private EDataType eFloatObjectEDataType = null;
269
270   /**
271    * <!-- begin-user-doc -->
272    * <!-- end-user-doc -->
273    * @generated
274    */

275   private EDataType eIntegerObjectEDataType = null;
276
277   /**
278    * <!-- begin-user-doc -->
279    * <!-- end-user-doc -->
280    * @generated
281    */

282   private EDataType eBooleanEDataType = null;
283
284   /**
285    * <!-- begin-user-doc -->
286    * <!-- end-user-doc -->
287    * @generated
288    */

289   private EDataType eByteObjectEDataType = null;
290
291   /**
292    * <!-- begin-user-doc -->
293    * <!-- end-user-doc -->
294    * @generated
295    */

296   private EDataType eByteEDataType = null;
297
298   /**
299    * <!-- begin-user-doc -->
300    * <!-- end-user-doc -->
301    * @generated
302    */

303   private EDataType eByteArrayEDataType = null;
304
305   /**
306    * <!-- begin-user-doc -->
307    * <!-- end-user-doc -->
308    * @generated
309    */

310   private EDataType eCharEDataType = null;
311
312   /**
313    * <!-- begin-user-doc -->
314    * <!-- end-user-doc -->
315    * @generated
316    */

317   private EDataType eDoubleEDataType = null;
318
319   /**
320    * <!-- begin-user-doc -->
321    * <!-- end-user-doc -->
322    * @generated
323    */

324   private EDataType eFloatEDataType = null;
325
326   /**
327    * <!-- begin-user-doc -->
328    * <!-- end-user-doc -->
329    * @generated
330    */

331   private EDataType eIntEDataType = null;
332
333   /**
334    * <!-- begin-user-doc -->
335    * <!-- end-user-doc -->
336    * @generated
337    */

338   private EDataType eJavaClassEDataType = null;
339
340   /**
341    * <!-- begin-user-doc -->
342    * <!-- end-user-doc -->
343    * @generated
344    */

345   private EDataType eJavaObjectEDataType = null;
346
347   /**
348    * <!-- begin-user-doc -->
349    * <!-- end-user-doc -->
350    * @generated
351    */

352   private EDataType eLongObjectEDataType = null;
353
354   /**
355    * <!-- begin-user-doc -->
356    * <!-- end-user-doc -->
357    * @generated
358    */

359   private EDataType eMapEDataType = null;
360
361   /**
362    * <!-- begin-user-doc -->
363    * <!-- end-user-doc -->
364    * @generated
365    */

366   private EDataType eShortObjectEDataType = null;
367
368   /**
369    * <!-- begin-user-doc -->
370    * <!-- end-user-doc -->
371    * @generated
372    */

373   private EDataType eLongEDataType = null;
374
375   /**
376    * <!-- begin-user-doc -->
377    * <!-- end-user-doc -->
378    * @generated
379    */

380   private EDataType eShortEDataType = null;
381
382   /**
383    * <!-- begin-user-doc -->
384    * <!-- end-user-doc -->
385    * @generated
386    */

387   private EDataType eTreeIteratorEDataType = null;
388
389   /**
390    * <!-- begin-user-doc -->
391    * <!-- end-user-doc -->
392    * @generated
393    */

394   private EDataType eFeatureMapEntryEDataType = null;
395
396   /**
397    * <!-- begin-user-doc -->
398    * <!-- end-user-doc -->
399    * @generated
400    */

401   private EDataType eEnumeratorEDataType = null;
402
403   /**
404    * <!-- begin-user-doc -->
405    * <!-- end-user-doc -->
406    * @generated
407    */

408   private EDataType eFeatureMapEDataType = null;
409
410   /**
411    * <!-- begin-user-doc -->
412    * <!-- end-user-doc -->
413    * @generated
414    */

415   private EDataType eStringEDataType = null;
416
417   /**
418    * <!-- begin-user-doc -->
419    * <!-- end-user-doc -->
420    * @generated
421    */

422   private EDataType eeListEDataType = null;
423
424   /**
425    * <!-- begin-user-doc -->
426    * <!-- end-user-doc -->
427    * @generated
428    */

429   private EDataType eResourceEDataType = null;
430
431   /**
432    * <!-- begin-user-doc -->
433    * <!-- end-user-doc -->
434    * @generated
435    */

436   private EDataType eResourceSetEDataType = null;
437
438   /**
439    * Creates, registers, and initializes the <b>Package</b> for this
440    * model, and for any others upon which it depends. Simple
441    * dependencies are satisfied by calling this method on all
442    * dependent packages before doing anything else. This method drives
443    * initialization for interdependent packages directly, in parallel
444    * with this package, itself.
445    * <p>Of this package and its interdependencies, all packages which
446    * have not yet been registered by their URI values are first created
447    * and registered. The packages are then initialized in two steps:
448    * meta-model objects for all of the packages are created before any
449    * are initialized, since one package's meta-model objects may refer to
450    * those of another.
451    * <p>Invocation of this method will not affect any packages that have
452    * already been initialized.
453    * <!-- begin-user-doc -->
454    * <!-- end-user-doc -->
455    * @see #eNS_URI
456    * @see #createPackageContents()
457    * @see #initializePackageContents()
458    * @generated
459    */

460   public static EcorePackage init()
461   {
462     if (isInited) return (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
463
464     // Obtain or create and register package
465
EcorePackageImpl theEcorePackage = (EcorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof EcorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new EcorePackageImpl());
466
467     isInited = true;
468
469     // Create package meta-data objects
470
theEcorePackage.createPackageContents();
471
472     // Initialize created meta-data
473
theEcorePackage.initializePackageContents();
474
475     return theEcorePackage;
476   }
477
478   public static boolean internalBootstrap()
479   {
480     ((EPackageImpl)EcorePackage.eINSTANCE).freeze();
481     return true;
482   }
483
484   /**
485    * <!-- begin-user-doc -->
486    * <!-- end-user-doc -->
487    * @generated
488    */

489   public EClass getEClass()
490   {
491     return eClassEClass;
492   }
493
494   /**
495    * <!-- begin-user-doc -->
496    * <!-- end-user-doc -->
497    * @generated
498    */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

639   public EClass getEDataType()
640   {
641     return eDataTypeEClass;
642   }
643
644   /**
645    * <!-- begin-user-doc -->
646    * <!-- end-user-doc -->
647    * @generated
648    */

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

659   public EClass getEClassifier()
660   {
661     return eClassifierEClass;
662   }
663
664   /**
665    * <!-- begin-user-doc -->
666    * <!-- end-user-doc -->
667    * @generated
668    */

669   public EAttribute getEClassifier_InstanceClassName()
670   {
671     return (EAttribute)eClassifierEClass.getEStructuralFeatures().get(0);
672   }
673
674   /**
675    * <!-- begin-user-doc -->
676    * <!-- end-user-doc -->
677    * @generated
678    */

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

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

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

709   public EClass getENamedElement()
710   {
711     return eNamedElementEClass;
712   }
713
714   /**
715    * <!-- begin-user-doc -->
716    * <!-- end-user-doc -->
717    * @generated
718    */

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

729   public EClass getEOperation()
730   {
731     return eOperationEClass;
732   }
733
734   /**
735    * <!-- begin-user-doc -->
736    * <!-- end-user-doc -->
737    * @generated
738    */

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

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

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

769   public EClass getEModelElement()
770   {
771     return eModelElementEClass;
772   }
773
774   /**
775    * <!-- begin-user-doc -->
776    * <!-- end-user-doc -->
777    * @generated
778    */

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

789   public EClass getEStructuralFeature()
790   {
791     return eStructuralFeatureEClass;
792   }
793
794   /**
795    * <!-- begin-user-doc -->
796    * <!-- end-user-doc -->
797    * @generated
798    */

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

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

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

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

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

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

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

869   public EReference getEStructuralFeature_EContainingClass()
870   {
871     return (EReference)eStructuralFeatureEClass.getEStructuralFeatures().get(7);
872   }
873
874   /**
875    * @deprecated
876    */

877   public EAttribute getEStructuralFeature_Unique()
878   {
879     return getETypedElement_Unique();
880   }
881
882   /**
883    * @deprecated
884    */

885   public EAttribute getEStructuralFeature_LowerBound()
886   {
887     return getETypedElement_LowerBound();
888   }
889
890   /**
891    * @deprecated
892    */

893   public EAttribute getEStructuralFeature_UpperBound()
894   {
895     return getETypedElement_UpperBound();
896   }
897
898   /**
899    * @deprecated
900    */

901   public EAttribute getEStructuralFeature_Many()
902   {
903     return getETypedElement_Many();
904   }
905
906   /**
907    * @deprecated
908    */

909   public EAttribute getEStructuralFeature_Required()
910   {
911     return getETypedElement_Required();
912   }
913
914   /**
915    * <!-- begin-user-doc -->
916    * <!-- end-user-doc -->
917    * @generated
918    */

919   public EClass getEAttribute()
920   {
921     return eAttributeEClass;
922   }
923
924   /**
925    * <!-- begin-user-doc -->
926    * <!-- end-user-doc -->
927    * @generated
928    */

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

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

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

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

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

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

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

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

1009  public EClass getEReference()
1010  {
1011    return eReferenceEClass;
1012  }
1013
1014  /**
1015   * <!-- begin-user-doc -->
1016   * <!-- end-user-doc -->
1017   * @generated
1018   */

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

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

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

1049  public EReference getEReference_EOpposite()
1050  {
1051    return (EReference)eReferenceEClass.getEStructuralFeatures().get(3);
1052  }
1053
1054  /**
1055   * <!-- begin-user-doc -->
1056   * <!-- end-user-doc -->
1057   * @generated
1058   */

1059  public EReference getEReference_EReferenceType()
1060  {
1061    return (EReference)eReferenceEClass.getEStructuralFeatures().get(4);
1062  }
1063
1064  /**
1065   * <!-- begin-user-doc -->
1066   * <!-- end-user-doc -->
1067   * @generated
1068   */

1069  public EDataType getEEList()
1070  {
1071    return eeListEDataType;
1072  }
1073
1074  /**
1075   * <!-- begin-user-doc -->
1076   * <!-- end-user-doc -->
1077   * @generated
1078   */

1079  public EDataType getEResource()
1080  {
1081    return eResourceEDataType;
1082  }
1083
1084  /**
1085   * <!-- begin-user-doc -->
1086   * <!-- end-user-doc -->
1087   * @generated
1088   */

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

1099  public EDataType getEBooleanObject()
1100  {
1101    return eBooleanObjectEDataType;
1102  }
1103
1104  /**
1105   * <!-- begin-user-doc -->
1106   * <!-- end-user-doc -->
1107   * @generated
1108   */

1109  public EDataType getECharacterObject()
1110  {
1111    return eCharacterObjectEDataType;
1112  }
1113
1114  /**
1115   * <!-- begin-user-doc -->
1116   * <!-- end-user-doc -->
1117   * @generated
1118   */

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

1129  public EDataType getEDiagnosticChain()
1130  {
1131    return eDiagnosticChainEDataType;
1132  }
1133
1134  /**
1135   * <!-- begin-user-doc -->
1136   * <!-- end-user-doc -->
1137   * @generated
1138   */

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

1149  public EDataType getEFloatObject()
1150  {
1151    return eFloatObjectEDataType;
1152  }
1153
1154  /**
1155   * <!-- begin-user-doc -->
1156   * <!-- end-user-doc -->
1157   * @generated
1158   */

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

1169  public EClass getETypedElement()
1170  {
1171    return eTypedElementEClass;
1172  }
1173
1174  /**
1175   * <!-- begin-user-doc -->
1176   * <!-- end-user-doc -->
1177   * @generated
1178   */

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

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

1199  public EAttribute getETypedElement_LowerBound()
1200  {
1201    return (EAttribute)eTypedElementEClass.getEStructuralFeatures().get(2);
1202  }
1203
1204  /**
1205   * <!-- begin-user-doc -->
1206   * <!-- end-user-doc -->
1207   * @generated
1208   */

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

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

1229  public EAttribute getETypedElement_Required()
1230  {
1231    return (EAttribute)eTypedElementEClass.getEStructuralFeatures().get(5);
1232  }
1233
1234  /**
1235   * <!-- begin-user-doc -->
1236   * <!-- end-user-doc -->
1237   * @generated
1238   */

1239  public EReference getETypedElement_EType()
1240  {
1241    return (EReference)eTypedElementEClass.getEStructuralFeatures().get(6);
1242  }
1243
1244  /**
1245   * <!-- begin-user-doc -->
1246   * <!-- end-user-doc -->
1247   * @generated
1248   */

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

1259  public EAttribute getEStringToStringMapEntry_Key()
1260  {
1261    return (EAttribute)eStringToStringMapEntryEClass.getEStructuralFeatures().get(0);
1262  }
1263
1264  /**
1265   * <!-- begin-user-doc -->
1266   * <!-- end-user-doc -->
1267   * @generated
1268   */

1269  public EAttribute getEStringToStringMapEntry_Value()
1270  {
1271    return (EAttribute)eStringToStringMapEntryEClass.getEStructuralFeatures().get(1);
1272  }
1273
1274  /**
1275   * <!-- begin-user-doc -->
1276   * <!-- end-user-doc -->
1277   * @generated
1278   */

1279  public EDataType getEBigDecimal()
1280  {
1281    return eBigDecimalEDataType;
1282  }
1283
1284  /**
1285   * <!-- begin-user-doc -->
1286   * <!-- end-user-doc -->
1287   * @generated
1288   */

1289  public EDataType getEBigInteger()
1290  {
1291    return eBigIntegerEDataType;
1292  }
1293
1294  /**
1295   * <!-- begin-user-doc -->
1296   * <!-- end-user-doc -->
1297   * @generated
1298   */

1299  public EClass getEParameter()
1300  {
1301    return eParameterEClass;
1302  }
1303
1304  /**
1305   * <!-- begin-user-doc -->
1306   * <!-- end-user-doc -->
1307   * @generated
1308   */

1309  public EReference getEParameter_EOperation()
1310  {
1311    return (EReference)eParameterEClass.getEStructuralFeatures().get(0);
1312  }
1313
1314  /**
1315   * <!-- begin-user-doc -->
1316   * <!-- end-user-doc -->
1317   * @generated
1318   */

1319  public EClass getEObject()
1320  {
1321    return eObjectEClass;
1322  }
1323
1324  /**
1325   * <!-- begin-user-doc -->
1326   * <!-- end-user-doc -->
1327   * @generated
1328   */

1329  public EClass getEPackage()
1330  {
1331    return ePackageEClass;
1332  }
1333
1334  /**
1335   * <!-- begin-user-doc -->
1336   * <!-- end-user-doc -->
1337   * @generated
1338   */

1339  public EAttribute getEPackage_NsURI()
1340  {
1341    return (EAttribute)ePackageEClass.getEStructuralFeatures().get(0);
1342  }
1343
1344  /**
1345   * <!-- begin-user-doc -->
1346   * <!-- end-user-doc -->
1347   * @generated
1348   */

1349  public EAttribute getEPackage_NsPrefix()
1350  {
1351    return (EAttribute)ePackageEClass.getEStructuralFeatures().get(1);
1352  }
1353
1354  /**
1355   * <!-- begin-user-doc -->
1356   * <!-- end-user-doc -->
1357   * @generated
1358   */

1359  public EReference getEPackage_EFactoryInstance()
1360  {
1361    return (EReference)ePackageEClass.getEStructuralFeatures().get(2);
1362  }
1363
1364  /**
1365   * <!-- begin-user-doc -->
1366   * <!-- end-user-doc -->
1367   * @generated
1368   */

1369  public EReference getEPackage_EClassifiers()
1370  {
1371    return (EReference)ePackageEClass.getEStructuralFeatures().get(3);
1372  }
1373
1374  /**
1375   * <!-- begin-user-doc -->
1376   * <!-- end-user-doc -->
1377   * @generated
1378   */

1379  public EReference getEPackage_ESubpackages()
1380  {
1381    return (EReference)ePackageEClass.getEStructuralFeatures().get(4);
1382  }
1383
1384  /**
1385   * <!-- begin-user-doc -->
1386   * <!-- end-user-doc -->
1387   * @generated
1388   */

1389  public EReference getEPackage_ESuperPackage()
1390  {
1391    return (EReference)ePackageEClass.getEStructuralFeatures().get(5);
1392  }
1393
1394  /**
1395   * <!-- begin-user-doc -->
1396   * <!-- end-user-doc -->
1397   * @generated
1398   */

1399  public EClass getEEnum()
1400  {
1401    return eEnumEClass;
1402  }
1403
1404  /**
1405   * <!-- begin-user-doc -->
1406   * <!-- end-user-doc -->
1407   * @generated
1408   */

1409  public EReference getEEnum_ELiterals()
1410  {
1411    return (EReference)eEnumEClass.getEStructuralFeatures().get(0);
1412  }
1413
1414  /**
1415   * <!-- begin-user-doc -->
1416   * <!-- end-user-doc -->
1417   * @generated
1418   */

1419  public EClass getEEnumLiteral()
1420  {
1421    return eEnumLiteralEClass;
1422  }
1423
1424  /**
1425   * <!-- begin-user-doc -->
1426   * <!-- end-user-doc -->
1427   * @generated
1428   */

1429  public EAttribute getEEnumLiteral_Value()
1430  {
1431    return (EAttribute)eEnumLiteralEClass.getEStructuralFeatures().get(0);
1432  }
1433
1434  /**
1435   * <!-- begin-user-doc -->
1436   * <!-- end-user-doc -->
1437   * @generated
1438   */

1439  public EAttribute getEEnumLiteral_Instance()
1440  {
1441    return (EAttribute)eEnumLiteralEClass.getEStructuralFeatures().get(1);
1442  }
1443
1444  /**
1445   * <!-- begin-user-doc -->
1446   * <!-- end-user-doc -->
1447   * @generated
1448   */

1449  public EReference getEEnumLiteral_EEnum()
1450  {
1451    return (EReference)eEnumLiteralEClass.getEStructuralFeatures().get(2);
1452  }
1453
1454  /**
1455   * <!-- begin-user-doc -->
1456   * <!-- end-user-doc -->
1457   * @generated
1458   */

1459  public EDataType getEBoolean()
1460  {
1461    return eBooleanEDataType;
1462  }
1463
1464  /**
1465   * <!-- begin-user-doc -->
1466   * <!-- end-user-doc -->
1467   * @generated
1468   */

1469  public EDataType getEByteObject()
1470  {
1471    return eByteObjectEDataType;
1472  }
1473
1474  /**
1475   * <!-- begin-user-doc -->
1476   * <!-- end-user-doc -->
1477   * @generated
1478   */

1479  public EDataType getEJavaClass()
1480  {
1481    return eJavaClassEDataType;
1482  }
1483
1484  /**
1485   * <!-- begin-user-doc -->
1486   * <!-- end-user-doc -->
1487   * @generated
1488   */

1489  public EDataType getEJavaObject()
1490  {
1491    return eJavaObjectEDataType;
1492  }
1493
1494  /**
1495   * <!-- begin-user-doc -->
1496   * <!-- end-user-doc -->
1497   * @generated
1498   */

1499  public EDataType getELongObject()
1500  {
1501    return eLongObjectEDataType;
1502  }
1503
1504  /**
1505   * <!-- begin-user-doc -->
1506   * <!-- end-user-doc -->
1507   * @generated
1508   */

1509  public EDataType getEMap()
1510  {
1511    return eMapEDataType;
1512  }
1513
1514  /**
1515   * <!-- begin-user-doc -->
1516   * <!-- end-user-doc -->
1517   * @generated
1518   */

1519  public EDataType getEShortObject()
1520  {
1521    return eShortObjectEDataType;
1522  }
1523
1524  /**
1525   * <!-- begin-user-doc -->
1526   * <!-- end-user-doc -->
1527   * @generated
1528   */

1529  public EDataType getEString()
1530  {
1531    return eStringEDataType;
1532  }
1533
1534  /**
1535   * <!-- begin-user-doc -->
1536   * <!-- end-user-doc -->
1537   * @generated
1538   */

1539  public EDataType getEInt()
1540  {
1541    return eIntEDataType;
1542  }
1543
1544  /**
1545   * <!-- begin-user-doc -->
1546   * <!-- end-user-doc -->
1547   * @generated
1548   */

1549  public EDataType getEFloat()
1550  {
1551    return eFloatEDataType;
1552  }
1553
1554  /**
1555   * <!-- begin-user-doc -->
1556   * <!-- end-user-doc -->
1557   * @generated
1558   */

1559  public EDataType getELong()
1560  {
1561    return eLongEDataType;
1562  }
1563
1564  /**
1565   * <!-- begin-user-doc -->
1566   * <!-- end-user-doc -->
1567   * @generated
1568   */

1569  public EDataType getEDouble()
1570  {
1571    return eDoubleEDataType;
1572  }
1573
1574  /**
1575   * <!-- begin-user-doc -->
1576   * <!-- end-user-doc -->
1577   * @generated
1578   */

1579  public EDataType getEShort()
1580  {
1581    return eShortEDataType;
1582  }
1583
1584  /**
1585   * <!-- begin-user-doc -->
1586   * <!-- end-user-doc -->
1587   * @generated
1588   */

1589  public EDataType getETreeIterator()
1590  {
1591    return eTreeIteratorEDataType;
1592  }
1593
1594  /**
1595   * <!-- begin-user-doc -->
1596   * <!-- end-user-doc -->
1597   * @generated
1598   */

1599  public EDataType getEFeatureMapEntry()
1600  {
1601    return eFeatureMapEntryEDataType;
1602  }
1603
1604  /**
1605   * <!-- begin-user-doc -->
1606   * <!-- end-user-doc -->
1607   * @generated
1608   */

1609  public EDataType getEEnumerator()
1610  {
1611    return eEnumeratorEDataType;
1612  }
1613
1614  /**
1615   * <!-- begin-user-doc -->
1616   * <!-- end-user-doc -->
1617   * @generated
1618   */

1619  public EDataType getEFeatureMap()
1620  {
1621    return eFeatureMapEDataType;
1622  }
1623
1624  /**
1625   * <!-- begin-user-doc -->
1626   * <!-- end-user-doc -->
1627   * @generated
1628   */

1629  public EDataType getEChar()
1630  {
1631    return eCharEDataType;
1632  }
1633
1634  /**
1635   * <!-- begin-user-doc -->
1636   * <!-- end-user-doc -->
1637   * @generated
1638   */

1639  public EDataType getEByte()
1640  {
1641    return eByteEDataType;
1642  }
1643
1644  /**
1645   * <!-- begin-user-doc -->
1646   * <!-- end-user-doc -->
1647   * @generated
1648   */

1649  public EDataType getEByteArray()
1650  {
1651    return eByteArrayEDataType;
1652  }
1653
1654  /**
1655   * <!-- begin-user-doc -->
1656   * <!-- end-user-doc -->
1657   * @generated
1658   */

1659  public EcoreFactory getEcoreFactory()
1660  {
1661    return (EcoreFactory)getEFactoryInstance();
1662  }
1663
1664  /**
1665   * <!-- begin-user-doc -->
1666   * <!-- end-user-doc -->
1667   * @generated
1668   */

1669  private boolean isCreated = false;
1670 
1671  /**
1672   * Creates the meta-model objects for the package. This method is
1673   * guarded to have no affect on any invocation but its first.
1674   * <!-- begin-user-doc -->
1675   * <!-- end-user-doc -->
1676   * @generated
1677   */

1678  public void createPackageContents()
1679  {
1680    if (isCreated) return;
1681    isCreated = true;
1682
1683    // Create classes and their features
1684
eAttributeEClass = createEClass(EATTRIBUTE);
1685    createEAttribute(eAttributeEClass, EATTRIBUTE__ID);
1686    createEReference(eAttributeEClass, EATTRIBUTE__EATTRIBUTE_TYPE);
1687
1688    eAnnotationEClass = createEClass(EANNOTATION);
1689    createEAttribute(eAnnotationEClass, EANNOTATION__SOURCE);
1690    createEReference(eAnnotationEClass, EANNOTATION__DETAILS);
1691    createEReference(eAnnotationEClass, EANNOTATION__EMODEL_ELEMENT);
1692    createEReference(eAnnotationEClass, EANNOTATION__CONTENTS);
1693    createEReference(eAnnotationEClass, EANNOTATION__REFERENCES);
1694
1695    eClassEClass = createEClass(ECLASS);
1696    createEAttribute(eClassEClass, ECLASS__ABSTRACT);
1697    createEAttribute(eClassEClass, ECLASS__INTERFACE);
1698    createEReference(eClassEClass, ECLASS__ESUPER_TYPES);
1699    createEReference(eClassEClass, ECLASS__EOPERATIONS);
1700    createEReference(eClassEClass, ECLASS__EALL_ATTRIBUTES);
1701    createEReference(eClassEClass, ECLASS__EALL_REFERENCES);
1702    createEReference(eClassEClass, ECLASS__EREFERENCES);
1703    createEReference(eClassEClass, ECLASS__EATTRIBUTES);
1704    createEReference(eClassEClass, ECLASS__EALL_CONTAINMENTS);
1705    createEReference(eClassEClass, ECLASS__EALL_OPERATIONS);
1706    createEReference(eClassEClass, ECLASS__EALL_STRUCTURAL_FEATURES);
1707    createEReference(eClassEClass, ECLASS__EALL_SUPER_TYPES);
1708    createEReference(eClassEClass, ECLASS__EID_ATTRIBUTE);
1709    createEReference(eClassEClass, ECLASS__ESTRUCTURAL_FEATURES);
1710
1711    eClassifierEClass = createEClass(ECLASSIFIER);
1712    createEAttribute(eClassifierEClass, ECLASSIFIER__INSTANCE_CLASS_NAME);
1713    createEAttribute(eClassifierEClass, ECLASSIFIER__INSTANCE_CLASS);
1714    createEAttribute(eClassifierEClass, ECLASSIFIER__DEFAULT_VALUE);
1715    createEReference(eClassifierEClass, ECLASSIFIER__EPACKAGE);
1716
1717    eDataTypeEClass = createEClass(EDATA_TYPE);
1718    createEAttribute(eDataTypeEClass, EDATA_TYPE__SERIALIZABLE);
1719
1720    eEnumEClass = createEClass(EENUM);
1721    createEReference(eEnumEClass, EENUM__ELITERALS);
1722
1723    eEnumLiteralEClass = createEClass(EENUM_LITERAL);
1724    createEAttribute(eEnumLiteralEClass, EENUM_LITERAL__VALUE);
1725    createEAttribute(eEnumLiteralEClass, EENUM_LITERAL__INSTANCE);
1726    createEReference(eEnumLiteralEClass, EENUM_LITERAL__EENUM);
1727
1728    eFactoryEClass = createEClass(EFACTORY);
1729    createEReference(eFactoryEClass, EFACTORY__EPACKAGE);
1730
1731    eModelElementEClass = createEClass(EMODEL_ELEMENT);
1732    createEReference(eModelElementEClass, EMODEL_ELEMENT__EANNOTATIONS);
1733
1734    eNamedElementEClass = createEClass(ENAMED_ELEMENT);
1735    createEAttribute(eNamedElementEClass, ENAMED_ELEMENT__NAME);
1736
1737    eObjectEClass = createEClass(EOBJECT);
1738
1739    eOperationEClass = createEClass(EOPERATION);
1740    createEReference(eOperationEClass, EOPERATION__ECONTAINING_CLASS);
1741    createEReference(eOperationEClass, EOPERATION__EPARAMETERS);
1742    createEReference(eOperationEClass, EOPERATION__EEXCEPTIONS);
1743
1744    ePackageEClass = createEClass(EPACKAGE);
1745    createEAttribute(ePackageEClass, EPACKAGE__NS_URI);
1746    createEAttribute(ePackageEClass, EPACKAGE__NS_PREFIX);
1747    createEReference(ePackageEClass, EPACKAGE__EFACTORY_INSTANCE);
1748    createEReference(ePackageEClass, EPACKAGE__ECLASSIFIERS);
1749    createEReference(ePackageEClass, EPACKAGE__ESUBPACKAGES);
1750    createEReference(ePackageEClass, EPACKAGE__ESUPER_PACKAGE);
1751
1752    eParameterEClass = createEClass(EPARAMETER);
1753    createEReference(eParameterEClass, EPARAMETER__EOPERATION);
1754
1755    eReferenceEClass = createEClass(EREFERENCE);
1756    createEAttribute(eReferenceEClass, EREFERENCE__CONTAINMENT);
1757    createEAttribute(eReferenceEClass, EREFERENCE__CONTAINER);
1758    createEAttribute(eReferenceEClass, EREFERENCE__RESOLVE_PROXIES);
1759    createEReference(eReferenceEClass, EREFERENCE__EOPPOSITE);
1760    createEReference(eReferenceEClass, EREFERENCE__EREFERENCE_TYPE);
1761
1762    eStructuralFeatureEClass = createEClass(ESTRUCTURAL_FEATURE);
1763    createEAttribute(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__CHANGEABLE);
1764    createEAttribute(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__VOLATILE);
1765    createEAttribute(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__TRANSIENT);
1766    createEAttribute(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__DEFAULT_VALUE_LITERAL);
1767    createEAttribute(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__DEFAULT_VALUE);
1768    createEAttribute(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__UNSETTABLE);
1769    createEAttribute(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__DERIVED);
1770    createEReference(eStructuralFeatureEClass, ESTRUCTURAL_FEATURE__ECONTAINING_CLASS);
1771
1772    eTypedElementEClass = createEClass(ETYPED_ELEMENT);
1773    createEAttribute(eTypedElementEClass, ETYPED_ELEMENT__ORDERED);
1774    createEAttribute(eTypedElementEClass, ETYPED_ELEMENT__UNIQUE);
1775    createEAttribute(eTypedElementEClass, ETYPED_ELEMENT__LOWER_BOUND);
1776    createEAttribute(eTypedElementEClass, ETYPED_ELEMENT__UPPER_BOUND);
1777    createEAttribute(eTypedElementEClass, ETYPED_ELEMENT__MANY);
1778    createEAttribute(eTypedElementEClass, ETYPED_ELEMENT__REQUIRED);
1779    createEReference(eTypedElementEClass, ETYPED_ELEMENT__ETYPE);
1780
1781    eStringToStringMapEntryEClass = createEClass(ESTRING_TO_STRING_MAP_ENTRY);
1782    createEAttribute(eStringToStringMapEntryEClass, ESTRING_TO_STRING_MAP_ENTRY__KEY);
1783    createEAttribute(eStringToStringMapEntryEClass, ESTRING_TO_STRING_MAP_ENTRY__VALUE);
1784
1785    // Create data types
1786
eBigDecimalEDataType = createEDataType(EBIG_DECIMAL);
1787    eBigIntegerEDataType = createEDataType(EBIG_INTEGER);
1788    eBooleanEDataType = createEDataType(EBOOLEAN);
1789    eBooleanObjectEDataType = createEDataType(EBOOLEAN_OBJECT);
1790    eByteEDataType = createEDataType(EBYTE);
1791    eByteArrayEDataType = createEDataType(EBYTE_ARRAY);
1792    eByteObjectEDataType = createEDataType(EBYTE_OBJECT);
1793    eCharEDataType = createEDataType(ECHAR);
1794    eCharacterObjectEDataType = createEDataType(ECHARACTER_OBJECT);
1795    eDateEDataType = createEDataType(EDATE);
1796    eDiagnosticChainEDataType = createEDataType(EDIAGNOSTIC_CHAIN);
1797    eDoubleEDataType = createEDataType(EDOUBLE);
1798    eDoubleObjectEDataType = createEDataType(EDOUBLE_OBJECT);
1799    eeListEDataType = createEDataType(EE_LIST);
1800    eEnumeratorEDataType = createEDataType(EENUMERATOR);
1801    eFeatureMapEDataType = createEDataType(EFEATURE_MAP);
1802    eFeatureMapEntryEDataType = createEDataType(EFEATURE_MAP_ENTRY);
1803    eFloatEDataType = createEDataType(EFLOAT);
1804    eFloatObjectEDataType = createEDataType(EFLOAT_OBJECT);
1805    eIntEDataType = createEDataType(EINT);
1806    eIntegerObjectEDataType = createEDataType(EINTEGER_OBJECT);
1807    eJavaClassEDataType = createEDataType(EJAVA_CLASS);
1808    eJavaObjectEDataType = createEDataType(EJAVA_OBJECT);
1809    eLongEDataType = createEDataType(ELONG);
1810    eLongObjectEDataType = createEDataType(ELONG_OBJECT);
1811    eMapEDataType = createEDataType(EMAP);
1812    eResourceEDataType = createEDataType(ERESOURCE);
1813    eResourceSetEDataType = createEDataType(ERESOURCE_SET);
1814    eShortEDataType = createEDataType(ESHORT);
1815    eShortObjectEDataType = createEDataType(ESHORT_OBJECT);
1816    eStringEDataType = createEDataType(ESTRING);
1817    eTreeIteratorEDataType = createEDataType(ETREE_ITERATOR);
1818  }
1819
1820  /**
1821   * <!-- begin-user-doc -->
1822   * <!-- end-user-doc -->
1823   * @generated
1824   */

1825  private boolean isInitialized = false;
1826
1827  /**
1828   * Complete the initialization of the package and its meta-model. This
1829   * method is guarded to have no affect on any invocation but its first.
1830   * <!-- begin-user-doc -->
1831   * <!-- end-user-doc -->
1832   * @generated
1833   */

1834  public void initializePackageContents()
1835  {
1836    if (isInitialized) return;
1837    isInitialized = true;
1838
1839    // Initialize package
1840
setName(eNAME);
1841    setNsPrefix(eNS_PREFIX);
1842    setNsURI(eNS_URI);
1843
1844    // Add supertypes to classes
1845
eAttributeEClass.getESuperTypes().add(this.getEStructuralFeature());
1846    eAnnotationEClass.getESuperTypes().add(this.getEModelElement());
1847    eClassEClass.getESuperTypes().add(this.getEClassifier());
1848    eClassifierEClass.getESuperTypes().add(this.getENamedElement());
1849    eDataTypeEClass.getESuperTypes().add(this.getEClassifier());
1850    eEnumEClass.getESuperTypes().add(this.getEDataType());
1851    eEnumLiteralEClass.getESuperTypes().add(this.getENamedElement());
1852    eFactoryEClass.getESuperTypes().add(this.getEModelElement());
1853    eModelElementEClass.getESuperTypes().add(this.getEObject());
1854    eNamedElementEClass.getESuperTypes().add(this.getEModelElement());
1855    eOperationEClass.getESuperTypes().add(this.getETypedElement());
1856    ePackageEClass.getESuperTypes().add(this.getENamedElement());
1857    eParameterEClass.getESuperTypes().add(this.getETypedElement());
1858    eReferenceEClass.getESuperTypes().add(this.getEStructuralFeature());
1859    eStructuralFeatureEClass.getESuperTypes().add(this.getETypedElement());
1860    eTypedElementEClass.getESuperTypes().add(this.getENamedElement());
1861
1862    // Initialize classes and features; add operations and parameters
1863
initEClass(eAttributeEClass, EAttribute.class, "EAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1864    initEAttribute(getEAttribute_ID(), ecorePackage.getEBoolean(), "iD", null, 0, 1, EAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1865    initEReference(getEAttribute_EAttributeType(), this.getEDataType(), null, "eAttributeType", null, 1, 1, EAttribute.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1866
1867    initEClass(eAnnotationEClass, EAnnotation.class, "EAnnotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1868    initEAttribute(getEAnnotation_Source(), ecorePackage.getEString(), "source", null, 0, 1, EAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1869    initEReference(getEAnnotation_Details(), this.getEStringToStringMapEntry(), null, "details", null, 0, -1, EAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1870    initEReference(getEAnnotation_EModelElement(), this.getEModelElement(), this.getEModelElement_EAnnotations(), "eModelElement", null, 0, 1, EAnnotation.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1871    initEReference(getEAnnotation_Contents(), this.getEObject(), null, "contents", null, 0, -1, EAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1872    initEReference(getEAnnotation_References(), this.getEObject(), null, "references", null, 0, -1, EAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1873
1874    initEClass(eClassEClass, EClass.class, "EClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1875    initEAttribute(getEClass_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, EClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1876    initEAttribute(getEClass_Interface(), ecorePackage.getEBoolean(), "interface", null, 0, 1, EClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1877    initEReference(getEClass_ESuperTypes(), this.getEClass(), null, "eSuperTypes", null, 0, -1, EClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1878    initEReference(getEClass_EOperations(), this.getEOperation(), this.getEOperation_EContainingClass(), "eOperations", null, 0, -1, EClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1879    initEReference(getEClass_EAllAttributes(), this.getEAttribute(), null, "eAllAttributes", null, 0, -1, EClass.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1880    initEReference(getEClass_EAllReferences(), this.getEReference(), null, "eAllReferences", null, 0, -1, EClass.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1881    initEReference(getEClass_EReferences(), this.getEReference(), null, "eReferences", null, 0, -1, EClass.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1882    initEReference(getEClass_EAttributes(), this.getEAttribute(), null, "eAttributes", null, 0, -1, EClass.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1883    initEReference(getEClass_EAllContainments(), this.getEReference(), null, "eAllContainments", null, 0, -1, EClass.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1884    initEReference(getEClass_EAllOperations(), this.getEOperation(), null, "eAllOperations", null, 0, -1, EClass.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1885    initEReference(getEClass_EAllStructuralFeatures(), this.getEStructuralFeature(), null, "eAllStructuralFeatures", null, 0, -1, EClass.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1886    initEReference(getEClass_EAllSuperTypes(), this.getEClass(), null, "eAllSuperTypes", null, 0, -1, EClass.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1887    initEReference(getEClass_EIDAttribute(), this.getEAttribute(), null, "eIDAttribute", null, 0, 1, EClass.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1888    initEReference(getEClass_EStructuralFeatures(), this.getEStructuralFeature(), this.getEStructuralFeature_EContainingClass(), "eStructuralFeatures", null, 0, -1, EClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1889
1890    EOperation op = addEOperation(eClassEClass, ecorePackage.getEBoolean(), "isSuperTypeOf");
1891    addEParameter(op, this.getEClass(), "someClass");
1892
1893    addEOperation(eClassEClass, ecorePackage.getEInt(), "getFeatureCount");
1894
1895    op = addEOperation(eClassEClass, this.getEStructuralFeature(), "getEStructuralFeature");
1896    addEParameter(op, ecorePackage.getEInt(), "featureID");
1897
1898    op = addEOperation(eClassEClass, ecorePackage.getEInt(), "getFeatureID");
1899    addEParameter(op, this.getEStructuralFeature(), "feature");
1900
1901    op = addEOperation(eClassEClass, this.getEStructuralFeature(), "getEStructuralFeature");
1902    addEParameter(op, ecorePackage.getEString(), "featureName");
1903
1904    initEClass(eClassifierEClass, EClassifier.class, "EClassifier", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1905    initEAttribute(getEClassifier_InstanceClassName(), ecorePackage.getEString(), "instanceClassName", null, 0, 1, EClassifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1906    initEAttribute(getEClassifier_InstanceClass(), this.getEJavaClass(), "instanceClass", null, 0, 1, EClassifier.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1907    initEAttribute(getEClassifier_DefaultValue(), this.getEJavaObject(), "defaultValue", null, 0, 1, EClassifier.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1908    initEReference(getEClassifier_EPackage(), this.getEPackage(), this.getEPackage_EClassifiers(), "ePackage", null, 0, 1, EClassifier.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1909
1910    op = addEOperation(eClassifierEClass, ecorePackage.getEBoolean(), "isInstance");
1911    addEParameter(op, this.getEJavaObject(), "object");
1912
1913    addEOperation(eClassifierEClass, ecorePackage.getEInt(), "getClassifierID");
1914
1915    initEClass(eDataTypeEClass, EDataType.class, "EDataType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1916    initEAttribute(getEDataType_Serializable(), ecorePackage.getEBoolean(), "serializable", "true", 0, 1, EDataType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1917
1918    initEClass(eEnumEClass, EEnum.class, "EEnum", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1919    initEReference(getEEnum_ELiterals(), this.getEEnumLiteral(), this.getEEnumLiteral_EEnum(), "eLiterals", null, 0, -1, EEnum.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1920
1921    op = addEOperation(eEnumEClass, this.getEEnumLiteral(), "getEEnumLiteral");
1922    addEParameter(op, ecorePackage.getEString(), "name");
1923
1924    op = addEOperation(eEnumEClass, this.getEEnumLiteral(), "getEEnumLiteral");
1925    addEParameter(op, ecorePackage.getEInt(), "value");
1926
1927    initEClass(eEnumLiteralEClass, EEnumLiteral.class, "EEnumLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1928    initEAttribute(getEEnumLiteral_Value(), ecorePackage.getEInt(), "value", null, 0, 1, EEnumLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1929    initEAttribute(getEEnumLiteral_Instance(), this.getEEnumerator(), "instance", null, 0, 1, EEnumLiteral.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1930    initEReference(getEEnumLiteral_EEnum(), this.getEEnum(), this.getEEnum_ELiterals(), "eEnum", null, 0, 1, EEnumLiteral.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1931
1932    initEClass(eFactoryEClass, EFactory.class, "EFactory", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1933    initEReference(getEFactory_EPackage(), this.getEPackage(), this.getEPackage_EFactoryInstance(), "ePackage", null, 1, 1, EFactory.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1934
1935    op = addEOperation(eFactoryEClass, this.getEObject(), "create");
1936    addEParameter(op, this.getEClass(), "eClass");
1937
1938    op = addEOperation(eFactoryEClass, this.getEJavaObject(), "createFromString");
1939    addEParameter(op, this.getEDataType(), "eDataType");
1940    addEParameter(op, ecorePackage.getEString(), "literalValue");
1941
1942    op = addEOperation(eFactoryEClass, ecorePackage.getEString(), "convertToString");
1943    addEParameter(op, this.getEDataType(), "eDataType");
1944    addEParameter(op, this.getEJavaObject(), "instanceValue");
1945
1946    initEClass(eModelElementEClass, EModelElement.class, "EModelElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1947    initEReference(getEModelElement_EAnnotations(), this.getEAnnotation(), this.getEAnnotation_EModelElement(), "eAnnotations", null, 0, -1, EModelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1948
1949    op = addEOperation(eModelElementEClass, this.getEAnnotation(), "getEAnnotation");
1950    addEParameter(op, ecorePackage.getEString(), "source");
1951
1952    initEClass(eNamedElementEClass, ENamedElement.class, "ENamedElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1953    initEAttribute(getENamedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, ENamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1954
1955    initEClass(eObjectEClass, EObject.class, "EObject", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1956
1957    addEOperation(eObjectEClass, this.getEClass(), "eClass");
1958
1959    addEOperation(eObjectEClass, ecorePackage.getEBoolean(), "eIsProxy");
1960
1961    addEOperation(eObjectEClass, this.getEResource(), "eResource");
1962
1963    addEOperation(eObjectEClass, this.getEObject(), "eContainer");
1964
1965    addEOperation(eObjectEClass, this.getEStructuralFeature(), "eContainingFeature");
1966
1967    addEOperation(eObjectEClass, this.getEReference(), "eContainmentFeature");
1968
1969    addEOperation(eObjectEClass, this.getEEList(), "eContents");
1970
1971    addEOperation(eObjectEClass, this.getETreeIterator(), "eAllContents");
1972
1973    addEOperation(eObjectEClass, this.getEEList(), "eCrossReferences");
1974
1975    op = addEOperation(eObjectEClass, this.getEJavaObject(), "eGet");
1976    addEParameter(op, this.getEStructuralFeature(), "feature");
1977
1978    op = addEOperation(eObjectEClass, this.getEJavaObject(), "eGet");
1979    addEParameter(op, this.getEStructuralFeature(), "feature");
1980    addEParameter(op, ecorePackage.getEBoolean(), "resolve");
1981
1982    op = addEOperation(eObjectEClass, null, "eSet");
1983    addEParameter(op, this.getEStructuralFeature(), "feature");
1984    addEParameter(op, this.getEJavaObject(), "newValue");
1985
1986    op = addEOperation(eObjectEClass, ecorePackage.getEBoolean(), "eIsSet");
1987    addEParameter(op, this.getEStructuralFeature(), "feature");
1988
1989    op = addEOperation(eObjectEClass, null, "eUnset");
1990    addEParameter(op, this.getEStructuralFeature(), "feature");
1991
1992    initEClass(eOperationEClass, EOperation.class, "EOperation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1993    initEReference(getEOperation_EContainingClass(), this.getEClass(), this.getEClass_EOperations(), "eContainingClass", null, 0, 1, EOperation.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1994    initEReference(getEOperation_EParameters(), this.getEParameter(), this.getEParameter_EOperation(), "eParameters", null, 0, -1, EOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1995    initEReference(getEOperation_EExceptions(), this.getEClassifier(), null, "eExceptions", null, 0, -1, EOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1996
1997    initEClass(ePackageEClass, EPackage.class, "EPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1998    initEAttribute(getEPackage_NsURI(), ecorePackage.getEString(), "nsURI", null, 0, 1, EPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1999    initEAttribute(getEPackage_NsPrefix(), ecorePackage.getEString(), "nsPrefix", null, 0, 1, EPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2000    initEReference(getEPackage_EFactoryInstance(), this.getEFactory(), this.getEFactory_EPackage(), "eFactoryInstance", null, 1, 1, EPackage.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2001    initEReference(getEPackage_EClassifiers(), this.getEClassifier(), this.getEClassifier_EPackage(), "eClassifiers", null, 0, -1, EPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2002    initEReference(getEPackage_ESubpackages(), this.getEPackage(), this.getEPackage_ESuperPackage(), "eSubpackages", null, 0, -1, EPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2003    initEReference(getEPackage_ESuperPackage(), this.getEPackage(), this.getEPackage_ESubpackages(), "eSuperPackage", null, 0, 1, EPackage.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2004
2005    op = addEOperation(ePackageEClass, this.getEClassifier(), "getEClassifier");
2006    addEParameter(op, ecorePackage.getEString(), "name");
2007
2008    initEClass(eParameterEClass, EParameter.class, "EParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2009    initEReference(getEParameter_EOperation(), this.getEOperation(), this.getEOperation_EParameters(), "eOperation", null, 0, 1, EParameter.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2010
2011    initEClass(eReferenceEClass, EReference.class, "EReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2012    initEAttribute(getEReference_Containment(), ecorePackage.getEBoolean(), "containment", null, 0, 1, EReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2013    initEAttribute(getEReference_Container(), ecorePackage.getEBoolean(), "container", null, 0, 1, EReference.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2014    initEAttribute(getEReference_ResolveProxies(), ecorePackage.getEBoolean(), "resolveProxies", "true", 0, 1, EReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2015    initEReference(getEReference_EOpposite(), this.getEReference(), null, "eOpposite", null, 0, 1, EReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2016    initEReference(getEReference_EReferenceType(), this.getEClass(), null, "eReferenceType", null, 1, 1, EReference.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
2017
2018    initEClass(eStructuralFeatureEClass, EStructuralFeature.class, "EStructuralFeature", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2019    initEAttribute(getEStructuralFeature_Changeable(), ecorePackage.getEBoolean(), "changeable", "true", 0, 1, EStructuralFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2020    initEAttribute(getEStructuralFeature_Volatile(), ecorePackage.getEBoolean(), "volatile", null, 0, 1, EStructuralFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2021    initEAttribute(getEStructuralFeature_Transient(), ecorePackage.getEBoolean(), "transient", null, 0, 1, EStructuralFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2022    initEAttribute(getEStructuralFeature_DefaultValueLiteral(), ecorePackage.getEString(), "defaultValueLiteral", null, 0, 1, EStructuralFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2023    initEAttribute(getEStructuralFeature_DefaultValue(), this.getEJavaObject(), "defaultValue", null, 0, 1, EStructuralFeature.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2024    initEAttribute(getEStructuralFeature_Unsettable(), ecorePackage.getEBoolean(), "unsettable", null, 0, 1, EStructuralFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2025    initEAttribute(getEStructuralFeature_Derived(), ecorePackage.getEBoolean(), "derived", null, 0, 1, EStructuralFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2026    initEReference(getEStructuralFeature_EContainingClass(), this.getEClass(), this.getEClass_EStructuralFeatures(), "eContainingClass", null, 0, 1, EStructuralFeature.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2027
2028    addEOperation(eStructuralFeatureEClass, ecorePackage.getEInt(), "getFeatureID");
2029
2030    addEOperation(eStructuralFeatureEClass, this.getEJavaClass(), "getContainerClass");
2031
2032    initEClass(eTypedElementEClass, ETypedElement.class, "ETypedElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
2033    initEAttribute(getETypedElement_Ordered(), ecorePackage.getEBoolean(), "ordered", "true", 0, 1, ETypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2034    initEAttribute(getETypedElement_Unique(), ecorePackage.getEBoolean(), "unique", "true", 0, 1, ETypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2035    initEAttribute(getETypedElement_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 0, 1, ETypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2036    initEAttribute(getETypedElement_UpperBound(), ecorePackage.getEInt(), "upperBound", "1", 0, 1, ETypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2037    initEAttribute(getETypedElement_Many(), ecorePackage.getEBoolean(), "many", null, 0, 1, ETypedElement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2038    initEAttribute(getETypedElement_Required(), ecorePackage.getEBoolean(), "required", null, 0, 1, ETypedElement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2039    initEReference(getETypedElement_EType(), this.getEClassifier(), null, "eType", null, 0, 1, ETypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2040
2041    initEClass(eStringToStringMapEntryEClass, Map.Entry JavaDoc.class, "EStringToStringMapEntry", !IS_ABSTRACT, !IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS);
2042    initEAttribute(getEStringToStringMapEntry_Key(), ecorePackage.getEString(), "key", null, 0, 1, Map.Entry JavaDoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2043    initEAttribute(getEStringToStringMapEntry_Value(), ecorePackage.getEString(), "value", null, 0, 1, Map.Entry JavaDoc.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
2044
2045    // Initialize data types
2046
initEDataType(eBigDecimalEDataType, BigDecimal JavaDoc.class, "EBigDecimal", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2047    initEDataType(eBigIntegerEDataType, BigInteger JavaDoc.class, "EBigInteger", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2048    initEDataType(eBooleanEDataType, boolean.class, "EBoolean", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2049    initEDataType(eBooleanObjectEDataType, Boolean JavaDoc.class, "EBooleanObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2050    initEDataType(eByteEDataType, byte.class, "EByte", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2051    initEDataType(eByteArrayEDataType, byte[].class, "EByteArray", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2052    initEDataType(eByteObjectEDataType, Byte JavaDoc.class, "EByteObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2053    initEDataType(eCharEDataType, char.class, "EChar", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2054    initEDataType(eCharacterObjectEDataType, Character JavaDoc.class, "ECharacterObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2055    initEDataType(eDateEDataType, Date JavaDoc.class, "EDate", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2056    initEDataType(eDiagnosticChainEDataType, DiagnosticChain.class, "EDiagnosticChain", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2057    initEDataType(eDoubleEDataType, double.class, "EDouble", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2058    initEDataType(eDoubleObjectEDataType, Double JavaDoc.class, "EDoubleObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2059    initEDataType(eeListEDataType, EList.class, "EEList", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2060    initEDataType(eEnumeratorEDataType, Enumerator.class, "EEnumerator", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2061    initEDataType(eFeatureMapEDataType, FeatureMap.class, "EFeatureMap", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2062    initEDataType(eFeatureMapEntryEDataType, FeatureMap.Entry.class, "EFeatureMapEntry", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2063    initEDataType(eFloatEDataType, float.class, "EFloat", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2064    initEDataType(eFloatObjectEDataType, Float JavaDoc.class, "EFloatObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2065    initEDataType(eIntEDataType, int.class, "EInt", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2066    initEDataType(eIntegerObjectEDataType, Integer JavaDoc.class, "EIntegerObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2067    initEDataType(eJavaClassEDataType, Class JavaDoc.class, "EJavaClass", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2068    initEDataType(eJavaObjectEDataType, Object JavaDoc.class, "EJavaObject", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2069    initEDataType(eLongEDataType, long.class, "ELong", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2070    initEDataType(eLongObjectEDataType, Long JavaDoc.class, "ELongObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2071    initEDataType(eMapEDataType, Map JavaDoc.class, "EMap", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2072    initEDataType(eResourceEDataType, Resource.class, "EResource", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2073    initEDataType(eResourceSetEDataType, ResourceSet.class, "EResourceSet", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2074    initEDataType(eShortEDataType, short.class, "EShort", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2075    initEDataType(eShortObjectEDataType, Short JavaDoc.class, "EShortObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2076    initEDataType(eStringEDataType, String JavaDoc.class, "EString", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2077    initEDataType(eTreeIteratorEDataType, TreeIterator.class, "ETreeIterator", !IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
2078
2079    // Create resource
2080
createResource(eNS_URI);
2081  }
2082
2083  /**
2084   * <!-- begin-user-doc -->
2085   * <!-- end-user-doc -->
2086   * @generated
2087   */

2088  public EClass getEFactory()
2089  {
2090    return eFactoryEClass;
2091  }
2092
2093  /**
2094   * <!-- begin-user-doc -->
2095   * <!-- end-user-doc -->
2096   * @generated
2097   */

2098  public EReference getEFactory_EPackage()
2099  {
2100    return (EReference)eFactoryEClass.getEStructuralFeatures().get(0);
2101  }
2102
2103}
2104
Popular Tags