public class ExportConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
private Map<String,String> |
_contentTypesToExport |
private boolean |
_exportNoMultiValuedTable |
private boolean |
_exportOnlyValidatedContent
FULL, CAMELCASE or FIRSTCHAR
|
private String |
_mappingPolicy |
private Map<String,Map<String,String>> |
_mappingSql |
private Map<String,Map<String,String>> |
_reservedWords |
private String |
_separator |
private String |
_tablePrefix |
Constructor and Description |
---|
ExportConfiguration()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
exportNoMultiValuedTable()
Return true if we export no multivalued table
|
boolean |
exportOnlyValidatedContent()
Return true if we export only validated content
|
Map<String,String> |
getContentTypesToExport()
Get the content type to export
|
String |
getMappingPolicy()
Get the mapping policy
|
Map<String,Map<String,String>> |
getMappingSql()
Get the sql mapping
|
Map<String,Map<String,String>> |
getReservedWords()
Get the map of reserved words
|
String |
getSeparator()
Get the separator for multivalued data
|
String |
getTablePrefix()
Get the table prefix
|
void |
setContentTypesToExport(Map<String,String> contentTypesToExport)
Set the content type to export
|
void |
setExportNoMultiValuedTable(boolean exportNoMultiValuedTable)
Set the parameter to export no multivalued table
|
void |
setExportOnlyValidatedContent(boolean onlyValidatedContent)
Set the parameter to export only validated content
|
void |
setMappingPolicy(String mappingPolicy)
Set the mapping policy
|
void |
setMappingSql(Map<String,Map<String,String>> mappingSql)
Set the sql mapping
|
void |
setReservedWords(Map<String,Map<String,String>> reservedWords)
Set the map of reserved words
|
void |
setSeparator(String separator)
Set the separator for multivalued data
|
void |
setTablePrefix(String tablePrefix)
Set the table prefix
|
private String _tablePrefix
private Map<String,String> _contentTypesToExport
private String _mappingPolicy
private boolean _exportOnlyValidatedContent
private boolean _exportNoMultiValuedTable
private String _separator
public ExportConfiguration()
public String getTablePrefix()
public void setTablePrefix(String tablePrefix)
tablePrefix
- the table name prefixpublic Map<String,Map<String,String>> getMappingSql()
public void setMappingSql(Map<String,Map<String,String>> mappingSql)
mappingSql
- the sql mappingpublic Map<String,String> getContentTypesToExport()
public void setContentTypesToExport(Map<String,String> contentTypesToExport)
contentTypesToExport
- the map of content type to exportpublic String getMappingPolicy()
public void setMappingPolicy(String mappingPolicy)
mappingPolicy
- the mapping policypublic boolean exportOnlyValidatedContent()
public void setExportOnlyValidatedContent(boolean onlyValidatedContent)
onlyValidatedContent
- true if you want to export only validated contentpublic boolean exportNoMultiValuedTable()
public void setExportNoMultiValuedTable(boolean exportNoMultiValuedTable)
exportNoMultiValuedTable
- true if you want to export no multivalued tablepublic String getSeparator()
public void setSeparator(String separator)
separator
- the separatorpublic Map<String,Map<String,String>> getReservedWords()