Package com.orchestranetworks.addon.dex
Class DataExchangeExportTableSpecBuilder
- java.lang.Object
-
- com.orchestranetworks.addon.dex.DataExchangeExportTableSpecBuilder
-
public final class DataExchangeExportTableSpecBuilder extends java.lang.ObjectProvides the methods to build the {addon.label} specification for the export table by usingApplicationMappingHelperAPIs to automatically generate an application mapping.- Since:
- 2.5.0
-
-
Constructor Summary
Constructors Constructor Description DataExchangeExportTableSpecBuilder(com.onwbp.adaptation.Adaptation sourceDataset, ApplicationType targetApplicationType, com.orchestranetworks.service.Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataExchangeExportTableSpecbuild()Builds the instance ofDataExchangeExportTableSpec.DataExchangeExportTableSpecBuildersetTableContent(com.onwbp.adaptation.Adaptation record)Specifies the record to be exported.DataExchangeExportTableSpecBuildersetTableContent(com.onwbp.adaptation.AdaptationTable adaptationTable)Specifies the table to be exported.DataExchangeExportTableSpecBuildersetTableContent(com.onwbp.adaptation.AdaptationTable adaptationTable, TableFilter tableFilter)Specifies the table to be exported with filter.DataExchangeExportTableSpecBuildersetTableContent(java.util.List<com.onwbp.adaptation.Adaptation> records)Specifies the list of records in the same table to be exported.
-
-
-
Constructor Detail
-
DataExchangeExportTableSpecBuilder
public DataExchangeExportTableSpecBuilder(com.onwbp.adaptation.Adaptation sourceDataset, ApplicationType targetApplicationType, com.orchestranetworks.service.Session session)
-
-
Method Detail
-
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(java.util.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
public DataExchangeExportTableSpec build() throws DataExchangeException
Builds the instance ofDataExchangeExportTableSpec.- Throws:
DataExchangeException
-
-