View Javadoc

1   /**
2    * <copyright>
3    * </copyright>
4    *
5    * $Id$
6    */
7   package org.mod4j.dsl.datacontract.mm.DataContractDsl.impl;
8   
9   import org.eclipse.emf.ecore.EAttribute;
10  import org.eclipse.emf.ecore.EClass;
11  import org.eclipse.emf.ecore.EEnum;
12  import org.eclipse.emf.ecore.EPackage;
13  import org.eclipse.emf.ecore.EReference;
14  
15  import org.eclipse.emf.ecore.impl.EPackageImpl;
16  
17  import org.mod4j.dsl.datacontract.mm.DataContractDsl.BusinessClassAssociationRoleReference;
18  import org.mod4j.dsl.datacontract.mm.DataContractDsl.BusinessClassDto;
19  import org.mod4j.dsl.datacontract.mm.DataContractDsl.BusinessClassPropertyReference;
20  import org.mod4j.dsl.datacontract.mm.DataContractDsl.CustomDto;
21  import org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslFactory;
22  import org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage;
23  import org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractModel;
24  import org.mod4j.dsl.datacontract.mm.DataContractDsl.Dto;
25  import org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoAssociationRoleProperty;
26  import org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoBooleanProperty;
27  import org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoDataProperty;
28  import org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoDateTimeProperty;
29  import org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoDecimalProperty;
30  import org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoEnumerationProperty;
31  import org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoIntegerProperty;
32  import org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoProperty;
33  import org.mod4j.dsl.datacontract.mm.DataContractDsl.DtoStringProperty;
34  import org.mod4j.dsl.datacontract.mm.DataContractDsl.EnumerationDto;
35  import org.mod4j.dsl.datacontract.mm.DataContractDsl.EnumerationDtoLiteral;
36  import org.mod4j.dsl.datacontract.mm.DataContractDsl.ExternalReference;
37  import org.mod4j.dsl.datacontract.mm.DataContractDsl.ModelElement;
38  import org.mod4j.dsl.datacontract.mm.DataContractDsl.Multiplicity;
39  
40  /**
41   * <!-- begin-user-doc -->
42   * An implementation of the model <b>Package</b>.
43   * <!-- end-user-doc -->
44   * @generated
45   */
46  public class DataContractDslPackageImpl extends EPackageImpl implements DataContractDslPackage {
47      /**
48       * <!-- begin-user-doc -->
49       * <!-- end-user-doc -->
50       * @generated
51       */
52      private EClass dataContractModelEClass = null;
53  
54      /**
55       * <!-- begin-user-doc -->
56       * <!-- end-user-doc -->
57       * @generated
58       */
59      private EClass dtoEClass = null;
60  
61      /**
62       * <!-- begin-user-doc -->
63       * <!-- end-user-doc -->
64       * @generated
65       */
66      private EClass businessClassDtoEClass = null;
67  
68      /**
69       * <!-- begin-user-doc -->
70       * <!-- end-user-doc -->
71       * @generated
72       */
73      private EClass dtoPropertyEClass = null;
74  
75      /**
76       * <!-- begin-user-doc -->
77       * <!-- end-user-doc -->
78       * @generated
79       */
80      private EClass dtoDataPropertyEClass = null;
81  
82      /**
83       * <!-- begin-user-doc -->
84       * <!-- end-user-doc -->
85       * @generated
86       */
87      private EClass dtoStringPropertyEClass = null;
88  
89      /**
90       * <!-- begin-user-doc -->
91       * <!-- end-user-doc -->
92       * @generated
93       */
94      private EClass dtoBooleanPropertyEClass = null;
95  
96      /**
97       * <!-- begin-user-doc -->
98       * <!-- end-user-doc -->
99       * @generated
100      */
101     private EClass enumerationDtoEClass = null;
102 
103     /**
104      * <!-- begin-user-doc -->
105      * <!-- end-user-doc -->
106      * @generated
107      */
108     private EClass enumerationDtoLiteralEClass = null;
109 
110     /**
111      * <!-- begin-user-doc -->
112      * <!-- end-user-doc -->
113      * @generated
114      */
115     private EClass modelElementEClass = null;
116 
117     /**
118      * <!-- begin-user-doc -->
119      * <!-- end-user-doc -->
120      * @generated
121      */
122     private EClass customDtoEClass = null;
123 
124     /**
125      * <!-- begin-user-doc -->
126      * <!-- end-user-doc -->
127      * @generated
128      */
129     private EClass dtoIntegerPropertyEClass = null;
130 
131     /**
132      * <!-- begin-user-doc -->
133      * <!-- end-user-doc -->
134      * @generated
135      */
136     private EClass dtoDecimalPropertyEClass = null;
137 
138     /**
139      * <!-- begin-user-doc -->
140      * <!-- end-user-doc -->
141      * @generated
142      */
143     private EClass dtoEnumerationPropertyEClass = null;
144 
145     /**
146      * <!-- begin-user-doc -->
147      * <!-- end-user-doc -->
148      * @generated
149      */
150     private EClass dtoDateTimePropertyEClass = null;
151 
152     /**
153      * <!-- begin-user-doc -->
154      * <!-- end-user-doc -->
155      * @generated
156      */
157     private EClass businessClassPropertyReferenceEClass = null;
158 
159     /**
160      * <!-- begin-user-doc -->
161      * <!-- end-user-doc -->
162      * @generated
163      */
164     private EClass businessClassAssociationRoleReferenceEClass = null;
165 
166     /**
167      * <!-- begin-user-doc -->
168      * <!-- end-user-doc -->
169      * @generated
170      */
171     private EClass dtoAssociationRolePropertyEClass = null;
172 
173     /**
174      * <!-- begin-user-doc -->
175      * <!-- end-user-doc -->
176      * @generated
177      */
178     private EClass externalReferenceEClass = null;
179 
180     /**
181      * <!-- begin-user-doc -->
182      * <!-- end-user-doc -->
183      * @generated
184      */
185     private EEnum multiplicityEEnum = null;
186 
187     /**
188      * Creates an instance of the model <b>Package</b>, registered with
189      * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
190      * package URI value.
191      * <p>Note: the correct way to create the package is via the static
192      * factory method {@link #init init()}, which also performs
193      * initialization of the package, or returns the registered package,
194      * if one already exists.
195      * <!-- begin-user-doc -->
196      * <!-- end-user-doc -->
197      * @see org.eclipse.emf.ecore.EPackage.Registry
198      * @see org.mod4j.dsl.datacontract.mm.DataContractDsl.DataContractDslPackage#eNS_URI
199      * @see #init()
200      * @generated
201      */
202     private DataContractDslPackageImpl() {
203         super(eNS_URI, DataContractDslFactory.eINSTANCE);
204     }
205 
206     /**
207      * <!-- begin-user-doc -->
208      * <!-- end-user-doc -->
209      * @generated
210      */
211     private static boolean isInited = false;
212 
213     /**
214      * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
215      * 
216      * <p>This method is used to initialize {@link DataContractDslPackage#eINSTANCE} when that field is accessed.
217      * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
218      * <!-- begin-user-doc -->
219      * <!-- end-user-doc -->
220      * @see #eNS_URI
221      * @see #createPackageContents()
222      * @see #initializePackageContents()
223      * @generated
224      */
225     public static DataContractDslPackage init() {
226         if (isInited) return (DataContractDslPackage)EPackage.Registry.INSTANCE.getEPackage(DataContractDslPackage.eNS_URI);
227 
228         // Obtain or create and register package
229         DataContractDslPackageImpl theDataContractDslPackage = (DataContractDslPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DataContractDslPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DataContractDslPackageImpl());
230 
231         isInited = true;
232 
233         // Create package meta-data objects
234         theDataContractDslPackage.createPackageContents();
235 
236         // Initialize created meta-data
237         theDataContractDslPackage.initializePackageContents();
238 
239         // Mark meta-data to indicate it can't be changed
240         theDataContractDslPackage.freeze();
241 
242   
243         // Update the registry and return the package
244         EPackage.Registry.INSTANCE.put(DataContractDslPackage.eNS_URI, theDataContractDslPackage);
245         return theDataContractDslPackage;
246     }
247 
248     /**
249      * <!-- begin-user-doc -->
250      * <!-- end-user-doc -->
251      * @generated
252      */
253     public EClass getDataContractModel() {
254         return dataContractModelEClass;
255     }
256 
257     /**
258      * <!-- begin-user-doc -->
259      * <!-- end-user-doc -->
260      * @generated
261      */
262     public EReference getDataContractModel_Dtos() {
263         return (EReference)dataContractModelEClass.getEStructuralFeatures().get(0);
264     }
265 
266     /**
267      * <!-- begin-user-doc -->
268      * <!-- end-user-doc -->
269      * @generated
270      */
271     public EReference getDataContractModel_Enumerations() {
272         return (EReference)dataContractModelEClass.getEStructuralFeatures().get(1);
273     }
274 
275     /**
276      * <!-- begin-user-doc -->
277      * <!-- end-user-doc -->
278      * @generated
279      */
280     public EReference getDataContractModel_ExternalReferences() {
281         return (EReference)dataContractModelEClass.getEStructuralFeatures().get(2);
282     }
283 
284     /**
285      * <!-- begin-user-doc -->
286      * <!-- end-user-doc -->
287      * @generated
288      */
289     public EClass getDto() {
290         return dtoEClass;
291     }
292 
293     /**
294      * <!-- begin-user-doc -->
295      * <!-- end-user-doc -->
296      * @generated
297      */
298     public EReference getDto_DatacontractModel() {
299         return (EReference)dtoEClass.getEStructuralFeatures().get(0);
300     }
301 
302     /**
303      * <!-- begin-user-doc -->
304      * <!-- end-user-doc -->
305      * @generated
306      */
307     public EClass getBusinessClassDto() {
308         return businessClassDtoEClass;
309     }
310 
311     /**
312      * <!-- begin-user-doc -->
313      * <!-- end-user-doc -->
314      * @generated
315      */
316     public EReference getBusinessClassDto_Properties() {
317         return (EReference)businessClassDtoEClass.getEStructuralFeatures().get(0);
318     }
319 
320     /**
321      * <!-- begin-user-doc -->
322      * <!-- end-user-doc -->
323      * @generated
324      */
325     public EReference getBusinessClassDto_Base() {
326         return (EReference)businessClassDtoEClass.getEStructuralFeatures().get(1);
327     }
328 
329     /**
330      * <!-- begin-user-doc -->
331      * <!-- end-user-doc -->
332      * @generated
333      */
334     public EReference getBusinessClassDto_PropertyReferences() {
335         return (EReference)businessClassDtoEClass.getEStructuralFeatures().get(2);
336     }
337 
338     /**
339      * <!-- begin-user-doc -->
340      * <!-- end-user-doc -->
341      * @generated
342      */
343     public EReference getBusinessClassDto_AssociationReferences() {
344         return (EReference)businessClassDtoEClass.getEStructuralFeatures().get(3);
345     }
346 
347     /**
348      * <!-- begin-user-doc -->
349      * <!-- end-user-doc -->
350      * @generated
351      */
352     public EAttribute getBusinessClassDto_Creatable() {
353         return (EAttribute)businessClassDtoEClass.getEStructuralFeatures().get(4);
354     }
355 
356     /**
357      * <!-- begin-user-doc -->
358      * <!-- end-user-doc -->
359      * @generated
360      */
361     public EClass getDtoProperty() {
362         return dtoPropertyEClass;
363     }
364 
365     /**
366      * <!-- begin-user-doc -->
367      * <!-- end-user-doc -->
368      * @generated
369      */
370     public EAttribute getDtoProperty_DataType() {
371         return (EAttribute)dtoPropertyEClass.getEStructuralFeatures().get(0);
372     }
373 
374     /**
375      * <!-- begin-user-doc -->
376      * <!-- end-user-doc -->
377      * @generated
378      */
379     public EReference getDtoProperty_BusinessClassDto() {
380         return (EReference)dtoPropertyEClass.getEStructuralFeatures().get(1);
381     }
382 
383     /**
384      * <!-- begin-user-doc -->
385      * <!-- end-user-doc -->
386      * @generated
387      */
388     public EReference getDtoProperty_CustomDto() {
389         return (EReference)dtoPropertyEClass.getEStructuralFeatures().get(2);
390     }
391 
392     /**
393      * <!-- begin-user-doc -->
394      * <!-- end-user-doc -->
395      * @generated
396      */
397     public EAttribute getDtoProperty_MandatoryForCreation() {
398         return (EAttribute)dtoPropertyEClass.getEStructuralFeatures().get(3);
399     }
400 
401     /**
402      * <!-- begin-user-doc -->
403      * <!-- end-user-doc -->
404      * @generated
405      */
406     public EAttribute getDtoProperty_Nullable() {
407         return (EAttribute)dtoPropertyEClass.getEStructuralFeatures().get(4);
408     }
409 
410     /**
411      * <!-- begin-user-doc -->
412      * <!-- end-user-doc -->
413      * @generated
414      */
415     public EAttribute getDtoProperty_Writable() {
416         return (EAttribute)dtoPropertyEClass.getEStructuralFeatures().get(5);
417     }
418 
419     /**
420      * <!-- begin-user-doc -->
421      * <!-- end-user-doc -->
422      * @generated
423      */
424     public EClass getDtoDataProperty() {
425         return dtoDataPropertyEClass;
426     }
427 
428     /**
429      * <!-- begin-user-doc -->
430      * <!-- end-user-doc -->
431      * @generated
432      */
433     public EAttribute getDtoDataProperty_HasDefault() {
434         return (EAttribute)dtoDataPropertyEClass.getEStructuralFeatures().get(0);
435     }
436 
437     /**
438      * <!-- begin-user-doc -->
439      * <!-- end-user-doc -->
440      * @generated
441      */
442     public EClass getDtoStringProperty() {
443         return dtoStringPropertyEClass;
444     }
445 
446     /**
447      * <!-- begin-user-doc -->
448      * <!-- end-user-doc -->
449      * @generated
450      */
451     public EAttribute getDtoStringProperty_DefaultValue() {
452         return (EAttribute)dtoStringPropertyEClass.getEStructuralFeatures().get(0);
453     }
454 
455     /**
456      * <!-- begin-user-doc -->
457      * <!-- end-user-doc -->
458      * @generated
459      */
460     public EClass getDtoBooleanProperty() {
461         return dtoBooleanPropertyEClass;
462     }
463 
464     /**
465      * <!-- begin-user-doc -->
466      * <!-- end-user-doc -->
467      * @generated
468      */
469     public EAttribute getDtoBooleanProperty_DefaultValue() {
470         return (EAttribute)dtoBooleanPropertyEClass.getEStructuralFeatures().get(0);
471     }
472 
473     /**
474      * <!-- begin-user-doc -->
475      * <!-- end-user-doc -->
476      * @generated
477      */
478     public EClass getEnumerationDto() {
479         return enumerationDtoEClass;
480     }
481 
482     /**
483      * <!-- begin-user-doc -->
484      * <!-- end-user-doc -->
485      * @generated
486      */
487     public EReference getEnumerationDto_Literals() {
488         return (EReference)enumerationDtoEClass.getEStructuralFeatures().get(0);
489     }
490 
491     /**
492      * <!-- begin-user-doc -->
493      * <!-- end-user-doc -->
494      * @generated
495      */
496     public EReference getEnumerationDto_Base() {
497         return (EReference)enumerationDtoEClass.getEStructuralFeatures().get(1);
498     }
499 
500     /**
501      * <!-- begin-user-doc -->
502      * <!-- end-user-doc -->
503      * @generated
504      */
505     public EReference getEnumerationDto_DatacontractModel() {
506         return (EReference)enumerationDtoEClass.getEStructuralFeatures().get(2);
507     }
508 
509     /**
510      * <!-- begin-user-doc -->
511      * <!-- end-user-doc -->
512      * @generated
513      */
514     public EClass getEnumerationDtoLiteral() {
515         return enumerationDtoLiteralEClass;
516     }
517 
518     /**
519      * <!-- begin-user-doc -->
520      * <!-- end-user-doc -->
521      * @generated
522      */
523     public EAttribute getEnumerationDtoLiteral_Value() {
524         return (EAttribute)enumerationDtoLiteralEClass.getEStructuralFeatures().get(0);
525     }
526 
527     /**
528      * <!-- begin-user-doc -->
529      * <!-- end-user-doc -->
530      * @generated
531      */
532     public EClass getModelElement() {
533         return modelElementEClass;
534     }
535 
536     /**
537      * <!-- begin-user-doc -->
538      * <!-- end-user-doc -->
539      * @generated
540      */
541     public EAttribute getModelElement_Name() {
542         return (EAttribute)modelElementEClass.getEStructuralFeatures().get(0);
543     }
544 
545     /**
546      * <!-- begin-user-doc -->
547      * <!-- end-user-doc -->
548      * @generated
549      */
550     public EAttribute getModelElement_Description() {
551         return (EAttribute)modelElementEClass.getEStructuralFeatures().get(1);
552     }
553 
554     /**
555      * <!-- begin-user-doc -->
556      * <!-- end-user-doc -->
557      * @generated
558      */
559     public EClass getCustomDto() {
560         return customDtoEClass;
561     }
562 
563     /**
564      * <!-- begin-user-doc -->
565      * <!-- end-user-doc -->
566      * @generated
567      */
568     public EReference getCustomDto_Properties() {
569         return (EReference)customDtoEClass.getEStructuralFeatures().get(0);
570     }
571 
572     /**
573      * <!-- begin-user-doc -->
574      * <!-- end-user-doc -->
575      * @generated
576      */
577     public EClass getDtoIntegerProperty() {
578         return dtoIntegerPropertyEClass;
579     }
580 
581     /**
582      * <!-- begin-user-doc -->
583      * <!-- end-user-doc -->
584      * @generated
585      */
586     public EAttribute getDtoIntegerProperty_DefaultValue() {
587         return (EAttribute)dtoIntegerPropertyEClass.getEStructuralFeatures().get(0);
588     }
589 
590     /**
591      * <!-- begin-user-doc -->
592      * <!-- end-user-doc -->
593      * @generated
594      */
595     public EClass getDtoDecimalProperty() {
596         return dtoDecimalPropertyEClass;
597     }
598 
599     /**
600      * <!-- begin-user-doc -->
601      * <!-- end-user-doc -->
602      * @generated
603      */
604     public EAttribute getDtoDecimalProperty_DefaultValue() {
605         return (EAttribute)dtoDecimalPropertyEClass.getEStructuralFeatures().get(0);
606     }
607 
608     /**
609      * <!-- begin-user-doc -->
610      * <!-- end-user-doc -->
611      * @generated
612      */
613     public EClass getDtoEnumerationProperty() {
614         return dtoEnumerationPropertyEClass;
615     }
616 
617     /**
618      * <!-- begin-user-doc -->
619      * <!-- end-user-doc -->
620      * @generated
621      */
622     public EReference getDtoEnumerationProperty_Type() {
623         return (EReference)dtoEnumerationPropertyEClass.getEStructuralFeatures().get(0);
624     }
625 
626     /**
627      * <!-- begin-user-doc -->
628      * <!-- end-user-doc -->
629      * @generated
630      */
631     public EAttribute getDtoEnumerationProperty_DefaultValueAsString() {
632         return (EAttribute)dtoEnumerationPropertyEClass.getEStructuralFeatures().get(1);
633     }
634 
635     /**
636      * <!-- begin-user-doc -->
637      * <!-- end-user-doc -->
638      * @generated
639      */
640     public EClass getDtoDateTimeProperty() {
641         return dtoDateTimePropertyEClass;
642     }
643 
644     /**
645      * <!-- begin-user-doc -->
646      * <!-- end-user-doc -->
647      * @generated
648      */
649     public EAttribute getDtoDateTimeProperty_DefaultValue() {
650         return (EAttribute)dtoDateTimePropertyEClass.getEStructuralFeatures().get(0);
651     }
652 
653     /**
654      * <!-- begin-user-doc -->
655      * <!-- end-user-doc -->
656      * @generated
657      */
658     public EClass getBusinessClassPropertyReference() {
659         return businessClassPropertyReferenceEClass;
660     }
661 
662     /**
663      * <!-- begin-user-doc -->
664      * <!-- end-user-doc -->
665      * @generated
666      */
667     public EReference getBusinessClassPropertyReference_Dto() {
668         return (EReference)businessClassPropertyReferenceEClass.getEStructuralFeatures().get(0);
669     }
670 
671     /**
672      * <!-- begin-user-doc -->
673      * <!-- end-user-doc -->
674      * @generated
675      */
676     public EClass getBusinessClassAssociationRoleReference() {
677         return businessClassAssociationRoleReferenceEClass;
678     }
679 
680     /**
681      * <!-- begin-user-doc -->
682      * <!-- end-user-doc -->
683      * @generated
684      */
685     public EReference getBusinessClassAssociationRoleReference_Dto() {
686         return (EReference)businessClassAssociationRoleReferenceEClass.getEStructuralFeatures().get(0);
687     }
688 
689     /**
690      * <!-- begin-user-doc -->
691      * <!-- end-user-doc -->
692      * @generated
693      */
694     public EReference getBusinessClassAssociationRoleReference_DtoType() {
695         return (EReference)businessClassAssociationRoleReferenceEClass.getEStructuralFeatures().get(1);
696     }
697 
698     /**
699      * <!-- begin-user-doc -->
700      * <!-- end-user-doc -->
701      * @generated
702      */
703     public EClass getDtoAssociationRoleProperty() {
704         return dtoAssociationRolePropertyEClass;
705     }
706 
707     /**
708      * <!-- begin-user-doc -->
709      * <!-- end-user-doc -->
710      * @generated
711      */
712     public EReference getDtoAssociationRoleProperty_DtoType() {
713         return (EReference)dtoAssociationRolePropertyEClass.getEStructuralFeatures().get(0);
714     }
715 
716     /**
717      * <!-- begin-user-doc -->
718      * <!-- end-user-doc -->
719      * @generated
720      */
721     public EAttribute getDtoAssociationRoleProperty_Ordered() {
722         return (EAttribute)dtoAssociationRolePropertyEClass.getEStructuralFeatures().get(1);
723     }
724 
725     /**
726      * <!-- begin-user-doc -->
727      * <!-- end-user-doc -->
728      * @generated
729      */
730     public EAttribute getDtoAssociationRoleProperty_Multiplicity() {
731         return (EAttribute)dtoAssociationRolePropertyEClass.getEStructuralFeatures().get(2);
732     }
733 
734     /**
735      * <!-- begin-user-doc -->
736      * <!-- end-user-doc -->
737      * @generated
738      */
739     public EClass getExternalReference() {
740         return externalReferenceEClass;
741     }
742 
743     /**
744      * <!-- begin-user-doc -->
745      * <!-- end-user-doc -->
746      * @generated
747      */
748     public EAttribute getExternalReference_Modelname() {
749         return (EAttribute)externalReferenceEClass.getEStructuralFeatures().get(0);
750     }
751 
752     /**
753      * <!-- begin-user-doc -->
754      * <!-- end-user-doc -->
755      * @generated
756      */
757     public EReference getExternalReference_DatacontractModel() {
758         return (EReference)externalReferenceEClass.getEStructuralFeatures().get(1);
759     }
760 
761     /**
762      * <!-- begin-user-doc -->
763      * <!-- end-user-doc -->
764      * @generated
765      */
766     public EAttribute getExternalReference_Keyword() {
767         return (EAttribute)externalReferenceEClass.getEStructuralFeatures().get(2);
768     }
769 
770     /**
771      * <!-- begin-user-doc -->
772      * <!-- end-user-doc -->
773      * @generated
774      */
775     public EEnum getMultiplicity() {
776         return multiplicityEEnum;
777     }
778 
779     /**
780      * <!-- begin-user-doc -->
781      * <!-- end-user-doc -->
782      * @generated
783      */
784     public DataContractDslFactory getDataContractDslFactory() {
785         return (DataContractDslFactory)getEFactoryInstance();
786     }
787 
788     /**
789      * <!-- begin-user-doc -->
790      * <!-- end-user-doc -->
791      * @generated
792      */
793     private boolean isCreated = false;
794 
795     /**
796      * Creates the meta-model objects for the package.  This method is
797      * guarded to have no affect on any invocation but its first.
798      * <!-- begin-user-doc -->
799      * <!-- end-user-doc -->
800      * @generated
801      */
802     public void createPackageContents() {
803         if (isCreated) return;
804         isCreated = true;
805 
806         // Create classes and their features
807         dataContractModelEClass = createEClass(DATA_CONTRACT_MODEL);
808         createEReference(dataContractModelEClass, DATA_CONTRACT_MODEL__DTOS);
809         createEReference(dataContractModelEClass, DATA_CONTRACT_MODEL__ENUMERATIONS);
810         createEReference(dataContractModelEClass, DATA_CONTRACT_MODEL__EXTERNAL_REFERENCES);
811 
812         dtoEClass = createEClass(DTO);
813         createEReference(dtoEClass, DTO__DATACONTRACT_MODEL);
814 
815         businessClassDtoEClass = createEClass(BUSINESS_CLASS_DTO);
816         createEReference(businessClassDtoEClass, BUSINESS_CLASS_DTO__PROPERTIES);
817         createEReference(businessClassDtoEClass, BUSINESS_CLASS_DTO__BASE);
818         createEReference(businessClassDtoEClass, BUSINESS_CLASS_DTO__PROPERTY_REFERENCES);
819         createEReference(businessClassDtoEClass, BUSINESS_CLASS_DTO__ASSOCIATION_REFERENCES);
820         createEAttribute(businessClassDtoEClass, BUSINESS_CLASS_DTO__CREATABLE);
821 
822         dtoPropertyEClass = createEClass(DTO_PROPERTY);
823         createEAttribute(dtoPropertyEClass, DTO_PROPERTY__DATA_TYPE);
824         createEReference(dtoPropertyEClass, DTO_PROPERTY__BUSINESS_CLASS_DTO);
825         createEReference(dtoPropertyEClass, DTO_PROPERTY__CUSTOM_DTO);
826         createEAttribute(dtoPropertyEClass, DTO_PROPERTY__MANDATORY_FOR_CREATION);
827         createEAttribute(dtoPropertyEClass, DTO_PROPERTY__NULLABLE);
828         createEAttribute(dtoPropertyEClass, DTO_PROPERTY__WRITABLE);
829 
830         dtoDataPropertyEClass = createEClass(DTO_DATA_PROPERTY);
831         createEAttribute(dtoDataPropertyEClass, DTO_DATA_PROPERTY__HAS_DEFAULT);
832 
833         dtoStringPropertyEClass = createEClass(DTO_STRING_PROPERTY);
834         createEAttribute(dtoStringPropertyEClass, DTO_STRING_PROPERTY__DEFAULT_VALUE);
835 
836         dtoBooleanPropertyEClass = createEClass(DTO_BOOLEAN_PROPERTY);
837         createEAttribute(dtoBooleanPropertyEClass, DTO_BOOLEAN_PROPERTY__DEFAULT_VALUE);
838 
839         enumerationDtoEClass = createEClass(ENUMERATION_DTO);
840         createEReference(enumerationDtoEClass, ENUMERATION_DTO__LITERALS);
841         createEReference(enumerationDtoEClass, ENUMERATION_DTO__BASE);
842         createEReference(enumerationDtoEClass, ENUMERATION_DTO__DATACONTRACT_MODEL);
843 
844         enumerationDtoLiteralEClass = createEClass(ENUMERATION_DTO_LITERAL);
845         createEAttribute(enumerationDtoLiteralEClass, ENUMERATION_DTO_LITERAL__VALUE);
846 
847         modelElementEClass = createEClass(MODEL_ELEMENT);
848         createEAttribute(modelElementEClass, MODEL_ELEMENT__NAME);
849         createEAttribute(modelElementEClass, MODEL_ELEMENT__DESCRIPTION);
850 
851         customDtoEClass = createEClass(CUSTOM_DTO);
852         createEReference(customDtoEClass, CUSTOM_DTO__PROPERTIES);
853 
854         dtoIntegerPropertyEClass = createEClass(DTO_INTEGER_PROPERTY);
855         createEAttribute(dtoIntegerPropertyEClass, DTO_INTEGER_PROPERTY__DEFAULT_VALUE);
856 
857         dtoDecimalPropertyEClass = createEClass(DTO_DECIMAL_PROPERTY);
858         createEAttribute(dtoDecimalPropertyEClass, DTO_DECIMAL_PROPERTY__DEFAULT_VALUE);
859 
860         dtoEnumerationPropertyEClass = createEClass(DTO_ENUMERATION_PROPERTY);
861         createEReference(dtoEnumerationPropertyEClass, DTO_ENUMERATION_PROPERTY__TYPE);
862         createEAttribute(dtoEnumerationPropertyEClass, DTO_ENUMERATION_PROPERTY__DEFAULT_VALUE_AS_STRING);
863 
864         dtoDateTimePropertyEClass = createEClass(DTO_DATE_TIME_PROPERTY);
865         createEAttribute(dtoDateTimePropertyEClass, DTO_DATE_TIME_PROPERTY__DEFAULT_VALUE);
866 
867         businessClassPropertyReferenceEClass = createEClass(BUSINESS_CLASS_PROPERTY_REFERENCE);
868         createEReference(businessClassPropertyReferenceEClass, BUSINESS_CLASS_PROPERTY_REFERENCE__DTO);
869 
870         businessClassAssociationRoleReferenceEClass = createEClass(BUSINESS_CLASS_ASSOCIATION_ROLE_REFERENCE);
871         createEReference(businessClassAssociationRoleReferenceEClass, BUSINESS_CLASS_ASSOCIATION_ROLE_REFERENCE__DTO);
872         createEReference(businessClassAssociationRoleReferenceEClass, BUSINESS_CLASS_ASSOCIATION_ROLE_REFERENCE__DTO_TYPE);
873 
874         dtoAssociationRolePropertyEClass = createEClass(DTO_ASSOCIATION_ROLE_PROPERTY);
875         createEReference(dtoAssociationRolePropertyEClass, DTO_ASSOCIATION_ROLE_PROPERTY__DTO_TYPE);
876         createEAttribute(dtoAssociationRolePropertyEClass, DTO_ASSOCIATION_ROLE_PROPERTY__ORDERED);
877         createEAttribute(dtoAssociationRolePropertyEClass, DTO_ASSOCIATION_ROLE_PROPERTY__MULTIPLICITY);
878 
879         externalReferenceEClass = createEClass(EXTERNAL_REFERENCE);
880         createEAttribute(externalReferenceEClass, EXTERNAL_REFERENCE__MODELNAME);
881         createEReference(externalReferenceEClass, EXTERNAL_REFERENCE__DATACONTRACT_MODEL);
882         createEAttribute(externalReferenceEClass, EXTERNAL_REFERENCE__KEYWORD);
883 
884         // Create enums
885         multiplicityEEnum = createEEnum(MULTIPLICITY);
886     }
887 
888     /**
889      * <!-- begin-user-doc -->
890      * <!-- end-user-doc -->
891      * @generated
892      */
893     private boolean isInitialized = false;
894 
895     /**
896      * Complete the initialization of the package and its meta-model.  This
897      * method is guarded to have no affect on any invocation but its first.
898      * <!-- begin-user-doc -->
899      * <!-- end-user-doc -->
900      * @generated
901      */
902     public void initializePackageContents() {
903         if (isInitialized) return;
904         isInitialized = true;
905 
906         // Initialize package
907         setName(eNAME);
908         setNsPrefix(eNS_PREFIX);
909         setNsURI(eNS_URI);
910 
911         // Create type parameters
912 
913         // Set bounds for type parameters
914 
915         // Add supertypes to classes
916         dataContractModelEClass.getESuperTypes().add(this.getModelElement());
917         dtoEClass.getESuperTypes().add(this.getModelElement());
918         businessClassDtoEClass.getESuperTypes().add(this.getDto());
919         dtoPropertyEClass.getESuperTypes().add(this.getModelElement());
920         dtoDataPropertyEClass.getESuperTypes().add(this.getDtoProperty());
921         dtoStringPropertyEClass.getESuperTypes().add(this.getDtoDataProperty());
922         dtoBooleanPropertyEClass.getESuperTypes().add(this.getDtoDataProperty());
923         enumerationDtoEClass.getESuperTypes().add(this.getModelElement());
924         enumerationDtoLiteralEClass.getESuperTypes().add(this.getModelElement());
925         customDtoEClass.getESuperTypes().add(this.getDto());
926         dtoIntegerPropertyEClass.getESuperTypes().add(this.getDtoDataProperty());
927         dtoDecimalPropertyEClass.getESuperTypes().add(this.getDtoDataProperty());
928         dtoEnumerationPropertyEClass.getESuperTypes().add(this.getDtoDataProperty());
929         dtoDateTimePropertyEClass.getESuperTypes().add(this.getDtoDataProperty());
930         businessClassPropertyReferenceEClass.getESuperTypes().add(this.getModelElement());
931         businessClassAssociationRoleReferenceEClass.getESuperTypes().add(this.getModelElement());
932         dtoAssociationRolePropertyEClass.getESuperTypes().add(this.getDtoProperty());
933         externalReferenceEClass.getESuperTypes().add(this.getModelElement());
934 
935         // Initialize classes and features; add operations and parameters
936         initEClass(dataContractModelEClass, DataContractModel.class, "DataContractModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
937         initEReference(getDataContractModel_Dtos(), this.getDto(), this.getDto_DatacontractModel(), "dtos", null, 0, -1, DataContractModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
938         initEReference(getDataContractModel_Enumerations(), this.getEnumerationDto(), this.getEnumerationDto_DatacontractModel(), "enumerations", null, 0, -1, DataContractModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
939         initEReference(getDataContractModel_ExternalReferences(), this.getExternalReference(), this.getExternalReference_DatacontractModel(), "externalReferences", null, 0, -1, DataContractModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
940 
941         initEClass(dtoEClass, Dto.class, "Dto", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
942         initEReference(getDto_DatacontractModel(), this.getDataContractModel(), this.getDataContractModel_Dtos(), "datacontractModel", null, 0, 1, Dto.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
943 
944         initEClass(businessClassDtoEClass, BusinessClassDto.class, "BusinessClassDto", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
945         initEReference(getBusinessClassDto_Properties(), this.getDtoProperty(), this.getDtoProperty_BusinessClassDto(), "properties", null, 0, -1, BusinessClassDto.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
946         initEReference(getBusinessClassDto_Base(), this.getExternalReference(), null, "base", null, 0, 1, BusinessClassDto.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
947         initEReference(getBusinessClassDto_PropertyReferences(), this.getBusinessClassPropertyReference(), this.getBusinessClassPropertyReference_Dto(), "propertyReferences", null, 0, -1, BusinessClassDto.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
948         initEReference(getBusinessClassDto_AssociationReferences(), this.getBusinessClassAssociationRoleReference(), this.getBusinessClassAssociationRoleReference_Dto(), "associationReferences", null, 0, -1, BusinessClassDto.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
949         initEAttribute(getBusinessClassDto_Creatable(), ecorePackage.getEBoolean(), "creatable", null, 0, 1, BusinessClassDto.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
950 
951         initEClass(dtoPropertyEClass, DtoProperty.class, "DtoProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
952         initEAttribute(getDtoProperty_DataType(), ecorePackage.getEString(), "dataType", null, 0, 1, DtoProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
953         initEReference(getDtoProperty_BusinessClassDto(), this.getBusinessClassDto(), this.getBusinessClassDto_Properties(), "businessClassDto", null, 0, 1, DtoProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
954         initEReference(getDtoProperty_CustomDto(), this.getCustomDto(), this.getCustomDto_Properties(), "customDto", null, 0, 1, DtoProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
955         initEAttribute(getDtoProperty_MandatoryForCreation(), ecorePackage.getEBoolean(), "mandatoryForCreation", "false", 0, 1, DtoProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
956         initEAttribute(getDtoProperty_Nullable(), ecorePackage.getEBoolean(), "nullable", "true", 0, 1, DtoProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
957         initEAttribute(getDtoProperty_Writable(), ecorePackage.getEBoolean(), "writable", "true", 0, 1, DtoProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
958 
959         initEClass(dtoDataPropertyEClass, DtoDataProperty.class, "DtoDataProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
960         initEAttribute(getDtoDataProperty_HasDefault(), ecorePackage.getEBoolean(), "hasDefault", "false", 0, 1, DtoDataProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
961 
962         initEClass(dtoStringPropertyEClass, DtoStringProperty.class, "DtoStringProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
963         initEAttribute(getDtoStringProperty_DefaultValue(), ecorePackage.getEString(), "defaultValue", null, 0, 1, DtoStringProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
964 
965         initEClass(dtoBooleanPropertyEClass, DtoBooleanProperty.class, "DtoBooleanProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
966         initEAttribute(getDtoBooleanProperty_DefaultValue(), ecorePackage.getEBooleanObject(), "defaultValue", null, 0, 1, DtoBooleanProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
967 
968         initEClass(enumerationDtoEClass, EnumerationDto.class, "EnumerationDto", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
969         initEReference(getEnumerationDto_Literals(), this.getEnumerationDtoLiteral(), null, "literals", null, 0, -1, EnumerationDto.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
970         initEReference(getEnumerationDto_Base(), this.getExternalReference(), null, "base", null, 0, 1, EnumerationDto.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
971         initEReference(getEnumerationDto_DatacontractModel(), this.getDataContractModel(), this.getDataContractModel_Enumerations(), "datacontractModel", null, 0, 1, EnumerationDto.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
972 
973         initEClass(enumerationDtoLiteralEClass, EnumerationDtoLiteral.class, "EnumerationDtoLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
974         initEAttribute(getEnumerationDtoLiteral_Value(), ecorePackage.getEInt(), "value", null, 0, 1, EnumerationDtoLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
975 
976         initEClass(modelElementEClass, ModelElement.class, "ModelElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
977         initEAttribute(getModelElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, ModelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
978         initEAttribute(getModelElement_Description(), ecorePackage.getEString(), "description", null, 0, 1, ModelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
979 
980         initEClass(customDtoEClass, CustomDto.class, "CustomDto", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
981         initEReference(getCustomDto_Properties(), this.getDtoProperty(), this.getDtoProperty_CustomDto(), "properties", null, 0, -1, CustomDto.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
982 
983         initEClass(dtoIntegerPropertyEClass, DtoIntegerProperty.class, "DtoIntegerProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
984         initEAttribute(getDtoIntegerProperty_DefaultValue(), ecorePackage.getEIntegerObject(), "defaultValue", null, 0, 1, DtoIntegerProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
985 
986         initEClass(dtoDecimalPropertyEClass, DtoDecimalProperty.class, "DtoDecimalProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
987         initEAttribute(getDtoDecimalProperty_DefaultValue(), ecorePackage.getEBigDecimal(), "defaultValue", null, 0, 1, DtoDecimalProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
988 
989         initEClass(dtoEnumerationPropertyEClass, DtoEnumerationProperty.class, "DtoEnumerationProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
990         initEReference(getDtoEnumerationProperty_Type(), this.getEnumerationDto(), null, "type", null, 0, 1, DtoEnumerationProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
991         initEAttribute(getDtoEnumerationProperty_DefaultValueAsString(), ecorePackage.getEString(), "defaultValueAsString", null, 0, 1, DtoEnumerationProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
992 
993         initEClass(dtoDateTimePropertyEClass, DtoDateTimeProperty.class, "DtoDateTimeProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
994         initEAttribute(getDtoDateTimeProperty_DefaultValue(), ecorePackage.getEString(), "defaultValue", null, 0, 1, DtoDateTimeProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
995 
996         initEClass(businessClassPropertyReferenceEClass, BusinessClassPropertyReference.class, "BusinessClassPropertyReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
997         initEReference(getBusinessClassPropertyReference_Dto(), this.getBusinessClassDto(), this.getBusinessClassDto_PropertyReferences(), "dto", null, 0, 1, BusinessClassPropertyReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
998 
999         initEClass(businessClassAssociationRoleReferenceEClass, BusinessClassAssociationRoleReference.class, "BusinessClassAssociationRoleReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1000         initEReference(getBusinessClassAssociationRoleReference_Dto(), this.getBusinessClassDto(), this.getBusinessClassDto_AssociationReferences(), "dto", null, 0, 1, BusinessClassAssociationRoleReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1001         initEReference(getBusinessClassAssociationRoleReference_DtoType(), this.getDto(), null, "dtoType", null, 0, 1, BusinessClassAssociationRoleReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1002 
1003         initEClass(dtoAssociationRolePropertyEClass, DtoAssociationRoleProperty.class, "DtoAssociationRoleProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1004         initEReference(getDtoAssociationRoleProperty_DtoType(), this.getDto(), null, "dtoType", null, 0, 1, DtoAssociationRoleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1005         initEAttribute(getDtoAssociationRoleProperty_Ordered(), ecorePackage.getEBoolean(), "ordered", "false", 0, 1, DtoAssociationRoleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1006         initEAttribute(getDtoAssociationRoleProperty_Multiplicity(), this.getMultiplicity(), "multiplicity", "ONE", 0, 1, DtoAssociationRoleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1007 
1008         initEClass(externalReferenceEClass, ExternalReference.class, "ExternalReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
1009         initEAttribute(getExternalReference_Modelname(), ecorePackage.getEString(), "modelname", "", 0, 1, ExternalReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1010         initEReference(getExternalReference_DatacontractModel(), this.getDataContractModel(), this.getDataContractModel_ExternalReferences(), "datacontractModel", null, 0, 1, ExternalReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1011         initEAttribute(getExternalReference_Keyword(), ecorePackage.getEString(), "keyword", null, 0, 1, ExternalReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
1012 
1013         // Initialize enums and add enum literals
1014         initEEnum(multiplicityEEnum, Multiplicity.class, "Multiplicity");
1015         addEEnumLiteral(multiplicityEEnum, Multiplicity.NONE);
1016         addEEnumLiteral(multiplicityEEnum, Multiplicity.ONE);
1017         addEEnumLiteral(multiplicityEEnum, Multiplicity.MANY);
1018 
1019         // Create resource
1020         createResource(eNS_URI);
1021     }
1022 
1023 } //DataContractDslPackageImpl