Search in sources :

Example 1 with RelationalPackage

use of org.talend.cwm.relational.RelationalPackage in project tdq-studio-se by Talend.

the class ColumnsetPackageImpl method initializePackageContents.

/**
 * 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
    IndicatorsPackage theIndicatorsPackage = (IndicatorsPackage) EPackage.Registry.INSTANCE.getEPackage(IndicatorsPackage.eNS_URI);
    RelationalPackage theRelationalPackage = (RelationalPackage) EPackage.Registry.INSTANCE.getEPackage(RelationalPackage.eNS_URI);
    CorePackage theCorePackage = (CorePackage) EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
    EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
    RulesPackage theRulesPackage = (RulesPackage) EPackage.Registry.INSTANCE.getEPackage(RulesPackage.eNS_URI);
    // Create type parameters
    // Set bounds for type parameters
    // Add supertypes to classes
    columnsCompareIndicatorEClass.getESuperTypes().add(theIndicatorsPackage.getMatchingIndicator());
    valueMatchingIndicatorEClass.getESuperTypes().add(this.getColumnsCompareIndicator());
    rowMatchingIndicatorEClass.getESuperTypes().add(this.getColumnsCompareIndicator());
    columnSetMultiValueIndicatorEClass.getESuperTypes().add(theIndicatorsPackage.getCompositeIndicator());
    allMatchIndicatorEClass.getESuperTypes().add(this.getColumnSetMultiValueIndicator());
    allMatchIndicatorEClass.getESuperTypes().add(theIndicatorsPackage.getRegexpMatchingIndicator());
    countAvgNullIndicatorEClass.getESuperTypes().add(this.getColumnSetMultiValueIndicator());
    minMaxDateIndicatorEClass.getESuperTypes().add(this.getColumnSetMultiValueIndicator());
    weakCorrelationIndicatorEClass.getESuperTypes().add(this.getColumnSetMultiValueIndicator());
    columnDependencyIndicatorEClass.getESuperTypes().add(theIndicatorsPackage.getIndicator());
    simpleStatIndicatorEClass.getESuperTypes().add(this.getColumnSetMultiValueIndicator());
    blockKeyIndicatorEClass.getESuperTypes().add(this.getColumnSetMultiValueIndicator());
    recordMatchingIndicatorEClass.getESuperTypes().add(this.getColumnSetMultiValueIndicator());
    // Initialize classes and features; add operations and parameters
    initEClass(columnsCompareIndicatorEClass, ColumnsCompareIndicator.class, "ColumnsCompareIndicator", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getColumnsCompareIndicator_ColumnSetA(), theRelationalPackage.getTdColumn(), null, "columnSetA", null, 0, -1, ColumnsCompareIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getColumnsCompareIndicator_ColumnSetB(), theRelationalPackage.getTdColumn(), null, "columnSetB", null, 0, -1, ColumnsCompareIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(valueMatchingIndicatorEClass, ValueMatchingIndicator.class, "ValueMatchingIndicator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEClass(rowMatchingIndicatorEClass, RowMatchingIndicator.class, "RowMatchingIndicator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEClass(columnSetMultiValueIndicatorEClass, ColumnSetMultiValueIndicator.class, "ColumnSetMultiValueIndicator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getColumnSetMultiValueIndicator_AnalyzedColumns(), theCorePackage.getModelElement(), null, "analyzedColumns", null, 0, -1, ColumnSetMultiValueIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getColumnSetMultiValueIndicator_ListRows(), theIndicatorsPackage.getObjectArray(), "listRows", null, 0, 1, ColumnSetMultiValueIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getColumnSetMultiValueIndicator_NumericFunctions(), ecorePackage.getEString(), "numericFunctions", null, 0, -1, ColumnSetMultiValueIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getColumnSetMultiValueIndicator_NominalColumns(), theCorePackage.getModelElement(), null, "nominalColumns", null, 0, -1, ColumnSetMultiValueIndicator.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getColumnSetMultiValueIndicator_NumericColumns(), theCorePackage.getModelElement(), null, "numericColumns", null, 0, -1, ColumnSetMultiValueIndicator.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getColumnSetMultiValueIndicator_ColumnHeaders(), ecorePackage.getEString(), "columnHeaders", null, 0, -1, ColumnSetMultiValueIndicator.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getColumnSetMultiValueIndicator_DateFunctions(), ecorePackage.getEString(), "dateFunctions", null, 0, -1, ColumnSetMultiValueIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getColumnSetMultiValueIndicator_DateColumns(), theCorePackage.getModelElement(), null, "dateColumns", null, 0, -1, ColumnSetMultiValueIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getColumnSetMultiValueIndicator_UniqueCount(), ecorePackage.getELongObject(), "uniqueCount", null, 0, 1, ColumnSetMultiValueIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getColumnSetMultiValueIndicator_DistinctCount(), ecorePackage.getELongObject(), "distinctCount", null, 0, 1, ColumnSetMultiValueIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getColumnSetMultiValueIndicator_DuplicateCount(), ecorePackage.getELongObject(), "duplicateCount", null, 0, 1, ColumnSetMultiValueIndicator.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getColumnSetMultiValueIndicator_RowCountIndicator(), theIndicatorsPackage.getRowCountIndicator(), null, "rowCountIndicator", null, 0, 1, ColumnSetMultiValueIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getColumnSetMultiValueIndicator_UniqueCountIndicator(), theIndicatorsPackage.getUniqueCountIndicator(), null, "uniqueCountIndicator", null, 0, 1, ColumnSetMultiValueIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getColumnSetMultiValueIndicator_DistinctCountIndicator(), theIndicatorsPackage.getDistinctCountIndicator(), null, "distinctCountIndicator", null, 0, 1, ColumnSetMultiValueIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getColumnSetMultiValueIndicator_DuplicateCountIndicator(), theIndicatorsPackage.getDuplicateCountIndicator(), null, "duplicateCountIndicator", null, 0, 1, ColumnSetMultiValueIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(allMatchIndicatorEClass, AllMatchIndicator.class, "AllMatchIndicator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getAllMatchIndicator_CompositeRegexMatchingIndicators(), theIndicatorsPackage.getRegexpMatchingIndicator(), null, "compositeRegexMatchingIndicators", null, 0, -1, AllMatchIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(countAvgNullIndicatorEClass, CountAvgNullIndicator.class, "CountAvgNullIndicator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEClass(minMaxDateIndicatorEClass, MinMaxDateIndicator.class, "MinMaxDateIndicator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEClass(weakCorrelationIndicatorEClass, WeakCorrelationIndicator.class, "WeakCorrelationIndicator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEClass(columnDependencyIndicatorEClass, ColumnDependencyIndicator.class, "ColumnDependencyIndicator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getColumnDependencyIndicator_ColumnA(), theRelationalPackage.getTdColumn(), null, "columnA", null, 0, 1, ColumnDependencyIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getColumnDependencyIndicator_ColumnB(), theRelationalPackage.getTdColumn(), null, "columnB", null, 0, 1, ColumnDependencyIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getColumnDependencyIndicator_ACount(), ecorePackage.getELongObject(), "aCount", null, 0, 1, ColumnDependencyIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getColumnDependencyIndicator_DistinctACount(), ecorePackage.getELongObject(), "distinctACount", null, 0, 1, ColumnDependencyIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getColumnDependencyIndicator_DependencyFactor(), ecorePackage.getEDoubleObject(), "dependencyFactor", null, 0, 1, ColumnDependencyIndicator.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(simpleStatIndicatorEClass, SimpleStatIndicator.class, "SimpleStatIndicator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEClass(blockKeyIndicatorEClass, BlockKeyIndicator.class, "BlockKeyIndicator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getBlockKeyIndicator_BlockSize2frequency(), theIndicatorsPackage.getJavaTreeMap(), "blockSize2frequency", null, 0, 1, BlockKeyIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(recordMatchingIndicatorEClass, RecordMatchingIndicator.class, "RecordMatchingIndicator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getRecordMatchingIndicator_GroupSize2groupFrequency(), theIndicatorsPackage.getJavaTreeMap(), "groupSize2groupFrequency", null, 0, 1, RecordMatchingIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getRecordMatchingIndicator_MatchedRecordCount(), theEcorePackage.getELong(), "matchedRecordCount", null, 0, 1, RecordMatchingIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getRecordMatchingIndicator_SuspectRecordCount(), theEcorePackage.getELong(), "suspectRecordCount", null, 0, 1, RecordMatchingIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getRecordMatchingIndicator_BuiltInMatchRuleDefinition(), theRulesPackage.getMatchRuleDefinition(), null, "builtInMatchRuleDefinition", null, 0, 1, RecordMatchingIndicator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    // Initialize data types
    initEDataType(listObjectEDataType, List.class, "ListObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS, "java.util.List<Object>");
    // Create annotations
    // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
    createExtendedMetaDataAnnotations();
}
Also used : RelationalPackage(org.talend.cwm.relational.RelationalPackage) RulesPackage(org.talend.dataquality.rules.RulesPackage) CorePackage(orgomg.cwm.objectmodel.core.CorePackage) EcorePackage(org.eclipse.emf.ecore.EcorePackage) IndicatorsPackage(org.talend.dataquality.indicators.IndicatorsPackage)

Example 2 with RelationalPackage

use of org.talend.cwm.relational.RelationalPackage in project tdq-studio-se by Talend.

the class UserdefinePackageImpl method initializePackageContents.

/**
 * 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
    DefinitionPackage theDefinitionPackage = (DefinitionPackage) EPackage.Registry.INSTANCE.getEPackage(DefinitionPackage.eNS_URI);
    RelationalPackage theRelationalPackage = (RelationalPackage) EPackage.Registry.INSTANCE.getEPackage(RelationalPackage.eNS_URI);
    // Create type parameters
    // Set bounds for type parameters
    // Add supertypes to classes
    udIndicatorDefinitionEClass.getESuperTypes().add(theDefinitionPackage.getIndicatorDefinition());
    // Initialize classes and features; add operations and parameters
    initEClass(udIndicatorDefinitionEClass, UDIndicatorDefinition.class, "UDIndicatorDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getUDIndicatorDefinition_ViewInvalidRowsExpression(), theRelationalPackage.getTdExpression(), null, "viewInvalidRowsExpression", null, 0, -1, UDIndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getUDIndicatorDefinition_ViewValidRowsExpression(), theRelationalPackage.getTdExpression(), null, "viewValidRowsExpression", null, 0, -1, UDIndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getUDIndicatorDefinition_ViewInvalidValuesExpression(), theRelationalPackage.getTdExpression(), null, "viewInvalidValuesExpression", null, 0, -1, UDIndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getUDIndicatorDefinition_ViewValidValuesExpression(), theRelationalPackage.getTdExpression(), null, "viewValidValuesExpression", null, 0, -1, UDIndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getUDIndicatorDefinition_ViewRowsExpression(), theRelationalPackage.getTdExpression(), null, "viewRowsExpression", null, 0, -1, UDIndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
}
Also used : RelationalPackage(org.talend.cwm.relational.RelationalPackage) DefinitionPackage(org.talend.dataquality.indicators.definition.DefinitionPackage)

Example 3 with RelationalPackage

use of org.talend.cwm.relational.RelationalPackage in project tdq-studio-se by Talend.

the class DefinitionPackageImpl method initializePackageContents.

/**
 * 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
    UserdefinePackage theUserdefinePackage = (UserdefinePackage) EPackage.Registry.INSTANCE.getEPackage(UserdefinePackage.eNS_URI);
    CorePackage theCorePackage = (CorePackage) EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
    RelationalPackage theRelationalPackage = (RelationalPackage) EPackage.Registry.INSTANCE.getEPackage(RelationalPackage.eNS_URI);
    ModelPackage theModelPackage = (ModelPackage) EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI);
    // Add subpackages
    getESubpackages().add(theUserdefinePackage);
    // Create type parameters
    // Set bounds for type parameters
    // Add supertypes to classes
    indicatorsDefinitionsEClass.getESuperTypes().add(theCorePackage.getModelElement());
    indicatorDefinitionEClass.getESuperTypes().add(theCorePackage.getModelElement());
    indicatorCategoryEClass.getESuperTypes().add(theCorePackage.getModelElement());
    charactersMappingEClass.getESuperTypes().add(theCorePackage.getModelElement());
    indicatorDefinitionParameterEClass.getESuperTypes().add(theModelPackage.getModelElement());
    // Initialize classes and features; add operations and parameters
    initEClass(indicatorsDefinitionsEClass, IndicatorsDefinitions.class, "IndicatorsDefinitions", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getIndicatorsDefinitions_IndicatorDefinitions(), this.getIndicatorDefinition(), null, "indicatorDefinitions", null, 0, -1, IndicatorsDefinitions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getIndicatorsDefinitions_Categories(), this.getIndicatorCategory(), null, "categories", null, 0, -1, IndicatorsDefinitions.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(indicatorDefinitionEClass, IndicatorDefinition.class, "IndicatorDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getIndicatorDefinition_Categories(), this.getIndicatorCategory(), null, "categories", null, 0, -1, IndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getIndicatorDefinition_AggregatedDefinitions(), this.getIndicatorDefinition(), null, "aggregatedDefinitions", null, 0, -1, IndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getIndicatorDefinition_Label(), ecorePackage.getEString(), "label", null, 0, 1, IndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getIndicatorDefinition_SubCategories(), this.getIndicatorCategory(), null, "subCategories", null, 0, -1, IndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getIndicatorDefinition_SqlGenericExpression(), theRelationalPackage.getTdExpression(), null, "sqlGenericExpression", null, 0, -1, IndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getIndicatorDefinition_Aggregate1argFunctions(), theRelationalPackage.getTdExpression(), null, "aggregate1argFunctions", null, 0, -1, IndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getIndicatorDefinition_Date1argFunctions(), theRelationalPackage.getTdExpression(), null, "date1argFunctions", null, 0, -1, IndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getIndicatorDefinition_CharactersMapping(), this.getCharactersMapping(), null, "charactersMapping", null, 0, -1, IndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getIndicatorDefinition_IndicatorDefinitionParameter(), this.getIndicatorDefinitionParameter(), null, "indicatorDefinitionParameter", null, 0, -1, IndicatorDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(indicatorCategoryEClass, IndicatorCategory.class, "IndicatorCategory", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getIndicatorCategory_Label(), ecorePackage.getEString(), "label", null, 0, 1, IndicatorCategory.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(charactersMappingEClass, CharactersMapping.class, "CharactersMapping", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getCharactersMapping_Language(), theCorePackage.getName_(), "language", null, 0, 1, CharactersMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getCharactersMapping_CharactersToReplace(), theCorePackage.getString(), "charactersToReplace", null, 0, 1, CharactersMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getCharactersMapping_ReplacementCharacters(), theCorePackage.getString(), "replacementCharacters", null, 0, 1, CharactersMapping.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(indicatorDefinitionParameterEClass, IndicatorDefinitionParameter.class, "IndicatorDefinitionParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getIndicatorDefinitionParameter_Key(), ecorePackage.getEString(), "key", null, 0, 1, IndicatorDefinitionParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getIndicatorDefinitionParameter_Value(), ecorePackage.getEString(), "value", null, 0, 1, IndicatorDefinitionParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
}
Also used : UserdefinePackage(org.talend.dataquality.indicators.definition.userdefine.UserdefinePackage) RelationalPackage(org.talend.cwm.relational.RelationalPackage) CorePackage(orgomg.cwm.objectmodel.core.CorePackage) ModelPackage(orgomg.mof.model.ModelPackage)

Example 4 with RelationalPackage

use of org.talend.cwm.relational.RelationalPackage in project tdq-studio-se by Talend.

the class RulesPackageImpl method initializePackageContents.

/**
 * 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
    DefinitionPackage theDefinitionPackage = (DefinitionPackage) EPackage.Registry.INSTANCE.getEPackage(DefinitionPackage.eNS_URI);
    CorePackage theCorePackage = (CorePackage) EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
    XMLTypePackage theXMLTypePackage = (XMLTypePackage) EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
    RelationalPackage theRelationalPackage = (RelationalPackage) EPackage.Registry.INSTANCE.getEPackage(RelationalPackage.eNS_URI);
    EcorePackage theEcorePackage = (EcorePackage) EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
    // Create type parameters
    // Set bounds for type parameters
    // Add supertypes to classes
    dqRuleEClass.getESuperTypes().add(theDefinitionPackage.getIndicatorDefinition());
    specifiedDQRuleEClass.getESuperTypes().add(this.getDQRule());
    inferredDQRuleEClass.getESuperTypes().add(this.getDQRule());
    whereRuleEClass.getESuperTypes().add(this.getSpecifiedDQRule());
    parserRuleEClass.getESuperTypes().add(this.getDQRule());
    matchRuleDefinitionEClass.getESuperTypes().add(theDefinitionPackage.getIndicatorDefinition());
    blockKeyDefinitionEClass.getESuperTypes().add(this.getKeyDefinition());
    keyDefinitionEClass.getESuperTypes().add(theCorePackage.getModelElement());
    matchKeyDefinitionEClass.getESuperTypes().add(this.getKeyDefinition());
    matchRuleEClass.getESuperTypes().add(theCorePackage.getModelElement());
    appliedBlockKeyEClass.getESuperTypes().add(this.getKeyDefinition());
    survivorshipKeyDefinitionEClass.getESuperTypes().add(this.getKeyDefinition());
    particularDefaultSurvivorshipDefinitionsEClass.getESuperTypes().add(this.getKeyDefinition());
    particularDefaultSurvivorshipDefinitionsEClass.getESuperTypes().add(this.getDefaultSurvivorshipDefinition());
    // Initialize classes and features; add operations and parameters
    initEClass(dqRuleEClass, DQRule.class, "DQRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getDQRule_CriticalityLevel(), ecorePackage.getEInt(), "criticalityLevel", null, 0, 1, DQRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getDQRule_Elements(), theCorePackage.getModelElement(), null, "elements", null, 0, -1, DQRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(specifiedDQRuleEClass, SpecifiedDQRule.class, "SpecifiedDQRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEClass(inferredDQRuleEClass, InferredDQRule.class, "InferredDQRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEClass(whereRuleEClass, WhereRule.class, "WhereRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getWhereRule_WhereExpression(), ecorePackage.getEString(), "whereExpression", null, 0, 1, WhereRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getWhereRule_JoinExpression(), ecorePackage.getEString(), "joinExpression", null, 0, 1, WhereRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getWhereRule_Joins(), this.getJoinElement(), null, "joins", null, 0, -1, WhereRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(joinElementEClass, JoinElement.class, "JoinElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getJoinElement_ColA(), theCorePackage.getModelElement(), null, "colA", null, 1, 1, JoinElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getJoinElement_ColB(), theCorePackage.getModelElement(), null, "colB", null, 1, 1, JoinElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getJoinElement_Operator(), ecorePackage.getEString(), "operator", null, 0, 1, JoinElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getJoinElement_TableAliasA(), ecorePackage.getEString(), "tableAliasA", null, 0, 1, JoinElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getJoinElement_TableAliasB(), ecorePackage.getEString(), "tableAliasB", null, 0, 1, JoinElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getJoinElement_ColumnAliasA(), ecorePackage.getEString(), "columnAliasA", null, 0, 1, JoinElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getJoinElement_ColumnAliasB(), ecorePackage.getEString(), "columnAliasB", null, 0, 1, JoinElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(parserRuleEClass, ParserRule.class, "ParserRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    EOperation op = addEOperation(parserRuleEClass, theXMLTypePackage.getBoolean(), "addExpression", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theXMLTypePackage.getString(), "name", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theXMLTypePackage.getString(), "type", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theXMLTypePackage.getString(), "value", 0, 1, IS_UNIQUE, IS_ORDERED);
    op = addEOperation(parserRuleEClass, theRelationalPackage.getTdExpression(), "getExpression", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theXMLTypePackage.getString(), "name", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEOperation(parserRuleEClass, this.getTdExpressionList(), "getExpression", 0, 1, IS_UNIQUE, IS_ORDERED);
    initEClass(matchRuleDefinitionEClass, MatchRuleDefinition.class, "MatchRuleDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getMatchRuleDefinition_BlockKeys(), this.getBlockKeyDefinition(), null, "blockKeys", null, 0, -1, MatchRuleDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getMatchRuleDefinition_MatchRules(), this.getMatchRule(), null, "matchRules", null, 0, -1, MatchRuleDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getMatchRuleDefinition_XmiId(), theEcorePackage.getEString(), "xmiId", null, 0, 1, MatchRuleDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getMatchRuleDefinition_RecordLinkageAlgorithm(), theEcorePackage.getEString(), "recordLinkageAlgorithm", null, 0, 1, MatchRuleDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getMatchRuleDefinition_AppliedBlockKeys(), this.getAppliedBlockKey(), null, "appliedBlockKeys", null, 0, -1, MatchRuleDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getMatchRuleDefinition_SurvivorshipKeys(), this.getSurvivorshipKeyDefinition(), null, "survivorshipKeys", null, 0, -1, MatchRuleDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getMatchRuleDefinition_DefaultSurvivorshipDefinitions(), this.getDefaultSurvivorshipDefinition(), null, "defaultSurvivorshipDefinitions", null, 0, -1, MatchRuleDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getMatchRuleDefinition_MatchGroupQualityThreshold(), theEcorePackage.getEDouble(), "matchGroupQualityThreshold", null, 0, 1, MatchRuleDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getMatchRuleDefinition_ParticularDefaultSurvivorshipDefinitions(), this.getParticularDefaultSurvivorshipDefinitions(), null, "particularDefaultSurvivorshipDefinitions", null, 0, -1, MatchRuleDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(blockKeyDefinitionEClass, BlockKeyDefinition.class, "BlockKeyDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getBlockKeyDefinition_PreAlgorithm(), this.getAlgorithmDefinition(), null, "preAlgorithm", null, 0, 1, BlockKeyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getBlockKeyDefinition_Algorithm(), this.getAlgorithmDefinition(), null, "algorithm", null, 0, 1, BlockKeyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getBlockKeyDefinition_PostAlgorithm(), this.getAlgorithmDefinition(), null, "postAlgorithm", null, 0, 1, BlockKeyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(keyDefinitionEClass, KeyDefinition.class, "KeyDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getKeyDefinition_Column(), theEcorePackage.getEString(), "column", null, 0, 1, KeyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(matchKeyDefinitionEClass, MatchKeyDefinition.class, "MatchKeyDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getMatchKeyDefinition_Algorithm(), this.getAlgorithmDefinition(), null, "algorithm", null, 0, 1, MatchKeyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getMatchKeyDefinition_ConfidenceWeight(), theEcorePackage.getEInt(), "confidenceWeight", null, 0, 1, MatchKeyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getMatchKeyDefinition_HandleNull(), theEcorePackage.getEString(), "handleNull", null, 0, 1, MatchKeyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getMatchKeyDefinition_Threshold(), theEcorePackage.getEDouble(), "threshold", null, 0, 1, MatchKeyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getMatchKeyDefinition_TokenizationType(), theEcorePackage.getEString(), "tokenizationType", "", 0, 1, MatchKeyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(algorithmDefinitionEClass, AlgorithmDefinition.class, "AlgorithmDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getAlgorithmDefinition_AlgorithmType(), theEcorePackage.getEString(), "algorithmType", null, 0, 1, AlgorithmDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getAlgorithmDefinition_AlgorithmParameters(), theEcorePackage.getEString(), "algorithmParameters", null, 0, 1, AlgorithmDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(matchRuleEClass, MatchRule.class, "MatchRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getMatchRule_MatchKeys(), this.getMatchKeyDefinition(), null, "matchKeys", null, 0, -1, MatchRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getMatchRule_MatchInterval(), theEcorePackage.getEDouble(), "matchInterval", null, 0, 1, MatchRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(appliedBlockKeyEClass, AppliedBlockKey.class, "AppliedBlockKey", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEClass(survivorshipKeyDefinitionEClass, SurvivorshipKeyDefinition.class, "SurvivorshipKeyDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getSurvivorshipKeyDefinition_Function(), this.getAlgorithmDefinition(), null, "function", null, 0, 1, SurvivorshipKeyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getSurvivorshipKeyDefinition_AllowManualResolution(), theEcorePackage.getEBoolean(), "allowManualResolution", null, 0, 1, SurvivorshipKeyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(defaultSurvivorshipDefinitionEClass, DefaultSurvivorshipDefinition.class, "DefaultSurvivorshipDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getDefaultSurvivorshipDefinition_DataType(), theEcorePackage.getEString(), "dataType", null, 0, 1, DefaultSurvivorshipDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getDefaultSurvivorshipDefinition_Function(), this.getAlgorithmDefinition(), null, "function", null, 0, 1, DefaultSurvivorshipDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(particularDefaultSurvivorshipDefinitionsEClass, ParticularDefaultSurvivorshipDefinitions.class, "ParticularDefaultSurvivorshipDefinitions", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    // Initialize data types
    initEDataType(tdExpressionListEDataType, List.class, "TdExpressionList", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS, "java.util.List<org.talend.cwm.relational.TdExpression>");
    // Create resource
    createResource(eNS_URI);
}
Also used : RelationalPackage(org.talend.cwm.relational.RelationalPackage) DefinitionPackage(org.talend.dataquality.indicators.definition.DefinitionPackage) CorePackage(orgomg.cwm.objectmodel.core.CorePackage) EcorePackage(org.eclipse.emf.ecore.EcorePackage) EOperation(org.eclipse.emf.ecore.EOperation) XMLTypePackage(org.eclipse.emf.ecore.xml.type.XMLTypePackage)

Example 5 with RelationalPackage

use of org.talend.cwm.relational.RelationalPackage in project tdq-studio-se by Talend.

the class PatternPackageImpl method initializePackageContents.

/**
 * 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
    CorePackage theCorePackage = (CorePackage) EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
    RelationalPackage theRelationalPackage = (RelationalPackage) EPackage.Registry.INSTANCE.getEPackage(RelationalPackage.eNS_URI);
    // Create type parameters
    // Set bounds for type parameters
    // Add supertypes to classes
    patternEClass.getESuperTypes().add(theCorePackage.getModelElement());
    regularExpressionEClass.getESuperTypes().add(this.getPatternComponent());
    attributeReferenceEClass.getESuperTypes().add(this.getPatternComponent());
    componentReferenceEClass.getESuperTypes().add(this.getPatternComponent());
    // Initialize classes and features; add operations and parameters
    initEClass(patternEClass, Pattern.class, "Pattern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getPattern_Components(), this.getPatternComponent(), null, "components", null, 0, -1, Pattern.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(patternComponentEClass, PatternComponent.class, "PatternComponent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEClass(regularExpressionEClass, RegularExpression.class, "RegularExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getRegularExpression_Expression(), theRelationalPackage.getTdExpression(), null, "expression", null, 0, 1, RegularExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getRegularExpression_ExpressionType(), ecorePackage.getEString(), "expressionType", null, 0, 1, RegularExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(attributeReferenceEClass, AttributeReference.class, "AttributeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getAttributeReference_ReferencedAttribute(), theCorePackage.getAttribute(), null, "referencedAttribute", null, 0, 1, AttributeReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(componentReferenceEClass, ComponentReference.class, "ComponentReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getComponentReference_ReferencedComponent(), this.getPatternComponent(), null, "referencedComponent", null, 0, 1, ComponentReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    // Initialize enums and add enum literals
    initEEnum(expressionTypeEEnum, ExpressionType.class, "ExpressionType");
    addEEnumLiteral(expressionTypeEEnum, ExpressionType.REGEXP);
    addEEnumLiteral(expressionTypeEEnum, ExpressionType.SQL_LIKE);
}
Also used : RelationalPackage(org.talend.cwm.relational.RelationalPackage) CorePackage(orgomg.cwm.objectmodel.core.CorePackage)

Aggregations

RelationalPackage (org.talend.cwm.relational.RelationalPackage)5 CorePackage (orgomg.cwm.objectmodel.core.CorePackage)4 EcorePackage (org.eclipse.emf.ecore.EcorePackage)2 DefinitionPackage (org.talend.dataquality.indicators.definition.DefinitionPackage)2 EOperation (org.eclipse.emf.ecore.EOperation)1 XMLTypePackage (org.eclipse.emf.ecore.xml.type.XMLTypePackage)1 IndicatorsPackage (org.talend.dataquality.indicators.IndicatorsPackage)1 UserdefinePackage (org.talend.dataquality.indicators.definition.userdefine.UserdefinePackage)1 RulesPackage (org.talend.dataquality.rules.RulesPackage)1 ModelPackage (orgomg.mof.model.ModelPackage)1