Class SQLExportConfigurationSpec

java.lang.Object
com.orchestranetworks.addon.dex.configuration.SQLExportConfigurationSpec
All Implemented Interfaces:
ConfigurationSpec<EBXTable>, ExportConfigurationSpec<EBXTable>

public final class SQLExportConfigurationSpec extends Object implements ExportConfigurationSpec<EBXTable>
Defines the configuration used to export data to an external database.
Since:
2.3.0
  • Constructor Details

  • Method Details

    • isComputedValueIncluded

      public boolean isComputedValueIncluded()
      Returns true if the exported data contains computed values.
      Specified by:
      isComputedValueIncluded in interface ExportConfigurationSpec<EBXTable>
    • setComputedValueIncluded

      public void setComputedValueIncluded(boolean computedValueIncluded)
      Sets whether to include computed values in the exported data.
    • getServiceType

      public ServiceType getServiceType()
      Returns the service type.
      Specified by:
      getServiceType in interface ConfigurationSpec<EBXTable>
    • isWriteAccessLockDisabled

      public boolean isWriteAccessLockDisabled()
      Deprecated.
      Since 3.0.0, the 'Disable write access lock' option was removed from the add-on.
      Always throws exception.
      Specified by:
      isWriteAccessLockDisabled in interface ExportConfigurationSpec<EBXTable>
    • setWriteAccessLockDisabled

      public void setWriteAccessLockDisabled(boolean writeAccessLockDisabled)
      Deprecated.
      Since 3.0.0, the 'Disable write access lock' option was removed from the add-on.
      Always throws exception.
    • getSQLImportMode

      public ImportMode getSQLImportMode()
      Returns the import mode.
    • setSQLImportMode

      public void setSQLImportMode(ImportMode sqlImportMode)
      Sets the import mode.
    • getCurrentDataset

      public com.onwbp.adaptation.Adaptation getCurrentDataset()
      Returns the current dataset.
      Specified by:
      getCurrentDataset in interface ConfigurationSpec<EBXTable>
    • getCurrentTable

      public com.onwbp.adaptation.AdaptationTable getCurrentTable()
      Returns the current table.
      Specified by:
      getCurrentTable in interface ConfigurationSpec<EBXTable>
    • getSession

      public com.orchestranetworks.service.Session getSession()
      Returns the current session.
      Specified by:
      getSession in interface ConfigurationSpec<EBXTable>
    • getSourceTables

      public List<EBXTable> getSourceTables()
      Returns the list of source tables.
      Specified by:
      getSourceTables in interface ConfigurationSpec<EBXTable>
    • getSourceTableFilters

      public Map<EBXTable,TableFilter> getSourceTableFilters()
      Returns a map of table filters and an instance of EBXTable as the key parameter. Returns null when importing CSV, Excel and XML.
      Specified by:
      getSourceTableFilters in interface ConfigurationSpec<EBXTable>
    • getSQLDataSourceName

      public String getSQLDataSourceName()
      Returns the SQL data source name.
    • getFieldMapperDefinitions

      public Map<TableMapping,FieldMapperDefinition> getFieldMapperDefinitions()
      Returns the map of the FieldMapperDefinition implementations and a TableMapping instance as the key parameter.
    • setFieldMapperDefinitions

      public void setFieldMapperDefinitions(Map<TableMapping,FieldMapperDefinition> fieldMapperDefinitions)
      Sets a map of the FieldMapperDefinition implementations and a TableMapping instance as the key parameter.
    • getTablePattern

      public String getTablePattern()
      Returns the specified table naming pattern.
    • setTablePattern

      public void setTablePattern(String tablePattern)
      Sets a table naming pattern.
    • getSchemaName

      public String getSchemaName()
      Returns the the specified schema name.
    • setSchemaName

      public void setSchemaName(String schemaName)
      Sets the the specified schema name.
    • getJNDIDataSource

      public JNDIDataSource getJNDIDataSource()
      Returns the specified JNDI data source for SQL export.
      Since:
      2.5.0