| java.lang.Object org.webdocwf.util.loader.transformation.Transformation
Transformation | public class Transformation (Code) | | Transformation - transformations in Octopus Loader.
|
getName | public String getName()(Code) | | This method returns transformation name
String which represents transformation name |
getOrderedTargetColumnTypes | public Vector getOrderedTargetColumnTypes(int index)(Code) | | Returns Vector with target column types on ordered places, and
add null if in this place logic table is different than specified
Parameters: index - logical table index vector |
getSourceColumnNames | public Vector getSourceColumnNames()(Code) | | Returns Vector with source column names
vector |
getTargetColumnNames | public Vector getTargetColumnNames()(Code) | | Returns Vector with target column names
vector |
getTargetColumnNames | public Vector getTargetColumnNames(int index)(Code) | | Returns Vector with target column names
Parameters: index - logical table index vector |
getTargetColumnNames | public Vector getTargetColumnNames(String tableName)(Code) | | Returns Vector with target column names for specified table
Parameters: tableName - name of table vector |
getTargetColumnTypes | public Vector getTargetColumnTypes(int index)(Code) | | Returns Vector with target column types
Parameters: index - logical table index vector |
getTargetKeyColumnNames | public Vector getTargetKeyColumnNames(int index)(Code) | | Returns Vector with target key column names
Parameters: index - logical table index vector |
getTargetKeyColumnNames | public Vector getTargetKeyColumnNames()(Code) | | Returns Vector with target key column names
vector |
getTargetTableNames | public List getTargetTableNames()(Code) | | |
getTargetValueMode | public Vector getTargetValueMode()(Code) | | Returns Vector with target value mode
vector |
getTargetValueModes | public Vector getTargetValueModes(int index)(Code) | | Returns Vector with target value modes
Parameters: index - logical table index vector |
reset | public void reset()(Code) | | This method reset all variables
|
setLogger | public void setLogger(Logger logger)(Code) | | This method set logger object
|
transformValues | public Vector transformValues(Vector sourceValues) throws Exception(Code) | | This method read value of sub counter parameter
Parameters: sourceValues - values to transform vector transformed values throws: SQLException - |
transformationColumnTypes | public void transformationColumnTypes(Connection c, int firstColumn, boolean columnsSuportedTarget, ConfigReader configReaderTarget) throws SQLException, NullPointerException(Code) | | Method transformationColumnTypes is used to put types of transformation columns into
global vector sorted in target tables. If there is an error, Exception
"SQLException" or "NullPointerException" is thrown.
Parameters: c - Connection to target database. Parameters: firstColumn - is first column Parameters: columnsSuportedTarget - is true if driver for target database supports getColumns method Parameters: configReaderTarget - is ConfigReader object for target database throws: SQLException - Constructs an SQLException object with a reason. throws: NullPointerException - Constructs a NullPointerException with the specified detail message. |
|
|