EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][QVTBase.impl]

COVERAGE SUMMARY FOR SOURCE FILE [QVTBasePackageImpl.java]

nameclass, %method, %block, %line, %
QVTBasePackageImpl.java0%   (0/1)0%   (0/34)0%   (0/1095)0%   (0/156)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class QVTBasePackageImpl0%   (0/1)0%   (0/34)0%   (0/1095)0%   (0/156)
<static initializer> 0%   (0/1)0%   (0/3)0%   (0/2)
QVTBasePackageImpl (): void 0%   (0/1)0%   (0/35)0%   (0/12)
createEmofAnnotations (): void 0%   (0/1)0%   (0/48)0%   (0/17)
createPackageContents (): void 0%   (0/1)0%   (0/143)0%   (0/30)
getDomain (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getDomain_IsCheckable (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getDomain_IsEnforceable (): EAttribute 0%   (0/1)0%   (0/7)0%   (0/1)
getDomain_Rule (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getDomain_TypedModel (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getFunction (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getFunctionParameter (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getFunction_QueryExpression (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getPattern (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getPattern_BindsTo (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getPattern_Predicate (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getPredicate (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getPredicate_ConditionExpression (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getPredicate_Pattern (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getQVTBaseFactory (): QVTBaseFactory 0%   (0/1)0%   (0/4)0%   (0/1)
getRule (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getRule_Domain (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getRule_Overrides (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getRule_Transformation (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getTransformation (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getTransformation_Extends (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getTransformation_ModelParameter (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getTransformation_OwnedTag (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getTransformation_Rule (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getTypedModel (): EClass 0%   (0/1)0%   (0/3)0%   (0/1)
getTypedModel_DependsOn (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getTypedModel_Transformation (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
getTypedModel_UsedPackage (): EReference 0%   (0/1)0%   (0/7)0%   (0/1)
init (): QVTBasePackage 0%   (0/1)0%   (0/100)0%   (0/20)
initializePackageContents (): void 0%   (0/1)0%   (0/605)0%   (0/47)

1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package QVTBase.impl;
8 
9import EMOF.EMOFPackage;
10 
11import EMOF.impl.EMOFPackageImpl;
12 
13import EssentialOCL.EssentialOCLPackage;
14 
15import EssentialOCL.impl.EssentialOCLPackageImpl;
16 
17import QVTBase.Domain;
18import QVTBase.Function;
19import QVTBase.FunctionParameter;
20import QVTBase.Pattern;
21import QVTBase.Predicate;
22import QVTBase.QVTBaseFactory;
23import QVTBase.QVTBasePackage;
24import QVTBase.Rule;
25import QVTBase.Transformation;
26import QVTBase.TypedModel;
27 
28import QVTRelation.QVTRelationPackage;
29 
30import QVTRelation.impl.QVTRelationPackageImpl;
31 
32import QVTTemplate.QVTTemplatePackage;
33 
34import QVTTemplate.impl.QVTTemplatePackageImpl;
35 
36import org.eclipse.emf.ecore.EAttribute;
37import org.eclipse.emf.ecore.EClass;
38import org.eclipse.emf.ecore.EPackage;
39import org.eclipse.emf.ecore.EReference;
40 
41import org.eclipse.emf.ecore.impl.EPackageImpl;
42 
43/**
44 * <!-- begin-user-doc -->
45 * An implementation of the model <b>Package</b>.
46 * <!-- end-user-doc -->
47 * @generated
48 */
49public class QVTBasePackageImpl extends EPackageImpl implements QVTBasePackage {
50        /**
51         * <!-- begin-user-doc -->
52         * <!-- end-user-doc -->
53         * @generated
54         */
55        private EClass domainEClass = null;
56 
57        /**
58         * <!-- begin-user-doc -->
59         * <!-- end-user-doc -->
60         * @generated
61         */
62        private EClass functionEClass = null;
63 
64        /**
65         * <!-- begin-user-doc -->
66         * <!-- end-user-doc -->
67         * @generated
68         */
69        private EClass functionParameterEClass = null;
70 
71        /**
72         * <!-- begin-user-doc -->
73         * <!-- end-user-doc -->
74         * @generated
75         */
76        private EClass patternEClass = null;
77 
78        /**
79         * <!-- begin-user-doc -->
80         * <!-- end-user-doc -->
81         * @generated
82         */
83        private EClass predicateEClass = null;
84 
85        /**
86         * <!-- begin-user-doc -->
87         * <!-- end-user-doc -->
88         * @generated
89         */
90        private EClass ruleEClass = null;
91 
92        /**
93         * <!-- begin-user-doc -->
94         * <!-- end-user-doc -->
95         * @generated
96         */
97        private EClass transformationEClass = null;
98 
99        /**
100         * <!-- begin-user-doc -->
101         * <!-- end-user-doc -->
102         * @generated
103         */
104        private EClass typedModelEClass = null;
105 
106        /**
107         * Creates an instance of the model <b>Package</b>, registered with
108         * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
109         * package URI value.
110         * <p>Note: the correct way to create the package is via the static
111         * factory method {@link #init init()}, which also performs
112         * initialization of the package, or returns the registered package,
113         * if one already exists.
114         * <!-- begin-user-doc -->
115         * <!-- end-user-doc -->
116         * @see org.eclipse.emf.ecore.EPackage.Registry
117         * @see QVTBase.QVTBasePackage#eNS_URI
118         * @see #init()
119         * @generated
120         */
121        private QVTBasePackageImpl() {
122                super(eNS_URI, QVTBaseFactory.eINSTANCE);
123        }
124 
125        /**
126         * <!-- begin-user-doc -->
127         * <!-- end-user-doc -->
128         * @generated
129         */
130        private static boolean isInited = false;
131 
132        /**
133         * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
134         * 
135         * <p>This method is used to initialize {@link QVTBasePackage#eINSTANCE} when that field is accessed.
136         * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
137         * <!-- begin-user-doc -->
138         * <!-- end-user-doc -->
139         * @see #eNS_URI
140         * @see #createPackageContents()
141         * @see #initializePackageContents()
142         * @generated
143         */
144        public static QVTBasePackage init() {
145                if (isInited) return (QVTBasePackage)EPackage.Registry.INSTANCE.getEPackage(QVTBasePackage.eNS_URI);
146 
147                // Obtain or create and register package
148                QVTBasePackageImpl theQVTBasePackage = (QVTBasePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof QVTBasePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new QVTBasePackageImpl());
149 
150                isInited = true;
151 
152                // Obtain or create and register interdependencies
153                EMOFPackageImpl theEMOFPackage = (EMOFPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EMOFPackage.eNS_URI) instanceof EMOFPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EMOFPackage.eNS_URI) : EMOFPackage.eINSTANCE);
154                EssentialOCLPackageImpl theEssentialOCLPackage = (EssentialOCLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EssentialOCLPackage.eNS_URI) instanceof EssentialOCLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EssentialOCLPackage.eNS_URI) : EssentialOCLPackage.eINSTANCE);
155                QVTRelationPackageImpl theQVTRelationPackage = (QVTRelationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QVTRelationPackage.eNS_URI) instanceof QVTRelationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QVTRelationPackage.eNS_URI) : QVTRelationPackage.eINSTANCE);
156                QVTTemplatePackageImpl theQVTTemplatePackage = (QVTTemplatePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QVTTemplatePackage.eNS_URI) instanceof QVTTemplatePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QVTTemplatePackage.eNS_URI) : QVTTemplatePackage.eINSTANCE);
157 
158                // Create package meta-data objects
159                theQVTBasePackage.createPackageContents();
160                theEMOFPackage.createPackageContents();
161                theEssentialOCLPackage.createPackageContents();
162                theQVTRelationPackage.createPackageContents();
163                theQVTTemplatePackage.createPackageContents();
164 
165                // Initialize created meta-data
166                theQVTBasePackage.initializePackageContents();
167                theEMOFPackage.initializePackageContents();
168                theEssentialOCLPackage.initializePackageContents();
169                theQVTRelationPackage.initializePackageContents();
170                theQVTTemplatePackage.initializePackageContents();
171 
172                // Mark meta-data to indicate it can't be changed
173                theQVTBasePackage.freeze();
174 
175  
176                // Update the registry and return the package
177                EPackage.Registry.INSTANCE.put(QVTBasePackage.eNS_URI, theQVTBasePackage);
178                return theQVTBasePackage;
179        }
180 
181        /**
182         * <!-- begin-user-doc -->
183         * <!-- end-user-doc -->
184         * @generated
185         */
186        public EClass getDomain() {
187                return domainEClass;
188        }
189 
190        /**
191         * <!-- begin-user-doc -->
192         * <!-- end-user-doc -->
193         * @generated
194         */
195        public EAttribute getDomain_IsCheckable() {
196                return (EAttribute)domainEClass.getEStructuralFeatures().get(0);
197        }
198 
199        /**
200         * <!-- begin-user-doc -->
201         * <!-- end-user-doc -->
202         * @generated
203         */
204        public EAttribute getDomain_IsEnforceable() {
205                return (EAttribute)domainEClass.getEStructuralFeatures().get(1);
206        }
207 
208        /**
209         * <!-- begin-user-doc -->
210         * <!-- end-user-doc -->
211         * @generated
212         */
213        public EReference getDomain_Rule() {
214                return (EReference)domainEClass.getEStructuralFeatures().get(2);
215        }
216 
217        /**
218         * <!-- begin-user-doc -->
219         * <!-- end-user-doc -->
220         * @generated
221         */
222        public EReference getDomain_TypedModel() {
223                return (EReference)domainEClass.getEStructuralFeatures().get(3);
224        }
225 
226        /**
227         * <!-- begin-user-doc -->
228         * <!-- end-user-doc -->
229         * @generated
230         */
231        public EClass getFunction() {
232                return functionEClass;
233        }
234 
235        /**
236         * <!-- begin-user-doc -->
237         * <!-- end-user-doc -->
238         * @generated
239         */
240        public EReference getFunction_QueryExpression() {
241                return (EReference)functionEClass.getEStructuralFeatures().get(0);
242        }
243 
244        /**
245         * <!-- begin-user-doc -->
246         * <!-- end-user-doc -->
247         * @generated
248         */
249        public EClass getFunctionParameter() {
250                return functionParameterEClass;
251        }
252 
253        /**
254         * <!-- begin-user-doc -->
255         * <!-- end-user-doc -->
256         * @generated
257         */
258        public EClass getPattern() {
259                return patternEClass;
260        }
261 
262        /**
263         * <!-- begin-user-doc -->
264         * <!-- end-user-doc -->
265         * @generated
266         */
267        public EReference getPattern_BindsTo() {
268                return (EReference)patternEClass.getEStructuralFeatures().get(0);
269        }
270 
271        /**
272         * <!-- begin-user-doc -->
273         * <!-- end-user-doc -->
274         * @generated
275         */
276        public EReference getPattern_Predicate() {
277                return (EReference)patternEClass.getEStructuralFeatures().get(1);
278        }
279 
280        /**
281         * <!-- begin-user-doc -->
282         * <!-- end-user-doc -->
283         * @generated
284         */
285        public EClass getPredicate() {
286                return predicateEClass;
287        }
288 
289        /**
290         * <!-- begin-user-doc -->
291         * <!-- end-user-doc -->
292         * @generated
293         */
294        public EReference getPredicate_ConditionExpression() {
295                return (EReference)predicateEClass.getEStructuralFeatures().get(0);
296        }
297 
298        /**
299         * <!-- begin-user-doc -->
300         * <!-- end-user-doc -->
301         * @generated
302         */
303        public EReference getPredicate_Pattern() {
304                return (EReference)predicateEClass.getEStructuralFeatures().get(1);
305        }
306 
307        /**
308         * <!-- begin-user-doc -->
309         * <!-- end-user-doc -->
310         * @generated
311         */
312        public EClass getRule() {
313                return ruleEClass;
314        }
315 
316        /**
317         * <!-- begin-user-doc -->
318         * <!-- end-user-doc -->
319         * @generated
320         */
321        public EReference getRule_Domain() {
322                return (EReference)ruleEClass.getEStructuralFeatures().get(0);
323        }
324 
325        /**
326         * <!-- begin-user-doc -->
327         * <!-- end-user-doc -->
328         * @generated
329         */
330        public EReference getRule_Overrides() {
331                return (EReference)ruleEClass.getEStructuralFeatures().get(1);
332        }
333 
334        /**
335         * <!-- begin-user-doc -->
336         * <!-- end-user-doc -->
337         * @generated
338         */
339        public EReference getRule_Transformation() {
340                return (EReference)ruleEClass.getEStructuralFeatures().get(2);
341        }
342 
343        /**
344         * <!-- begin-user-doc -->
345         * <!-- end-user-doc -->
346         * @generated
347         */
348        public EClass getTransformation() {
349                return transformationEClass;
350        }
351 
352        /**
353         * <!-- begin-user-doc -->
354         * <!-- end-user-doc -->
355         * @generated
356         */
357        public EReference getTransformation_Extends() {
358                return (EReference)transformationEClass.getEStructuralFeatures().get(0);
359        }
360 
361        /**
362         * <!-- begin-user-doc -->
363         * <!-- end-user-doc -->
364         * @generated
365         */
366        public EReference getTransformation_ModelParameter() {
367                return (EReference)transformationEClass.getEStructuralFeatures().get(1);
368        }
369 
370        /**
371         * <!-- begin-user-doc -->
372         * <!-- end-user-doc -->
373         * @generated
374         */
375        public EReference getTransformation_OwnedTag() {
376                return (EReference)transformationEClass.getEStructuralFeatures().get(2);
377        }
378 
379        /**
380         * <!-- begin-user-doc -->
381         * <!-- end-user-doc -->
382         * @generated
383         */
384        public EReference getTransformation_Rule() {
385                return (EReference)transformationEClass.getEStructuralFeatures().get(3);
386        }
387 
388        /**
389         * <!-- begin-user-doc -->
390         * <!-- end-user-doc -->
391         * @generated
392         */
393        public EClass getTypedModel() {
394                return typedModelEClass;
395        }
396 
397        /**
398         * <!-- begin-user-doc -->
399         * <!-- end-user-doc -->
400         * @generated
401         */
402        public EReference getTypedModel_DependsOn() {
403                return (EReference)typedModelEClass.getEStructuralFeatures().get(0);
404        }
405 
406        /**
407         * <!-- begin-user-doc -->
408         * <!-- end-user-doc -->
409         * @generated
410         */
411        public EReference getTypedModel_Transformation() {
412                return (EReference)typedModelEClass.getEStructuralFeatures().get(1);
413        }
414 
415        /**
416         * <!-- begin-user-doc -->
417         * <!-- end-user-doc -->
418         * @generated
419         */
420        public EReference getTypedModel_UsedPackage() {
421                return (EReference)typedModelEClass.getEStructuralFeatures().get(2);
422        }
423 
424        /**
425         * <!-- begin-user-doc -->
426         * <!-- end-user-doc -->
427         * @generated
428         */
429        public QVTBaseFactory getQVTBaseFactory() {
430                return (QVTBaseFactory)getEFactoryInstance();
431        }
432 
433        /**
434         * <!-- begin-user-doc -->
435         * <!-- end-user-doc -->
436         * @generated
437         */
438        private boolean isCreated = false;
439 
440        /**
441         * Creates the meta-model objects for the package.  This method is
442         * guarded to have no affect on any invocation but its first.
443         * <!-- begin-user-doc -->
444         * <!-- end-user-doc -->
445         * @generated
446         */
447        public void createPackageContents() {
448                if (isCreated) return;
449                isCreated = true;
450 
451                // Create classes and their features
452                domainEClass = createEClass(DOMAIN);
453                createEAttribute(domainEClass, DOMAIN__IS_CHECKABLE);
454                createEAttribute(domainEClass, DOMAIN__IS_ENFORCEABLE);
455                createEReference(domainEClass, DOMAIN__RULE);
456                createEReference(domainEClass, DOMAIN__TYPED_MODEL);
457 
458                functionEClass = createEClass(FUNCTION);
459                createEReference(functionEClass, FUNCTION__QUERY_EXPRESSION);
460 
461                functionParameterEClass = createEClass(FUNCTION_PARAMETER);
462 
463                patternEClass = createEClass(PATTERN);
464                createEReference(patternEClass, PATTERN__BINDS_TO);
465                createEReference(patternEClass, PATTERN__PREDICATE);
466 
467                predicateEClass = createEClass(PREDICATE);
468                createEReference(predicateEClass, PREDICATE__CONDITION_EXPRESSION);
469                createEReference(predicateEClass, PREDICATE__PATTERN);
470 
471                ruleEClass = createEClass(RULE);
472                createEReference(ruleEClass, RULE__DOMAIN);
473                createEReference(ruleEClass, RULE__OVERRIDES);
474                createEReference(ruleEClass, RULE__TRANSFORMATION);
475 
476                transformationEClass = createEClass(TRANSFORMATION);
477                createEReference(transformationEClass, TRANSFORMATION__EXTENDS);
478                createEReference(transformationEClass, TRANSFORMATION__MODEL_PARAMETER);
479                createEReference(transformationEClass, TRANSFORMATION__OWNED_TAG);
480                createEReference(transformationEClass, TRANSFORMATION__RULE);
481 
482                typedModelEClass = createEClass(TYPED_MODEL);
483                createEReference(typedModelEClass, TYPED_MODEL__DEPENDS_ON);
484                createEReference(typedModelEClass, TYPED_MODEL__TRANSFORMATION);
485                createEReference(typedModelEClass, TYPED_MODEL__USED_PACKAGE);
486        }
487 
488        /**
489         * <!-- begin-user-doc -->
490         * <!-- end-user-doc -->
491         * @generated
492         */
493        private boolean isInitialized = false;
494 
495        /**
496         * Complete the initialization of the package and its meta-model.  This
497         * method is guarded to have no affect on any invocation but its first.
498         * <!-- begin-user-doc -->
499         * <!-- end-user-doc -->
500         * @generated
501         */
502        public void initializePackageContents() {
503                if (isInitialized) return;
504                isInitialized = true;
505 
506                // Initialize package
507                setName(eNAME);
508                setNsPrefix(eNS_PREFIX);
509                setNsURI(eNS_URI);
510 
511                // Obtain other dependent packages
512                EMOFPackage theEMOFPackage = (EMOFPackage)EPackage.Registry.INSTANCE.getEPackage(EMOFPackage.eNS_URI);
513                EssentialOCLPackage theEssentialOCLPackage = (EssentialOCLPackage)EPackage.Registry.INSTANCE.getEPackage(EssentialOCLPackage.eNS_URI);
514 
515                // Create type parameters
516 
517                // Set bounds for type parameters
518 
519                // Add supertypes to classes
520                domainEClass.getESuperTypes().add(theEMOFPackage.getNamedElement());
521                functionEClass.getESuperTypes().add(theEMOFPackage.getOperation());
522                functionParameterEClass.getESuperTypes().add(theEssentialOCLPackage.getVariable());
523                functionParameterEClass.getESuperTypes().add(theEMOFPackage.getParameter());
524                patternEClass.getESuperTypes().add(theEMOFPackage.getElement());
525                predicateEClass.getESuperTypes().add(theEMOFPackage.getElement());
526                ruleEClass.getESuperTypes().add(theEMOFPackage.getNamedElement());
527                transformationEClass.getESuperTypes().add(theEMOFPackage.getClass_());
528                transformationEClass.getESuperTypes().add(theEMOFPackage.getPackage());
529                typedModelEClass.getESuperTypes().add(theEMOFPackage.getNamedElement());
530 
531                // Initialize classes and features; add operations and parameters
532                initEClass(domainEClass, Domain.class, "Domain", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
533                initEAttribute(getDomain_IsCheckable(), theEMOFPackage.getBoolean(), "isCheckable", null, 0, 1, Domain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
534                initEAttribute(getDomain_IsEnforceable(), theEMOFPackage.getBoolean(), "isEnforceable", null, 0, 1, Domain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
535                initEReference(getDomain_Rule(), this.getRule(), this.getRule_Domain(), "rule", null, 1, 1, Domain.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
536                initEReference(getDomain_TypedModel(), this.getTypedModel(), null, "typedModel", null, 0, 1, Domain.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
537 
538                initEClass(functionEClass, Function.class, "Function", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
539                initEReference(getFunction_QueryExpression(), theEssentialOCLPackage.getOclExpression(), null, "queryExpression", null, 0, 1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
540 
541                initEClass(functionParameterEClass, FunctionParameter.class, "FunctionParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
542 
543                initEClass(patternEClass, Pattern.class, "Pattern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
544                initEReference(getPattern_BindsTo(), theEssentialOCLPackage.getVariable(), null, "bindsTo", null, 0, -1, Pattern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
545                initEReference(getPattern_Predicate(), this.getPredicate(), this.getPredicate_Pattern(), "predicate", null, 0, -1, Pattern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
546 
547                initEClass(predicateEClass, Predicate.class, "Predicate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
548                initEReference(getPredicate_ConditionExpression(), theEssentialOCLPackage.getOclExpression(), null, "conditionExpression", null, 1, 1, Predicate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
549                initEReference(getPredicate_Pattern(), this.getPattern(), this.getPattern_Predicate(), "pattern", null, 1, 1, Predicate.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
550 
551                initEClass(ruleEClass, Rule.class, "Rule", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
552                initEReference(getRule_Domain(), this.getDomain(), this.getDomain_Rule(), "domain", null, 0, -1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
553                initEReference(getRule_Overrides(), this.getRule(), null, "overrides", null, 0, 1, Rule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
554                initEReference(getRule_Transformation(), this.getTransformation(), this.getTransformation_Rule(), "transformation", null, 0, 1, Rule.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
555 
556                initEClass(transformationEClass, Transformation.class, "Transformation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
557                initEReference(getTransformation_Extends(), this.getTransformation(), null, "extends", null, 0, 1, Transformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
558                initEReference(getTransformation_ModelParameter(), this.getTypedModel(), this.getTypedModel_Transformation(), "modelParameter", null, 0, -1, Transformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
559                initEReference(getTransformation_OwnedTag(), theEMOFPackage.getTag(), null, "ownedTag", null, 0, -1, Transformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
560                initEReference(getTransformation_Rule(), this.getRule(), this.getRule_Transformation(), "rule", null, 0, -1, Transformation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
561 
562                initEClass(typedModelEClass, TypedModel.class, "TypedModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
563                initEReference(getTypedModel_DependsOn(), this.getTypedModel(), null, "dependsOn", null, 0, -1, TypedModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
564                initEReference(getTypedModel_Transformation(), this.getTransformation(), this.getTransformation_ModelParameter(), "transformation", null, 1, 1, TypedModel.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
565                initEReference(getTypedModel_UsedPackage(), theEMOFPackage.getPackage(), null, "usedPackage", null, 1, -1, TypedModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
566 
567                // Create resource
568                createResource(eNS_URI);
569 
570                // Create annotations
571                // http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName
572                createEmofAnnotations();
573        }
574 
575        /**
576         * Initializes the annotations for <b>http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName</b>.
577         * <!-- begin-user-doc -->
578         * <!-- end-user-doc -->
579         * @generated
580         */
581        protected void createEmofAnnotations() {
582                String source = "http://schema.omg.org/spec/MOF/2.0/emof.xml#Property.oppositeRoleName";                
583                addAnnotation
584                  (getRule_Overrides(), 
585                   source, 
586                   new String[] {
587                         "body", "overriden"
588                   });                
589                addAnnotation
590                  (getTransformation_Extends(), 
591                   source, 
592                   new String[] {
593                         "body", "extendedBy"
594                   });                
595                addAnnotation
596                  (getTypedModel_DependsOn(), 
597                   source, 
598                   new String[] {
599                         "body", "dependent"
600                   });
601        }
602 
603} //QVTBasePackageImpl

[all classes][QVTBase.impl]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov