Class XMLImportConfigurationSpec
- java.lang.Object
-
- com.orchestranetworks.addon.dex.configuration.FileImportConfigurationSpec<XMLTable>
-
- com.orchestranetworks.addon.dex.configuration.XMLImportConfigurationSpec
-
- All Implemented Interfaces:
ConfigurationSpec<XMLTable>,ImportConfigurationSpec<XMLTable>
public final class XMLImportConfigurationSpec extends FileImportConfigurationSpec<XMLTable>
Specifies the configuration used to import data from an XML file.- Since:
- 2.3.0
-
-
Constructor Summary
Constructors Constructor Description XMLImportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, XMLTable sourceTable, com.orchestranetworks.service.Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.onwbp.adaptation.AdaptationgetCurrentDataset()Returns the current dataset.com.onwbp.adaptation.AdaptationTablegetCurrentTable()Returns the current table.ServiceTypegetServiceType()Returns the service type.com.orchestranetworks.service.SessiongetSession()Returns the current session.java.util.Map<XMLTable,TableFilter>getSourceTableFilters()Returns a map of table filters and aTableinstance as the key parameter.java.util.List<XMLTable>getSourceTables()Returns the list of source tables.-
Methods inherited from class com.orchestranetworks.addon.dex.configuration.FileImportConfigurationSpec
getErrorFilePath, getImportedFile, getImportMode, isEmptyOrNullPrimaryKeyChecked, isEmptyOrNullValueIgnored, isHeaderUsed, isImportForced, isInvalidDataDownloaded, setEmptyOrNullPrimaryKeyChecked, setEmptyOrNullValueIgnored, setErrorFilePath, setHeaderUsed, setImportedFile, setImportForced, setImportMode, setInvalidDataDownloaded
-
-
-
-
Constructor Detail
-
XMLImportConfigurationSpec
public XMLImportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, XMLTable sourceTable, com.orchestranetworks.service.Session session) throws DataExchangeException- Throws:
DataExchangeException
-
-
Method Detail
-
getServiceType
public ServiceType getServiceType()
Returns the service type.
-
getCurrentDataset
public com.onwbp.adaptation.Adaptation getCurrentDataset()
Returns the current dataset.
-
getCurrentTable
public com.onwbp.adaptation.AdaptationTable getCurrentTable()
Returns the current table.
-
getSession
public com.orchestranetworks.service.Session getSession()
Returns the current session.
-
getSourceTables
public java.util.List<XMLTable> getSourceTables()
Returns the list of source tables.
-
getSourceTableFilters
public java.util.Map<XMLTable,TableFilter> getSourceTableFilters()
Returns a map of table filters and aTableinstance as the key parameter. Returnsnullwhen importing CSV, Excel and XML.
-
-