Search in sources :

Example 1 with InformationvisualizationPackage

use of orgomg.cwm.analysis.informationvisualization.InformationvisualizationPackage in project tdq-studio-se by Talend.

the class ReportsPackageImpl 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
    InformationreportingPackage theInformationreportingPackage = (InformationreportingPackage) EPackage.Registry.INSTANCE.getEPackage(InformationreportingPackage.eNS_URI);
    AnalysisPackage theAnalysisPackage = (AnalysisPackage) EPackage.Registry.INSTANCE.getEPackage(AnalysisPackage.eNS_URI);
    TalendFilePackage theTalendFilePackage = (TalendFilePackage) EPackage.Registry.INSTANCE.getEPackage(TalendFilePackage.eNS_URI);
    XMLTypePackage theXMLTypePackage = (XMLTypePackage) EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
    CorePackage theCorePackage = (CorePackage) EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
    InformationvisualizationPackage theInformationvisualizationPackage = (InformationvisualizationPackage) EPackage.Registry.INSTANCE.getEPackage(InformationvisualizationPackage.eNS_URI);
    IndicatorsPackage theIndicatorsPackage = (IndicatorsPackage) EPackage.Registry.INSTANCE.getEPackage(IndicatorsPackage.eNS_URI);
    // Create type parameters
    // Set bounds for type parameters
    // Add supertypes to classes
    tdReportEClass.getESuperTypes().add(theInformationreportingPackage.getReport());
    presentationParameterEClass.getESuperTypes().add(theInformationvisualizationPackage.getRendering());
    // Initialize classes and features; add operations and parameters
    initEClass(tdReportEClass, TdReport.class, "TdReport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getTdReport_PresentationParams(), this.getPresentationParameter(), null, "presentationParams", null, 0, -1, TdReport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getTdReport_CreationDate(), ecorePackage.getEDate(), "creationDate", null, 0, 1, TdReport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getTdReport_AnalysisMap(), this.getAnalysisMap(), null, "analysisMap", null, 0, -1, TdReport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getTdReport_OutputReportFolder(), ecorePackage.getEString(), "outputReportFolder", null, 0, 1, TdReport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getTdReport_ExecInformations(), theAnalysisPackage.getExecutionInformations(), null, "ExecInformations", null, 0, 1, TdReport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getTdReport_DateFrom(), ecorePackage.getEString(), "dateFrom", null, 0, 1, TdReport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getTdReport_DateTo(), ecorePackage.getEString(), "dateTo", null, 0, 1, TdReport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getTdReport_Logo(), ecorePackage.getEString(), "logo", "", 0, 1, TdReport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getTdReport_InputJrxml(), ecorePackage.getEString(), "inputJrxml", null, 0, 1, TdReport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getTdReport_ReportType(), ecorePackage.getEString(), "reportType", null, 0, 1, TdReport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getTdReport_Context(), theTalendFilePackage.getContextType(), null, "context", null, 0, -1, TdReport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getTdReport_DefaultContext(), theXMLTypePackage.getString(), "defaultContext", null, 0, 1, TdReport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    EOperation op = addEOperation(tdReportEClass, ecorePackage.getEBoolean(), "addAnalysis", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theAnalysisPackage.getAnalysis(), "analysis", 0, 1, IS_UNIQUE, IS_ORDERED);
    op = addEOperation(tdReportEClass, ecorePackage.getEBoolean(), "removeAnalysis", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theAnalysisPackage.getAnalysis(), "analysis", 0, 1, IS_UNIQUE, IS_ORDERED);
    op = addEOperation(tdReportEClass, ecorePackage.getEBoolean(), "setMustRefresh", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theAnalysisPackage.getAnalysis(), "analysis", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theCorePackage.getBoolean(), "mustRefresh", 0, 1, IS_UNIQUE, IS_ORDERED);
    op = addEOperation(tdReportEClass, ecorePackage.getEBoolean(), "addAnalysis", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theAnalysisPackage.getAnalysis(), "analysis", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theCorePackage.getBoolean(), "mustRefresh", 0, 1, IS_UNIQUE, IS_ORDERED);
    op = addEOperation(tdReportEClass, ecorePackage.getEBoolean(), "mustRefresh", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theAnalysisPackage.getAnalysis(), "analysis", 0, 1, IS_UNIQUE, IS_ORDERED);
    op = addEOperation(tdReportEClass, this.getPresentationParameter(), "setReportPresentationParam", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "type", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "formula", 0, 1, IS_UNIQUE, IS_ORDERED);
    op = addEOperation(tdReportEClass, null, "setReportType", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "reportType", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "jrxmlSource", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theAnalysisPackage.getAnalysis(), "analysis", 0, 1, IS_UNIQUE, IS_ORDERED);
    initEClass(presentationParameterEClass, PresentationParameter.class, "PresentationParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getPresentationParameter_PlotType(), ecorePackage.getEString(), "plotType", null, 0, 1, PresentationParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getPresentationParameter_Indicator(), theIndicatorsPackage.getIndicator(), null, "indicator", null, 0, 1, PresentationParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEClass(analysisMapEClass, AnalysisMap.class, "AnalysisMap", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getAnalysisMap_Analysis(), theAnalysisPackage.getAnalysis(), null, "analysis", null, 0, 1, AnalysisMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getAnalysisMap_MustRefresh(), ecorePackage.getEBoolean(), "mustRefresh", null, 0, 1, AnalysisMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getAnalysisMap_ReportType(), ecorePackage.getEString(), "reportType", null, 0, 1, AnalysisMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEAttribute(getAnalysisMap_JrxmlSource(), ecorePackage.getEString(), "jrxmlSource", null, 0, 1, AnalysisMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    // Create resource
    createResource(eNS_URI);
}
Also used : InformationreportingPackage(orgomg.cwmx.analysis.informationreporting.InformationreportingPackage) InformationvisualizationPackage(orgomg.cwm.analysis.informationvisualization.InformationvisualizationPackage) CorePackage(orgomg.cwm.objectmodel.core.CorePackage) EOperation(org.eclipse.emf.ecore.EOperation) AnalysisPackage(org.talend.dataquality.analysis.AnalysisPackage) XMLTypePackage(org.eclipse.emf.ecore.xml.type.XMLTypePackage) TalendFilePackage(org.talend.designer.core.model.utils.emf.talendfile.TalendFilePackage) IndicatorsPackage(org.talend.dataquality.indicators.IndicatorsPackage)

Aggregations

EOperation (org.eclipse.emf.ecore.EOperation)1 XMLTypePackage (org.eclipse.emf.ecore.xml.type.XMLTypePackage)1 AnalysisPackage (org.talend.dataquality.analysis.AnalysisPackage)1 IndicatorsPackage (org.talend.dataquality.indicators.IndicatorsPackage)1 TalendFilePackage (org.talend.designer.core.model.utils.emf.talendfile.TalendFilePackage)1 InformationvisualizationPackage (orgomg.cwm.analysis.informationvisualization.InformationvisualizationPackage)1 CorePackage (orgomg.cwm.objectmodel.core.CorePackage)1 InformationreportingPackage (orgomg.cwmx.analysis.informationreporting.InformationreportingPackage)1