Package com.orchestranetworks.addon.dex
Class DataExchangeExportTableSpecBuilder
java.lang.Object
com.orchestranetworks.addon.dex.DataExchangeExportTableSpecBuilder
Provides the methods to build the {addon.label} specification for the export
table by using
ApplicationMappingHelper APIs to automatically
generate an application mapping.- Since:
- 2.5.0
-
Constructor Summary
ConstructorsConstructorDescriptionDataExchangeExportTableSpecBuilder(com.onwbp.adaptation.Adaptation sourceDataset, ApplicationType targetApplicationType, com.orchestranetworks.service.Session session) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the instance ofDataExchangeExportTableSpec.setTableContent(com.onwbp.adaptation.Adaptation record) Specifies the record to be exported.setTableContent(com.onwbp.adaptation.AdaptationTable adaptationTable) Specifies the table to be exported.setTableContent(com.onwbp.adaptation.AdaptationTable adaptationTable, TableFilter tableFilter) Specifies the table to be exported with filter.setTableContent(List<com.onwbp.adaptation.Adaptation> records) Specifies the list of records in the same table to be exported.
-
Constructor Details
-
DataExchangeExportTableSpecBuilder
public DataExchangeExportTableSpecBuilder(com.onwbp.adaptation.Adaptation sourceDataset, ApplicationType targetApplicationType, com.orchestranetworks.service.Session session)
-
-
Method Details
-
setTableContent
public DataExchangeExportTableSpecBuilder setTableContent(com.onwbp.adaptation.AdaptationTable adaptationTable) throws DataExchangeException Specifies the table to be exported.- Parameters:
adaptationTable- the exported table.- Throws:
DataExchangeException- Either the table has already been added or the target application type doesn't support more than one exported table.
-
setTableContent
public DataExchangeExportTableSpecBuilder setTableContent(com.onwbp.adaptation.AdaptationTable adaptationTable, TableFilter tableFilter) throws DataExchangeException Specifies the table to be exported with filter.- Parameters:
adaptationTable- the exported table.tableFilter- the filter table.- Throws:
DataExchangeException- Either the table has already been added or the target application type doesn't support more than one exported table.
-
setTableContent
public DataExchangeExportTableSpecBuilder setTableContent(com.onwbp.adaptation.Adaptation record) throws DataExchangeException Specifies the record to be exported.- Parameters:
record- the exported record.- Throws:
DataExchangeException- Either the record's table has already been added or the target application type doesn't support more than one exported table.
-
setTableContent
public DataExchangeExportTableSpecBuilder setTableContent(List<com.onwbp.adaptation.Adaptation> records) throws DataExchangeException Specifies the list of records in the same table to be exported.- Parameters:
records- the exported records.- Throws:
DataExchangeException- Either the records' table has already been added or those records don't have the same table or the target application type doesn't support more than one exported table.
-
build
Builds the instance ofDataExchangeExportTableSpec.- Throws:
DataExchangeException
-