All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.ocl.cst.impl.CSTPackageImpl Maven / Gradle / Ivy

/**
 * 
 * 
 * Copyright (c) 2005, 2009 IBM Corporation, Zeligsoft Inc., Borland Software Corp., and others.
 * 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:
 *   IBM - Initial API and implementation
 *   Zeligsoft - Bugs 243976, 251349
 *   Borland - Bug 242880
 *
 * 
 *
 * $Id: CSTPackageImpl.java,v 1.15 2010/04/23 05:53:03 ewillink Exp $
 */
package org.eclipse.ocl.cst.impl;

import lpg.runtime.IToken;

import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.ocl.cst.BooleanLiteralExpCS;
import org.eclipse.ocl.cst.CSTFactory;
import org.eclipse.ocl.cst.CSTNode;
import org.eclipse.ocl.cst.CSTPackage;
import org.eclipse.ocl.cst.CallExpCS;
import org.eclipse.ocl.cst.ClassifierContextDeclCS;
import org.eclipse.ocl.cst.CollectionLiteralExpCS;
import org.eclipse.ocl.cst.CollectionLiteralPartCS;
import org.eclipse.ocl.cst.CollectionRangeCS;
import org.eclipse.ocl.cst.CollectionTypeCS;
import org.eclipse.ocl.cst.CollectionTypeIdentifierEnum;
import org.eclipse.ocl.cst.ContextDeclCS;
import org.eclipse.ocl.cst.DefCS;
import org.eclipse.ocl.cst.DefExpressionCS;
import org.eclipse.ocl.cst.DerValueCS;
import org.eclipse.ocl.cst.DotOrArrowEnum;
import org.eclipse.ocl.cst.FeatureCallExpCS;
import org.eclipse.ocl.cst.IfExpCS;
import org.eclipse.ocl.cst.InitOrDerValueCS;
import org.eclipse.ocl.cst.InitValueCS;
import org.eclipse.ocl.cst.IntegerLiteralExpCS;
import org.eclipse.ocl.cst.InvCS;
import org.eclipse.ocl.cst.InvOrDefCS;
import org.eclipse.ocl.cst.InvalidLiteralExpCS;
import org.eclipse.ocl.cst.IsMarkedPreCS;
import org.eclipse.ocl.cst.IterateExpCS;
import org.eclipse.ocl.cst.IteratorExpCS;
import org.eclipse.ocl.cst.LetExpCS;
import org.eclipse.ocl.cst.LiteralExpCS;
import org.eclipse.ocl.cst.LoopExpCS;
import org.eclipse.ocl.cst.MessageExpCS;
import org.eclipse.ocl.cst.MessageExpKind;
import org.eclipse.ocl.cst.NullLiteralExpCS;
import org.eclipse.ocl.cst.OCLDocumentCS;
import org.eclipse.ocl.cst.OCLExpressionCS;
import org.eclipse.ocl.cst.OCLMessageArgCS;
import org.eclipse.ocl.cst.OperationCS;
import org.eclipse.ocl.cst.OperationCallExpCS;
import org.eclipse.ocl.cst.OperationContextDeclCS;
import org.eclipse.ocl.cst.PackageDeclarationCS;
import org.eclipse.ocl.cst.PathNameCS;
import org.eclipse.ocl.cst.PrePostOrBodyDeclCS;
import org.eclipse.ocl.cst.PrePostOrBodyEnum;
import org.eclipse.ocl.cst.PrimitiveLiteralExpCS;
import org.eclipse.ocl.cst.PrimitiveTypeCS;
import org.eclipse.ocl.cst.PropertyContextCS;
import org.eclipse.ocl.cst.RealLiteralExpCS;
import org.eclipse.ocl.cst.SimpleNameCS;
import org.eclipse.ocl.cst.SimpleTypeEnum;
import org.eclipse.ocl.cst.StringLiteralExpCS;
import org.eclipse.ocl.cst.TupleLiteralExpCS;
import org.eclipse.ocl.cst.TupleTypeCS;
import org.eclipse.ocl.cst.TypeCS;
import org.eclipse.ocl.cst.UnlimitedNaturalLiteralExpCS;
import org.eclipse.ocl.cst.VariableCS;
import org.eclipse.ocl.cst.VariableExpCS;

/**
 * 
 * An implementation of the model Package.
 * 
 * @generated
 */
public class CSTPackageImpl
		extends EPackageImpl
		implements CSTPackage {

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass cstNodeEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass packageDeclarationCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass contextDeclCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass classifierContextDeclCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass operationContextDeclCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass prePostOrBodyDeclCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass operationCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass initOrDerValueCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass derValueCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass initValueCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass invOrDefCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass invCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass defCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass defExpressionCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass pathNameCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass variableExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass simpleNameCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass typeCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass primitiveTypeCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass tupleTypeCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass collectionTypeCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass oclExpressionCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass letExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass ifExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass oclMessageArgCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass literalExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass collectionLiteralExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass tupleLiteralExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass primitiveLiteralExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass integerLiteralExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass unlimitedNaturalLiteralExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass realLiteralExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass stringLiteralExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass booleanLiteralExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass collectionLiteralPartCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass collectionRangeCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass loopExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass iteratorExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass iterateExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass operationCallExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass isMarkedPreCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass propertyContextCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass oclDocumentCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass messageExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass variableCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass nullLiteralExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass invalidLiteralExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass callExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EClass featureCallExpCSEClass = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EEnum prePostOrBodyEnumEEnum = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EEnum simpleTypeEnumEEnum = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EEnum collectionTypeIdentifierEnumEEnum = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EEnum dotOrArrowEnumEEnum = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EDataType iTokenEDataType = null;

	/**
	 * 
	 * 
	 * @generated
	 */
	private EEnum messageExpKindEEnum = 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 org.eclipse.ocl.internal.cst.CSTPackage#eNS_URI * @see #init() */ private CSTPackageImpl() { super(eNS_URI, CSTFactory.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 CSTPackage#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 CSTPackage init() { if (isInited) return (CSTPackage) EPackage.Registry.INSTANCE .getEPackage(CSTPackage.eNS_URI); // Obtain or create and register package CSTPackageImpl theCSTPackage = (CSTPackageImpl) (EPackage.Registry.INSTANCE .get(eNS_URI) instanceof CSTPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new CSTPackageImpl()); isInited = true; // Create package meta-data objects theCSTPackage.createPackageContents(); // Initialize created meta-data theCSTPackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed theCSTPackage.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(CSTPackage.eNS_URI, theCSTPackage); return theCSTPackage; } /** * * * @generated */ public EClass getCSTNode() { return cstNodeEClass; } /** * * * @generated */ public EAttribute getCSTNode_StartOffset() { return (EAttribute) cstNodeEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EAttribute getCSTNode_EndOffset() { return (EAttribute) cstNodeEClass.getEStructuralFeatures().get(1); } /** * * @since 1.3 * * @generated */ public EAttribute getCSTNode_StartToken() { return (EAttribute) cstNodeEClass.getEStructuralFeatures().get(2); } /** * * @since 1.3 * * @generated */ public EAttribute getCSTNode_EndToken() { return (EAttribute) cstNodeEClass.getEStructuralFeatures().get(3); } /** * * @since 1.3 * * @generated */ public EAttribute getCSTNode_Ast() { return (EAttribute) cstNodeEClass.getEStructuralFeatures().get(4); } /** * * * @generated */ public EClass getPackageDeclarationCS() { return packageDeclarationCSEClass; } /** * * * @generated */ public EReference getPackageDeclarationCS_PathNameCS() { return (EReference) packageDeclarationCSEClass.getEStructuralFeatures() .get(0); } /** * * * @generated */ public EReference getPackageDeclarationCS_ContextDecls() { return (EReference) packageDeclarationCSEClass.getEStructuralFeatures() .get(1); } /** * * * @generated */ public EReference getPackageDeclarationCS_PackageDeclarationCS() { return (EReference) packageDeclarationCSEClass.getEStructuralFeatures() .get(2); } /** * * * @generated */ public EClass getContextDeclCS() { return contextDeclCSEClass; } /** * * * @generated */ public EClass getClassifierContextDeclCS() { return classifierContextDeclCSEClass; } /** * * * @generated */ public EReference getClassifierContextDeclCS_PathNameCS() { return (EReference) classifierContextDeclCSEClass .getEStructuralFeatures().get(0); } /** * * @since 1.3 * * @generated */ public EReference getClassifierContextDeclCS_Constraints() { return (EReference) classifierContextDeclCSEClass .getEStructuralFeatures().get(1); } /** * * @since 3.0 * * @generated */ public EReference getClassifierContextDeclCS_SimpleNameCS() { return (EReference) classifierContextDeclCSEClass .getEStructuralFeatures().get(2); } /** * * * @generated */ public EClass getOperationContextDeclCS() { return operationContextDeclCSEClass; } /** * * * @generated */ public EReference getOperationContextDeclCS_OperationCS() { return (EReference) operationContextDeclCSEClass .getEStructuralFeatures().get(0); } /** * * * @generated */ public EReference getOperationContextDeclCS_PrePostOrBodyDecls() { return (EReference) operationContextDeclCSEClass .getEStructuralFeatures().get(1); } /** * * * @generated */ public EClass getPrePostOrBodyDeclCS() { return prePostOrBodyDeclCSEClass; } /** * * * @generated */ public EAttribute getPrePostOrBodyDeclCS_Kind() { return (EAttribute) prePostOrBodyDeclCSEClass.getEStructuralFeatures() .get(0); } /** * * * @generated */ public EReference getPrePostOrBodyDeclCS_SimpleNameCS() { return (EReference) prePostOrBodyDeclCSEClass.getEStructuralFeatures() .get(1); } /** * * * @generated */ public EReference getPrePostOrBodyDeclCS_ExpressionCS() { return (EReference) prePostOrBodyDeclCSEClass.getEStructuralFeatures() .get(2); } /** * * * @generated */ public EClass getOperationCS() { return operationCSEClass; } /** * * * @generated */ public EReference getOperationCS_PathNameCS() { return (EReference) operationCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EReference getOperationCS_SimpleNameCS() { return (EReference) operationCSEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ public EReference getOperationCS_Parameters() { return (EReference) operationCSEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ public EReference getOperationCS_TypeCS() { return (EReference) operationCSEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ public EClass getInitOrDerValueCS() { return initOrDerValueCSEClass; } /** * * * @generated */ public EReference getInitOrDerValueCS_ExpressionCS() { return (EReference) initOrDerValueCSEClass.getEStructuralFeatures() .get(0); } /** * * * @generated */ public EClass getDerValueCS() { return derValueCSEClass; } /** * * * @generated */ public EClass getInitValueCS() { return initValueCSEClass; } /** * * * @generated */ public EClass getInvOrDefCS() { return invOrDefCSEClass; } /** * * * @generated */ public EReference getInvOrDefCS_SimpleNameCS() { return (EReference) invOrDefCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EClass getInvCS() { return invCSEClass; } /** * * * @generated */ public EReference getInvCS_ExpressionCS() { return (EReference) invCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EClass getDefCS() { return defCSEClass; } /** * * * @generated */ public EReference getDefCS_DefExpressionCS() { return (EReference) defCSEClass.getEStructuralFeatures().get(0); } /** * * @since 3.0 * * @generated */ public EAttribute getDefCS_Static() { return (EAttribute) defCSEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ public EClass getDefExpressionCS() { return defExpressionCSEClass; } /** * * * @generated */ public EReference getDefExpressionCS_OperationCS() { return (EReference) defExpressionCSEClass.getEStructuralFeatures().get( 0); } /** * * * @generated */ public EReference getDefExpressionCS_VariableCS() { return (EReference) defExpressionCSEClass.getEStructuralFeatures().get( 1); } /** * * * @generated */ public EReference getDefExpressionCS_ExpressionCS() { return (EReference) defExpressionCSEClass.getEStructuralFeatures().get( 2); } /** * * * @generated */ public EClass getPathNameCS() { return pathNameCSEClass; } /** * * @since 3.0 * * @generated */ public EReference getPathNameCS_SimpleNames() { return (EReference) pathNameCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EClass getVariableExpCS() { return variableExpCSEClass; } /** * * * @generated */ public EReference getVariableExpCS_Arguments() { return (EReference) variableExpCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EReference getVariableExpCS_SimpleNameCS() { return (EReference) variableExpCSEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ public EReference getVariableExpCS_IsMarkedPreCS() { return (EReference) variableExpCSEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ public EClass getSimpleNameCS() { return simpleNameCSEClass; } /** * * * @generated */ public EAttribute getSimpleNameCS_Value() { return (EAttribute) simpleNameCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EAttribute getSimpleNameCS_Type() { return (EAttribute) simpleNameCSEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ public EClass getTypeCS() { return typeCSEClass; } /** * * * @generated */ public EClass getPrimitiveTypeCS() { return primitiveTypeCSEClass; } /** * * * @generated */ public EClass getTupleTypeCS() { return tupleTypeCSEClass; } /** * * * @generated */ public EReference getTupleTypeCS_Variables() { return (EReference) tupleTypeCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EClass getCollectionTypeCS() { return collectionTypeCSEClass; } /** * * * @generated */ public EAttribute getCollectionTypeCS_CollectionTypeIdentifier() { return (EAttribute) collectionTypeCSEClass.getEStructuralFeatures() .get(0); } /** * * * @generated */ public EReference getCollectionTypeCS_TypeCS() { return (EReference) collectionTypeCSEClass.getEStructuralFeatures() .get(1); } /** * * * @generated */ public EClass getOCLExpressionCS() { return oclExpressionCSEClass; } /** * * * @generated */ public EClass getLetExpCS() { return letExpCSEClass; } /** * * * @generated */ public EReference getLetExpCS_Variables() { return (EReference) letExpCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EReference getLetExpCS_InExpression() { return (EReference) letExpCSEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ public EClass getIfExpCS() { return ifExpCSEClass; } /** * * * @generated */ public EReference getIfExpCS_ThenExpression() { return (EReference) ifExpCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EReference getIfExpCS_ElseExpression() { return (EReference) ifExpCSEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ public EReference getIfExpCS_Condition() { return (EReference) ifExpCSEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ public EClass getOCLMessageArgCS() { return oclMessageArgCSEClass; } /** * * * @generated */ public EReference getOCLMessageArgCS_TypeCS() { return (EReference) oclMessageArgCSEClass.getEStructuralFeatures().get( 0); } /** * * * @generated */ public EReference getOCLMessageArgCS_Expression() { return (EReference) oclMessageArgCSEClass.getEStructuralFeatures().get( 1); } /** * * * @generated */ public EClass getLiteralExpCS() { return literalExpCSEClass; } /** * * * @generated */ public EClass getCollectionLiteralExpCS() { return collectionLiteralExpCSEClass; } /** * * * @generated */ public EAttribute getCollectionLiteralExpCS_CollectionType() { return (EAttribute) collectionLiteralExpCSEClass .getEStructuralFeatures().get(0); } /** * * * @generated */ public EReference getCollectionLiteralExpCS_CollectionLiteralParts() { return (EReference) collectionLiteralExpCSEClass .getEStructuralFeatures().get(1); } /** * * * @generated */ public EClass getTupleLiteralExpCS() { return tupleLiteralExpCSEClass; } /** * * * @generated */ public EReference getTupleLiteralExpCS_Variables() { return (EReference) tupleLiteralExpCSEClass.getEStructuralFeatures() .get(0); } /** * * * @generated */ public EClass getPrimitiveLiteralExpCS() { return primitiveLiteralExpCSEClass; } /** * * * @generated */ public EAttribute getPrimitiveLiteralExpCS_Symbol() { return (EAttribute) primitiveLiteralExpCSEClass .getEStructuralFeatures().get(0); } /** * * * @generated */ public EClass getIntegerLiteralExpCS() { return integerLiteralExpCSEClass; } /** * * * @generated */ public EAttribute getIntegerLiteralExpCS_IntegerSymbol() { return (EAttribute) integerLiteralExpCSEClass.getEStructuralFeatures() .get(0); } /** * * * @generated */ public EClass getUnlimitedNaturalLiteralExpCS() { return unlimitedNaturalLiteralExpCSEClass; } /** * * * @generated */ public EAttribute getUnlimitedNaturalLiteralExpCS_IntegerSymbol() { return (EAttribute) unlimitedNaturalLiteralExpCSEClass .getEStructuralFeatures().get(0); } /** * * * @generated */ public EClass getRealLiteralExpCS() { return realLiteralExpCSEClass; } /** * * * @generated */ public EAttribute getRealLiteralExpCS_RealSymbol() { return (EAttribute) realLiteralExpCSEClass.getEStructuralFeatures() .get(0); } /** * * * @generated */ public EClass getStringLiteralExpCS() { return stringLiteralExpCSEClass; } /** * * * @generated */ public EAttribute getStringLiteralExpCS_StringSymbol() { return (EAttribute) stringLiteralExpCSEClass.getEStructuralFeatures() .get(0); } /** * * @since 1.3 * * @generated */ public EAttribute getStringLiteralExpCS_UnescapedStringSymbol() { return (EAttribute) stringLiteralExpCSEClass.getEStructuralFeatures() .get(1); } /** * * * @generated */ public EClass getBooleanLiteralExpCS() { return booleanLiteralExpCSEClass; } /** * * * @generated */ public EAttribute getBooleanLiteralExpCS_BooleanSymbol() { return (EAttribute) booleanLiteralExpCSEClass.getEStructuralFeatures() .get(0); } /** * * * @generated */ public EClass getCollectionLiteralPartCS() { return collectionLiteralPartCSEClass; } /** * * * @generated */ public EReference getCollectionLiteralPartCS_ExpressionCS() { return (EReference) collectionLiteralPartCSEClass .getEStructuralFeatures().get(0); } /** * * * @generated */ public EClass getCollectionRangeCS() { return collectionRangeCSEClass; } /** * * * @generated */ public EReference getCollectionRangeCS_LastExpressionCS() { return (EReference) collectionRangeCSEClass.getEStructuralFeatures() .get(0); } /** * * * @generated */ public EClass getLoopExpCS() { return loopExpCSEClass; } /** * * * @generated */ public EReference getLoopExpCS_Variable1() { return (EReference) loopExpCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EReference getLoopExpCS_Variable2() { return (EReference) loopExpCSEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ public EReference getLoopExpCS_Body() { return (EReference) loopExpCSEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ public EClass getIteratorExpCS() { return iteratorExpCSEClass; } /** * * * @generated */ public EClass getIterateExpCS() { return iterateExpCSEClass; } /** * * * @generated */ public EClass getOperationCallExpCS() { return operationCallExpCSEClass; } /** * * @since 3.0 * * @generated */ public EAttribute getOperationCallExpCS_IsAtomic() { return (EAttribute) operationCallExpCSEClass.getEStructuralFeatures() .get(0); } /** * * * @generated */ public EClass getIsMarkedPreCS() { return isMarkedPreCSEClass; } /** * * * @generated */ public EClass getPropertyContextCS() { return propertyContextCSEClass; } /** * * * @generated */ public EReference getPropertyContextCS_PathNameCS() { return (EReference) propertyContextCSEClass.getEStructuralFeatures() .get(0); } /** * * * @generated */ public EReference getPropertyContextCS_SimpleNameCS() { return (EReference) propertyContextCSEClass.getEStructuralFeatures() .get(1); } /** * * * @generated */ public EReference getPropertyContextCS_TypeCS() { return (EReference) propertyContextCSEClass.getEStructuralFeatures() .get(2); } /** * * @since 3.0 * * @generated */ public EReference getPropertyContextCS_Constraints() { return (EReference) propertyContextCSEClass.getEStructuralFeatures() .get(3); } /** * * @since 1.3 * * @generated */ public EClass getOCLDocumentCS() { return oclDocumentCSEClass; } /** * * @since 1.3 * * @generated */ public EReference getOCLDocumentCS_PackageDeclarations() { return (EReference) oclDocumentCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EClass getMessageExpCS() { return messageExpCSEClass; } /** * * * @generated */ public EReference getMessageExpCS_Target() { return (EReference) messageExpCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EAttribute getMessageExpCS_Kind() { return (EAttribute) messageExpCSEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ public EReference getMessageExpCS_SimpleNameCS() { return (EReference) messageExpCSEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ public EReference getMessageExpCS_Arguments() { return (EReference) messageExpCSEClass.getEStructuralFeatures().get(3); } /** * * * @generated */ public EClass getVariableCS() { return variableCSEClass; } /** * * * @generated */ public EAttribute getVariableCS_Name() { return (EAttribute) variableCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EReference getVariableCS_TypeCS() { return (EReference) variableCSEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ public EReference getVariableCS_InitExpression() { return (EReference) variableCSEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ public EClass getNullLiteralExpCS() { return nullLiteralExpCSEClass; } /** * * * @generated */ public EClass getInvalidLiteralExpCS() { return invalidLiteralExpCSEClass; } /** * * * @generated */ public EClass getCallExpCS() { return callExpCSEClass; } /** * * * @generated */ public EReference getCallExpCS_Source() { return (EReference) callExpCSEClass.getEStructuralFeatures().get(0); } /** * * * @generated */ public EAttribute getCallExpCS_Accessor() { return (EAttribute) callExpCSEClass.getEStructuralFeatures().get(1); } /** * * * @generated */ public EReference getCallExpCS_SimpleNameCS() { return (EReference) callExpCSEClass.getEStructuralFeatures().get(2); } /** * * * @generated */ public EClass getFeatureCallExpCS() { return featureCallExpCSEClass; } /** * * @since 3.0 * * @generated */ public EReference getFeatureCallExpCS_PathNameCS() { return (EReference) featureCallExpCSEClass.getEStructuralFeatures() .get(0); } /** * * * @generated */ public EReference getFeatureCallExpCS_Arguments() { return (EReference) featureCallExpCSEClass.getEStructuralFeatures() .get(1); } /** * * * @generated */ public EReference getFeatureCallExpCS_IsMarkedPreCS() { return (EReference) featureCallExpCSEClass.getEStructuralFeatures() .get(2); } /** * * * @generated */ public EEnum getPrePostOrBodyEnum() { return prePostOrBodyEnumEEnum; } /** * * * @generated */ public EEnum getSimpleTypeEnum() { return simpleTypeEnumEEnum; } /** * * * @generated */ public EEnum getCollectionTypeIdentifierEnum() { return collectionTypeIdentifierEnumEEnum; } /** * * * @generated */ public EEnum getDotOrArrowEnum() { return dotOrArrowEnumEEnum; } /** * * @since 1.3 * * @generated */ public EDataType getIToken() { return iTokenEDataType; } /** * * * @generated */ public EEnum getMessageExpKind() { return messageExpKindEEnum; } /** * * * @generated */ public CSTFactory getCSTFactory() { return (CSTFactory) 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 cstNodeEClass = createEClass(CST_NODE); createEAttribute(cstNodeEClass, CST_NODE__START_OFFSET); createEAttribute(cstNodeEClass, CST_NODE__END_OFFSET); createEAttribute(cstNodeEClass, CST_NODE__START_TOKEN); createEAttribute(cstNodeEClass, CST_NODE__END_TOKEN); createEAttribute(cstNodeEClass, CST_NODE__AST); packageDeclarationCSEClass = createEClass(PACKAGE_DECLARATION_CS); createEReference(packageDeclarationCSEClass, PACKAGE_DECLARATION_CS__PATH_NAME_CS); createEReference(packageDeclarationCSEClass, PACKAGE_DECLARATION_CS__CONTEXT_DECLS); createEReference(packageDeclarationCSEClass, PACKAGE_DECLARATION_CS__PACKAGE_DECLARATION_CS); pathNameCSEClass = createEClass(PATH_NAME_CS); createEReference(pathNameCSEClass, PATH_NAME_CS__SIMPLE_NAMES); typeCSEClass = createEClass(TYPE_CS); oclExpressionCSEClass = createEClass(OCL_EXPRESSION_CS); simpleNameCSEClass = createEClass(SIMPLE_NAME_CS); createEAttribute(simpleNameCSEClass, SIMPLE_NAME_CS__VALUE); createEAttribute(simpleNameCSEClass, SIMPLE_NAME_CS__TYPE); contextDeclCSEClass = createEClass(CONTEXT_DECL_CS); propertyContextCSEClass = createEClass(PROPERTY_CONTEXT_CS); createEReference(propertyContextCSEClass, PROPERTY_CONTEXT_CS__PATH_NAME_CS); createEReference(propertyContextCSEClass, PROPERTY_CONTEXT_CS__SIMPLE_NAME_CS); createEReference(propertyContextCSEClass, PROPERTY_CONTEXT_CS__TYPE_CS); createEReference(propertyContextCSEClass, PROPERTY_CONTEXT_CS__CONSTRAINTS); initOrDerValueCSEClass = createEClass(INIT_OR_DER_VALUE_CS); createEReference(initOrDerValueCSEClass, INIT_OR_DER_VALUE_CS__EXPRESSION_CS); classifierContextDeclCSEClass = createEClass(CLASSIFIER_CONTEXT_DECL_CS); createEReference(classifierContextDeclCSEClass, CLASSIFIER_CONTEXT_DECL_CS__PATH_NAME_CS); createEReference(classifierContextDeclCSEClass, CLASSIFIER_CONTEXT_DECL_CS__CONSTRAINTS); createEReference(classifierContextDeclCSEClass, CLASSIFIER_CONTEXT_DECL_CS__SIMPLE_NAME_CS); invOrDefCSEClass = createEClass(INV_OR_DEF_CS); createEReference(invOrDefCSEClass, INV_OR_DEF_CS__SIMPLE_NAME_CS); operationContextDeclCSEClass = createEClass(OPERATION_CONTEXT_DECL_CS); createEReference(operationContextDeclCSEClass, OPERATION_CONTEXT_DECL_CS__OPERATION_CS); createEReference(operationContextDeclCSEClass, OPERATION_CONTEXT_DECL_CS__PRE_POST_OR_BODY_DECLS); operationCSEClass = createEClass(OPERATION_CS); createEReference(operationCSEClass, OPERATION_CS__PATH_NAME_CS); createEReference(operationCSEClass, OPERATION_CS__SIMPLE_NAME_CS); createEReference(operationCSEClass, OPERATION_CS__PARAMETERS); createEReference(operationCSEClass, OPERATION_CS__TYPE_CS); variableCSEClass = createEClass(VARIABLE_CS); createEAttribute(variableCSEClass, VARIABLE_CS__NAME); createEReference(variableCSEClass, VARIABLE_CS__TYPE_CS); createEReference(variableCSEClass, VARIABLE_CS__INIT_EXPRESSION); prePostOrBodyDeclCSEClass = createEClass(PRE_POST_OR_BODY_DECL_CS); createEAttribute(prePostOrBodyDeclCSEClass, PRE_POST_OR_BODY_DECL_CS__KIND); createEReference(prePostOrBodyDeclCSEClass, PRE_POST_OR_BODY_DECL_CS__SIMPLE_NAME_CS); createEReference(prePostOrBodyDeclCSEClass, PRE_POST_OR_BODY_DECL_CS__EXPRESSION_CS); derValueCSEClass = createEClass(DER_VALUE_CS); initValueCSEClass = createEClass(INIT_VALUE_CS); invCSEClass = createEClass(INV_CS); createEReference(invCSEClass, INV_CS__EXPRESSION_CS); defCSEClass = createEClass(DEF_CS); createEReference(defCSEClass, DEF_CS__DEF_EXPRESSION_CS); createEAttribute(defCSEClass, DEF_CS__STATIC); defExpressionCSEClass = createEClass(DEF_EXPRESSION_CS); createEReference(defExpressionCSEClass, DEF_EXPRESSION_CS__OPERATION_CS); createEReference(defExpressionCSEClass, DEF_EXPRESSION_CS__VARIABLE_CS); createEReference(defExpressionCSEClass, DEF_EXPRESSION_CS__EXPRESSION_CS); variableExpCSEClass = createEClass(VARIABLE_EXP_CS); createEReference(variableExpCSEClass, VARIABLE_EXP_CS__ARGUMENTS); createEReference(variableExpCSEClass, VARIABLE_EXP_CS__SIMPLE_NAME_CS); createEReference(variableExpCSEClass, VARIABLE_EXP_CS__IS_MARKED_PRE_CS); isMarkedPreCSEClass = createEClass(IS_MARKED_PRE_CS); primitiveTypeCSEClass = createEClass(PRIMITIVE_TYPE_CS); tupleTypeCSEClass = createEClass(TUPLE_TYPE_CS); createEReference(tupleTypeCSEClass, TUPLE_TYPE_CS__VARIABLES); collectionTypeCSEClass = createEClass(COLLECTION_TYPE_CS); createEAttribute(collectionTypeCSEClass, COLLECTION_TYPE_CS__COLLECTION_TYPE_IDENTIFIER); createEReference(collectionTypeCSEClass, COLLECTION_TYPE_CS__TYPE_CS); letExpCSEClass = createEClass(LET_EXP_CS); createEReference(letExpCSEClass, LET_EXP_CS__VARIABLES); createEReference(letExpCSEClass, LET_EXP_CS__IN_EXPRESSION); ifExpCSEClass = createEClass(IF_EXP_CS); createEReference(ifExpCSEClass, IF_EXP_CS__THEN_EXPRESSION); createEReference(ifExpCSEClass, IF_EXP_CS__ELSE_EXPRESSION); createEReference(ifExpCSEClass, IF_EXP_CS__CONDITION); messageExpCSEClass = createEClass(MESSAGE_EXP_CS); createEReference(messageExpCSEClass, MESSAGE_EXP_CS__TARGET); createEAttribute(messageExpCSEClass, MESSAGE_EXP_CS__KIND); createEReference(messageExpCSEClass, MESSAGE_EXP_CS__SIMPLE_NAME_CS); createEReference(messageExpCSEClass, MESSAGE_EXP_CS__ARGUMENTS); oclMessageArgCSEClass = createEClass(OCL_MESSAGE_ARG_CS); createEReference(oclMessageArgCSEClass, OCL_MESSAGE_ARG_CS__TYPE_CS); createEReference(oclMessageArgCSEClass, OCL_MESSAGE_ARG_CS__EXPRESSION); literalExpCSEClass = createEClass(LITERAL_EXP_CS); collectionLiteralExpCSEClass = createEClass(COLLECTION_LITERAL_EXP_CS); createEAttribute(collectionLiteralExpCSEClass, COLLECTION_LITERAL_EXP_CS__COLLECTION_TYPE); createEReference(collectionLiteralExpCSEClass, COLLECTION_LITERAL_EXP_CS__COLLECTION_LITERAL_PARTS); collectionLiteralPartCSEClass = createEClass(COLLECTION_LITERAL_PART_CS); createEReference(collectionLiteralPartCSEClass, COLLECTION_LITERAL_PART_CS__EXPRESSION_CS); tupleLiteralExpCSEClass = createEClass(TUPLE_LITERAL_EXP_CS); createEReference(tupleLiteralExpCSEClass, TUPLE_LITERAL_EXP_CS__VARIABLES); primitiveLiteralExpCSEClass = createEClass(PRIMITIVE_LITERAL_EXP_CS); createEAttribute(primitiveLiteralExpCSEClass, PRIMITIVE_LITERAL_EXP_CS__SYMBOL); integerLiteralExpCSEClass = createEClass(INTEGER_LITERAL_EXP_CS); createEAttribute(integerLiteralExpCSEClass, INTEGER_LITERAL_EXP_CS__INTEGER_SYMBOL); unlimitedNaturalLiteralExpCSEClass = createEClass(UNLIMITED_NATURAL_LITERAL_EXP_CS); createEAttribute(unlimitedNaturalLiteralExpCSEClass, UNLIMITED_NATURAL_LITERAL_EXP_CS__INTEGER_SYMBOL); realLiteralExpCSEClass = createEClass(REAL_LITERAL_EXP_CS); createEAttribute(realLiteralExpCSEClass, REAL_LITERAL_EXP_CS__REAL_SYMBOL); stringLiteralExpCSEClass = createEClass(STRING_LITERAL_EXP_CS); createEAttribute(stringLiteralExpCSEClass, STRING_LITERAL_EXP_CS__STRING_SYMBOL); createEAttribute(stringLiteralExpCSEClass, STRING_LITERAL_EXP_CS__UNESCAPED_STRING_SYMBOL); booleanLiteralExpCSEClass = createEClass(BOOLEAN_LITERAL_EXP_CS); createEAttribute(booleanLiteralExpCSEClass, BOOLEAN_LITERAL_EXP_CS__BOOLEAN_SYMBOL); nullLiteralExpCSEClass = createEClass(NULL_LITERAL_EXP_CS); invalidLiteralExpCSEClass = createEClass(INVALID_LITERAL_EXP_CS); collectionRangeCSEClass = createEClass(COLLECTION_RANGE_CS); createEReference(collectionRangeCSEClass, COLLECTION_RANGE_CS__LAST_EXPRESSION_CS); callExpCSEClass = createEClass(CALL_EXP_CS); createEReference(callExpCSEClass, CALL_EXP_CS__SOURCE); createEAttribute(callExpCSEClass, CALL_EXP_CS__ACCESSOR); createEReference(callExpCSEClass, CALL_EXP_CS__SIMPLE_NAME_CS); loopExpCSEClass = createEClass(LOOP_EXP_CS); createEReference(loopExpCSEClass, LOOP_EXP_CS__VARIABLE1); createEReference(loopExpCSEClass, LOOP_EXP_CS__VARIABLE2); createEReference(loopExpCSEClass, LOOP_EXP_CS__BODY); iteratorExpCSEClass = createEClass(ITERATOR_EXP_CS); iterateExpCSEClass = createEClass(ITERATE_EXP_CS); featureCallExpCSEClass = createEClass(FEATURE_CALL_EXP_CS); createEReference(featureCallExpCSEClass, FEATURE_CALL_EXP_CS__PATH_NAME_CS); createEReference(featureCallExpCSEClass, FEATURE_CALL_EXP_CS__ARGUMENTS); createEReference(featureCallExpCSEClass, FEATURE_CALL_EXP_CS__IS_MARKED_PRE_CS); operationCallExpCSEClass = createEClass(OPERATION_CALL_EXP_CS); createEAttribute(operationCallExpCSEClass, OPERATION_CALL_EXP_CS__IS_ATOMIC); oclDocumentCSEClass = createEClass(OCL_DOCUMENT_CS); createEReference(oclDocumentCSEClass, OCL_DOCUMENT_CS__PACKAGE_DECLARATIONS); // Create enums simpleTypeEnumEEnum = createEEnum(SIMPLE_TYPE_ENUM); prePostOrBodyEnumEEnum = createEEnum(PRE_POST_OR_BODY_ENUM); collectionTypeIdentifierEnumEEnum = createEEnum(COLLECTION_TYPE_IDENTIFIER_ENUM); messageExpKindEEnum = createEEnum(MESSAGE_EXP_KIND); dotOrArrowEnumEEnum = createEEnum(DOT_OR_ARROW_ENUM); // Create data types iTokenEDataType = createEDataType(ITOKEN); } /** * * * @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); // Create type parameters // Set bounds for type parameters // Add supertypes to classes packageDeclarationCSEClass.getESuperTypes().add(this.getCSTNode()); pathNameCSEClass.getESuperTypes().add(this.getTypeCS()); typeCSEClass.getESuperTypes().add(this.getOCLExpressionCS()); oclExpressionCSEClass.getESuperTypes().add(this.getCSTNode()); simpleNameCSEClass.getESuperTypes().add(this.getOCLExpressionCS()); contextDeclCSEClass.getESuperTypes().add(this.getCSTNode()); propertyContextCSEClass.getESuperTypes().add(this.getContextDeclCS()); initOrDerValueCSEClass.getESuperTypes().add(this.getCSTNode()); classifierContextDeclCSEClass.getESuperTypes().add( this.getContextDeclCS()); invOrDefCSEClass.getESuperTypes().add(this.getCSTNode()); operationContextDeclCSEClass.getESuperTypes().add( this.getContextDeclCS()); operationCSEClass.getESuperTypes().add(this.getCSTNode()); variableCSEClass.getESuperTypes().add(this.getCSTNode()); prePostOrBodyDeclCSEClass.getESuperTypes().add(this.getCSTNode()); derValueCSEClass.getESuperTypes().add(this.getInitOrDerValueCS()); initValueCSEClass.getESuperTypes().add(this.getInitOrDerValueCS()); invCSEClass.getESuperTypes().add(this.getInvOrDefCS()); defCSEClass.getESuperTypes().add(this.getInvOrDefCS()); defExpressionCSEClass.getESuperTypes().add(this.getCSTNode()); variableExpCSEClass.getESuperTypes().add(this.getOCLExpressionCS()); isMarkedPreCSEClass.getESuperTypes().add(this.getCSTNode()); primitiveTypeCSEClass.getESuperTypes().add(this.getSimpleNameCS()); primitiveTypeCSEClass.getESuperTypes().add(this.getTypeCS()); tupleTypeCSEClass.getESuperTypes().add(this.getTypeCS()); collectionTypeCSEClass.getESuperTypes().add(this.getSimpleNameCS()); collectionTypeCSEClass.getESuperTypes().add(this.getTypeCS()); letExpCSEClass.getESuperTypes().add(this.getOCLExpressionCS()); ifExpCSEClass.getESuperTypes().add(this.getOCLExpressionCS()); messageExpCSEClass.getESuperTypes().add(this.getOCLExpressionCS()); oclMessageArgCSEClass.getESuperTypes().add(this.getCSTNode()); literalExpCSEClass.getESuperTypes().add(this.getOCLExpressionCS()); collectionLiteralExpCSEClass.getESuperTypes().add( this.getLiteralExpCS()); collectionLiteralPartCSEClass.getESuperTypes().add(this.getCSTNode()); tupleLiteralExpCSEClass.getESuperTypes().add(this.getLiteralExpCS()); primitiveLiteralExpCSEClass.getESuperTypes() .add(this.getLiteralExpCS()); integerLiteralExpCSEClass.getESuperTypes().add( this.getPrimitiveLiteralExpCS()); unlimitedNaturalLiteralExpCSEClass.getESuperTypes().add( this.getPrimitiveLiteralExpCS()); realLiteralExpCSEClass.getESuperTypes().add( this.getPrimitiveLiteralExpCS()); stringLiteralExpCSEClass.getESuperTypes().add( this.getPrimitiveLiteralExpCS()); booleanLiteralExpCSEClass.getESuperTypes().add(this.getSimpleNameCS()); booleanLiteralExpCSEClass.getESuperTypes().add( this.getPrimitiveLiteralExpCS()); nullLiteralExpCSEClass.getESuperTypes().add(this.getSimpleNameCS()); nullLiteralExpCSEClass.getESuperTypes().add(this.getLiteralExpCS()); invalidLiteralExpCSEClass.getESuperTypes().add(this.getSimpleNameCS()); invalidLiteralExpCSEClass.getESuperTypes().add(this.getLiteralExpCS()); collectionRangeCSEClass.getESuperTypes().add( this.getCollectionLiteralPartCS()); callExpCSEClass.getESuperTypes().add(this.getOCLExpressionCS()); loopExpCSEClass.getESuperTypes().add(this.getCallExpCS()); iteratorExpCSEClass.getESuperTypes().add(this.getLoopExpCS()); iterateExpCSEClass.getESuperTypes().add(this.getLoopExpCS()); featureCallExpCSEClass.getESuperTypes().add(this.getCallExpCS()); operationCallExpCSEClass.getESuperTypes().add( this.getFeatureCallExpCS()); oclDocumentCSEClass.getESuperTypes().add(this.getCSTNode()); // Initialize classes and features; add operations and parameters initEClass(cstNodeEClass, CSTNode.class, "CSTNode", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getCSTNode_StartOffset(), ecorePackage.getEInt(), "startOffset", null, 0, 1, CSTNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute( getCSTNode_EndOffset(), ecorePackage.getEInt(), "endOffset", null, 0, 1, CSTNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute( getCSTNode_StartToken(), this.getIToken(), "startToken", null, 0, 1, CSTNode.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ initEAttribute( getCSTNode_EndToken(), this.getIToken(), "endToken", null, 0, 1, CSTNode.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ initEAttribute( getCSTNode_Ast(), ecorePackage.getEJavaObject(), "ast", null, 0, 1, CSTNode.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ initEClass( packageDeclarationCSEClass, PackageDeclarationCS.class, "PackageDeclarationCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getPackageDeclarationCS_PathNameCS(), this.getPathNameCS(), null, "pathNameCS", null, 0, 1, PackageDeclarationCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getPackageDeclarationCS_ContextDecls(), this.getContextDeclCS(), null, "contextDecls", null, 0, -1, PackageDeclarationCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getPackageDeclarationCS_PackageDeclarationCS(), this.getPackageDeclarationCS(), null, "packageDeclarationCS", null, 0, 1, PackageDeclarationCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( pathNameCSEClass, PathNameCS.class, "PathNameCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getPathNameCS_SimpleNames(), this.getSimpleNameCS(), null, "simpleNames", null, 0, -1, PathNameCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(typeCSEClass, TypeCS.class, "TypeCS", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass( oclExpressionCSEClass, OCLExpressionCS.class, "OCLExpressionCS", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass( simpleNameCSEClass, SimpleNameCS.class, "SimpleNameCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getSimpleNameCS_Value(), ecorePackage.getEString(), "value", null, 0, 1, SimpleNameCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute( getSimpleNameCS_Type(), this.getSimpleTypeEnum(), "type", null, 0, 1, SimpleNameCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( contextDeclCSEClass, ContextDeclCS.class, "ContextDeclCS", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass( propertyContextCSEClass, PropertyContextCS.class, "PropertyContextCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getPropertyContextCS_PathNameCS(), this.getPathNameCS(), null, "pathNameCS", null, 0, 1, PropertyContextCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getPropertyContextCS_SimpleNameCS(), this.getSimpleNameCS(), null, "simpleNameCS", null, 0, 1, PropertyContextCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getPropertyContextCS_TypeCS(), this.getTypeCS(), null, "typeCS", null, 0, 1, PropertyContextCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getPropertyContextCS_Constraints(), this.getInitOrDerValueCS(), null, "constraints", null, 0, -1, PropertyContextCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( initOrDerValueCSEClass, InitOrDerValueCS.class, "InitOrDerValueCS", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getInitOrDerValueCS_ExpressionCS(), this.getOCLExpressionCS(), null, "expressionCS", null, 0, 1, InitOrDerValueCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( classifierContextDeclCSEClass, ClassifierContextDeclCS.class, "ClassifierContextDeclCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getClassifierContextDeclCS_PathNameCS(), this.getPathNameCS(), null, "pathNameCS", null, 0, 1, ClassifierContextDeclCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getClassifierContextDeclCS_Constraints(), this.getInvOrDefCS(), null, "constraints", null, 0, -1, ClassifierContextDeclCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ initEReference( getClassifierContextDeclCS_SimpleNameCS(), this.getSimpleNameCS(), null, "simpleNameCS", null, 0, 1, ClassifierContextDeclCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( invOrDefCSEClass, InvOrDefCS.class, "InvOrDefCS", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getInvOrDefCS_SimpleNameCS(), this.getSimpleNameCS(), null, "simpleNameCS", null, 0, 1, InvOrDefCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( operationContextDeclCSEClass, OperationContextDeclCS.class, "OperationContextDeclCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getOperationContextDeclCS_OperationCS(), this.getOperationCS(), null, "operationCS", null, 0, 1, OperationContextDeclCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getOperationContextDeclCS_PrePostOrBodyDecls(), this.getPrePostOrBodyDeclCS(), null, "prePostOrBodyDecls", null, 1, -1, OperationContextDeclCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( operationCSEClass, OperationCS.class, "OperationCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getOperationCS_PathNameCS(), this.getPathNameCS(), null, "pathNameCS", null, 0, 1, OperationCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getOperationCS_SimpleNameCS(), this.getSimpleNameCS(), null, "simpleNameCS", null, 0, 1, OperationCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getOperationCS_Parameters(), this.getVariableCS(), null, "parameters", null, 0, -1, OperationCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getOperationCS_TypeCS(), this.getTypeCS(), null, "typeCS", null, 0, 1, OperationCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( variableCSEClass, VariableCS.class, "VariableCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getVariableCS_Name(), ecorePackage.getEString(), "name", null, 0, 1, VariableCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getVariableCS_TypeCS(), this.getTypeCS(), null, "typeCS", null, 0, 1, VariableCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getVariableCS_InitExpression(), this.getOCLExpressionCS(), null, "initExpression", null, 0, 1, VariableCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( prePostOrBodyDeclCSEClass, PrePostOrBodyDeclCS.class, "PrePostOrBodyDeclCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getPrePostOrBodyDeclCS_Kind(), this.getPrePostOrBodyEnum(), "kind", null, 0, 1, PrePostOrBodyDeclCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getPrePostOrBodyDeclCS_SimpleNameCS(), this.getSimpleNameCS(), null, "simpleNameCS", null, 0, 1, PrePostOrBodyDeclCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getPrePostOrBodyDeclCS_ExpressionCS(), this.getOCLExpressionCS(), null, "expressionCS", null, 0, 1, PrePostOrBodyDeclCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( derValueCSEClass, DerValueCS.class, "DerValueCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass( initValueCSEClass, InitValueCS.class, "InitValueCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass(invCSEClass, InvCS.class, "InvCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getInvCS_ExpressionCS(), this.getOCLExpressionCS(), null, "expressionCS", null, 0, 1, InvCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(defCSEClass, DefCS.class, "DefCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getDefCS_DefExpressionCS(), this.getDefExpressionCS(), null, "defExpressionCS", null, 0, 1, DefCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute( getDefCS_Static(), ecorePackage.getEBoolean(), "static", "false", 0, 1, DefCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ initEClass( defExpressionCSEClass, DefExpressionCS.class, "DefExpressionCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getDefExpressionCS_OperationCS(), this.getOperationCS(), null, "operationCS", null, 0, 1, DefExpressionCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getDefExpressionCS_VariableCS(), this.getVariableCS(), null, "variableCS", null, 0, 1, DefExpressionCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getDefExpressionCS_ExpressionCS(), this.getOCLExpressionCS(), null, "expressionCS", null, 0, 1, DefExpressionCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( variableExpCSEClass, VariableExpCS.class, "VariableExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getVariableExpCS_Arguments(), this.getOCLExpressionCS(), null, "arguments", null, 0, -1, VariableExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getVariableExpCS_SimpleNameCS(), this.getSimpleNameCS(), null, "simpleNameCS", null, 0, 1, VariableExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getVariableExpCS_IsMarkedPreCS(), this.getIsMarkedPreCS(), null, "isMarkedPreCS", null, 0, 1, VariableExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( isMarkedPreCSEClass, IsMarkedPreCS.class, "IsMarkedPreCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass( primitiveTypeCSEClass, PrimitiveTypeCS.class, "PrimitiveTypeCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass( tupleTypeCSEClass, TupleTypeCS.class, "TupleTypeCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getTupleTypeCS_Variables(), this.getVariableCS(), null, "variables", null, 1, -1, TupleTypeCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( collectionTypeCSEClass, CollectionTypeCS.class, "CollectionTypeCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getCollectionTypeCS_CollectionTypeIdentifier(), this.getCollectionTypeIdentifierEnum(), "collectionTypeIdentifier", null, 0, 1, CollectionTypeCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getCollectionTypeCS_TypeCS(), this.getTypeCS(), null, "typeCS", null, 0, 1, CollectionTypeCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( letExpCSEClass, LetExpCS.class, "LetExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getLetExpCS_Variables(), this.getVariableCS(), null, "variables", null, 1, -1, LetExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getLetExpCS_InExpression(), this.getOCLExpressionCS(), null, "inExpression", null, 0, 1, LetExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass(ifExpCSEClass, IfExpCS.class, "IfExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getIfExpCS_ThenExpression(), this.getOCLExpressionCS(), null, "thenExpression", null, 1, 1, IfExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getIfExpCS_ElseExpression(), this.getOCLExpressionCS(), null, "elseExpression", null, 1, 1, IfExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getIfExpCS_Condition(), this.getOCLExpressionCS(), null, "condition", null, 1, 1, IfExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( messageExpCSEClass, MessageExpCS.class, "MessageExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getMessageExpCS_Target(), this.getOCLExpressionCS(), null, "target", null, 0, 1, MessageExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute( getMessageExpCS_Kind(), this.getMessageExpKind(), "kind", null, 0, 1, MessageExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getMessageExpCS_SimpleNameCS(), this.getSimpleNameCS(), null, "simpleNameCS", null, 0, 1, MessageExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getMessageExpCS_Arguments(), this.getOCLMessageArgCS(), null, "arguments", null, 0, -1, MessageExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( oclMessageArgCSEClass, OCLMessageArgCS.class, "OCLMessageArgCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getOCLMessageArgCS_TypeCS(), this.getTypeCS(), null, "typeCS", null, 0, 1, OCLMessageArgCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getOCLMessageArgCS_Expression(), this.getOCLExpressionCS(), null, "expression", null, 0, 1, OCLMessageArgCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( literalExpCSEClass, LiteralExpCS.class, "LiteralExpCS", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass( collectionLiteralExpCSEClass, CollectionLiteralExpCS.class, "CollectionLiteralExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getCollectionLiteralExpCS_CollectionType(), this.getCollectionTypeIdentifierEnum(), "collectionType", null, 0, 1, CollectionLiteralExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getCollectionLiteralExpCS_CollectionLiteralParts(), this.getCollectionLiteralPartCS(), null, "collectionLiteralParts", null, 0, -1, CollectionLiteralExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( collectionLiteralPartCSEClass, CollectionLiteralPartCS.class, "CollectionLiteralPartCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getCollectionLiteralPartCS_ExpressionCS(), this.getOCLExpressionCS(), null, "expressionCS", null, 0, 1, CollectionLiteralPartCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( tupleLiteralExpCSEClass, TupleLiteralExpCS.class, "TupleLiteralExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getTupleLiteralExpCS_Variables(), this.getVariableCS(), null, "variables", null, 0, -1, TupleLiteralExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( primitiveLiteralExpCSEClass, PrimitiveLiteralExpCS.class, "PrimitiveLiteralExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getPrimitiveLiteralExpCS_Symbol(), ecorePackage.getEString(), "symbol", null, 0, 1, PrimitiveLiteralExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( integerLiteralExpCSEClass, IntegerLiteralExpCS.class, "IntegerLiteralExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getIntegerLiteralExpCS_IntegerSymbol(), ecorePackage.getEIntegerObject(), "integerSymbol", null, 0, 1, IntegerLiteralExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( unlimitedNaturalLiteralExpCSEClass, UnlimitedNaturalLiteralExpCS.class, "UnlimitedNaturalLiteralExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getUnlimitedNaturalLiteralExpCS_IntegerSymbol(), ecorePackage.getEIntegerObject(), "integerSymbol", null, 0, 1, UnlimitedNaturalLiteralExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( realLiteralExpCSEClass, RealLiteralExpCS.class, "RealLiteralExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getRealLiteralExpCS_RealSymbol(), ecorePackage.getEDoubleObject(), "realSymbol", null, 0, 1, RealLiteralExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( stringLiteralExpCSEClass, StringLiteralExpCS.class, "StringLiteralExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getStringLiteralExpCS_StringSymbol(), ecorePackage.getEString(), "stringSymbol", null, 0, 1, StringLiteralExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute( getStringLiteralExpCS_UnescapedStringSymbol(), ecorePackage.getEString(), "unescapedStringSymbol", null, 0, 1, StringLiteralExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( booleanLiteralExpCSEClass, BooleanLiteralExpCS.class, "BooleanLiteralExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getBooleanLiteralExpCS_BooleanSymbol(), ecorePackage.getEBooleanObject(), "booleanSymbol", null, 0, 1, BooleanLiteralExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( nullLiteralExpCSEClass, NullLiteralExpCS.class, "NullLiteralExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass( invalidLiteralExpCSEClass, InvalidLiteralExpCS.class, "InvalidLiteralExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass( collectionRangeCSEClass, CollectionRangeCS.class, "CollectionRangeCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getCollectionRangeCS_LastExpressionCS(), this.getOCLExpressionCS(), null, "lastExpressionCS", null, 0, 1, CollectionRangeCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( callExpCSEClass, CallExpCS.class, "CallExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getCallExpCS_Source(), this.getOCLExpressionCS(), null, "source", null, 0, 1, CallExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEAttribute( getCallExpCS_Accessor(), this.getDotOrArrowEnum(), "accessor", null, 0, 1, CallExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getCallExpCS_SimpleNameCS(), this.getSimpleNameCS(), null, "simpleNameCS", null, 0, 1, CallExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( loopExpCSEClass, LoopExpCS.class, "LoopExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getLoopExpCS_Variable1(), this.getVariableCS(), null, "variable1", null, 0, 1, LoopExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getLoopExpCS_Variable2(), this.getVariableCS(), null, "variable2", null, 0, 1, LoopExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getLoopExpCS_Body(), this.getOCLExpressionCS(), null, "body", null, 0, 1, LoopExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( iteratorExpCSEClass, IteratorExpCS.class, "IteratorExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass( iterateExpCSEClass, IterateExpCS.class, "IterateExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEClass( featureCallExpCSEClass, FeatureCallExpCS.class, "FeatureCallExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getFeatureCallExpCS_PathNameCS(), this.getPathNameCS(), null, "pathNameCS", null, 0, 1, FeatureCallExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getFeatureCallExpCS_Arguments(), this.getOCLExpressionCS(), null, "arguments", null, 0, -1, FeatureCallExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEReference( getFeatureCallExpCS_IsMarkedPreCS(), this.getIsMarkedPreCS(), null, "isMarkedPreCS", null, 0, 1, FeatureCallExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ initEClass( operationCallExpCSEClass, OperationCallExpCS.class, "OperationCallExpCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEAttribute( getOperationCallExpCS_IsAtomic(), ecorePackage.getEBooleanObject(), "isAtomic", "false", 0, 1, OperationCallExpCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ initEClass( oclDocumentCSEClass, OCLDocumentCS.class, "OCLDocumentCS", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ initEReference( getOCLDocumentCS_PackageDeclarations(), this.getPackageDeclarationCS(), null, "packageDeclarations", null, 0, -1, OCLDocumentCS.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ // Initialize enums and add enum literals initEEnum(simpleTypeEnumEEnum, SimpleTypeEnum.class, "SimpleTypeEnum"); //$NON-NLS-1$ addEEnumLiteral(simpleTypeEnumEEnum, SimpleTypeEnum.IDENTIFIER_LITERAL); addEEnumLiteral(simpleTypeEnumEEnum, SimpleTypeEnum.SELF_LITERAL); addEEnumLiteral(simpleTypeEnumEEnum, SimpleTypeEnum.INTEGER_LITERAL); addEEnumLiteral(simpleTypeEnumEEnum, SimpleTypeEnum.STRING_LITERAL); addEEnumLiteral(simpleTypeEnumEEnum, SimpleTypeEnum.REAL_LITERAL); addEEnumLiteral(simpleTypeEnumEEnum, SimpleTypeEnum.BOOLEAN_LITERAL); addEEnumLiteral(simpleTypeEnumEEnum, SimpleTypeEnum.OCL_ANY_LITERAL); addEEnumLiteral(simpleTypeEnumEEnum, SimpleTypeEnum.OCL_VOID_LITERAL); addEEnumLiteral(simpleTypeEnumEEnum, SimpleTypeEnum.OCL_INVALID_LITERAL); addEEnumLiteral(simpleTypeEnumEEnum, SimpleTypeEnum.OCL_MESSAGE_LITERAL); addEEnumLiteral(simpleTypeEnumEEnum, SimpleTypeEnum.KEYWORD_LITERAL); addEEnumLiteral(simpleTypeEnumEEnum, SimpleTypeEnum.UNLIMITED_NATURAL_LITERAL); initEEnum(prePostOrBodyEnumEEnum, PrePostOrBodyEnum.class, "PrePostOrBodyEnum"); //$NON-NLS-1$ addEEnumLiteral(prePostOrBodyEnumEEnum, PrePostOrBodyEnum.PRE_LITERAL); addEEnumLiteral(prePostOrBodyEnumEEnum, PrePostOrBodyEnum.POST_LITERAL); addEEnumLiteral(prePostOrBodyEnumEEnum, PrePostOrBodyEnum.BODY_LITERAL); initEEnum(collectionTypeIdentifierEnumEEnum, CollectionTypeIdentifierEnum.class, "CollectionTypeIdentifierEnum"); //$NON-NLS-1$ addEEnumLiteral(collectionTypeIdentifierEnumEEnum, CollectionTypeIdentifierEnum.SET_LITERAL); addEEnumLiteral(collectionTypeIdentifierEnumEEnum, CollectionTypeIdentifierEnum.BAG_LITERAL); addEEnumLiteral(collectionTypeIdentifierEnumEEnum, CollectionTypeIdentifierEnum.SEQUENCE_LITERAL); addEEnumLiteral(collectionTypeIdentifierEnumEEnum, CollectionTypeIdentifierEnum.COLLECTION_LITERAL); addEEnumLiteral(collectionTypeIdentifierEnumEEnum, CollectionTypeIdentifierEnum.ORDERED_SET_LITERAL); initEEnum(messageExpKindEEnum, MessageExpKind.class, "MessageExpKind"); //$NON-NLS-1$ addEEnumLiteral(messageExpKindEEnum, MessageExpKind.HAS_SENT_LITERAL); addEEnumLiteral(messageExpKindEEnum, MessageExpKind.SENT_LITERAL); initEEnum(dotOrArrowEnumEEnum, DotOrArrowEnum.class, "DotOrArrowEnum"); //$NON-NLS-1$ addEEnumLiteral(dotOrArrowEnumEEnum, DotOrArrowEnum.NONE_LITERAL); addEEnumLiteral(dotOrArrowEnumEEnum, DotOrArrowEnum.DOT_LITERAL); addEEnumLiteral(dotOrArrowEnumEEnum, DotOrArrowEnum.ARROW_LITERAL); // Initialize data types initEDataType(iTokenEDataType, IToken.class, "IToken", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ // Create resource createResource(eNS_URI); // Create annotations // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); } /** * Initializes the annotations for http:///org/eclipse/emf/ecore/util/ExtendedMetaData. * * * @generated */ protected void createExtendedMetaDataAnnotations() { String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; //$NON-NLS-1$ addAnnotation(oclExpressionCSEClass, source, new String[]{ "name", "OclExpressionCS" //$NON-NLS-1$ //$NON-NLS-2$ }); addAnnotation(getInitOrDerValueCS_ExpressionCS(), source, new String[]{ "name", "oclExpressionCS" //$NON-NLS-1$ //$NON-NLS-2$ }); addAnnotation(getPrePostOrBodyDeclCS_ExpressionCS(), source, new String[]{"name", "oclExpressionCS" //$NON-NLS-1$ //$NON-NLS-2$ }); addAnnotation(getInvCS_ExpressionCS(), source, new String[]{ "name", "oclExpressionCS" //$NON-NLS-1$ //$NON-NLS-2$ }); addAnnotation(getDefExpressionCS_ExpressionCS(), source, new String[]{ "name", "oclExpressionCS" //$NON-NLS-1$ //$NON-NLS-2$ }); addAnnotation(oclMessageArgCSEClass, source, new String[]{ "name", "OclMessageArgCS" //$NON-NLS-1$ //$NON-NLS-2$ }); addAnnotation(getOCLMessageArgCS_Expression(), source, new String[]{ "name", "oclExpression" //$NON-NLS-1$ //$NON-NLS-2$ }); addAnnotation(getCollectionLiteralPartCS_ExpressionCS(), source, new String[]{"name", "oclExpressionCS" //$NON-NLS-1$ //$NON-NLS-2$ }); addAnnotation(getCollectionRangeCS_LastExpressionCS(), source, new String[]{"name", "lastOclExpressionCS" //$NON-NLS-1$ //$NON-NLS-2$ }); } } //CSTPackageImpl





© 2015 - 2024 Weber Informatics LLC | Privacy Policy