| java.lang.Object com.bm.testsuite.dataloader.CSVInitialDataSet
CSVInitialDataSet | public class CSVInitialDataSet implements InitialDataSet(Code) | | This class creates initial data from a comma separated file.
< Parameters: T - >the type of the entity bean (mapping the table) author: Daniel Wiese author: Istvan Devai author: Peter Doornbosch since: 17.04.2006 |
CSVInitialDataSet | public CSVInitialDataSet(Class<T> entityBeanClass, String csvFileName, boolean isCompressed, boolean useSchemaName, String... propertyMapping)(Code) | | Constructor.
Parameters: entityBeanClass - -the corresponding entity bean class Parameters: propertyMapping - -a string array with the meaning the first column of the cvsfile belongs to the property with the namepropertyMapping[0] Parameters: isCompressed - -true if compressed (zip) Parameters: useSchemaName - the schema name will be used for sql generation Parameters: csvFileName - -the name of the csv file |
CSVInitialDataSet | public CSVInitialDataSet(Class<T> entityBeanClass, String csvFileName, boolean isCompressed, String... propertyMapping)(Code) | | Constructor.
Parameters: entityBeanClass - -the corresponding entity bean class Parameters: propertyMapping - -a string array with the meaning the first column of the csvfile belongs to the property with the namepropertyMapping[0] Parameters: isCompressed - -true if compressed (zip) Parameters: csvFileName - -the name of the csv file |
CSVInitialDataSet | public CSVInitialDataSet(Class<T> entityBeanClass, String csvFileName, String... propertyMapping)(Code) | | Constructor.
Parameters: entityBeanClass - -the corresponding entity bean class Parameters: propertyMapping - -a string array with the meaning the first column of the csvfile belongs to the property with the namepropertyMapping[0] Parameters: csvFileName - -the name of the csv file |
addDateFormat | public CSVInitialDataSet<T> addDateFormat(DateFormats dateFormat)(Code) | | Allows to specify a user specific date format pattern's. The are
processed in the added order.
Parameters: dateFormat - the date format pattern this instance for inlining. |
buildInsertSQL | public String buildInsertSQL()(Code) | | Returns the insert SQL.
the insert SQL |
|
|