/** | |
* Copyright (c) 2009 Mia-Software. | |
* 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: | |
* Frederic Madiot (Mia-Software) - meta-model design | |
* Gregoire DUPE (Mia-Software) - design and implementation | |
* | |
* | |
* $Id$ | |
*/ | |
package org.eclipse.gmt.modisco.infra.query.impl; | |
import org.eclipse.emf.ecore.EAttribute; | |
import org.eclipse.emf.ecore.EClass; | |
import org.eclipse.emf.ecore.EOperation; | |
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.gmt.modisco.infra.query.JavaModelQuery; | |
import org.eclipse.gmt.modisco.infra.query.ModelQuery; | |
import org.eclipse.gmt.modisco.infra.query.ModelQueryParameter; | |
import org.eclipse.gmt.modisco.infra.query.ModelQuerySet; | |
import org.eclipse.gmt.modisco.infra.query.OCLModelQuery; | |
import org.eclipse.gmt.modisco.infra.query.QueryFactory; | |
import org.eclipse.gmt.modisco.infra.query.QueryPackage; | |
import org.eclipse.gmt.modisco.infra.query.runtime.RuntimePackage; | |
import org.eclipse.gmt.modisco.infra.query.runtime.impl.RuntimePackageImpl; | |
/** | |
* <!-- begin-user-doc --> | |
* An implementation of the model <b>Package</b>. | |
* <!-- end-user-doc --> | |
* @generated | |
* @deprecated replaced by EMF Facet, cf. https://bugs.eclipse.org/bugs/show_bug.cgi?id=470578 | |
*/ | |
@Deprecated | |
public class QueryPackageImpl extends EPackageImpl implements QueryPackage { | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass modelQuerySetEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass modelQueryEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass javaModelQueryEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass modelQueryParameterEClass = null; | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
private EClass oclModelQueryEClass = 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.gmt.modisco.infra.query.QueryPackage#eNS_URI | |
* @see #init() | |
* @generated | |
*/ | |
private QueryPackageImpl() { | |
super(eNS_URI, QueryFactory.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 QueryPackage#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 QueryPackage init() { | |
if (isInited) return (QueryPackage)EPackage.Registry.INSTANCE.getEPackage(QueryPackage.eNS_URI); | |
// Obtain or create and register package | |
QueryPackageImpl theQueryPackage = (QueryPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof QueryPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new QueryPackageImpl()); | |
isInited = true; | |
// Initialize simple dependencies | |
EcorePackage.eINSTANCE.eClass(); | |
// Obtain or create and register interdependencies | |
RuntimePackageImpl theRuntimePackage = (RuntimePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RuntimePackage.eNS_URI) instanceof RuntimePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RuntimePackage.eNS_URI) : RuntimePackage.eINSTANCE); | |
// Create package meta-data objects | |
theQueryPackage.createPackageContents(); | |
theRuntimePackage.createPackageContents(); | |
// Initialize created meta-data | |
theQueryPackage.initializePackageContents(); | |
theRuntimePackage.initializePackageContents(); | |
// Mark meta-data to indicate it can't be changed | |
theQueryPackage.freeze(); | |
// Update the registry and return the package | |
EPackage.Registry.INSTANCE.put(QueryPackage.eNS_URI, theQueryPackage); | |
return theQueryPackage; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getModelQuerySet() { | |
return modelQuerySetEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getModelQuerySet_AssociatedMetamodels() { | |
return (EReference)modelQuerySetEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getModelQuerySet_Name() { | |
return (EAttribute)modelQuerySetEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getModelQuerySet_IsEditable() { | |
return (EAttribute)modelQuerySetEClass.getEStructuralFeatures().get(2); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getModelQuerySet_Description() { | |
return (EAttribute)modelQuerySetEClass.getEStructuralFeatures().get(3); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getModelQuerySet_Queries() { | |
return (EReference)modelQuerySetEClass.getEStructuralFeatures().get(4); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getModelQuery() { | |
return modelQueryEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getModelQuery_Name() { | |
return (EAttribute)modelQueryEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getModelQuery_Description() { | |
return (EAttribute)modelQueryEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getModelQuery_ReturnType() { | |
return (EReference)modelQueryEClass.getEStructuralFeatures().get(2); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getModelQuery_Scope() { | |
return (EReference)modelQueryEClass.getEStructuralFeatures().get(3); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getModelQuery_ModelQuerySet() { | |
return (EReference)modelQueryEClass.getEStructuralFeatures().get(4); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getModelQuery_Parameters() { | |
return (EReference)modelQueryEClass.getEStructuralFeatures().get(5); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getModelQuery_IsExternalContextDependent() { | |
return (EAttribute)modelQueryEClass.getEStructuralFeatures().get(6); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getModelQuery_UpperBound() { | |
return (EAttribute)modelQueryEClass.getEStructuralFeatures().get(7); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getModelQuery_LowerBound() { | |
return (EAttribute)modelQueryEClass.getEStructuralFeatures().get(8); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getJavaModelQuery() { | |
return javaModelQueryEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getJavaModelQuery_ImplementationClassName() { | |
return (EAttribute)javaModelQueryEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getModelQueryParameter() { | |
return modelQueryParameterEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getModelQueryParameter_Name() { | |
return (EAttribute)modelQueryParameterEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EReference getModelQueryParameter_Type() { | |
return (EReference)modelQueryParameterEClass.getEStructuralFeatures().get(1); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getModelQueryParameter_UpperBound() { | |
return (EAttribute)modelQueryParameterEClass.getEStructuralFeatures().get(2); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getModelQueryParameter_LowerBound() { | |
return (EAttribute)modelQueryParameterEClass.getEStructuralFeatures().get(3); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EClass getOCLModelQuery() { | |
return oclModelQueryEClass; | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public EAttribute getOCLModelQuery_Query() { | |
return (EAttribute)oclModelQueryEClass.getEStructuralFeatures().get(0); | |
} | |
/** | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @generated | |
*/ | |
public QueryFactory getQueryFactory() { | |
return (QueryFactory)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 | |
modelQuerySetEClass = createEClass(MODEL_QUERY_SET); | |
createEReference(modelQuerySetEClass, MODEL_QUERY_SET__ASSOCIATED_METAMODELS); | |
createEAttribute(modelQuerySetEClass, MODEL_QUERY_SET__NAME); | |
createEAttribute(modelQuerySetEClass, MODEL_QUERY_SET__IS_EDITABLE); | |
createEAttribute(modelQuerySetEClass, MODEL_QUERY_SET__DESCRIPTION); | |
createEReference(modelQuerySetEClass, MODEL_QUERY_SET__QUERIES); | |
modelQueryEClass = createEClass(MODEL_QUERY); | |
createEAttribute(modelQueryEClass, MODEL_QUERY__NAME); | |
createEAttribute(modelQueryEClass, MODEL_QUERY__DESCRIPTION); | |
createEReference(modelQueryEClass, MODEL_QUERY__RETURN_TYPE); | |
createEReference(modelQueryEClass, MODEL_QUERY__SCOPE); | |
createEReference(modelQueryEClass, MODEL_QUERY__MODEL_QUERY_SET); | |
createEReference(modelQueryEClass, MODEL_QUERY__PARAMETERS); | |
createEAttribute(modelQueryEClass, MODEL_QUERY__IS_EXTERNAL_CONTEXT_DEPENDENT); | |
createEAttribute(modelQueryEClass, MODEL_QUERY__UPPER_BOUND); | |
createEAttribute(modelQueryEClass, MODEL_QUERY__LOWER_BOUND); | |
javaModelQueryEClass = createEClass(JAVA_MODEL_QUERY); | |
createEAttribute(javaModelQueryEClass, JAVA_MODEL_QUERY__IMPLEMENTATION_CLASS_NAME); | |
modelQueryParameterEClass = createEClass(MODEL_QUERY_PARAMETER); | |
createEAttribute(modelQueryParameterEClass, MODEL_QUERY_PARAMETER__NAME); | |
createEReference(modelQueryParameterEClass, MODEL_QUERY_PARAMETER__TYPE); | |
createEAttribute(modelQueryParameterEClass, MODEL_QUERY_PARAMETER__UPPER_BOUND); | |
createEAttribute(modelQueryParameterEClass, MODEL_QUERY_PARAMETER__LOWER_BOUND); | |
oclModelQueryEClass = createEClass(OCL_MODEL_QUERY); | |
createEAttribute(oclModelQueryEClass, OCL_MODEL_QUERY__QUERY); | |
} | |
/** | |
* <!-- 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 | |
RuntimePackage theRuntimePackage = (RuntimePackage)EPackage.Registry.INSTANCE.getEPackage(RuntimePackage.eNS_URI); | |
EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); | |
// Add subpackages | |
getESubpackages().add(theRuntimePackage); | |
// Create type parameters | |
// Set bounds for type parameters | |
// Add supertypes to classes | |
javaModelQueryEClass.getESuperTypes().add(this.getModelQuery()); | |
oclModelQueryEClass.getESuperTypes().add(this.getModelQuery()); | |
// Initialize classes and features; add operations and parameters | |
initEClass(modelQuerySetEClass, ModelQuerySet.class, "ModelQuerySet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEReference(getModelQuerySet_AssociatedMetamodels(), theEcorePackage.getEPackage(), null, "associatedMetamodels", null, 0, -1, ModelQuerySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEAttribute(getModelQuerySet_Name(), theEcorePackage.getEString(), "name", null, 1, 1, ModelQuerySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEAttribute(getModelQuerySet_IsEditable(), theEcorePackage.getEBoolean(), "isEditable", null, 1, 1, ModelQuerySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEAttribute(getModelQuerySet_Description(), ecorePackage.getEString(), "description", null, 0, 1, ModelQuerySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEReference(getModelQuerySet_Queries(), this.getModelQuery(), this.getModelQuery_ModelQuerySet(), "queries", null, 0, -1, ModelQuerySet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
EOperation op = addEOperation(modelQuerySetEClass, this.getModelQuery(), "getQuery", 0, 1, IS_UNIQUE, IS_ORDERED); | |
addEParameter(op, theEcorePackage.getEString(), "name", 0, 1, IS_UNIQUE, IS_ORDERED); | |
initEClass(modelQueryEClass, ModelQuery.class, "ModelQuery", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEAttribute(getModelQuery_Name(), theEcorePackage.getEString(), "name", null, 0, 1, ModelQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEAttribute(getModelQuery_Description(), theEcorePackage.getEString(), "description", null, 0, 1, ModelQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEReference(getModelQuery_ReturnType(), theEcorePackage.getEClassifier(), null, "returnType", null, 1, 1, ModelQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEReference(getModelQuery_Scope(), theEcorePackage.getEClass(), null, "scope", null, 0, -1, ModelQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEReference(getModelQuery_ModelQuerySet(), this.getModelQuerySet(), this.getModelQuerySet_Queries(), "modelQuerySet", null, 0, 1, ModelQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEReference(getModelQuery_Parameters(), this.getModelQueryParameter(), null, "parameters", null, 0, -1, ModelQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEAttribute(getModelQuery_IsExternalContextDependent(), theEcorePackage.getEBoolean(), "isExternalContextDependent", "false", 0, 1, ModelQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEAttribute(getModelQuery_UpperBound(), theEcorePackage.getEInt(), "upperBound", "1", 0, 1, ModelQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEAttribute(getModelQuery_LowerBound(), theEcorePackage.getEInt(), "lowerBound", "0", 0, 1, ModelQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEClass(javaModelQueryEClass, JavaModelQuery.class, "JavaModelQuery", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEAttribute(getJavaModelQuery_ImplementationClassName(), theEcorePackage.getEString(), "implementationClassName", null, 0, 1, JavaModelQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEClass(modelQueryParameterEClass, ModelQueryParameter.class, "ModelQueryParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEAttribute(getModelQueryParameter_Name(), theEcorePackage.getEString(), "name", null, 1, 1, ModelQueryParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEReference(getModelQueryParameter_Type(), theEcorePackage.getEClassifier(), null, "type", null, 1, 1, ModelQueryParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEAttribute(getModelQueryParameter_UpperBound(), theEcorePackage.getEInt(), "upperBound", "1", 0, 1, ModelQueryParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEAttribute(getModelQueryParameter_LowerBound(), theEcorePackage.getEInt(), "lowerBound", "0", 0, 1, ModelQueryParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
initEClass(oclModelQueryEClass, OCLModelQuery.class, "OCLModelQuery", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | |
initEAttribute(getOCLModelQuery_Query(), theEcorePackage.getEString(), "query", null, 0, 1, OCLModelQuery.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | |
// Create resource | |
createResource(eNS_URI); | |
} | |
} //QueryPackageImpl |