| /** |
| * * Copyright (c) 2006-2010 Istvan Rath and Daniel Varro |
| * * All rights reserved. This program and the accompanying materials |
| * * are made available under the terms of the Eclipse Public License v1.0 |
| * * which accompanies this distribution, and is available at |
| * * http://www.eclipse.org/legal/epl-v10.html |
| * * |
| * * Contributors: |
| * * Istvan Rath, Daniel Varro - initial API and implementation |
| * |
| */ |
| package org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.impl; |
| |
| 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.impl.EPackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.compoundRules.CompoundRulesPackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.compoundRules.impl.CompoundRulesPackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.core.CorePackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.core.impl.CorePackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.DefinitionsPackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.definitions.impl.DefinitionsPackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.enums.EnumsPackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.enums.impl.EnumsPackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.simpleRules.SimpleRulesPackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.simpleRules.impl.SimpleRulesPackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.terms.TermsPackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.terms.builtInFunctions.BuiltInFunctionsPackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.terms.builtInFunctions.impl.BuiltInFunctionsPackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.asm.terms.impl.TermsPackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.ContainmentConstraint; |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.GTMatchCounter; |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.GTPattern; |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.GTPatternBody; |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.GTRule; |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.GtFactory; |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.GtPackage; |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.NonInjectivityConstraint; |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.PatternContainer; |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.PatternVariable; |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.PatternVariableAssignment; |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.PatternVariableConstraint; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.copymove.CopymovePackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.copymove.impl.CopymovePackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.creation.CreationPackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.creation.impl.CreationPackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.deletion.DeletionPackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.deletion.impl.DeletionPackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.update.UpdatePackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.manipulationRules.update.impl.UpdatePackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.queryFunctions.QueryFunctionsPackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.modelmanagement.queryFunctions.impl.QueryFunctionsPackageImpl; |
| |
| import org.eclipse.viatra2.gtasmmodel.vpm.editmodel.EditmodelPackage; |
| |
| import org.eclipse.viatra2.gtasmmodel.vpm.editmodel.impl.EditmodelPackageImpl; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * An implementation of the model <b>Package</b>. |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public class GtPackageImpl extends EPackageImpl implements GtPackage |
| { |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static final String copyright = " * Copyright (c) 2006-2010 Istvan Rath and Daniel Varro\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http://www.eclipse.org/legal/epl-v10.html\r\n *\r\n * Contributors:\r\n * Istvan Rath, Daniel Varro - initial API and implementation\r\n"; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass gtPatternBodyEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass gtPatternEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass patternVariableEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass patternVariableAssignmentEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass gtRuleEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass containmentConstraintEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass gtMatchCounterEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass nonInjectivityConstraintEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass patternVariableConstraintEClass = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private EClass patternContainerEClass = null; |
| |
| /** |
| * Creates an instance of the model <b>Package</b>, registered with |
| * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package |
| * package URI value. |
| * <p>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. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.emf.ecore.EPackage.Registry |
| * @see org.eclipse.viatra2.gtasmmodel.gtasm.metamodel.gt.GtPackage#eNS_URI |
| * @see #init() |
| * @generated |
| */ |
| private GtPackageImpl() |
| { |
| super(eNS_URI, GtFactory.eINSTANCE); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private static boolean isInited = false; |
| |
| /** |
| * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. |
| * |
| * <p>This method is used to initialize {@link GtPackage#eINSTANCE} when that field is accessed. |
| * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #eNS_URI |
| * @see #createPackageContents() |
| * @see #initializePackageContents() |
| * @generated |
| */ |
| public static GtPackage init() |
| { |
| if (isInited) return (GtPackage)EPackage.Registry.INSTANCE.getEPackage(GtPackage.eNS_URI); |
| |
| // Obtain or create and register package |
| GtPackageImpl theGtPackage = (GtPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof GtPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new GtPackageImpl()); |
| |
| isInited = true; |
| |
| // Obtain or create and register interdependencies |
| EditmodelPackageImpl theEditmodelPackage = (EditmodelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EditmodelPackage.eNS_URI) instanceof EditmodelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EditmodelPackage.eNS_URI) : EditmodelPackage.eINSTANCE); |
| QueryFunctionsPackageImpl theQueryFunctionsPackage = (QueryFunctionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QueryFunctionsPackage.eNS_URI) instanceof QueryFunctionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QueryFunctionsPackage.eNS_URI) : QueryFunctionsPackage.eINSTANCE); |
| DeletionPackageImpl theDeletionPackage = (DeletionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeletionPackage.eNS_URI) instanceof DeletionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeletionPackage.eNS_URI) : DeletionPackage.eINSTANCE); |
| CreationPackageImpl theCreationPackage = (CreationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CreationPackage.eNS_URI) instanceof CreationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CreationPackage.eNS_URI) : CreationPackage.eINSTANCE); |
| CopymovePackageImpl theCopymovePackage = (CopymovePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CopymovePackage.eNS_URI) instanceof CopymovePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CopymovePackage.eNS_URI) : CopymovePackage.eINSTANCE); |
| UpdatePackageImpl theUpdatePackage = (UpdatePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(UpdatePackage.eNS_URI) instanceof UpdatePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(UpdatePackage.eNS_URI) : UpdatePackage.eINSTANCE); |
| DefinitionsPackageImpl theDefinitionsPackage = (DefinitionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DefinitionsPackage.eNS_URI) instanceof DefinitionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DefinitionsPackage.eNS_URI) : DefinitionsPackage.eINSTANCE); |
| CorePackageImpl theCorePackage = (CorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) instanceof CorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI) : CorePackage.eINSTANCE); |
| SimpleRulesPackageImpl theSimpleRulesPackage = (SimpleRulesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SimpleRulesPackage.eNS_URI) instanceof SimpleRulesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SimpleRulesPackage.eNS_URI) : SimpleRulesPackage.eINSTANCE); |
| CompoundRulesPackageImpl theCompoundRulesPackage = (CompoundRulesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompoundRulesPackage.eNS_URI) instanceof CompoundRulesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompoundRulesPackage.eNS_URI) : CompoundRulesPackage.eINSTANCE); |
| EnumsPackageImpl theEnumsPackage = (EnumsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EnumsPackage.eNS_URI) instanceof EnumsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EnumsPackage.eNS_URI) : EnumsPackage.eINSTANCE); |
| TermsPackageImpl theTermsPackage = (TermsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TermsPackage.eNS_URI) instanceof TermsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TermsPackage.eNS_URI) : TermsPackage.eINSTANCE); |
| BuiltInFunctionsPackageImpl theBuiltInFunctionsPackage = (BuiltInFunctionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BuiltInFunctionsPackage.eNS_URI) instanceof BuiltInFunctionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BuiltInFunctionsPackage.eNS_URI) : BuiltInFunctionsPackage.eINSTANCE); |
| |
| // Create package meta-data objects |
| theGtPackage.createPackageContents(); |
| theEditmodelPackage.createPackageContents(); |
| theQueryFunctionsPackage.createPackageContents(); |
| theDeletionPackage.createPackageContents(); |
| theCreationPackage.createPackageContents(); |
| theCopymovePackage.createPackageContents(); |
| theUpdatePackage.createPackageContents(); |
| theDefinitionsPackage.createPackageContents(); |
| theCorePackage.createPackageContents(); |
| theSimpleRulesPackage.createPackageContents(); |
| theCompoundRulesPackage.createPackageContents(); |
| theEnumsPackage.createPackageContents(); |
| theTermsPackage.createPackageContents(); |
| theBuiltInFunctionsPackage.createPackageContents(); |
| |
| // Initialize created meta-data |
| theGtPackage.initializePackageContents(); |
| theEditmodelPackage.initializePackageContents(); |
| theQueryFunctionsPackage.initializePackageContents(); |
| theDeletionPackage.initializePackageContents(); |
| theCreationPackage.initializePackageContents(); |
| theCopymovePackage.initializePackageContents(); |
| theUpdatePackage.initializePackageContents(); |
| theDefinitionsPackage.initializePackageContents(); |
| theCorePackage.initializePackageContents(); |
| theSimpleRulesPackage.initializePackageContents(); |
| theCompoundRulesPackage.initializePackageContents(); |
| theEnumsPackage.initializePackageContents(); |
| theTermsPackage.initializePackageContents(); |
| theBuiltInFunctionsPackage.initializePackageContents(); |
| |
| // Mark meta-data to indicate it can't be changed |
| theGtPackage.freeze(); |
| |
| |
| // Update the registry and return the package |
| EPackage.Registry.INSTANCE.put(GtPackage.eNS_URI, theGtPackage); |
| return theGtPackage; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getGTPatternBody() |
| { |
| return gtPatternBodyEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPatternBody_NegativePatterns() |
| { |
| return (EReference)gtPatternBodyEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPatternBody_LocalVariables() |
| { |
| return (EReference)gtPatternBodyEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPatternBody_CalledPatterns() |
| { |
| return (EReference)gtPatternBodyEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPatternBody_CheckExpressions() |
| { |
| return (EReference)gtPatternBodyEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPatternBody_PatternGraph() |
| { |
| return (EReference)gtPatternBodyEClass.getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPatternBody_ContainmentConstraints() |
| { |
| return (EReference)gtPatternBodyEClass.getEStructuralFeatures().get(5); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPatternBody_VariableAssignments() |
| { |
| return (EReference)gtPatternBodyEClass.getEStructuralFeatures().get(6); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPatternBody_Header() |
| { |
| return (EReference)gtPatternBodyEClass.getEStructuralFeatures().get(7); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPatternBody_ElementWrappers() |
| { |
| return (EReference)gtPatternBodyEClass.getEStructuralFeatures().get(8); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPatternBody_DanglingRelationships() |
| { |
| return (EReference)gtPatternBodyEClass.getEStructuralFeatures().get(9); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPatternBody_DanglingRelations() |
| { |
| return (EReference)gtPatternBodyEClass.getEStructuralFeatures().get(10); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPatternBody_NonInjectivityConstraints() |
| { |
| return (EReference)gtPatternBodyEClass.getEStructuralFeatures().get(11); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getGTPattern() |
| { |
| return gtPatternEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPattern_SymParameters() |
| { |
| return (EReference)gtPatternEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPattern_PatternBodies() |
| { |
| return (EReference)gtPatternEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPattern_Namespace() |
| { |
| return (EReference)gtPatternEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getGTPattern_DistinctMatching() |
| { |
| return (EAttribute)gtPatternEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTPattern_Container() |
| { |
| return (EReference)gtPatternEClass.getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getPatternVariable() |
| { |
| return patternVariableEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getPatternVariable_ElementInPattern() |
| { |
| return (EReference)patternVariableEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getPatternVariableAssignment() |
| { |
| return patternVariableAssignmentEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getGTRule() |
| { |
| return gtRuleEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTRule_SymParameters() |
| { |
| return (EReference)gtRuleEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTRule_Precondition() |
| { |
| return (EReference)gtRuleEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTRule_LocalVariables() |
| { |
| return (EReference)gtRuleEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTRule_Action() |
| { |
| return (EReference)gtRuleEClass.getEStructuralFeatures().get(3); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTRule_Postcondition() |
| { |
| return (EReference)gtRuleEClass.getEStructuralFeatures().get(4); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTRule_Namespace() |
| { |
| return (EReference)gtRuleEClass.getEStructuralFeatures().get(5); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getContainmentConstraint() |
| { |
| return containmentConstraintEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getContainmentConstraint_Variable() |
| { |
| return (EReference)containmentConstraintEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EAttribute getContainmentConstraint_Mode() |
| { |
| return (EAttribute)containmentConstraintEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getContainmentConstraint_Parent() |
| { |
| return (EReference)containmentConstraintEClass.getEStructuralFeatures().get(2); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getGTMatchCounter() |
| { |
| return gtMatchCounterEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTMatchCounter_PatternCall() |
| { |
| return (EReference)gtMatchCounterEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getGTMatchCounter_VariableReference() |
| { |
| return (EReference)gtMatchCounterEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getNonInjectivityConstraint() |
| { |
| return nonInjectivityConstraintEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getPatternVariableConstraint() |
| { |
| return patternVariableConstraintEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getPatternVariableConstraint_LeftValue() |
| { |
| return (EReference)patternVariableConstraintEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getPatternVariableConstraint_RightValue() |
| { |
| return (EReference)patternVariableConstraintEClass.getEStructuralFeatures().get(1); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EClass getPatternContainer() |
| { |
| return patternContainerEClass; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EReference getPatternContainer_GtPatternDefinitions() |
| { |
| return (EReference)patternContainerEClass.getEStructuralFeatures().get(0); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public GtFactory getGtFactory() |
| { |
| return (GtFactory)getEFactoryInstance(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @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. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void createPackageContents() |
| { |
| if (isCreated) return; |
| isCreated = true; |
| |
| // Create classes and their features |
| gtPatternBodyEClass = createEClass(GT_PATTERN_BODY); |
| createEReference(gtPatternBodyEClass, GT_PATTERN_BODY__NEGATIVE_PATTERNS); |
| createEReference(gtPatternBodyEClass, GT_PATTERN_BODY__LOCAL_VARIABLES); |
| createEReference(gtPatternBodyEClass, GT_PATTERN_BODY__CALLED_PATTERNS); |
| createEReference(gtPatternBodyEClass, GT_PATTERN_BODY__CHECK_EXPRESSIONS); |
| createEReference(gtPatternBodyEClass, GT_PATTERN_BODY__PATTERN_GRAPH); |
| createEReference(gtPatternBodyEClass, GT_PATTERN_BODY__CONTAINMENT_CONSTRAINTS); |
| createEReference(gtPatternBodyEClass, GT_PATTERN_BODY__VARIABLE_ASSIGNMENTS); |
| createEReference(gtPatternBodyEClass, GT_PATTERN_BODY__HEADER); |
| createEReference(gtPatternBodyEClass, GT_PATTERN_BODY__ELEMENT_WRAPPERS); |
| createEReference(gtPatternBodyEClass, GT_PATTERN_BODY__DANGLING_RELATIONSHIPS); |
| createEReference(gtPatternBodyEClass, GT_PATTERN_BODY__DANGLING_RELATIONS); |
| createEReference(gtPatternBodyEClass, GT_PATTERN_BODY__NON_INJECTIVITY_CONSTRAINTS); |
| |
| gtPatternEClass = createEClass(GT_PATTERN); |
| createEReference(gtPatternEClass, GT_PATTERN__SYM_PARAMETERS); |
| createEReference(gtPatternEClass, GT_PATTERN__PATTERN_BODIES); |
| createEReference(gtPatternEClass, GT_PATTERN__NAMESPACE); |
| createEAttribute(gtPatternEClass, GT_PATTERN__DISTINCT_MATCHING); |
| createEReference(gtPatternEClass, GT_PATTERN__CONTAINER); |
| |
| patternVariableEClass = createEClass(PATTERN_VARIABLE); |
| createEReference(patternVariableEClass, PATTERN_VARIABLE__ELEMENT_IN_PATTERN); |
| |
| patternVariableAssignmentEClass = createEClass(PATTERN_VARIABLE_ASSIGNMENT); |
| |
| gtRuleEClass = createEClass(GT_RULE); |
| createEReference(gtRuleEClass, GT_RULE__SYM_PARAMETERS); |
| createEReference(gtRuleEClass, GT_RULE__PRECONDITION); |
| createEReference(gtRuleEClass, GT_RULE__LOCAL_VARIABLES); |
| createEReference(gtRuleEClass, GT_RULE__ACTION); |
| createEReference(gtRuleEClass, GT_RULE__POSTCONDITION); |
| createEReference(gtRuleEClass, GT_RULE__NAMESPACE); |
| |
| containmentConstraintEClass = createEClass(CONTAINMENT_CONSTRAINT); |
| createEReference(containmentConstraintEClass, CONTAINMENT_CONSTRAINT__VARIABLE); |
| createEAttribute(containmentConstraintEClass, CONTAINMENT_CONSTRAINT__MODE); |
| createEReference(containmentConstraintEClass, CONTAINMENT_CONSTRAINT__PARENT); |
| |
| gtMatchCounterEClass = createEClass(GT_MATCH_COUNTER); |
| createEReference(gtMatchCounterEClass, GT_MATCH_COUNTER__PATTERN_CALL); |
| createEReference(gtMatchCounterEClass, GT_MATCH_COUNTER__VARIABLE_REFERENCE); |
| |
| nonInjectivityConstraintEClass = createEClass(NON_INJECTIVITY_CONSTRAINT); |
| |
| patternVariableConstraintEClass = createEClass(PATTERN_VARIABLE_CONSTRAINT); |
| createEReference(patternVariableConstraintEClass, PATTERN_VARIABLE_CONSTRAINT__LEFT_VALUE); |
| createEReference(patternVariableConstraintEClass, PATTERN_VARIABLE_CONSTRAINT__RIGHT_VALUE); |
| |
| patternContainerEClass = createEClass(PATTERN_CONTAINER); |
| createEReference(patternContainerEClass, PATTERN_CONTAINER__GT_PATTERN_DEFINITIONS); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @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. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void initializePackageContents() |
| { |
| if (isInitialized) return; |
| isInitialized = true; |
| |
| // Initialize package |
| setName(eNAME); |
| setNsPrefix(eNS_PREFIX); |
| setNsURI(eNS_URI); |
| |
| // Obtain other dependent packages |
| TermsPackage theTermsPackage = (TermsPackage)EPackage.Registry.INSTANCE.getEPackage(TermsPackage.eNS_URI); |
| EditmodelPackage theEditmodelPackage = (EditmodelPackage)EPackage.Registry.INSTANCE.getEPackage(EditmodelPackage.eNS_URI); |
| CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI); |
| DefinitionsPackage theDefinitionsPackage = (DefinitionsPackage)EPackage.Registry.INSTANCE.getEPackage(DefinitionsPackage.eNS_URI); |
| SimpleRulesPackage theSimpleRulesPackage = (SimpleRulesPackage)EPackage.Registry.INSTANCE.getEPackage(SimpleRulesPackage.eNS_URI); |
| EnumsPackage theEnumsPackage = (EnumsPackage)EPackage.Registry.INSTANCE.getEPackage(EnumsPackage.eNS_URI); |
| |
| // Create type parameters |
| |
| // Set bounds for type parameters |
| |
| // Add supertypes to classes |
| gtPatternBodyEClass.getESuperTypes().add(this.getPatternContainer()); |
| gtPatternEClass.getESuperTypes().add(theCorePackage.getGTASMElement()); |
| patternVariableEClass.getESuperTypes().add(theDefinitionsPackage.getVariable()); |
| patternVariableAssignmentEClass.getESuperTypes().add(this.getPatternVariableConstraint()); |
| gtRuleEClass.getESuperTypes().add(this.getPatternContainer()); |
| containmentConstraintEClass.getESuperTypes().add(theCorePackage.getGTASMElement()); |
| gtMatchCounterEClass.getESuperTypes().add(theCorePackage.getGTASMElement()); |
| nonInjectivityConstraintEClass.getESuperTypes().add(this.getPatternVariableConstraint()); |
| patternVariableConstraintEClass.getESuperTypes().add(theCorePackage.getGTASMElement()); |
| patternContainerEClass.getESuperTypes().add(theCorePackage.getGTASMElement()); |
| |
| // Initialize classes and features; add operations and parameters |
| initEClass(gtPatternBodyEClass, GTPatternBody.class, "GTPatternBody", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getGTPatternBody_NegativePatterns(), theTermsPackage.getGTPatternCall(), null, "negativePatterns", null, 0, -1, GTPatternBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getGTPatternBody_LocalVariables(), this.getPatternVariable(), null, "localVariables", null, 0, -1, GTPatternBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getGTPatternBody_CalledPatterns(), theTermsPackage.getGTPatternCall(), null, "calledPatterns", null, 0, -1, GTPatternBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getGTPatternBody_CheckExpressions(), theTermsPackage.getTerm(), null, "checkExpressions", null, 0, -1, GTPatternBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getGTPatternBody_PatternGraph(), theEditmodelPackage.getEntity(), null, "patternGraph", null, 1, 1, GTPatternBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getGTPatternBody_ContainmentConstraints(), this.getContainmentConstraint(), null, "containmentConstraints", null, 0, -1, GTPatternBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getGTPatternBody_VariableAssignments(), this.getPatternVariableAssignment(), null, "variableAssignments", null, 0, -1, GTPatternBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getGTPatternBody_Header(), this.getGTPattern(), this.getGTPattern_PatternBodies(), "header", null, 1, 1, GTPatternBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getGTPatternBody_ElementWrappers(), theEditmodelPackage.getModelElement(), null, "elementWrappers", null, 0, -1, GTPatternBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getGTPatternBody_DanglingRelationships(), theEditmodelPackage.getRelationship(), null, "danglingRelationships", null, 0, -1, GTPatternBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getGTPatternBody_DanglingRelations(), theEditmodelPackage.getRelation(), null, "danglingRelations", null, 0, -1, GTPatternBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getGTPatternBody_NonInjectivityConstraints(), this.getNonInjectivityConstraint(), null, "nonInjectivityConstraints", null, 0, -1, GTPatternBody.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(gtPatternEClass, GTPattern.class, "GTPattern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getGTPattern_SymParameters(), this.getPatternVariable(), null, "symParameters", null, 0, -1, GTPattern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getGTPattern_PatternBodies(), this.getGTPatternBody(), this.getGTPatternBody_Header(), "patternBodies", null, 0, -1, GTPattern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getGTPattern_Namespace(), theDefinitionsPackage.getMachine(), null, "namespace", null, 1, 1, GTPattern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEAttribute(getGTPattern_DistinctMatching(), ecorePackage.getEBoolean(), "distinctMatching", "true", 0, 1, GTPattern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getGTPattern_Container(), this.getPatternContainer(), this.getPatternContainer_GtPatternDefinitions(), "container", null, 1, 1, GTPattern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(patternVariableEClass, PatternVariable.class, "PatternVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getPatternVariable_ElementInPattern(), theEditmodelPackage.getModelElement(), null, "elementInPattern", null, 0, -1, PatternVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(patternVariableAssignmentEClass, PatternVariableAssignment.class, "PatternVariableAssignment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| |
| initEClass(gtRuleEClass, GTRule.class, "GTRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getGTRule_SymParameters(), theDefinitionsPackage.getSymbolicRuleParameter(), null, "symParameters", null, 0, -1, GTRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getGTRule_Precondition(), theTermsPackage.getGTPatternCall(), null, "precondition", null, 0, 1, GTRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getGTRule_LocalVariables(), theDefinitionsPackage.getVariable(), null, "localVariables", null, 0, -1, GTRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getGTRule_Action(), theSimpleRulesPackage.getASMRuleInvocation(), null, "action", null, 0, 1, GTRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getGTRule_Postcondition(), theTermsPackage.getGTPatternCall(), null, "postcondition", null, 0, 1, GTRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getGTRule_Namespace(), theDefinitionsPackage.getMachine(), theDefinitionsPackage.getMachine_GtRuleDefinitions(), "namespace", null, 0, 1, GTRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(containmentConstraintEClass, ContainmentConstraint.class, "ContainmentConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getContainmentConstraint_Variable(), theDefinitionsPackage.getVariable(), null, "variable", null, 1, 1, ContainmentConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEAttribute(getContainmentConstraint_Mode(), theEnumsPackage.getContainmentMode(), "mode", "in", 1, 1, ContainmentConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getContainmentConstraint_Parent(), theTermsPackage.getTerm(), null, "parent", null, 1, 1, ContainmentConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(gtMatchCounterEClass, GTMatchCounter.class, "GTMatchCounter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getGTMatchCounter_PatternCall(), theTermsPackage.getGTPatternCall(), theTermsPackage.getGTPatternCall_MatchCounter(), "patternCall", null, 0, 1, GTMatchCounter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| initEReference(getGTMatchCounter_VariableReference(), theTermsPackage.getVariableReference(), null, "variableReference", null, 0, 1, GTMatchCounter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
| |
| initEClass(nonInjectivityConstraintEClass, NonInjectivityConstraint.class, "NonInjectivityConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| |
| initEClass(patternVariableConstraintEClass, PatternVariableConstraint.class, "PatternVariableConstraint", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getPatternVariableConstraint_LeftValue(), theTermsPackage.getVariableReference(), null, "leftValue", null, 0, 1, PatternVariableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| initEReference(getPatternVariableConstraint_RightValue(), theTermsPackage.getVariableReference(), null, "rightValue", null, 0, 1, PatternVariableConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); |
| |
| initEClass(patternContainerEClass, PatternContainer.class, "PatternContainer", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
| initEReference(getPatternContainer_GtPatternDefinitions(), this.getGTPattern(), this.getGTPattern_Container(), "gtPatternDefinitions", null, 0, -1, PatternContainer.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); |
| } |
| |
| } //GtPackageImpl |