/** * generated by Xtext 2.16.0 */ package hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.impl; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.AndGate; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Assignment; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.BasicEventDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguageFactory; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftModel; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ComponentInstance; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDeclaration; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.EventReference; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.GateDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.ImportDeclaration; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.InputEvent; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.LookupDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.MappingParameter; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.OrGate; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.TransformationDefinition; import hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.Variable; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; import org.eclipse.viatra.query.patternlanguage.emf.vql.PatternLanguagePackage; import org.eclipse.xtext.common.types.TypesPackage; import org.eclipse.xtext.xbase.XbasePackage; import org.eclipse.xtext.xtype.XtypePackage; /** * * An implementation of the model Package. * * @generated */ public class CftLanguagePackageImpl extends EPackageImpl implements CftLanguagePackage { /** * * * @generated */ private EClass cftModelEClass = null; /** * * * @generated */ private EClass importDeclarationEClass = null; /** * * * @generated */ private EClass componentDefinitionEClass = null; /** * * * @generated */ private EClass eventDeclarationEClass = null; /** * * * @generated */ private EClass inputEventEClass = null; /** * * * @generated */ private EClass eventDefinitionEClass = null; /** * * * @generated */ private EClass basicEventDefinitionEClass = null; /** * * * @generated */ private EClass gateDefinitionEClass = null; /** * * * @generated */ private EClass andGateEClass = null; /** * * * @generated */ private EClass orGateEClass = null; /** * * * @generated */ private EClass transformationDefinitionEClass = null; /** * * * @generated */ private EClass mappingDefinitionEClass = null; /** * * * @generated */ private EClass mappingParameterEClass = null; /** * * * @generated */ private EClass lookupDefinitionEClass = null; /** * * * @generated */ private EClass variableEClass = null; /** * * * @generated */ private EClass assignmentEClass = null; /** * * * @generated */ private EClass eventReferenceEClass = null; /** * * * @generated */ private EClass componentInstanceEClass = null; /** * Creates an instance of the model Package, registered with * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. *
Note: the correct way to create the package is via the static * factory method {@link #init init()}, which also performs * initialization of the package, or returns the registered package, * if one already exists. * * * @see org.eclipse.emf.ecore.EPackage.Registry * @see hu.bme.mit.inf.dslreasoner.faulttree.components.cftLanguage.CftLanguagePackage#eNS_URI * @see #init() * @generated */ private CftLanguagePackageImpl() { super(eNS_URI, CftLanguageFactory.eINSTANCE); } /** * * * @generated */ private static boolean isInited = false; /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. * *
This method is used to initialize {@link CftLanguagePackage#eINSTANCE} when that field is accessed. * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. * * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static CftLanguagePackage init() { if (isInited) return (CftLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(CftLanguagePackage.eNS_URI); // Obtain or create and register package Object registeredCftLanguagePackage = EPackage.Registry.INSTANCE.get(eNS_URI); CftLanguagePackageImpl theCftLanguagePackage = registeredCftLanguagePackage instanceof CftLanguagePackageImpl ? (CftLanguagePackageImpl)registeredCftLanguagePackage : new CftLanguagePackageImpl(); isInited = true; // Initialize simple dependencies EcorePackage.eINSTANCE.eClass(); PatternLanguagePackage.eINSTANCE.eClass(); XtypePackage.eINSTANCE.eClass(); TypesPackage.eINSTANCE.eClass(); XbasePackage.eINSTANCE.eClass(); // Create package meta-data objects theCftLanguagePackage.createPackageContents(); // Initialize created meta-data theCftLanguagePackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed theCftLanguagePackage.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(CftLanguagePackage.eNS_URI, theCftLanguagePackage); return theCftLanguagePackage; } /** * * * @generated */ @Override public EClass getCftModel() { return cftModelEClass; } /** * * * @generated */ @Override public EAttribute getCftModel_PackageName() { return (EAttribute)cftModelEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getCftModel_Imports() { return (EReference)cftModelEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EReference getCftModel_ComponentDefinitions() { return (EReference)cftModelEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EReference getCftModel_TransformationDefinitions() { return (EReference)cftModelEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EClass getImportDeclaration() { return importDeclarationEClass; } /** * * * @generated */ @Override public EAttribute getImportDeclaration_ImportedNamespace() { return (EAttribute)importDeclarationEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getComponentDefinition() { return componentDefinitionEClass; } /** * * * @generated */ @Override public EAttribute getComponentDefinition_Name() { return (EAttribute)componentDefinitionEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getComponentDefinition_InputEvents() { return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EReference getComponentDefinition_OutputEvents() { return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EReference getComponentDefinition_EventDefinitions() { return (EReference)componentDefinitionEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EClass getEventDeclaration() { return eventDeclarationEClass; } /** * * * @generated */ @Override public EAttribute getEventDeclaration_Name() { return (EAttribute)eventDeclarationEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getInputEvent() { return inputEventEClass; } /** * * * @generated */ @Override public EAttribute getInputEvent_Multiple() { return (EAttribute)inputEventEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getEventDefinition() { return eventDefinitionEClass; } /** * * * @generated */ @Override public EClass getBasicEventDefinition() { return basicEventDefinitionEClass; } /** * * * @generated */ @Override public EAttribute getBasicEventDefinition_Rate() { return (EAttribute)basicEventDefinitionEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getGateDefinition() { return gateDefinitionEClass; } /** * * * @generated */ @Override public EReference getGateDefinition_InputEvents() { return (EReference)gateDefinitionEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getAndGate() { return andGateEClass; } /** * * * @generated */ @Override public EClass getOrGate() { return orGateEClass; } /** * * * @generated */ @Override public EClass getTransformationDefinition() { return transformationDefinitionEClass; } /** * * * @generated */ @Override public EAttribute getTransformationDefinition_Name() { return (EAttribute)transformationDefinitionEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getTransformationDefinition_MappingDefinitions() { return (EReference)transformationDefinitionEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getMappingDefinition() { return mappingDefinitionEClass; } /** * * * @generated */ @Override public EAttribute getMappingDefinition_TopLevel() { return (EAttribute)mappingDefinitionEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getMappingDefinition_Pattern() { return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EReference getMappingDefinition_Parameters() { return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EReference getMappingDefinition_ComponentInstance() { return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ @Override public EReference getMappingDefinition_LookupDefinitions() { return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ @Override public EReference getMappingDefinition_Assignments() { return (EReference)mappingDefinitionEClass.getEStructuralFeatures().get(5); } /** * * * @generated */ @Override public EClass getMappingParameter() { return mappingParameterEClass; } /** * * * @generated */ @Override public EAttribute getMappingParameter_Name() { return (EAttribute)mappingParameterEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getLookupDefinition() { return lookupDefinitionEClass; } /** * * * @generated */ @Override public EReference getLookupDefinition_Mapping() { return (EReference)lookupDefinitionEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getLookupDefinition_Arguments() { return (EReference)lookupDefinitionEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getVariable() { return variableEClass; } /** * * * @generated */ @Override public EAttribute getVariable_Name() { return (EAttribute)variableEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EClass getAssignment() { return assignmentEClass; } /** * * * @generated */ @Override public EReference getAssignment_Input() { return (EReference)assignmentEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EAttribute getAssignment_Multiple() { return (EAttribute)assignmentEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EReference getAssignment_Output() { return (EReference)assignmentEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ @Override public EClass getEventReference() { return eventReferenceEClass; } /** * * * @generated */ @Override public EReference getEventReference_Component() { return (EReference)eventReferenceEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public EReference getEventReference_Event() { return (EReference)eventReferenceEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ @Override public EClass getComponentInstance() { return componentInstanceEClass; } /** * * * @generated */ @Override public EReference getComponentInstance_ComponentType() { return (EReference)componentInstanceEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ @Override public CftLanguageFactory getCftLanguageFactory() { return (CftLanguageFactory)getEFactoryInstance(); } /** * * * @generated */ private boolean isCreated = false; /** * Creates the meta-model objects for the package. This method is * guarded to have no affect on any invocation but its first. * * * @generated */ public void createPackageContents() { if (isCreated) return; isCreated = true; // Create classes and their features cftModelEClass = createEClass(CFT_MODEL); createEAttribute(cftModelEClass, CFT_MODEL__PACKAGE_NAME); createEReference(cftModelEClass, CFT_MODEL__IMPORTS); createEReference(cftModelEClass, CFT_MODEL__COMPONENT_DEFINITIONS); createEReference(cftModelEClass, CFT_MODEL__TRANSFORMATION_DEFINITIONS); importDeclarationEClass = createEClass(IMPORT_DECLARATION); createEAttribute(importDeclarationEClass, IMPORT_DECLARATION__IMPORTED_NAMESPACE); componentDefinitionEClass = createEClass(COMPONENT_DEFINITION); createEAttribute(componentDefinitionEClass, COMPONENT_DEFINITION__NAME); createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__INPUT_EVENTS); createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__OUTPUT_EVENTS); createEReference(componentDefinitionEClass, COMPONENT_DEFINITION__EVENT_DEFINITIONS); eventDeclarationEClass = createEClass(EVENT_DECLARATION); createEAttribute(eventDeclarationEClass, EVENT_DECLARATION__NAME); inputEventEClass = createEClass(INPUT_EVENT); createEAttribute(inputEventEClass, INPUT_EVENT__MULTIPLE); eventDefinitionEClass = createEClass(EVENT_DEFINITION); basicEventDefinitionEClass = createEClass(BASIC_EVENT_DEFINITION); createEAttribute(basicEventDefinitionEClass, BASIC_EVENT_DEFINITION__RATE); gateDefinitionEClass = createEClass(GATE_DEFINITION); createEReference(gateDefinitionEClass, GATE_DEFINITION__INPUT_EVENTS); andGateEClass = createEClass(AND_GATE); orGateEClass = createEClass(OR_GATE); transformationDefinitionEClass = createEClass(TRANSFORMATION_DEFINITION); createEAttribute(transformationDefinitionEClass, TRANSFORMATION_DEFINITION__NAME); createEReference(transformationDefinitionEClass, TRANSFORMATION_DEFINITION__MAPPING_DEFINITIONS); mappingDefinitionEClass = createEClass(MAPPING_DEFINITION); createEAttribute(mappingDefinitionEClass, MAPPING_DEFINITION__TOP_LEVEL); createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__PATTERN); createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__PARAMETERS); createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__COMPONENT_INSTANCE); createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__LOOKUP_DEFINITIONS); createEReference(mappingDefinitionEClass, MAPPING_DEFINITION__ASSIGNMENTS); mappingParameterEClass = createEClass(MAPPING_PARAMETER); createEAttribute(mappingParameterEClass, MAPPING_PARAMETER__NAME); lookupDefinitionEClass = createEClass(LOOKUP_DEFINITION); createEReference(lookupDefinitionEClass, LOOKUP_DEFINITION__MAPPING); createEReference(lookupDefinitionEClass, LOOKUP_DEFINITION__ARGUMENTS); variableEClass = createEClass(VARIABLE); createEAttribute(variableEClass, VARIABLE__NAME); assignmentEClass = createEClass(ASSIGNMENT); createEReference(assignmentEClass, ASSIGNMENT__INPUT); createEAttribute(assignmentEClass, ASSIGNMENT__MULTIPLE); createEReference(assignmentEClass, ASSIGNMENT__OUTPUT); eventReferenceEClass = createEClass(EVENT_REFERENCE); createEReference(eventReferenceEClass, EVENT_REFERENCE__COMPONENT); createEReference(eventReferenceEClass, EVENT_REFERENCE__EVENT); componentInstanceEClass = createEClass(COMPONENT_INSTANCE); createEReference(componentInstanceEClass, COMPONENT_INSTANCE__COMPONENT_TYPE); } /** * * * @generated */ private boolean isInitialized = false; /** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * * * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); PatternLanguagePackage thePatternLanguagePackage = (PatternLanguagePackage)EPackage.Registry.INSTANCE.getEPackage(PatternLanguagePackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes inputEventEClass.getESuperTypes().add(this.getEventDeclaration()); eventDefinitionEClass.getESuperTypes().add(this.getEventDeclaration()); basicEventDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); gateDefinitionEClass.getESuperTypes().add(this.getEventDefinition()); andGateEClass.getESuperTypes().add(this.getGateDefinition()); orGateEClass.getESuperTypes().add(this.getGateDefinition()); lookupDefinitionEClass.getESuperTypes().add(this.getVariable()); componentInstanceEClass.getESuperTypes().add(this.getVariable()); // Initialize classes and features; add operations and parameters initEClass(cftModelEClass, CftModel.class, "CftModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getCftModel_PackageName(), theEcorePackage.getEString(), "packageName", null, 0, 1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getCftModel_Imports(), this.getImportDeclaration(), null, "imports", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getCftModel_ComponentDefinitions(), this.getComponentDefinition(), null, "componentDefinitions", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getCftModel_TransformationDefinitions(), this.getTransformationDefinition(), null, "transformationDefinitions", null, 0, -1, CftModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(importDeclarationEClass, ImportDeclaration.class, "ImportDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getImportDeclaration_ImportedNamespace(), theEcorePackage.getEString(), "importedNamespace", null, 0, 1, ImportDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(componentDefinitionEClass, ComponentDefinition.class, "ComponentDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getComponentDefinition_Name(), theEcorePackage.getEString(), "name", null, 0, 1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getComponentDefinition_InputEvents(), this.getInputEvent(), null, "inputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getComponentDefinition_OutputEvents(), this.getEventDeclaration(), null, "outputEvents", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getComponentDefinition_EventDefinitions(), this.getEventDefinition(), null, "eventDefinitions", null, 0, -1, ComponentDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eventDeclarationEClass, EventDeclaration.class, "EventDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEventDeclaration_Name(), theEcorePackage.getEString(), "name", null, 0, 1, EventDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(inputEventEClass, InputEvent.class, "InputEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getInputEvent_Multiple(), theEcorePackage.getEBoolean(), "multiple", null, 0, 1, InputEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eventDefinitionEClass, EventDefinition.class, "EventDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(basicEventDefinitionEClass, BasicEventDefinition.class, "BasicEventDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getBasicEventDefinition_Rate(), theEcorePackage.getEDouble(), "rate", null, 0, 1, BasicEventDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(gateDefinitionEClass, GateDefinition.class, "GateDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getGateDefinition_InputEvents(), this.getEventDeclaration(), null, "inputEvents", null, 0, -1, GateDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(andGateEClass, AndGate.class, "AndGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(orGateEClass, OrGate.class, "OrGate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(transformationDefinitionEClass, TransformationDefinition.class, "TransformationDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getTransformationDefinition_Name(), theEcorePackage.getEString(), "name", null, 0, 1, TransformationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getTransformationDefinition_MappingDefinitions(), this.getMappingDefinition(), null, "mappingDefinitions", null, 0, -1, TransformationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(mappingDefinitionEClass, MappingDefinition.class, "MappingDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getMappingDefinition_TopLevel(), theEcorePackage.getEBoolean(), "topLevel", null, 0, 1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMappingDefinition_Pattern(), thePatternLanguagePackage.getPattern(), null, "pattern", null, 0, 1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMappingDefinition_Parameters(), this.getMappingParameter(), null, "parameters", null, 0, -1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMappingDefinition_ComponentInstance(), this.getComponentInstance(), null, "componentInstance", null, 0, 1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMappingDefinition_LookupDefinitions(), this.getLookupDefinition(), null, "lookupDefinitions", null, 0, -1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMappingDefinition_Assignments(), this.getAssignment(), null, "assignments", null, 0, -1, MappingDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(mappingParameterEClass, MappingParameter.class, "MappingParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getMappingParameter_Name(), theEcorePackage.getEString(), "name", null, 0, 1, MappingParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(lookupDefinitionEClass, LookupDefinition.class, "LookupDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getLookupDefinition_Mapping(), this.getMappingDefinition(), null, "mapping", null, 0, 1, LookupDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getLookupDefinition_Arguments(), this.getMappingParameter(), null, "arguments", null, 0, -1, LookupDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getVariable_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(assignmentEClass, Assignment.class, "Assignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getAssignment_Input(), this.getEventReference(), null, "input", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getAssignment_Multiple(), theEcorePackage.getEBoolean(), "multiple", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getAssignment_Output(), this.getEventReference(), null, "output", null, 0, 1, Assignment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(eventReferenceEClass, EventReference.class, "EventReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getEventReference_Component(), this.getVariable(), null, "component", null, 0, 1, EventReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getEventReference_Event(), this.getEventDeclaration(), null, "event", null, 0, 1, EventReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(componentInstanceEClass, ComponentInstance.class, "ComponentInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getComponentInstance_ComponentType(), this.getComponentDefinition(), null, "componentType", null, 0, 1, ComponentInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource createResource(eNS_URI); } } //CftLanguagePackageImpl