/** * <copyright> * </copyright> * * $Id: AnalyticsPackageImpl.java,v 1.2 2011/03/05 21:51:24 auhl Exp $ */ package dataaccess.analytics.impl; import abapmapping.AbapmappingPackage; import abapmapping.abapdictionary.AbapdictionaryPackage; import abapmapping.abapdictionary.impl.AbapdictionaryPackageImpl; import abapmapping.impl.AbapmappingPackageImpl; import ap_runtime_constraints.Ap_runtime_constraintsPackage; import ap_runtime_constraints.impl.Ap_runtime_constraintsPackageImpl; import behavioral.actions.ActionsPackage; import behavioral.actions.impl.ActionsPackageImpl; import behavioral.bpdm.BpdmPackage; import behavioral.bpdm.impl.BpdmPackageImpl; import behavioral.businesstasks.BusinesstasksPackage; import behavioral.businesstasks.impl.BusinesstasksPackageImpl; import behavioral.events.EventsPackage; import behavioral.events.impl.EventsPackageImpl; import behavioral.rules.RulesPackage; import behavioral.rules.impl.RulesPackageImpl; import behavioral.status_and_action.assembly.AssemblyPackage; import behavioral.status_and_action.assembly.impl.AssemblyPackageImpl; import behavioral.status_and_action.design.DesignPackage; import behavioral.status_and_action.design.impl.DesignPackageImpl; import behavioral.status_and_action_old.Status_and_action_oldPackage; import behavioral.status_and_action_old.impl.Status_and_action_oldPackageImpl; import behavioral.transactions.TransactionsPackage; import behavioral.transactions.impl.TransactionsPackageImpl; import configuration.businessconfiguration.BusinessconfigurationPackage; import configuration.businessconfiguration.experimental.ExperimentalPackage; import configuration.businessconfiguration.experimental.impl.ExperimentalPackageImpl; import configuration.businessconfiguration.impl.BusinessconfigurationPackageImpl; import configuration.context_drivers.Context_driversPackage; import configuration.context_drivers.impl.Context_driversPackageImpl; import data.classes.ClassesPackage; import data.classes.impl.ClassesPackageImpl; import data.constraints.ConstraintsPackage; import data.constraints.impl.ConstraintsPackageImpl; import data.documents.DocumentsPackage; import data.documents.impl.DocumentsPackageImpl; import data.generics.GenericsPackage; import data.generics.impl.GenericsPackageImpl; import data.quantitystructure.QuantitystructurePackage; import data.quantitystructure.impl.QuantitystructurePackageImpl; import data.timedependency.TimedependencyPackage; import data.timedependency.impl.TimedependencyPackageImpl; import data.tuples.TuplesPackage; import data.tuples.impl.TuplesPackageImpl; import dataaccess.analytics.AnalyticsFactory; import dataaccess.analytics.AnalyticsPackage; import dataaccess.analytics.CellSet; import dataaccess.analytics.Dimension; import dataaccess.analytics.DimensionDefinition; import dataaccess.analytics.DimensionExpression; import dataaccess.analytics.GroupBy; import dataaccess.analytics.util.AnalyticsValidator; import dataaccess.expressions.ExpressionsPackage; import dataaccess.expressions.collectionexpressions.CollectionexpressionsPackage; import dataaccess.expressions.collectionexpressions.impl.CollectionexpressionsPackageImpl; import dataaccess.expressions.fp.FpPackage; import dataaccess.expressions.fp.impl.FpPackageImpl; import dataaccess.expressions.impl.ExpressionsPackageImpl; import dataaccess.expressions.literals.LiteralsPackage; import dataaccess.expressions.literals.impl.LiteralsPackageImpl; import dataaccess.query.QueryPackage; import dataaccess.query.impl.QueryPackageImpl; import integration.binding.BindingPackage; import integration.binding.impl.BindingPackageImpl; import integration.processintegration.ProcessintegrationPackage; import integration.processintegration.impl.ProcessintegrationPackageImpl; import integration.xsd.XsdPackage; import integration.xsd.impl.XsdPackageImpl; import localization.LocalizationPackage; import localization.impl.LocalizationPackageImpl; import modelmanagement.ModelmanagementPackage; import modelmanagement.deploymentunits.DeploymentunitsPackage; import modelmanagement.deploymentunits.impl.DeploymentunitsPackageImpl; import modelmanagement.impl.ModelmanagementPackageImpl; import modelmanagement.processcomponents.ProcesscomponentsPackage; import modelmanagement.processcomponents.impl.ProcesscomponentsPackageImpl; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.EValidator; import org.eclipse.emf.ecore.EcorePackage; import org.eclipse.emf.ecore.impl.EPackageImpl; import ui.data_binding.Data_bindingPackage; import ui.data_binding.impl.Data_bindingPackageImpl; import ui.templates.TemplatesPackage; import ui.templates.impl.TemplatesPackageImpl; /** * <!-- begin-user-doc --> * An implementation of the model <b>Package</b>. * <!-- end-user-doc --> * @generated */ public class AnalyticsPackageImpl extends EPackageImpl implements AnalyticsPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass dimensionEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass cellSetEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass dimensionExpressionEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass groupByEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass dimensionDefinitionEClass = 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 dataaccess.analytics.AnalyticsPackage#eNS_URI * @see #init() * @generated */ private AnalyticsPackageImpl() { super(eNS_URI, AnalyticsFactory.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 AnalyticsPackage#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 AnalyticsPackage init() { if (isInited) return (AnalyticsPackage)EPackage.Registry.INSTANCE.getEPackage(AnalyticsPackage.eNS_URI); // Obtain or create and register package AnalyticsPackageImpl theAnalyticsPackage = (AnalyticsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AnalyticsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new AnalyticsPackageImpl()); isInited = true; // Initialize simple dependencies EcorePackage.eINSTANCE.eClass(); // Obtain or create and register interdependencies AbapmappingPackageImpl theAbapmappingPackage = (AbapmappingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AbapmappingPackage.eNS_URI) instanceof AbapmappingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AbapmappingPackage.eNS_URI) : AbapmappingPackage.eINSTANCE); AbapdictionaryPackageImpl theAbapdictionaryPackage = (AbapdictionaryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AbapdictionaryPackage.eNS_URI) instanceof AbapdictionaryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AbapdictionaryPackage.eNS_URI) : AbapdictionaryPackage.eINSTANCE); Ap_runtime_constraintsPackageImpl theAp_runtime_constraintsPackage = (Ap_runtime_constraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Ap_runtime_constraintsPackage.eNS_URI) instanceof Ap_runtime_constraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Ap_runtime_constraintsPackage.eNS_URI) : Ap_runtime_constraintsPackage.eINSTANCE); BpdmPackageImpl theBpdmPackage = (BpdmPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BpdmPackage.eNS_URI) instanceof BpdmPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BpdmPackage.eNS_URI) : BpdmPackage.eINSTANCE); BusinesstasksPackageImpl theBusinesstasksPackage = (BusinesstasksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BusinesstasksPackage.eNS_URI) instanceof BusinesstasksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BusinesstasksPackage.eNS_URI) : BusinesstasksPackage.eINSTANCE); ActionsPackageImpl theActionsPackage = (ActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActionsPackage.eNS_URI) instanceof ActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActionsPackage.eNS_URI) : ActionsPackage.eINSTANCE); RulesPackageImpl theRulesPackage = (RulesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RulesPackage.eNS_URI) instanceof RulesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RulesPackage.eNS_URI) : RulesPackage.eINSTANCE); EventsPackageImpl theEventsPackage = (EventsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) instanceof EventsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EventsPackage.eNS_URI) : EventsPackage.eINSTANCE); TransactionsPackageImpl theTransactionsPackage = (TransactionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TransactionsPackage.eNS_URI) instanceof TransactionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TransactionsPackage.eNS_URI) : TransactionsPackage.eINSTANCE); Status_and_action_oldPackageImpl theStatus_and_action_oldPackage = (Status_and_action_oldPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Status_and_action_oldPackage.eNS_URI) instanceof Status_and_action_oldPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Status_and_action_oldPackage.eNS_URI) : Status_and_action_oldPackage.eINSTANCE); DesignPackageImpl theDesignPackage = (DesignPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DesignPackage.eNS_URI) instanceof DesignPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DesignPackage.eNS_URI) : DesignPackage.eINSTANCE); AssemblyPackageImpl theAssemblyPackage = (AssemblyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AssemblyPackage.eNS_URI) instanceof AssemblyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AssemblyPackage.eNS_URI) : AssemblyPackage.eINSTANCE); BusinessconfigurationPackageImpl theBusinessconfigurationPackage = (BusinessconfigurationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BusinessconfigurationPackage.eNS_URI) instanceof BusinessconfigurationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BusinessconfigurationPackage.eNS_URI) : BusinessconfigurationPackage.eINSTANCE); ExperimentalPackageImpl theExperimentalPackage = (ExperimentalPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ExperimentalPackage.eNS_URI) instanceof ExperimentalPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ExperimentalPackage.eNS_URI) : ExperimentalPackage.eINSTANCE); Context_driversPackageImpl theContext_driversPackage = (Context_driversPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Context_driversPackage.eNS_URI) instanceof Context_driversPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Context_driversPackage.eNS_URI) : Context_driversPackage.eINSTANCE); ClassesPackageImpl theClassesPackage = (ClassesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ClassesPackage.eNS_URI) instanceof ClassesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ClassesPackage.eNS_URI) : ClassesPackage.eINSTANCE); ConstraintsPackageImpl theConstraintsPackage = (ConstraintsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) instanceof ConstraintsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI) : ConstraintsPackage.eINSTANCE); QuantitystructurePackageImpl theQuantitystructurePackage = (QuantitystructurePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QuantitystructurePackage.eNS_URI) instanceof QuantitystructurePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QuantitystructurePackage.eNS_URI) : QuantitystructurePackage.eINSTANCE); TimedependencyPackageImpl theTimedependencyPackage = (TimedependencyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TimedependencyPackage.eNS_URI) instanceof TimedependencyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TimedependencyPackage.eNS_URI) : TimedependencyPackage.eINSTANCE); DocumentsPackageImpl theDocumentsPackage = (DocumentsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DocumentsPackage.eNS_URI) instanceof DocumentsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DocumentsPackage.eNS_URI) : DocumentsPackage.eINSTANCE); GenericsPackageImpl theGenericsPackage = (GenericsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(GenericsPackage.eNS_URI) instanceof GenericsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(GenericsPackage.eNS_URI) : GenericsPackage.eINSTANCE); TuplesPackageImpl theTuplesPackage = (TuplesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TuplesPackage.eNS_URI) instanceof TuplesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TuplesPackage.eNS_URI) : TuplesPackage.eINSTANCE); ExpressionsPackageImpl theExpressionsPackage = (ExpressionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ExpressionsPackage.eNS_URI) instanceof ExpressionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ExpressionsPackage.eNS_URI) : ExpressionsPackage.eINSTANCE); LiteralsPackageImpl theLiteralsPackage = (LiteralsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LiteralsPackage.eNS_URI) instanceof LiteralsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LiteralsPackage.eNS_URI) : LiteralsPackage.eINSTANCE); CollectionexpressionsPackageImpl theCollectionexpressionsPackage = (CollectionexpressionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CollectionexpressionsPackage.eNS_URI) instanceof CollectionexpressionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CollectionexpressionsPackage.eNS_URI) : CollectionexpressionsPackage.eINSTANCE); FpPackageImpl theFpPackage = (FpPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(FpPackage.eNS_URI) instanceof FpPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(FpPackage.eNS_URI) : FpPackage.eINSTANCE); QueryPackageImpl theQueryPackage = (QueryPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(QueryPackage.eNS_URI) instanceof QueryPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(QueryPackage.eNS_URI) : QueryPackage.eINSTANCE); ProcessintegrationPackageImpl theProcessintegrationPackage = (ProcessintegrationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProcessintegrationPackage.eNS_URI) instanceof ProcessintegrationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProcessintegrationPackage.eNS_URI) : ProcessintegrationPackage.eINSTANCE); XsdPackageImpl theXsdPackage = (XsdPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(XsdPackage.eNS_URI) instanceof XsdPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(XsdPackage.eNS_URI) : XsdPackage.eINSTANCE); BindingPackageImpl theBindingPackage = (BindingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BindingPackage.eNS_URI) instanceof BindingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BindingPackage.eNS_URI) : BindingPackage.eINSTANCE); LocalizationPackageImpl theLocalizationPackage = (LocalizationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LocalizationPackage.eNS_URI) instanceof LocalizationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LocalizationPackage.eNS_URI) : LocalizationPackage.eINSTANCE); ModelmanagementPackageImpl theModelmanagementPackage = (ModelmanagementPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelmanagementPackage.eNS_URI) instanceof ModelmanagementPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelmanagementPackage.eNS_URI) : ModelmanagementPackage.eINSTANCE); ProcesscomponentsPackageImpl theProcesscomponentsPackage = (ProcesscomponentsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ProcesscomponentsPackage.eNS_URI) instanceof ProcesscomponentsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ProcesscomponentsPackage.eNS_URI) : ProcesscomponentsPackage.eINSTANCE); DeploymentunitsPackageImpl theDeploymentunitsPackage = (DeploymentunitsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeploymentunitsPackage.eNS_URI) instanceof DeploymentunitsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeploymentunitsPackage.eNS_URI) : DeploymentunitsPackage.eINSTANCE); persistence.actions.impl.ActionsPackageImpl theActionsPackage_1 = (persistence.actions.impl.ActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(persistence.actions.ActionsPackage.eNS_URI) instanceof persistence.actions.impl.ActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(persistence.actions.ActionsPackage.eNS_URI) : persistence.actions.ActionsPackage.eINSTANCE); persistence.expressions.impl.ExpressionsPackageImpl theExpressionsPackage_1 = (persistence.expressions.impl.ExpressionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(persistence.expressions.ExpressionsPackage.eNS_URI) instanceof persistence.expressions.impl.ExpressionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(persistence.expressions.ExpressionsPackage.eNS_URI) : persistence.expressions.ExpressionsPackage.eINSTANCE); Data_bindingPackageImpl theData_bindingPackage = (Data_bindingPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Data_bindingPackage.eNS_URI) instanceof Data_bindingPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Data_bindingPackage.eNS_URI) : Data_bindingPackage.eINSTANCE); TemplatesPackageImpl theTemplatesPackage = (TemplatesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(TemplatesPackage.eNS_URI) instanceof TemplatesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(TemplatesPackage.eNS_URI) : TemplatesPackage.eINSTANCE); // Create package meta-data objects theAnalyticsPackage.createPackageContents(); theAbapmappingPackage.createPackageContents(); theAbapdictionaryPackage.createPackageContents(); theAp_runtime_constraintsPackage.createPackageContents(); theBpdmPackage.createPackageContents(); theBusinesstasksPackage.createPackageContents(); theActionsPackage.createPackageContents(); theRulesPackage.createPackageContents(); theEventsPackage.createPackageContents(); theTransactionsPackage.createPackageContents(); theStatus_and_action_oldPackage.createPackageContents(); theDesignPackage.createPackageContents(); theAssemblyPackage.createPackageContents(); theBusinessconfigurationPackage.createPackageContents(); theExperimentalPackage.createPackageContents(); theContext_driversPackage.createPackageContents(); theClassesPackage.createPackageContents(); theConstraintsPackage.createPackageContents(); theQuantitystructurePackage.createPackageContents(); theTimedependencyPackage.createPackageContents(); theDocumentsPackage.createPackageContents(); theGenericsPackage.createPackageContents(); theTuplesPackage.createPackageContents(); theExpressionsPackage.createPackageContents(); theLiteralsPackage.createPackageContents(); theCollectionexpressionsPackage.createPackageContents(); theFpPackage.createPackageContents(); theQueryPackage.createPackageContents(); theProcessintegrationPackage.createPackageContents(); theXsdPackage.createPackageContents(); theBindingPackage.createPackageContents(); theLocalizationPackage.createPackageContents(); theModelmanagementPackage.createPackageContents(); theProcesscomponentsPackage.createPackageContents(); theDeploymentunitsPackage.createPackageContents(); theActionsPackage_1.createPackageContents(); theExpressionsPackage_1.createPackageContents(); theData_bindingPackage.createPackageContents(); theTemplatesPackage.createPackageContents(); // Initialize created meta-data theAnalyticsPackage.initializePackageContents(); theAbapmappingPackage.initializePackageContents(); theAbapdictionaryPackage.initializePackageContents(); theAp_runtime_constraintsPackage.initializePackageContents(); theBpdmPackage.initializePackageContents(); theBusinesstasksPackage.initializePackageContents(); theActionsPackage.initializePackageContents(); theRulesPackage.initializePackageContents(); theEventsPackage.initializePackageContents(); theTransactionsPackage.initializePackageContents(); theStatus_and_action_oldPackage.initializePackageContents(); theDesignPackage.initializePackageContents(); theAssemblyPackage.initializePackageContents(); theBusinessconfigurationPackage.initializePackageContents(); theExperimentalPackage.initializePackageContents(); theContext_driversPackage.initializePackageContents(); theClassesPackage.initializePackageContents(); theConstraintsPackage.initializePackageContents(); theQuantitystructurePackage.initializePackageContents(); theTimedependencyPackage.initializePackageContents(); theDocumentsPackage.initializePackageContents(); theGenericsPackage.initializePackageContents(); theTuplesPackage.initializePackageContents(); theExpressionsPackage.initializePackageContents(); theLiteralsPackage.initializePackageContents(); theCollectionexpressionsPackage.initializePackageContents(); theFpPackage.initializePackageContents(); theQueryPackage.initializePackageContents(); theProcessintegrationPackage.initializePackageContents(); theXsdPackage.initializePackageContents(); theBindingPackage.initializePackageContents(); theLocalizationPackage.initializePackageContents(); theModelmanagementPackage.initializePackageContents(); theProcesscomponentsPackage.initializePackageContents(); theDeploymentunitsPackage.initializePackageContents(); theActionsPackage_1.initializePackageContents(); theExpressionsPackage_1.initializePackageContents(); theData_bindingPackage.initializePackageContents(); theTemplatesPackage.initializePackageContents(); // Register package validator EValidator.Registry.INSTANCE.put (theAnalyticsPackage, new EValidator.Descriptor() { public EValidator getEValidator() { return AnalyticsValidator.INSTANCE; } }); // Mark meta-data to indicate it can't be changed theAnalyticsPackage.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(AnalyticsPackage.eNS_URI, theAnalyticsPackage); return theAnalyticsPackage; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getDimension() { return dimensionEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getDimension_CellSet() { return (EReference)dimensionEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getDimension_CharacteristicFunction() { return (EReference)dimensionEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getCellSet() { return cellSetEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getCellSet_Dimensions() { return (EReference)cellSetEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getCellSet_ValueFunction() { return (EReference)cellSetEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getCellSet_AggregationFunction() { return (EReference)cellSetEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getCellSet_FactsType() { return (EReference)cellSetEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getDimensionExpression() { return dimensionExpressionEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getDimensionExpression_CellSet() { return (EReference)dimensionExpressionEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getDimensionExpression_DimensionParameter() { return (EReference)dimensionExpressionEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getDimensionExpression_Facts() { return (EReference)dimensionExpressionEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getGroupBy() { return groupByEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getGroupBy_Dimensions() { return (EReference)groupByEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getGroupBy_Fact() { return (EReference)groupByEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getGroupBy_MapExpression() { return (EReference)groupByEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getGroupBy_GroupedFacts() { return (EReference)groupByEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getDimensionDefinition() { return dimensionDefinitionEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getDimensionDefinition_GroupBy() { return (EReference)dimensionDefinitionEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getDimensionDefinition_Expression() { return (EReference)dimensionDefinitionEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getDimensionDefinition_Iterator() { return (EReference)dimensionDefinitionEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public AnalyticsFactory getAnalyticsFactory() { return (AnalyticsFactory)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 dimensionEClass = createEClass(DIMENSION); createEReference(dimensionEClass, DIMENSION__CELL_SET); createEReference(dimensionEClass, DIMENSION__CHARACTERISTIC_FUNCTION); cellSetEClass = createEClass(CELL_SET); createEReference(cellSetEClass, CELL_SET__DIMENSIONS); createEReference(cellSetEClass, CELL_SET__VALUE_FUNCTION); createEReference(cellSetEClass, CELL_SET__AGGREGATION_FUNCTION); createEReference(cellSetEClass, CELL_SET__FACTS_TYPE); dimensionExpressionEClass = createEClass(DIMENSION_EXPRESSION); createEReference(dimensionExpressionEClass, DIMENSION_EXPRESSION__CELL_SET); createEReference(dimensionExpressionEClass, DIMENSION_EXPRESSION__DIMENSION_PARAMETER); createEReference(dimensionExpressionEClass, DIMENSION_EXPRESSION__FACTS); groupByEClass = createEClass(GROUP_BY); createEReference(groupByEClass, GROUP_BY__DIMENSIONS); createEReference(groupByEClass, GROUP_BY__FACT); createEReference(groupByEClass, GROUP_BY__MAP_EXPRESSION); createEReference(groupByEClass, GROUP_BY__GROUPED_FACTS); dimensionDefinitionEClass = createEClass(DIMENSION_DEFINITION); createEReference(dimensionDefinitionEClass, DIMENSION_DEFINITION__GROUP_BY); createEReference(dimensionDefinitionEClass, DIMENSION_DEFINITION__EXPRESSION); createEReference(dimensionDefinitionEClass, DIMENSION_DEFINITION__ITERATOR); } /** * <!-- 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 ModelmanagementPackage theModelmanagementPackage = (ModelmanagementPackage)EPackage.Registry.INSTANCE.getEPackage(ModelmanagementPackage.eNS_URI); ClassesPackage theClassesPackage = (ClassesPackage)EPackage.Registry.INSTANCE.getEPackage(ClassesPackage.eNS_URI); EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI); ExpressionsPackage theExpressionsPackage = (ExpressionsPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionsPackage.eNS_URI); ActionsPackage theActionsPackage = (ActionsPackage)EPackage.Registry.INSTANCE.getEPackage(ActionsPackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes dimensionEClass.getESuperTypes().add(theModelmanagementPackage.getNamedElement()); cellSetEClass.getESuperTypes().add(theClassesPackage.getFunctionSignatureImplementation()); dimensionExpressionEClass.getESuperTypes().add(theExpressionsPackage.getExpression()); groupByEClass.getESuperTypes().add(theExpressionsPackage.getObjectBasedExpression()); // Initialize classes and features; add operations and parameters initEClass(dimensionEClass, Dimension.class, "Dimension", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getDimension_CellSet(), this.getCellSet(), this.getCellSet_Dimensions(), "cellSet", null, 1, 1, Dimension.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDimension_CharacteristicFunction(), theClassesPackage.getFunctionSignature(), theClassesPackage.getFunctionSignature_Dimension(), "characteristicFunction", null, 1, 1, Dimension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(cellSetEClass, CellSet.class, "CellSet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getCellSet_Dimensions(), this.getDimension(), this.getDimension_CellSet(), "dimensions", null, 1, -1, CellSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getCellSet_ValueFunction(), theClassesPackage.getFunctionSignature(), theClassesPackage.getFunctionSignature_CellSetForValueFunction(), "valueFunction", null, 0, 1, CellSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getCellSet_AggregationFunction(), theClassesPackage.getFunctionSignature(), theClassesPackage.getFunctionSignature_CellSetForAggregationFunction(), "aggregationFunction", null, 1, 1, CellSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getCellSet_FactsType(), theClassesPackage.getTypeDefinition(), null, "factsType", null, 1, 1, CellSet.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); addEOperation(cellSetEClass, theClassesPackage.getTypeDefinition(), "keyFigureType", 1, 1, !IS_UNIQUE, !IS_ORDERED); addEOperation(cellSetEClass, theClassesPackage.getTypeDefinition(), "cellType", 1, 1, !IS_UNIQUE, !IS_ORDERED); addEOperation(cellSetEClass, theEcorePackage.getEBoolean(), "localIsSideEffectFree", 1, 1, !IS_UNIQUE, !IS_ORDERED); initEClass(dimensionExpressionEClass, DimensionExpression.class, "DimensionExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getDimensionExpression_CellSet(), theExpressionsPackage.getExpression(), theExpressionsPackage.getExpression_CellSetOfDimensionExpression(), "cellSet", null, 1, 1, DimensionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDimensionExpression_DimensionParameter(), theClassesPackage.getParameter(), null, "dimensionParameter", null, 1, 1, DimensionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDimensionExpression_Facts(), theExpressionsPackage.getExpression(), theExpressionsPackage.getExpression_FactsOfDimensionExpression(), "facts", null, 1, 1, DimensionExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(groupByEClass, GroupBy.class, "GroupBy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getGroupBy_Dimensions(), this.getDimensionDefinition(), this.getDimensionDefinition_GroupBy(), "dimensions", null, 1, -1, GroupBy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getGroupBy_Fact(), theActionsPackage.getIterator(), theActionsPackage.getIterator_FactOfGroupBy(), "fact", null, 1, 1, GroupBy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getGroupBy_MapExpression(), theExpressionsPackage.getExpression(), theExpressionsPackage.getExpression_MapExpressionOfGroupBy(), "mapExpression", null, 0, 1, GroupBy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getGroupBy_GroupedFacts(), theActionsPackage.getIterator(), theActionsPackage.getIterator_GroupedFactsOfGroupBy(), "groupedFacts", null, 0, 1, GroupBy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(dimensionDefinitionEClass, DimensionDefinition.class, "DimensionDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getDimensionDefinition_GroupBy(), this.getGroupBy(), this.getGroupBy_Dimensions(), "groupBy", null, 1, 1, DimensionDefinition.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDimensionDefinition_Expression(), theExpressionsPackage.getExpression(), theExpressionsPackage.getExpression_Dimension(), "expression", null, 1, 1, DimensionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDimensionDefinition_Iterator(), theActionsPackage.getIterator(), theActionsPackage.getIterator_Dimension(), "iterator", null, 1, 1, DimensionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); addEOperation(dimensionDefinitionEClass, theEcorePackage.getEString(), "getName", 1, 1, !IS_UNIQUE, !IS_ORDERED); // Create resource createResource(eNS_URI); // Create annotations // http://www.eclipse.org/emf/2002/Ecore createEcoreAnnotations(); // http://www.eclipse.org/emf/2002/Ecore/OCL createOCLAnnotations(); // http://schema.omg.org/spec/MOF/2.0/emof.xml createEmofAnnotations(); } /** * Initializes the annotations for <b>http://www.eclipse.org/emf/2002/Ecore</b>. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void createEcoreAnnotations() { String source = "http://www.eclipse.org/emf/2002/Ecore"; addAnnotation (this, source, new String[] { "invocationDelegates", "http://www.eclipse.org/emf/2002/Ecore/OCL", "validationDelegates", "http://www.eclipse.org/emf/2002/Ecore/OCL", "settingDelegates", "http://www.eclipse.org/emf/2002/Ecore/OCL" }); addAnnotation (dimensionEClass, source, new String[] { "constraints", "BlockSignatureMustMatch CharacteristicFunctionMustNotBeAbstract" }); addAnnotation (cellSetEClass, source, new String[] { "constraints", "ValueFunctionSignatureMustMatch AggregationFunctionSignatureMustMatch AggregationFunctionMustNotBeAbstract ValueFunctionMustNotBeAbstract" }); addAnnotation (cellSetEClass.getEOperations().get(0), source, new String[] { "constraints", "body" }); addAnnotation (cellSetEClass.getEOperations().get(1), source, new String[] { "constraints", "body" }); addAnnotation (cellSetEClass.getEOperations().get(2), source, new String[] { "constraints", "body" }); addAnnotation (dimensionExpressionEClass, source, new String[] { "constraints", "FactsTypeConformsToFirstFunctionParameterType CellSetExpressionMustHaveFunctionSignatureType DimensionParameterIsNotFirst" }); addAnnotation (groupByEClass, source, new String[] { "constraints", "GroupedFactsIteratorMustExistIfMapExpressionExists MapExpressionMustBeSideEffectFree GroupByIteratorsMustHaveDistinctNames" }); addAnnotation (dimensionDefinitionEClass, source, new String[] { "constraints", "DimensionExpressionMustBeSideEffectFree" }); addAnnotation (dimensionDefinitionEClass.getEOperations().get(0), source, new String[] { "constraints", "body" }); } /** * Initializes the annotations for <b>http://www.eclipse.org/emf/2002/Ecore/OCL</b>. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void createOCLAnnotations() { String source = "http://www.eclipse.org/emf/2002/Ecore/OCL"; addAnnotation (dimensionEClass, source, new String[] { "BlockSignatureMustMatch", "self.characteristicFunction.input->size() = 1 and \r\n self.cellSet.factsType.conformsToIgnoringMultiplicity(self.characteristicFunction.input->at(1).getType())\r\n -- Add the following again once we have NestedTypeDefinitions under control...\r\n -- and self.characteristicFunction.input->at(1).getType().upperMultiplicity = 1", "CharacteristicFunctionMustNotBeAbstract", "not self.characteristicFunction.isAbstract()" }); addAnnotation (cellSetEClass, source, new String[] { "ValueFunctionSignatureMustMatch", "self.valueFunction->notEmpty() implies\r\n (self.valueFunction.input->size() = 1 and\r\n self.factsType.conformsToIgnoringMultiplicity(self.valueFunction.input->at(1).getType())\r\n -- Add the following again once we have NestedTypeDefinitions under control...\r\n -- and self.valueFunction.input->at(1).getType().upperMultiplicity = 1\r\n )", "AggregationFunctionSignatureMustMatch", "self.aggregationFunction.input->size() = 1 and \r\n self.keyFigureType().conformsTo(self.aggregationFunction.input->at(1).getType())", "AggregationFunctionMustNotBeAbstract", "not self.aggregationFunction.isAbstract()", "ValueFunctionMustNotBeAbstract", "self.valueFunction->forAll(vf | not vf.isAbstract())" }); addAnnotation (cellSetEClass.getEOperations().get(0), source, new String[] { "body", "if self.valueFunction->isEmpty() then\n self.factsType\n else\n self.valueFunction.output\n endif" }); addAnnotation (cellSetEClass.getEOperations().get(1), source, new String[] { "body", "self.aggregationFunction.output" }); addAnnotation (cellSetEClass.getEOperations().get(2), source, new String[] { "body", "self.dimensions->forAll(d|d.characteristicFunction.sideEffectFree) and\n (self.valueFunction->notEmpty() implies self.valueFunction.sideEffectFree) and\n self.aggregationFunction.sideEffectFree" }); addAnnotation (dimensionExpressionEClass, source, new String[] { "FactsTypeConformsToFirstFunctionParameterType", "self.facts.getType().conformsTo(self.dimensionParameter.ownerSignature.input->at(1).getType())", "CellSetExpressionMustHaveFunctionSignatureType", "self.cellSet.getType().oclIsKindOf(data::classes::FunctionSignatureTypeDefinition)", "DimensionParameterIsNotFirst", "self.dimensionParameter.ownerSignature.input->indexOf(self.dimensionParameter) > 1" }); addAnnotation (groupByEClass, source, new String[] { "GroupedFactsIteratorMustExistIfMapExpressionExists", "self.mapExpression->notEmpty() implies self.groupedFacts->notEmpty()", "MapExpressionMustBeSideEffectFree", "if self.mapExpression->notEmpty() then\r\n self.mapExpression.isSideEffectFree()\r\n else\r\n true\r\n endif", "GroupByIteratorsMustHaveDistinctNames", "self.dimensions.iterator->asSet()->union(self.groupedFacts->asSet())->union(self.fact->asSet())->forAll(i, j | i<>j implies i.name<>j.name)" }); addAnnotation (dimensionDefinitionEClass, source, new String[] { "DimensionExpressionMustBeSideEffectFree", "self.expression.isSideEffectFree()" }); addAnnotation (dimensionDefinitionEClass.getEOperations().get(0), source, new String[] { "body", "self.iterator.name" }); } /** * Initializes the annotations for <b>http://schema.omg.org/spec/MOF/2.0/emof.xml</b>. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void createEmofAnnotations() { String source = "http://schema.omg.org/spec/MOF/2.0/emof.xml"; addAnnotation (getCellSet_FactsType(), source, new String[] { "Property.oppositeRoleName", "cellSet" }); } } //AnalyticsPackageImpl