Class CSVExportConfigurationSpec
java.lang.Object
com.orchestranetworks.addon.dex.configuration.FileExportConfigurationSpec
com.orchestranetworks.addon.dex.configuration.CSVExportConfigurationSpec
- All Implemented Interfaces:
 ConfigurationSpec<EBXTable>,ExportConfigurationSpec<EBXTable>
Specifies the configuration used when exporting data to a CSV file.
- Since:
 - 2.3.0
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCSVExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, TableFilter tableFilter, com.orchestranetworks.service.Session session) CSVExportConfigurationSpec(EBXTable sourceTable, TableFilter tableFilter, com.orchestranetworks.service.Session session) CSVExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext)  - 
Method Summary
Modifier and TypeMethodDescriptionReturns a map of date time patterns andFieldinstance as the key parameter.Returns the character used to mark the beginning and end of a cell in the CSV file.Returns the character encoding to use.Returns the locale and the corresponding number format policy used in the exported file.Returns the separator character.Returns the separator character to use for value lists.Returns the service type.Returns a map of table filters andEBXTableinstance as the key parameter.Returns the list of source tables.booleanReturnstrueif the delimiter is only used for string data types.booleanReturnstrueif the exported file will contain an information column with the label of the enumeration.booleanReturnstrueif the exported file contains an information column with the foreign key label.booleanReturnstrueif the language and corresponding number format policy are applied.booleanReturnstrueif the exported file contains an information column with the primary key label.voidsetDateTimePatterns(Map<Field, String> dateTimePatterns) Sets a map of date time patterns andFieldinstance as the key parameter.voidsetDelimiter(String delimiter) Sets the character is used to mark the beginning and end of a cell in the CSV file.voidsetDelimiterUsedForOnlyString(boolean delimiterUsedForOnlyString) Sets whether the delimiter is only used for string data types.voidsetEnumerationLabelExported(boolean enumerationLabelExported) Sets whether the exported file will contain an information column with the label of the enumeration.voidsetFileEncoding(String fileEncoding) Sets the character encoding to use.voidsetForeignKeyLabelExported(boolean foreignKeyLabelExported) Sets whether the exported file contains an information column with the foreign key label.voidsetLocaleForNumberFormat(Locale localeForFormattingNumbers) Sets the locale and the corresponding number format policy used in the exported file.voidsetLocaleForNumberFormatUsed(boolean localeForFormattingNumbersUsed) Sets whether the language and corresponding number format policy are applied.voidsetPrimaryKeyLabelExported(boolean primaryKeyLabelExported) Sets whether the exported file contains an information column with the label of the primary key.voidsetSeparator(String separator) Sets the separator character.voidsetSeparatorUsedForValuesList(String separatorUsedForValuesList) Sets the separator character to use for value lists.Methods inherited from class com.orchestranetworks.addon.dex.configuration.FileExportConfigurationSpec
getCurrentDataset, getCurrentTable, getLocale, getSession, isComputedValueIncluded, isDataFromReferencedTablesExported, isDataReferencingSelectedRecordExported, isHeaderExported, isWriteAccessLockDisabled, setComputedValueIncluded, setDataFromReferencedTablesExported, setDataReferencingSelectedRecordExported, setHeaderExported, setLocale, setWriteAccessLockDisabled 
- 
Constructor Details
- 
CSVExportConfigurationSpec
public CSVExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext) throws DataExchangeException - Throws:
 DataExchangeException
 - 
CSVExportConfigurationSpec
public CSVExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, TableFilter tableFilter, com.orchestranetworks.service.Session session) throws DataExchangeException - Throws:
 DataExchangeException
 - 
CSVExportConfigurationSpec
public CSVExportConfigurationSpec(EBXTable sourceTable, TableFilter tableFilter, com.orchestranetworks.service.Session session) throws DataExchangeException - Throws:
 DataExchangeException
 
 - 
 - 
Method Details
- 
getServiceType
Returns the service type. - 
getSeparator
Returns the separator character. - 
setSeparator
Sets the separator character. - 
getSeparatorUsedForValuesList
Returns the separator character to use for value lists. - 
setSeparatorUsedForValuesList
Sets the separator character to use for value lists. - 
getFileEncoding
Returns the character encoding to use. - 
setFileEncoding
Sets the character encoding to use. - 
getDelimiter
Returns the character used to mark the beginning and end of a cell in the CSV file. - 
setDelimiter
Sets the character is used to mark the beginning and end of a cell in the CSV file. - 
isDelimiterUsedForOnlyString
public boolean isDelimiterUsedForOnlyString()Returnstrueif the delimiter is only used for string data types. - 
setDelimiterUsedForOnlyString
public void setDelimiterUsedForOnlyString(boolean delimiterUsedForOnlyString) Sets whether the delimiter is only used for string data types. - 
isPrimaryKeyLabelExported
public boolean isPrimaryKeyLabelExported()Returnstrueif the exported file contains an information column with the primary key label. - 
setPrimaryKeyLabelExported
public void setPrimaryKeyLabelExported(boolean primaryKeyLabelExported) Sets whether the exported file contains an information column with the label of the primary key. - 
isForeignKeyLabelExported
public boolean isForeignKeyLabelExported()Returnstrueif the exported file contains an information column with the foreign key label. - 
setForeignKeyLabelExported
public void setForeignKeyLabelExported(boolean foreignKeyLabelExported) Sets whether the exported file contains an information column with the foreign key label. - 
isLocaleForNumberFormatUsed
public boolean isLocaleForNumberFormatUsed()Returnstrueif the language and corresponding number format policy are applied. - 
setLocaleForNumberFormatUsed
public void setLocaleForNumberFormatUsed(boolean localeForFormattingNumbersUsed) Sets whether the language and corresponding number format policy are applied. - 
getLocaleForNumberFormat
Returns the locale and the corresponding number format policy used in the exported file. - 
setLocaleForNumberFormat
Sets the locale and the corresponding number format policy used in the exported file. - 
getDateTimePatterns
Returns a map of date time patterns andFieldinstance as the key parameter. - 
setDateTimePatterns
Sets a map of date time patterns andFieldinstance as the key parameter. - 
getSourceTables
Returns the list of source tables. - 
getSourceTableFilters
Returns a map of table filters andEBXTableinstance as the key parameter. Returnsnullwhen importing CSV, Excel or XML. - 
isEnumerationLabelExported
public boolean isEnumerationLabelExported()Returnstrueif the exported file will contain an information column with the label of the enumeration.- Since:
 - 2.6.3
 
 - 
setEnumerationLabelExported
public void setEnumerationLabelExported(boolean enumerationLabelExported) Sets whether the exported file will contain an information column with the label of the enumeration.- Since:
 - 2.6.3
 
 
 -