KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > ecore > xml > type > impl > XMLTypePackageImpl


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

17 package org.eclipse.emf.ecore.xml.type.impl;
18
19
20 import java.math.BigDecimal JavaDoc;
21 import java.math.BigInteger JavaDoc;
22 import java.util.List JavaDoc;
23
24 import org.eclipse.emf.ecore.EAttribute;
25 import org.eclipse.emf.ecore.EClass;
26 import org.eclipse.emf.ecore.EDataType;
27 import org.eclipse.emf.ecore.EPackage;
28 import org.eclipse.emf.ecore.EReference;
29 import org.eclipse.emf.ecore.EValidator;
30
31 import org.eclipse.emf.ecore.impl.EPackageImpl;
32 import org.eclipse.emf.ecore.xml.type.AnyType;
33 import org.eclipse.emf.ecore.xml.type.SimpleAnyType;
34 import org.eclipse.emf.ecore.xml.type.XMLTypeDocumentRoot;
35 import org.eclipse.emf.ecore.xml.type.XMLTypeFactory;
36 import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
37
38
39 import org.eclipse.emf.ecore.xml.type.util.XMLTypeValidator;
40
41 /**
42  * <!-- begin-user-doc -->
43  * An implementation of the model <b>Package</b>.
44  * <!-- end-user-doc -->
45  * @generated
46  */

47 public class XMLTypePackageImpl extends EPackageImpl implements XMLTypePackage
48 {
49   /**
50    * <!-- begin-user-doc -->
51    * <!-- end-user-doc -->
52    * @generated
53    */

54   private EClass anyTypeEClass = null;
55
56   /**
57    * <!-- begin-user-doc -->
58    * <!-- end-user-doc -->
59    * @generated
60    */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

159   private EDataType shortObjectEDataType = null;
160
161   /**
162    * <!-- begin-user-doc -->
163    * <!-- end-user-doc -->
164    * @generated
165    */

166   private EDataType byteEDataType = null;
167
168   /**
169    * <!-- begin-user-doc -->
170    * <!-- end-user-doc -->
171    * @generated
172    */

173   private EDataType byteObjectEDataType = null;
174
175   /**
176    * <!-- begin-user-doc -->
177    * <!-- end-user-doc -->
178    * @generated
179    */

180   private EDataType dateEDataType = null;
181
182   /**
183    * <!-- begin-user-doc -->
184    * <!-- end-user-doc -->
185    * @generated
186    */

187   private EDataType dateTimeEDataType = null;
188
189   /**
190    * <!-- begin-user-doc -->
191    * <!-- end-user-doc -->
192    * @generated
193    */

194   private EDataType stringEDataType = null;
195
196   /**
197    * <!-- begin-user-doc -->
198    * <!-- end-user-doc -->
199    * @generated
200    */

201   private EDataType doubleEDataType = null;
202
203   /**
204    * <!-- begin-user-doc -->
205    * <!-- end-user-doc -->
206    * @generated
207    */

208   private EDataType doubleObjectEDataType = null;
209
210   /**
211    * <!-- begin-user-doc -->
212    * <!-- end-user-doc -->
213    * @generated
214    */

215   private EDataType durationEDataType = null;
216
217   /**
218    * <!-- begin-user-doc -->
219    * <!-- end-user-doc -->
220    * @generated
221    */

222   private EDataType entitiesBaseEDataType = null;
223
224   /**
225    * <!-- begin-user-doc -->
226    * <!-- end-user-doc -->
227    * @generated
228    */

229   private EDataType normalizedStringEDataType = null;
230
231   /**
232    * <!-- begin-user-doc -->
233    * <!-- end-user-doc -->
234    * @generated
235    */

236   private EDataType tokenEDataType = null;
237
238   /**
239    * <!-- begin-user-doc -->
240    * <!-- end-user-doc -->
241    * @generated
242    */

243   private EDataType nameEDataType = null;
244
245   /**
246    * <!-- begin-user-doc -->
247    * <!-- end-user-doc -->
248    * @generated
249    */

250   private EDataType ncNameEDataType = null;
251
252   /**
253    * <!-- begin-user-doc -->
254    * <!-- end-user-doc -->
255    * @generated
256    */

257   private EDataType entityEDataType = null;
258
259   /**
260    * <!-- begin-user-doc -->
261    * <!-- end-user-doc -->
262    * @generated
263    */

264   private EDataType entitiesEDataType = null;
265
266   /**
267    * <!-- begin-user-doc -->
268    * <!-- end-user-doc -->
269    * @generated
270    */

271   private EDataType floatEDataType = null;
272
273   /**
274    * <!-- begin-user-doc -->
275    * <!-- end-user-doc -->
276    * @generated
277    */

278   private EDataType floatObjectEDataType = null;
279
280   /**
281    * <!-- begin-user-doc -->
282    * <!-- end-user-doc -->
283    * @generated
284    */

285   private EDataType gDayEDataType = null;
286
287   /**
288    * <!-- begin-user-doc -->
289    * <!-- end-user-doc -->
290    * @generated
291    */

292   private EDataType gMonthEDataType = null;
293
294   /**
295    * <!-- begin-user-doc -->
296    * <!-- end-user-doc -->
297    * @generated
298    */

299   private EDataType gMonthDayEDataType = null;
300
301   /**
302    * <!-- begin-user-doc -->
303    * <!-- end-user-doc -->
304    * @generated
305    */

306   private EDataType gYearEDataType = null;
307
308   /**
309    * <!-- begin-user-doc -->
310    * <!-- end-user-doc -->
311    * @generated
312    */

313   private EDataType gYearMonthEDataType = null;
314
315   /**
316    * <!-- begin-user-doc -->
317    * <!-- end-user-doc -->
318    * @generated
319    */

320   private EDataType hexBinaryEDataType = null;
321
322   /**
323    * <!-- begin-user-doc -->
324    * <!-- end-user-doc -->
325    * @generated
326    */

327   private EDataType idEDataType = null;
328
329   /**
330    * <!-- begin-user-doc -->
331    * <!-- end-user-doc -->
332    * @generated
333    */

334   private EDataType idrefEDataType = null;
335
336   /**
337    * <!-- begin-user-doc -->
338    * <!-- end-user-doc -->
339    * @generated
340    */

341   private EDataType idrefsBaseEDataType = null;
342
343   /**
344    * <!-- begin-user-doc -->
345    * <!-- end-user-doc -->
346    * @generated
347    */

348   private EDataType idrefsEDataType = null;
349
350   /**
351    * <!-- begin-user-doc -->
352    * <!-- end-user-doc -->
353    * @generated
354    */

355   private EDataType languageEDataType = null;
356
357   /**
358    * <!-- begin-user-doc -->
359    * <!-- end-user-doc -->
360    * @generated
361    */

362   private EDataType nonPositiveIntegerEDataType = null;
363
364   /**
365    * <!-- begin-user-doc -->
366    * <!-- end-user-doc -->
367    * @generated
368    */

369   private EDataType negativeIntegerEDataType = null;
370
371   /**
372    * <!-- begin-user-doc -->
373    * <!-- end-user-doc -->
374    * @generated
375    */

376   private EDataType nmtokenEDataType = null;
377
378   /**
379    * <!-- begin-user-doc -->
380    * <!-- end-user-doc -->
381    * @generated
382    */

383   private EDataType nmtokensBaseEDataType = null;
384
385   /**
386    * <!-- begin-user-doc -->
387    * <!-- end-user-doc -->
388    * @generated
389    */

390   private EDataType nmtokensEDataType = null;
391
392   /**
393    * <!-- begin-user-doc -->
394    * <!-- end-user-doc -->
395    * @generated
396    */

397   private EDataType nonNegativeIntegerEDataType = null;
398
399   /**
400    * <!-- begin-user-doc -->
401    * <!-- end-user-doc -->
402    * @generated
403    */

404   private EDataType notationEDataType = null;
405
406   /**
407    * <!-- begin-user-doc -->
408    * <!-- end-user-doc -->
409    * @generated
410    */

411   private EDataType positiveIntegerEDataType = null;
412
413   /**
414    * <!-- begin-user-doc -->
415    * <!-- end-user-doc -->
416    * @generated
417    */

418   private EDataType qNameEDataType = null;
419
420   /**
421    * <!-- begin-user-doc -->
422    * <!-- end-user-doc -->
423    * @generated
424    */

425   private EDataType timeEDataType = null;
426
427   /**
428    * <!-- begin-user-doc -->
429    * <!-- end-user-doc -->
430    * @generated
431    */

432   private EDataType unsignedLongEDataType = null;
433
434   /**
435    * <!-- begin-user-doc -->
436    * <!-- end-user-doc -->
437    * @generated
438    */

439   private EDataType unsignedIntEDataType = null;
440
441   /**
442    * <!-- begin-user-doc -->
443    * <!-- end-user-doc -->
444    * @generated
445    */

446   private EDataType unsignedIntObjectEDataType = null;
447
448   /**
449    * <!-- begin-user-doc -->
450    * <!-- end-user-doc -->
451    * @generated
452    */

453   private EDataType unsignedShortEDataType = null;
454
455   /**
456    * <!-- begin-user-doc -->
457    * <!-- end-user-doc -->
458    * @generated
459    */

460   private EDataType unsignedShortObjectEDataType = null;
461
462   /**
463    * <!-- begin-user-doc -->
464    * <!-- end-user-doc -->
465    * @generated
466    */

467   private EDataType unsignedByteEDataType = null;
468
469   /**
470    * <!-- begin-user-doc -->
471    * <!-- end-user-doc -->
472    * @generated
473    */

474   private EDataType unsignedByteObjectEDataType = null;
475
476   /**
477    * Creates an instance of the model <b>Package</b>, registered with
478    * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
479    * package URI value.
480    * <p>Note: the correct way to create the package is via the static
481    * factory method {@link #init init()}, which also performs
482    * initialization of the package, or returns the registered package,
483    * if one already exists.
484    * <!-- begin-user-doc -->
485    * <!-- end-user-doc -->
486    * @see org.eclipse.emf.ecore.EPackage.Registry
487    * @see org.eclipse.emf.ecore.xml.type.XMLTypePackage#eNS_URI
488    * @see #init()
489    * @generated
490    */

491   private XMLTypePackageImpl()
492   {
493     super(eNS_URI, XMLTypeFactory.eINSTANCE);
494   }
495
496   /**
497    * <!-- begin-user-doc -->
498    * <!-- end-user-doc -->
499    * @generated
500    */

501   private static boolean isInited = false;
502
503   /**
504    * Creates, registers, and initializes the <b>Package</b> for this
505    * model, and for any others upon which it depends. Simple
506    * dependencies are satisfied by calling this method on all
507    * dependent packages before doing anything else. This method drives
508    * initialization for interdependent packages directly, in parallel
509    * with this package, itself.
510    * <p>Of this package and its interdependencies, all packages which
511    * have not yet been registered by their URI values are first created
512    * and registered. The packages are then initialized in two steps:
513    * meta-model objects for all of the packages are created before any
514    * are initialized, since one package's meta-model objects may refer to
515    * those of another.
516    * <p>Invocation of this method will not affect any packages that have
517    * already been initialized.
518    * <!-- begin-user-doc -->
519    * <!-- end-user-doc -->
520    * @see #eNS_URI
521    * @see #createPackageContents()
522    * @see #initializePackageContents()
523    * @generated
524    */

525   public static XMLTypePackage init()
526   {
527     if (isInited) return (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
528
529     // Obtain or create and register package
530
XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof XMLTypePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new XMLTypePackageImpl());
531
532     isInited = true;
533
534     // Create package meta-data objects
535
theXMLTypePackage.createPackageContents();
536
537     // Initialize created meta-data
538
theXMLTypePackage.initializePackageContents();
539
540     // Register package validator
541
EValidator.Registry.INSTANCE.put
542       (theXMLTypePackage,
543        new EValidator.Descriptor()
544        {
545          public EValidator getEValidator()
546          {
547            return XMLTypeValidator.INSTANCE;
548          }
549        });
550
551     // Mark meta-data to indicate it can't be changed
552
theXMLTypePackage.freeze();
553
554     return theXMLTypePackage;
555   }
556
557   /**
558    * <!-- begin-user-doc -->
559    * <!-- end-user-doc -->
560    * @generated
561    */

562   public EClass getAnyType()
563   {
564     return anyTypeEClass;
565   }
566
567   /**
568    * <!-- begin-user-doc -->
569    * <!-- end-user-doc -->
570    * @generated
571    */

572   public EAttribute getAnyType_Mixed()
573   {
574     return (EAttribute)anyTypeEClass.getEStructuralFeatures().get(0);
575   }
576
577   /**
578    * <!-- begin-user-doc -->
579    * <!-- end-user-doc -->
580    * @generated
581    */

582   public EAttribute getAnyType_Any()
583   {
584     return (EAttribute)anyTypeEClass.getEStructuralFeatures().get(1);
585   }
586
587   /**
588    * <!-- begin-user-doc -->
589    * <!-- end-user-doc -->
590    * @generated
591    */

592   public EAttribute getAnyType_AnyAttribute()
593   {
594     return (EAttribute)anyTypeEClass.getEStructuralFeatures().get(2);
595   }
596
597   /**
598    * <!-- begin-user-doc -->
599    * <!-- end-user-doc -->
600    * @generated
601    */

602   public EClass getSimpleAnyType()
603   {
604     return simpleAnyTypeEClass;
605   }
606
607   /**
608    * <!-- begin-user-doc -->
609    * <!-- end-user-doc -->
610    * @generated
611    */

612   public EAttribute getSimpleAnyType_RawValue()
613   {
614     return (EAttribute)simpleAnyTypeEClass.getEStructuralFeatures().get(0);
615   }
616
617   /**
618    * <!-- begin-user-doc -->
619    * <!-- end-user-doc -->
620    * @generated
621    */

622   public EAttribute getSimpleAnyType_Value()
623   {
624     return (EAttribute)simpleAnyTypeEClass.getEStructuralFeatures().get(1);
625   }
626
627   /**
628    * <!-- begin-user-doc -->
629    * <!-- end-user-doc -->
630    * @generated
631    */

632   public EReference getSimpleAnyType_InstanceType()
633   {
634     return (EReference)simpleAnyTypeEClass.getEStructuralFeatures().get(2);
635   }
636
637   /**
638    * <!-- begin-user-doc -->
639    * <!-- end-user-doc -->
640    * @generated
641    */

642   public EClass getXMLTypeDocumentRoot()
643   {
644     return xmlTypeDocumentRootEClass;
645   }
646
647   /**
648    * <!-- begin-user-doc -->
649    * <!-- end-user-doc -->
650    * @generated
651    */

652   public EAttribute getXMLTypeDocumentRoot_Mixed()
653   {
654     return (EAttribute)xmlTypeDocumentRootEClass.getEStructuralFeatures().get(0);
655   }
656
657   /**
658    * <!-- begin-user-doc -->
659    * <!-- end-user-doc -->
660    * @generated
661    */

662   public EReference getXMLTypeDocumentRoot_XMLNSPrefixMap()
663   {
664     return (EReference)xmlTypeDocumentRootEClass.getEStructuralFeatures().get(1);
665   }
666
667   /**
668    * <!-- begin-user-doc -->
669    * <!-- end-user-doc -->
670    * @generated
671    */

672   public EReference getXMLTypeDocumentRoot_XSISchemaLocation()
673   {
674     return (EReference)xmlTypeDocumentRootEClass.getEStructuralFeatures().get(2);
675   }
676
677   /**
678    * <!-- begin-user-doc -->
679    * <!-- end-user-doc -->
680    * @generated
681    */

682   public EAttribute getXMLTypeDocumentRoot_CDATA()
683   {
684     return (EAttribute)xmlTypeDocumentRootEClass.getEStructuralFeatures().get(3);
685   }
686
687   /**
688    * <!-- begin-user-doc -->
689    * <!-- end-user-doc -->
690    * @generated
691    */

692   public EAttribute getXMLTypeDocumentRoot_Comment()
693   {
694     return (EAttribute)xmlTypeDocumentRootEClass.getEStructuralFeatures().get(4);
695   }
696
697   /**
698    * <!-- begin-user-doc -->
699    * <!-- end-user-doc -->
700    * @generated
701    */

702   public EAttribute getXMLTypeDocumentRoot_Text()
703   {
704     return (EAttribute)xmlTypeDocumentRootEClass.getEStructuralFeatures().get(5);
705   }
706
707   /**
708    * <!-- begin-user-doc -->
709    * <!-- end-user-doc -->
710    * @generated
711    */

712   public EDataType getAnySimpleType()
713   {
714     return anySimpleTypeEDataType;
715   }
716
717   /**
718    * <!-- begin-user-doc -->
719    * <!-- end-user-doc -->
720    * @generated
721    */

722   public EDataType getAnyURI()
723   {
724     return anyURIEDataType;
725   }
726
727   /**
728    * <!-- begin-user-doc -->
729    * <!-- end-user-doc -->
730    * @generated
731    */

732   public EDataType getBase64Binary()
733   {
734     return base64BinaryEDataType;
735   }
736
737   /**
738    * <!-- begin-user-doc -->
739    * <!-- end-user-doc -->
740    * @generated
741    */

742   public EDataType getBoolean()
743   {
744     return booleanEDataType;
745   }
746
747   /**
748    * <!-- begin-user-doc -->
749    * <!-- end-user-doc -->
750    * @generated
751    */

752   public EDataType getBooleanObject()
753   {
754     return booleanObjectEDataType;
755   }
756
757   /**
758    * <!-- begin-user-doc -->
759    * <!-- end-user-doc -->
760    * @generated
761    */

762   public EDataType getDecimal()
763   {
764     return decimalEDataType;
765   }
766
767   /**
768    * <!-- begin-user-doc -->
769    * <!-- end-user-doc -->
770    * @generated
771    */

772   public EDataType getInteger()
773   {
774     return integerEDataType;
775   }
776
777   /**
778    * <!-- begin-user-doc -->
779    * <!-- end-user-doc -->
780    * @generated
781    */

782   public EDataType getIntObject()
783   {
784     return intObjectEDataType;
785   }
786
787   /**
788    * <!-- begin-user-doc -->
789    * <!-- end-user-doc -->
790    * @generated
791    */

792   public EDataType getLong()
793   {
794     return longEDataType;
795   }
796
797   /**
798    * <!-- begin-user-doc -->
799    * <!-- end-user-doc -->
800    * @generated
801    */

802   public EDataType getLongObject()
803   {
804     return longObjectEDataType;
805   }
806
807   /**
808    * <!-- begin-user-doc -->
809    * <!-- end-user-doc -->
810    * @generated
811    */

812   public EDataType getInt()
813   {
814     return intEDataType;
815   }
816
817   /**
818    * <!-- begin-user-doc -->
819    * <!-- end-user-doc -->
820    * @generated
821    */

822   public EDataType getShort()
823   {
824     return shortEDataType;
825   }
826
827   /**
828    * <!-- begin-user-doc -->
829    * <!-- end-user-doc -->
830    * @generated
831    */

832   public EDataType getShortObject()
833   {
834     return shortObjectEDataType;
835   }
836
837   /**
838    * <!-- begin-user-doc -->
839    * <!-- end-user-doc -->
840    * @generated
841    */

842   public EDataType getByte()
843   {
844     return byteEDataType;
845   }
846
847   /**
848    * <!-- begin-user-doc -->
849    * <!-- end-user-doc -->
850    * @generated
851    */

852   public EDataType getByteObject()
853   {
854     return byteObjectEDataType;
855   }
856
857   /**
858    * <!-- begin-user-doc -->
859    * <!-- end-user-doc -->
860    * @generated
861    */

862   public EDataType getDate()
863   {
864     return dateEDataType;
865   }
866
867   /**
868    * <!-- begin-user-doc -->
869    * <!-- end-user-doc -->
870    * @generated
871    */

872   public EDataType getDateTime()
873   {
874     return dateTimeEDataType;
875   }
876
877   /**
878    * <!-- begin-user-doc -->
879    * <!-- end-user-doc -->
880    * @generated
881    */

882   public EDataType getString()
883   {
884     return stringEDataType;
885   }
886
887   /**
888    * <!-- begin-user-doc -->
889    * <!-- end-user-doc -->
890    * @generated
891    */

892   public EDataType getDouble()
893   {
894     return doubleEDataType;
895   }
896
897   /**
898    * <!-- begin-user-doc -->
899    * <!-- end-user-doc -->
900    * @generated
901    */

902   public EDataType getDoubleObject()
903   {
904     return doubleObjectEDataType;
905   }
906
907   /**
908    * <!-- begin-user-doc -->
909    * <!-- end-user-doc -->
910    * @generated
911    */

912   public EDataType getDuration()
913   {
914     return durationEDataType;
915   }
916
917   /**
918    * <!-- begin-user-doc -->
919    * <!-- end-user-doc -->
920    * @generated
921    */

922   public EDataType getENTITIESBase()
923   {
924     return entitiesBaseEDataType;
925   }
926
927   /**
928    * <!-- begin-user-doc -->
929    * <!-- end-user-doc -->
930    * @generated
931    */

932   public EDataType getNormalizedString()
933   {
934     return normalizedStringEDataType;
935   }
936
937   /**
938    * <!-- begin-user-doc -->
939    * <!-- end-user-doc -->
940    * @generated
941    */

942   public EDataType getToken()
943   {
944     return tokenEDataType;
945   }
946
947   /**
948    * <!-- begin-user-doc -->
949    * <!-- end-user-doc -->
950    * @generated
951    */

952   public EDataType getName_()
953   {
954     return nameEDataType;
955   }
956
957   /**
958    * <!-- begin-user-doc -->
959    * <!-- end-user-doc -->
960    * @generated
961    */

962   public EDataType getNCName()
963   {
964     return ncNameEDataType;
965   }
966
967   /**
968    * <!-- begin-user-doc -->
969    * <!-- end-user-doc -->
970    * @generated
971    */

972   public EDataType getENTITY()
973   {
974     return entityEDataType;
975   }
976
977   /**
978    * <!-- begin-user-doc -->
979    * <!-- end-user-doc -->
980    * @generated
981    */

982   public EDataType getENTITIES()
983   {
984     return entitiesEDataType;
985   }
986
987   /**
988    * <!-- begin-user-doc -->
989    * <!-- end-user-doc -->
990    * @generated
991    */

992   public EDataType getFloat()
993   {
994     return floatEDataType;
995   }
996
997   /**
998    * <!-- begin-user-doc -->
999    * <!-- end-user-doc -->
1000   * @generated
1001   */

1002  public EDataType getFloatObject()
1003  {
1004    return floatObjectEDataType;
1005  }
1006
1007  /**
1008   * <!-- begin-user-doc -->
1009   * <!-- end-user-doc -->
1010   * @generated
1011   */

1012  public EDataType getGDay()
1013  {
1014    return gDayEDataType;
1015  }
1016
1017  /**
1018   * <!-- begin-user-doc -->
1019   * <!-- end-user-doc -->
1020   * @generated
1021   */

1022  public EDataType getGMonth()
1023  {
1024    return gMonthEDataType;
1025  }
1026
1027  /**
1028   * <!-- begin-user-doc -->
1029   * <!-- end-user-doc -->
1030   * @generated
1031   */

1032  public EDataType getGMonthDay()
1033  {
1034    return gMonthDayEDataType;
1035  }
1036
1037  /**
1038   * <!-- begin-user-doc -->
1039   * <!-- end-user-doc -->
1040   * @generated
1041   */

1042  public EDataType getGYear()
1043  {
1044    return gYearEDataType;
1045  }
1046
1047  /**
1048   * <!-- begin-user-doc -->
1049   * <!-- end-user-doc -->
1050   * @generated
1051   */

1052  public EDataType getGYearMonth()
1053  {
1054    return gYearMonthEDataType;
1055  }
1056
1057  /**
1058   * <!-- begin-user-doc -->
1059   * <!-- end-user-doc -->
1060   * @generated
1061   */

1062  public EDataType getHexBinary()
1063  {
1064    return hexBinaryEDataType;
1065  }
1066
1067  /**
1068   * <!-- begin-user-doc -->
1069   * <!-- end-user-doc -->
1070   * @generated
1071   */

1072  public EDataType getID()
1073  {
1074    return idEDataType;
1075  }
1076
1077  /**
1078   * <!-- begin-user-doc -->
1079   * <!-- end-user-doc -->
1080   * @generated
1081   */

1082  public EDataType getIDREF()
1083  {
1084    return idrefEDataType;
1085  }
1086
1087  /**
1088   * <!-- begin-user-doc -->
1089   * <!-- end-user-doc -->
1090   * @generated
1091   */

1092  public EDataType getIDREFSBase()
1093  {
1094    return idrefsBaseEDataType;
1095  }
1096
1097  /**
1098   * <!-- begin-user-doc -->
1099   * <!-- end-user-doc -->
1100   * @generated
1101   */

1102  public EDataType getIDREFS()
1103  {
1104    return idrefsEDataType;
1105  }
1106
1107  /**
1108   * <!-- begin-user-doc -->
1109   * <!-- end-user-doc -->
1110   * @generated
1111   */

1112  public EDataType getLanguage()
1113  {
1114    return languageEDataType;
1115  }
1116
1117  /**
1118   * <!-- begin-user-doc -->
1119   * <!-- end-user-doc -->
1120   * @generated
1121   */

1122  public EDataType getNonPositiveInteger()
1123  {
1124    return nonPositiveIntegerEDataType;
1125  }
1126
1127  /**
1128   * <!-- begin-user-doc -->
1129   * <!-- end-user-doc -->
1130   * @generated
1131   */

1132  public EDataType getNegativeInteger()
1133  {
1134    return negativeIntegerEDataType;
1135  }
1136
1137  /**
1138   * <!-- begin-user-doc -->
1139   * <!-- end-user-doc -->
1140   * @generated
1141   */

1142  public EDataType getNMTOKEN()
1143  {
1144    return nmtokenEDataType;
1145  }
1146
1147  /**
1148   * <!-- begin-user-doc -->
1149   * <!-- end-user-doc -->
1150   * @generated
1151   */

1152  public EDataType getNMTOKENSBase()
1153  {
1154    return nmtokensBaseEDataType;
1155  }
1156
1157  /**
1158   * <!-- begin-user-doc -->
1159   * <!-- end-user-doc -->
1160   * @generated
1161   */

1162  public EDataType getNMTOKENS()
1163  {
1164    return nmtokensEDataType;
1165  }
1166
1167  /**
1168   * <!-- begin-user-doc -->
1169   * <!-- end-user-doc -->
1170   * @generated
1171   */

1172  public EDataType getNonNegativeInteger()
1173  {
1174    return nonNegativeIntegerEDataType;
1175  }
1176
1177  /**
1178   * <!-- begin-user-doc -->
1179   * <!-- end-user-doc -->
1180   * @generated
1181   */

1182  public EDataType getNOTATION()
1183  {
1184    return notationEDataType;
1185  }
1186
1187  /**
1188   * <!-- begin-user-doc -->
1189   * <!-- end-user-doc -->
1190   * @generated
1191   */

1192  public EDataType getPositiveInteger()
1193  {
1194    return positiveIntegerEDataType;
1195  }
1196
1197  /**
1198   * <!-- begin-user-doc -->
1199   * <!-- end-user-doc -->
1200   * @generated
1201   */

1202  public EDataType getQName()
1203  {
1204    return qNameEDataType;
1205  }
1206
1207  /**
1208   * <!-- begin-user-doc -->
1209   * <!-- end-user-doc -->
1210   * @generated
1211   */

1212  public EDataType getTime()
1213  {
1214    return timeEDataType;
1215  }
1216
1217  /**
1218   * <!-- begin-user-doc -->
1219   * <!-- end-user-doc -->
1220   * @generated
1221   */

1222  public EDataType getUnsignedLong()
1223  {
1224    return unsignedLongEDataType;
1225  }
1226
1227  /**
1228   * <!-- begin-user-doc -->
1229   * <!-- end-user-doc -->
1230   * @generated
1231   */

1232  public EDataType getUnsignedInt()
1233  {
1234    return unsignedIntEDataType;
1235  }
1236
1237  /**
1238   * <!-- begin-user-doc -->
1239   * <!-- end-user-doc -->
1240   * @generated
1241   */

1242  public EDataType getUnsignedIntObject()
1243  {
1244    return unsignedIntObjectEDataType;
1245  }
1246
1247  /**
1248   * <!-- begin-user-doc -->
1249   * <!-- end-user-doc -->
1250   * @generated
1251   */

1252  public EDataType getUnsignedShort()
1253  {
1254    return unsignedShortEDataType;
1255  }
1256
1257  /**
1258   * <!-- begin-user-doc -->
1259   * <!-- end-user-doc -->
1260   * @generated
1261   */

1262  public EDataType getUnsignedShortObject()
1263  {
1264    return unsignedShortObjectEDataType;
1265  }
1266
1267  /**
1268   * <!-- begin-user-doc -->
1269   * <!-- end-user-doc -->
1270   * @generated
1271   */

1272  public EDataType getUnsignedByte()
1273  {
1274    return unsignedByteEDataType;
1275  }
1276
1277  /**
1278   * <!-- begin-user-doc -->
1279   * <!-- end-user-doc -->
1280   * @generated
1281   */

1282  public EDataType getUnsignedByteObject()
1283  {
1284    return unsignedByteObjectEDataType;
1285  }
1286
1287  /**
1288   * <!-- begin-user-doc -->
1289   * <!-- end-user-doc -->
1290   * @generated
1291   */

1292  public XMLTypeFactory getXMLTypeFactory()
1293  {
1294    return (XMLTypeFactory)getEFactoryInstance();
1295  }
1296
1297  /**
1298   * <!-- begin-user-doc -->
1299   * <!-- end-user-doc -->
1300   * @generated
1301   */

1302  private boolean isCreated = false;
1303
1304  /**
1305   * Creates the meta-model objects for the package. This method is
1306   * guarded to have no affect on any invocation but its first.
1307   * <!-- begin-user-doc -->
1308   * <!-- end-user-doc -->
1309   * @generated
1310   */

1311  public void createPackageContents()
1312  {
1313    if (isCreated) return;
1314    isCreated = true;
1315
1316    // Create classes and their features
1317
anyTypeEClass = createEClass(ANY_TYPE);
1318    createEAttribute(anyTypeEClass, ANY_TYPE__MIXED);
1319    createEAttribute(anyTypeEClass, ANY_TYPE__ANY);
1320    createEAttribute(anyTypeEClass, ANY_TYPE__ANY_ATTRIBUTE);
1321
1322    simpleAnyTypeEClass = createEClass(SIMPLE_ANY_TYPE);
1323    createEAttribute(simpleAnyTypeEClass, SIMPLE_ANY_TYPE__RAW_VALUE);
1324    createEAttribute(simpleAnyTypeEClass, SIMPLE_ANY_TYPE__VALUE);
1325    createEReference(simpleAnyTypeEClass, SIMPLE_ANY_TYPE__INSTANCE_TYPE);
1326
1327    xmlTypeDocumentRootEClass = createEClass(XML_TYPE_DOCUMENT_ROOT);
1328    createEAttribute(xmlTypeDocumentRootEClass, XML_TYPE_DOCUMENT_ROOT__MIXED);
1329    createEReference(xmlTypeDocumentRootEClass, XML_TYPE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
1330    createEReference(xmlTypeDocumentRootEClass, XML_TYPE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
1331    createEAttribute(xmlTypeDocumentRootEClass, XML_TYPE_DOCUMENT_ROOT__CDATA);
1332    createEAttribute(xmlTypeDocumentRootEClass, XML_TYPE_DOCUMENT_ROOT__COMMENT);
1333    createEAttribute(xmlTypeDocumentRootEClass, XML_TYPE_DOCUMENT_ROOT__TEXT);
1334
1335    // Create data types
1336
anySimpleTypeEDataType = createEDataType(ANY_SIMPLE_TYPE);
1337    anyURIEDataType = createEDataType(ANY_URI);
1338    base64BinaryEDataType = createEDataType(BASE64_BINARY);
1339    booleanEDataType = createEDataType(BOOLEAN);
1340    booleanObjectEDataType = createEDataType(BOOLEAN_OBJECT);
1341    byteEDataType = createEDataType(BYTE);
1342    byteObjectEDataType = createEDataType(BYTE_OBJECT);
1343    dateEDataType = createEDataType(DATE);
1344    dateTimeEDataType = createEDataType(DATE_TIME);
1345    decimalEDataType = createEDataType(DECIMAL);
1346    doubleEDataType = createEDataType(DOUBLE);
1347    doubleObjectEDataType = createEDataType(DOUBLE_OBJECT);
1348    durationEDataType = createEDataType(DURATION);
1349    entitiesEDataType = createEDataType(ENTITIES);
1350    entitiesBaseEDataType = createEDataType(ENTITIES_BASE);
1351    entityEDataType = createEDataType(ENTITY);
1352    floatEDataType = createEDataType(FLOAT);
1353    floatObjectEDataType = createEDataType(FLOAT_OBJECT);
1354    gDayEDataType = createEDataType(GDAY);
1355    gMonthEDataType = createEDataType(GMONTH);
1356    gMonthDayEDataType = createEDataType(GMONTH_DAY);
1357    gYearEDataType = createEDataType(GYEAR);
1358    gYearMonthEDataType = createEDataType(GYEAR_MONTH);
1359    hexBinaryEDataType = createEDataType(HEX_BINARY);
1360    idEDataType = createEDataType(ID);
1361    idrefEDataType = createEDataType(IDREF);
1362    idrefsEDataType = createEDataType(IDREFS);
1363    idrefsBaseEDataType = createEDataType(IDREFS_BASE);
1364    intEDataType = createEDataType(INT);
1365    integerEDataType = createEDataType(INTEGER);
1366    intObjectEDataType = createEDataType(INT_OBJECT);
1367    languageEDataType = createEDataType(LANGUAGE);
1368    longEDataType = createEDataType(LONG);
1369    longObjectEDataType = createEDataType(LONG_OBJECT);
1370    nameEDataType = createEDataType(NAME);
1371    ncNameEDataType = createEDataType(NC_NAME);
1372    negativeIntegerEDataType = createEDataType(NEGATIVE_INTEGER);
1373    nmtokenEDataType = createEDataType(NMTOKEN);
1374    nmtokensEDataType = createEDataType(NMTOKENS);
1375    nmtokensBaseEDataType = createEDataType(NMTOKENS_BASE);
1376    nonNegativeIntegerEDataType = createEDataType(NON_NEGATIVE_INTEGER);
1377    nonPositiveIntegerEDataType = createEDataType(NON_POSITIVE_INTEGER);
1378    normalizedStringEDataType = createEDataType(NORMALIZED_STRING);
1379    notationEDataType = createEDataType(NOTATION);
1380    positiveIntegerEDataType = createEDataType(POSITIVE_INTEGER);
1381    qNameEDataType = createEDataType(QNAME);
1382    shortEDataType = createEDataType(SHORT);
1383    shortObjectEDataType = createEDataType(SHORT_OBJECT);
1384    stringEDataType = createEDataType(STRING);
1385    timeEDataType = createEDataType(TIME);
1386    tokenEDataType = createEDataType(TOKEN);
1387    unsignedByteEDataType = createEDataType(UNSIGNED_BYTE);
1388    unsignedByteObjectEDataType = createEDataType(UNSIGNED_BYTE_OBJECT);
1389    unsignedIntEDataType = createEDataType(UNSIGNED_INT);
1390    unsignedIntObjectEDataType = createEDataType(UNSIGNED_INT_OBJECT);
1391    unsignedLongEDataType = createEDataType(UNSIGNED_LONG);
1392    unsignedShortEDataType = createEDataType(UNSIGNED_SHORT);
1393    unsignedShortObjectEDataType = createEDataType(UNSIGNED_SHORT_OBJECT);
1394  }
1395
1396  /**
1397   * <!-- begin-user-doc -->
1398   * <!-- end-user-doc -->
1399   * @generated
1400   */

1401  private boolean isInitialized = false;
1402
1403  /**
1404   * Complete the initialization of the package and its meta-model. This
1405   * method is guarded to have no affect on any invocation but its first.
1406   * <!-- begin-user-doc -->
1407   * <!-- end-user-doc -->
1408   * @generated
1409   */

1410  public void initializePackageContents()
1411  {
1412    if (isInitialized) return;
1413    isInitialized = true;
1414
1415    // Initialize package
1416
setName(eNAME);
1417    setNsPrefix(eNS_PREFIX);
1418    setNsURI(eNS_URI);
1419
1420    // Obtain other dependent packages
1421
XMLTypePackageImpl theXMLTypePackage_1 = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
1422
1423    // Add supertypes to classes
1424
simpleAnyTypeEClass.getESuperTypes().add(this.getAnyType());
1425
1426    // Initialize classes and features; add operations and parameters
1427
initEClass(anyTypeEClass, AnyType.class, "AnyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1428    initEAttribute(getAnyType_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, AnyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1429    initEAttribute(getAnyType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, AnyType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1430    initEAttribute(getAnyType_AnyAttribute(), ecorePackage.getEFeatureMapEntry(), "anyAttribute", null, 0, -1, AnyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1431
1432    initEClass(simpleAnyTypeEClass, SimpleAnyType.class, "SimpleAnyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1433    initEAttribute(getSimpleAnyType_RawValue(), theXMLTypePackage_1.getString(), "rawValue", null, 0, 1, SimpleAnyType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1434    initEAttribute(getSimpleAnyType_Value(), theXMLTypePackage_1.getAnySimpleType(), "value", null, 0, 1, SimpleAnyType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1435    initEReference(getSimpleAnyType_InstanceType(), ecorePackage.getEDataType(), null, "instanceType", null, 1, 1, SimpleAnyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1436
1437    initEClass(xmlTypeDocumentRootEClass, XMLTypeDocumentRoot.class, "XMLTypeDocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1438    initEAttribute(getXMLTypeDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1439    initEReference(getXMLTypeDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1440    initEReference(getXMLTypeDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1441    initEAttribute(getXMLTypeDocumentRoot_CDATA(), this.getString(), "cDATA", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1442    initEAttribute(getXMLTypeDocumentRoot_Comment(), this.getString(), "comment", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1443    initEAttribute(getXMLTypeDocumentRoot_Text(), this.getString(), "text", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED);
1444
1445    // Initialize data types
1446
initEDataType(anySimpleTypeEDataType, Object JavaDoc.class, "AnySimpleType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1447    initEDataType(anyURIEDataType, String JavaDoc.class, "AnyURI", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1448    initEDataType(base64BinaryEDataType, byte[].class, "Base64Binary", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1449    initEDataType(booleanEDataType, boolean.class, "Boolean", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1450    initEDataType(booleanObjectEDataType, Boolean JavaDoc.class, "BooleanObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1451    initEDataType(byteEDataType, byte.class, "Byte", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1452    initEDataType(byteObjectEDataType, Byte JavaDoc.class, "ByteObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1453    initEDataType(dateEDataType, Object JavaDoc.class, "Date", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1454    initEDataType(dateTimeEDataType, Object JavaDoc.class, "DateTime", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1455    initEDataType(decimalEDataType, BigDecimal JavaDoc.class, "Decimal", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1456    initEDataType(doubleEDataType, double.class, "Double", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1457    initEDataType(doubleObjectEDataType, Double JavaDoc.class, "DoubleObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1458    initEDataType(durationEDataType, Object JavaDoc.class, "Duration", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1459    initEDataType(entitiesEDataType, List JavaDoc.class, "ENTITIES", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1460    initEDataType(entitiesBaseEDataType, List JavaDoc.class, "ENTITIESBase", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1461    initEDataType(entityEDataType, String JavaDoc.class, "ENTITY", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1462    initEDataType(floatEDataType, float.class, "Float", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1463    initEDataType(floatObjectEDataType, Float JavaDoc.class, "FloatObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1464    initEDataType(gDayEDataType, Object JavaDoc.class, "GDay", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1465    initEDataType(gMonthEDataType, Object JavaDoc.class, "GMonth", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1466    initEDataType(gMonthDayEDataType, Object JavaDoc.class, "GMonthDay", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1467    initEDataType(gYearEDataType, Object JavaDoc.class, "GYear", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1468    initEDataType(gYearMonthEDataType, Object JavaDoc.class, "GYearMonth", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1469    initEDataType(hexBinaryEDataType, byte[].class, "HexBinary", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1470    initEDataType(idEDataType, String JavaDoc.class, "ID", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1471    initEDataType(idrefEDataType, String JavaDoc.class, "IDREF", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1472    initEDataType(idrefsEDataType, List JavaDoc.class, "IDREFS", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1473    initEDataType(idrefsBaseEDataType, List JavaDoc.class, "IDREFSBase", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1474    initEDataType(intEDataType, int.class, "Int", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1475    initEDataType(integerEDataType, BigInteger JavaDoc.class, "Integer", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1476    initEDataType(intObjectEDataType, Integer JavaDoc.class, "IntObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1477    initEDataType(languageEDataType, String JavaDoc.class, "Language", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1478    initEDataType(longEDataType, long.class, "Long", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1479    initEDataType(longObjectEDataType, Long JavaDoc.class, "LongObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1480    initEDataType(nameEDataType, String JavaDoc.class, "Name", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1481    initEDataType(ncNameEDataType, String JavaDoc.class, "NCName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1482    initEDataType(negativeIntegerEDataType, BigInteger JavaDoc.class, "NegativeInteger", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1483    initEDataType(nmtokenEDataType, String JavaDoc.class, "NMTOKEN", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1484    initEDataType(nmtokensEDataType, List JavaDoc.class, "NMTOKENS", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1485    initEDataType(nmtokensBaseEDataType, List JavaDoc.class, "NMTOKENSBase", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1486    initEDataType(nonNegativeIntegerEDataType, BigInteger JavaDoc.class, "NonNegativeInteger", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1487    initEDataType(nonPositiveIntegerEDataType, BigInteger JavaDoc.class, "NonPositiveInteger", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1488    initEDataType(normalizedStringEDataType, String JavaDoc.class, "NormalizedString", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1489    initEDataType(notationEDataType, Object JavaDoc.class, "NOTATION", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1490    initEDataType(positiveIntegerEDataType, BigInteger JavaDoc.class, "PositiveInteger", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1491    initEDataType(qNameEDataType, Object JavaDoc.class, "QName", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1492    initEDataType(shortEDataType, short.class, "Short", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1493    initEDataType(shortObjectEDataType, Short JavaDoc.class, "ShortObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1494    initEDataType(stringEDataType, String JavaDoc.class, "String", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1495    initEDataType(timeEDataType, Object JavaDoc.class, "Time", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1496    initEDataType(tokenEDataType, String JavaDoc.class, "Token", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1497    initEDataType(unsignedByteEDataType, short.class, "UnsignedByte", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1498    initEDataType(unsignedByteObjectEDataType, Short JavaDoc.class, "UnsignedByteObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1499    initEDataType(unsignedIntEDataType, long.class, "UnsignedInt", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1500    initEDataType(unsignedIntObjectEDataType, Long JavaDoc.class, "UnsignedIntObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1501    initEDataType(unsignedLongEDataType, BigInteger JavaDoc.class, "UnsignedLong", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1502    initEDataType(unsignedShortEDataType, int.class, "UnsignedShort", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1503    initEDataType(unsignedShortObjectEDataType, Integer JavaDoc.class, "UnsignedShortObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
1504
1505    // Create resource
1506
createResource(eNS_URI);
1507
1508    // Create annotations
1509
// http:///org/eclipse/emf/ecore/util/ExtendedMetaData
1510
createExtendedMetaDataAnnotations();
1511  }
1512
1513  /**
1514   * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
1515   * <!-- begin-user-doc -->
1516   * <!-- end-user-doc -->
1517   * @generated
1518   */

1519  protected void createExtendedMetaDataAnnotations()
1520  {
1521    String JavaDoc source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
1522    addAnnotation
1523      (anySimpleTypeEDataType,
1524       source,
1525       new String JavaDoc[]
1526       {
1527       "name", "anySimpleType"
1528       });
1529    addAnnotation
1530      (anyTypeEClass,
1531       source,
1532       new String JavaDoc[]
1533       {
1534       "name", "anyType",
1535       "kind", "mixed"
1536       });
1537    addAnnotation
1538      (getAnyType_Mixed(),
1539       source,
1540       new String JavaDoc[]
1541       {
1542       "kind", "elementWildcard",
1543       "name", ":mixed"
1544       });
1545    addAnnotation
1546      (getAnyType_Any(),
1547       source,
1548       new String JavaDoc[]
1549       {
1550       "kind", "elementWildcard",
1551       "wildcards", "##any",
1552       "name", ":1",
1553       "processing", "lax"
1554       });
1555    addAnnotation
1556      (getAnyType_AnyAttribute(),
1557       source,
1558       new String JavaDoc[]
1559       {
1560       "kind", "attributeWildcard",
1561       "wildcards", "##any",
1562       "name", ":2",
1563       "processing", "lax"
1564       });
1565    addAnnotation
1566      (anyURIEDataType,
1567       source,
1568       new String JavaDoc[]
1569       {
1570       "name", "anyURI",
1571       "whiteSpace", "collapse"
1572       });
1573    addAnnotation
1574      (base64BinaryEDataType,
1575       source,
1576       new String JavaDoc[]
1577       {
1578       "name", "base64Binary",
1579       "whiteSpace", "collapse"
1580       });
1581    addAnnotation
1582      (booleanEDataType,
1583       source,
1584       new String JavaDoc[]
1585       {
1586       "name", "boolean",
1587       "whiteSpace", "collapse"
1588       });
1589    addAnnotation
1590      (booleanObjectEDataType,
1591       source,
1592       new String JavaDoc[]
1593       {
1594       "name", "boolean:Object",
1595       "baseType", "boolean"
1596       });
1597    addAnnotation
1598      (byteEDataType,
1599       source,
1600       new String JavaDoc[]
1601       {
1602       "name", "byte"
1603       });
1604    addAnnotation
1605      (byteObjectEDataType,
1606       source,
1607       new String JavaDoc[]
1608       {
1609       "name", "byte:Object",
1610       "baseType", "byte"
1611       });
1612    addAnnotation
1613      (dateEDataType,
1614       source,
1615       new String JavaDoc[]
1616       {
1617       "name", "date",
1618       "baseType", "anySimpleType",
1619       "whiteSpace", "collapse"
1620       });
1621    addAnnotation
1622      (dateTimeEDataType,
1623       source,
1624       new String JavaDoc[]
1625       {
1626       "name", "dateTime",
1627       "baseType", "anySimpleType",
1628       "whiteSpace", "collapse"
1629       });
1630    addAnnotation
1631      (decimalEDataType,
1632       source,
1633       new String JavaDoc[]
1634       {
1635       "name", "decimal",
1636       "whiteSpace", "collapse"
1637       });
1638    addAnnotation
1639      (doubleEDataType,
1640       source,
1641       new String JavaDoc[]
1642       {
1643       "name", "double",
1644       "whiteSpace", "collapse"
1645       });
1646    addAnnotation
1647      (doubleObjectEDataType,
1648       source,
1649       new String JavaDoc[]
1650       {
1651       "name", "double:Object",
1652       "baseType", "double"
1653       });
1654    addAnnotation
1655      (durationEDataType,
1656       source,
1657       new String JavaDoc[]
1658       {
1659       "name", "duration",
1660       "baseType", "anySimpleType",
1661       "whiteSpace", "collapse"
1662       });
1663    addAnnotation
1664      (entitiesEDataType,
1665       source,
1666       new String JavaDoc[]
1667       {
1668       "name", "ENTITIES",
1669       "baseType", "ENTITIES_._base",
1670       "minLength", "1"
1671       });
1672    addAnnotation
1673      (entitiesBaseEDataType,
1674       source,
1675       new String JavaDoc[]
1676       {
1677       "name", "ENTITIES_._base",
1678       "itemType", "ENTITY"
1679       });
1680    addAnnotation
1681      (entityEDataType,
1682       source,
1683       new String JavaDoc[]
1684       {
1685       "name", "ENTITY",
1686       "baseType", "NCName"
1687       });
1688    addAnnotation
1689      (floatEDataType,
1690       source,
1691       new String JavaDoc[]
1692       {
1693       "name", "float",
1694       "whiteSpace", "collapse"
1695       });
1696    addAnnotation
1697      (floatObjectEDataType,
1698       source,
1699       new String JavaDoc[]
1700       {
1701       "name", "float:Object",
1702       "baseType", "float"
1703       });
1704    addAnnotation
1705      (gDayEDataType,
1706       source,
1707       new String JavaDoc[]
1708       {
1709       "name", "gDay",
1710       "baseType", "anySimpleType",
1711       "whiteSpace", "collapse"
1712       });
1713    addAnnotation
1714      (gMonthEDataType,
1715       source,
1716       new String JavaDoc[]
1717       {
1718       "name", "gMonth",
1719       "baseType", "anySimpleType",
1720       "whiteSpace", "collapse"
1721       });
1722    addAnnotation
1723      (gMonthDayEDataType,
1724       source,
1725       new String JavaDoc[]
1726       {
1727       "name", "gMonthDay",
1728       "baseType", "anySimpleType",
1729       "whiteSpace", "collapse"
1730       });
1731    addAnnotation
1732      (gYearEDataType,
1733       source,
1734       new String JavaDoc[]
1735       {
1736       "name", "gYear",
1737       "baseType", "anySimpleType",
1738       "whiteSpace", "collapse"
1739       });
1740    addAnnotation
1741      (gYearMonthEDataType,
1742       source,
1743       new String JavaDoc[]
1744       {
1745       "name", "gYearMonth",
1746       "baseType", "anySimpleType",
1747       "whiteSpace", "collapse"
1748       });
1749    addAnnotation
1750      (hexBinaryEDataType,
1751       source,
1752       new String JavaDoc[]
1753       {
1754       "name", "hexBinary",
1755       "whiteSpace", "collapse"
1756       });
1757    addAnnotation
1758      (idEDataType,
1759       source,
1760       new String JavaDoc[]
1761       {
1762       "name", "ID",
1763       "baseType", "NCName"
1764       });
1765    addAnnotation
1766      (idrefEDataType,
1767       source,
1768       new String JavaDoc[]
1769       {
1770       "name", "IDREF",
1771       "baseType", "NCName"
1772       });
1773    addAnnotation
1774      (idrefsEDataType,
1775       source,
1776       new String JavaDoc[]
1777       {
1778       "name", "IDREFS",
1779       "baseType", "IDREFS_._base",
1780       "minLength", "1"
1781       });
1782    addAnnotation
1783      (idrefsBaseEDataType,
1784       source,
1785       new String JavaDoc[]
1786       {
1787       "name", "IDREFS_._base",
1788       "itemType", "IDREF"
1789       });
1790    addAnnotation
1791      (intEDataType,
1792       source,
1793       new String JavaDoc[]
1794       {
1795       "name", "int"
1796       });
1797    addAnnotation
1798      (integerEDataType,
1799       source,
1800       new String JavaDoc[]
1801       {
1802       "name", "integer"
1803       });
1804    addAnnotation
1805      (intObjectEDataType,
1806       source,
1807       new String JavaDoc[]
1808       {
1809       "name", "int:Object",
1810       "baseType", "int"
1811       });
1812    addAnnotation
1813      (languageEDataType,
1814       source,
1815       new String JavaDoc[]
1816       {
1817       "name", "language",
1818       "baseType", "token",
1819       "pattern", "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"
1820       });
1821    addAnnotation
1822      (longEDataType,
1823       source,
1824       new String JavaDoc[]
1825       {
1826       "name", "long"
1827       });
1828    addAnnotation
1829      (longObjectEDataType,
1830       source,
1831       new String JavaDoc[]
1832       {
1833       "name", "long:Object",
1834       "baseType", "long"
1835       });
1836    addAnnotation
1837      (nameEDataType,
1838       source,
1839       new String JavaDoc[]
1840       {
1841       "name", "Name",
1842       "baseType", "token",
1843       "pattern", "\\i\\c*"
1844       });
1845    addAnnotation
1846      (ncNameEDataType,
1847       source,
1848       new String JavaDoc[]
1849       {
1850       "name", "NCName",
1851       "baseType", "Name",
1852       "pattern", "[\\i-[:]][\\c-[:]]*"
1853       });
1854    addAnnotation
1855      (negativeIntegerEDataType,
1856       source,
1857       new String JavaDoc[]
1858       {
1859       "name", "negativeInteger",
1860       "baseType", "nonPositiveInteger",
1861       "maxInclusive", "-1"
1862       });
1863    addAnnotation
1864      (nmtokenEDataType,
1865       source,
1866       new String JavaDoc[]
1867       {
1868       "name", "NMTOKEN",
1869       "baseType", "token",
1870       "pattern", "\\c+"
1871       });
1872    addAnnotation
1873      (nmtokensEDataType,
1874       source,
1875       new String JavaDoc[]
1876       {
1877       "name", "NMTOKENS",
1878       "baseType", "NMTOKENS_._base",
1879       "minLength", "1"
1880       });
1881    addAnnotation
1882      (nmtokensBaseEDataType,
1883       source,
1884       new String JavaDoc[]
1885       {
1886       "name", "NMTOKENS_._base",
1887       "itemType", "NMTOKEN"
1888       });
1889    addAnnotation
1890      (nonNegativeIntegerEDataType,
1891       source,
1892       new String JavaDoc[]
1893       {
1894       "name", "nonNegativeInteger",
1895       "baseType", "integer",
1896       "minInclusive", "0"
1897       });
1898    addAnnotation
1899      (nonPositiveIntegerEDataType,
1900       source,
1901       new String JavaDoc[]
1902       {
1903       "name", "nonPositiveInteger",
1904       "baseType", "integer",
1905       "maxInclusive", "0"
1906       });
1907    addAnnotation
1908      (normalizedStringEDataType,
1909       source,
1910       new String JavaDoc[]
1911       {
1912       "name", "normalizedString",
1913       "baseType", "string",
1914       "whiteSpace", "replace"
1915       });
1916    addAnnotation
1917      (notationEDataType,
1918       source,
1919       new String JavaDoc[]
1920       {
1921       "name", "NOTATION",
1922       "baseType", "anySimpleType",
1923       "whiteSpace", "collapse"
1924       });
1925    addAnnotation
1926      (positiveIntegerEDataType,
1927       source,
1928       new String JavaDoc[]
1929       {
1930       "name", "positiveInteger",
1931       "baseType", "nonNegativeInteger",
1932       "minInclusive", "1"
1933       });
1934    addAnnotation
1935      (qNameEDataType,
1936       source,
1937       new String JavaDoc[]
1938       {
1939       "name", "QName",
1940       "baseType", "anySimpleType",
1941       "whiteSpace", "collapse"
1942       });
1943    addAnnotation
1944      (shortEDataType,
1945       source,
1946       new String JavaDoc[]
1947       {
1948       "name", "short"
1949       });
1950    addAnnotation
1951      (shortObjectEDataType,
1952       source,
1953       new String JavaDoc[]
1954       {
1955       "name", "short:Object",
1956       "baseType", "short"
1957       });
1958    addAnnotation
1959      (simpleAnyTypeEClass,
1960       source,
1961       new String JavaDoc[]
1962       {
1963       "name", "simpleAnyType",
1964       "kind", "simple"
1965       });
1966    addAnnotation
1967      (getSimpleAnyType_RawValue(),
1968       source,
1969       new String JavaDoc[]
1970       {
1971       "name", ":3",
1972       "kind", "simple"
1973       });
1974    addAnnotation
1975      (getSimpleAnyType_Value(),
1976       source,
1977       new String JavaDoc[]
1978       {
1979       "name", ":4",
1980       "kind", "simple"
1981       });
1982    addAnnotation
1983      (getSimpleAnyType_InstanceType(),
1984       source,
1985       new String JavaDoc[]
1986       {
1987       "name", ":5",
1988       "kind", "simple"
1989       });
1990    addAnnotation
1991      (stringEDataType,
1992       source,
1993       new String JavaDoc[]
1994       {
1995       "name", "string",
1996       "whiteSpace", "preserve"
1997       });
1998    addAnnotation
1999      (timeEDataType,
2000       source,
2001       new String JavaDoc[]
2002       {
2003       "name", "time",
2004       "baseType", "anySimpleType",
2005       "whiteSpace", "collapse"
2006       });
2007    addAnnotation
2008      (tokenEDataType,
2009       source,
2010       new String JavaDoc[]
2011       {
2012       "name", "token",
2013       "baseType", "normalizedString",
2014       "whiteSpace", "collapse"
2015       });
2016    addAnnotation
2017      (unsignedByteEDataType,
2018       source,
2019       new String JavaDoc[]
2020       {
2021       "name", "unsignedByte",
2022       "maxInclusive", "255",
2023       "minInclusive", "0"
2024       });
2025    addAnnotation
2026      (unsignedByteObjectEDataType,
2027       source,
2028       new String JavaDoc[]
2029       {
2030       "name", "unsignedByte:Object",
2031       "baseType", "unsignedByte"
2032       });
2033    addAnnotation
2034      (unsignedIntEDataType,
2035       source,
2036       new String JavaDoc[]
2037       {
2038       "name", "unsignedInt",
2039       "maxInclusive", "4294967295",
2040       "minInclusive", "0"
2041       });
2042    addAnnotation
2043      (unsignedIntObjectEDataType,
2044       source,
2045       new String JavaDoc[]
2046       {
2047       "name", "unsignedInt:Object",
2048       "baseType", "unsignedInt"
2049       });
2050    addAnnotation
2051      (unsignedLongEDataType,
2052       source,
2053       new String JavaDoc[]
2054       {
2055       "name", "unsignedLong",
2056       "baseType", "nonNegativeInteger",
2057       "maxInclusive", "18446744073709551615",
2058       "minInclusive", "0"
2059       });
2060    addAnnotation
2061      (unsignedShortEDataType,
2062       source,
2063       new String JavaDoc[]
2064       {
2065       "name", "unsignedShort",
2066       "maxInclusive", "65535",
2067       "minInclusive", "0"
2068       });
2069    addAnnotation
2070      (unsignedShortObjectEDataType,
2071       source,
2072       new String JavaDoc[]
2073       {
2074       "name", "unsignedShort:Object",
2075       "baseType", "unsignedShort"
2076       });
2077    addAnnotation
2078      (xmlTypeDocumentRootEClass,
2079       source,
2080       new String JavaDoc[]
2081       {
2082       "name", "",
2083       "kind", "mixed"
2084       });
2085    addAnnotation
2086      (getXMLTypeDocumentRoot_Mixed(),
2087       source,
2088       new String JavaDoc[]
2089       {
2090       "kind", "elementWildcard",
2091       "name", ":mixed"
2092       });
2093    addAnnotation
2094      (getXMLTypeDocumentRoot_XMLNSPrefixMap(),
2095       source,
2096       new String JavaDoc[]
2097       {
2098       "kind", "attribute",
2099       "name", "xmlns:prefix"
2100       });
2101    addAnnotation
2102      (getXMLTypeDocumentRoot_XSISchemaLocation(),
2103       source,
2104       new String JavaDoc[]
2105       {
2106       "kind", "attribute",
2107       "name", "xsi:schemaLocation"
2108       });
2109    addAnnotation
2110      (getXMLTypeDocumentRoot_CDATA(),
2111       source,
2112       new String JavaDoc[]
2113       {
2114       "kind", "element",
2115       "name", "cDATA",
2116       "namespace", "##targetNamespace"
2117       });
2118    addAnnotation
2119      (getXMLTypeDocumentRoot_Comment(),
2120       source,
2121       new String JavaDoc[]
2122       {
2123       "kind", "element",
2124       "name", "comment",
2125       "namespace", "##targetNamespace"
2126       });
2127    addAnnotation
2128      (getXMLTypeDocumentRoot_Text(),
2129       source,
2130       new String JavaDoc[]
2131       {
2132       "kind", "element",
2133       "name", "text",
2134       "namespace", "##targetNamespace"
2135       });
2136  }
2137
2138  /**
2139   * Initializes the annotations for <b>null</b>.
2140   * <!-- begin-user-doc -->
2141   * <!-- end-user-doc -->
2142   * @generated NOT
2143   */

2144  protected void createNullAnnotations()
2145  {
2146  }
2147} //XMLTypePackageImpl
2148
Popular Tags