public final class DataExchangeExportTableSpecBuilder extends Object
ApplicationMappingHelper
APIs to automatically
generate an application mapping.Constructor and Description |
---|
DataExchangeExportTableSpecBuilder(com.onwbp.adaptation.Adaptation sourceDataset,
ApplicationType targetApplicationType,
com.orchestranetworks.service.Session session) |
Modifier and Type | Method and Description |
---|---|
DataExchangeExportTableSpec |
build()
Builds the instance of
DataExchangeExportTableSpec . |
DataExchangeExportTableSpecBuilder |
setTableContent(com.onwbp.adaptation.Adaptation record)
Specifies the record to be exported.
|
DataExchangeExportTableSpecBuilder |
setTableContent(com.onwbp.adaptation.AdaptationTable adaptationTable)
Specifies the table to be exported.
|
DataExchangeExportTableSpecBuilder |
setTableContent(com.onwbp.adaptation.AdaptationTable adaptationTable,
TableFilter tableFilter)
Specifies the table to be exported with filter.
|
DataExchangeExportTableSpecBuilder |
setTableContent(List<com.onwbp.adaptation.Adaptation> records)
Specifies the list of records in the same table to be exported.
|
public DataExchangeExportTableSpecBuilder(com.onwbp.adaptation.Adaptation sourceDataset, ApplicationType targetApplicationType, com.orchestranetworks.service.Session session)
public DataExchangeExportTableSpecBuilder setTableContent(com.onwbp.adaptation.AdaptationTable adaptationTable) throws DataExchangeException
adaptationTable
- the exported table.DataExchangeException
- Either the table has already been added
or the target application type doesn't support more than one exported table.public DataExchangeExportTableSpecBuilder setTableContent(com.onwbp.adaptation.AdaptationTable adaptationTable, TableFilter tableFilter) throws DataExchangeException
adaptationTable
- the exported table.tableFilter
- the filter table.DataExchangeException
- Either the table has already been added
or the target application type doesn't support more than one exported table.public DataExchangeExportTableSpecBuilder setTableContent(com.onwbp.adaptation.Adaptation record) throws DataExchangeException
record
- the exported record.DataExchangeException
- Either the record's table has already been added
or the target application type doesn't support more than one exported table.public DataExchangeExportTableSpecBuilder setTableContent(List<com.onwbp.adaptation.Adaptation> records) throws DataExchangeException
records
- the exported records.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.public DataExchangeExportTableSpec build() throws DataExchangeException
DataExchangeExportTableSpec
.DataExchangeException