|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webdocwf.util.loader.transformation.Transformation
Transformation - transformations in Octopus Loader.
Constructor Summary | |
Transformation(java.lang.String name,
java.lang.String className,
org.w3c.dom.Element doc)
|
|
Transformation(java.lang.String name,
java.lang.String className,
java.lang.String configString,
org.w3c.dom.Element doc)
|
Method Summary | |
java.lang.String |
getName()
This method returns transformation name |
java.util.Vector |
getOrderedTargetColumnTypes(int index)
Returns Vector with target column types on ordered places, and add null if in this place logic table is different than specified |
java.util.Vector |
getSourceColumnNames()
Returns Vector with source column names |
java.util.Vector |
getTargetColumnNames()
Returns Vector with target column names |
java.util.Vector |
getTargetColumnNames(int index)
Returns Vector with target column names |
java.util.Vector |
getTargetColumnNames(java.lang.String tableName)
Returns Vector with target column names for specified table |
java.util.Vector |
getTargetColumnTypes(int index)
Returns Vector with target column types |
java.util.Vector |
getTargetKeyColumnNames()
Returns Vector with target key column names |
java.util.Vector |
getTargetKeyColumnNames(int index)
Returns Vector with target key column names |
java.lang.String |
getTargetTableID()
|
java.util.List |
getTargetTableNames()
|
java.util.Vector |
getTargetValueMode()
Returns Vector with target value mode |
java.util.Vector |
getTargetValueModes(int index)
Returns Vector with target value modes |
void |
release()
|
void |
reset()
This method reset all variables |
void |
setLogger(Logger logger)
This method set logger object |
void |
transformationColumnTypes(java.sql.Connection c,
int firstColumn,
boolean columnsSuportedTarget,
ConfigReader configReaderTarget)
Method transformationColumnTypes is used to put types of transformation columns into global vector sorted in target tables. |
java.util.Vector |
transformValues(java.util.Vector sourceValues)
This method read value of sub counter parameter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Transformation(java.lang.String name, java.lang.String className, java.lang.String configString, org.w3c.dom.Element doc) throws java.lang.Exception
public Transformation(java.lang.String name, java.lang.String className, org.w3c.dom.Element doc) throws java.lang.Exception
Method Detail |
public void setLogger(Logger logger)
public java.util.Vector getSourceColumnNames()
public java.util.Vector getTargetColumnNames()
public java.util.Vector getTargetColumnNames(int index)
index
- logical table index
public java.util.Vector getTargetColumnTypes(int index)
index
- logical table index
public java.util.Vector getOrderedTargetColumnTypes(int index)
index
- logical table index
public java.util.Vector getTargetValueModes(int index)
index
- logical table index
public java.util.Vector getTargetKeyColumnNames(int index)
index
- logical table index
public java.util.Vector getTargetColumnNames(java.lang.String tableName)
tableName
- name of table
public java.util.Vector getTargetKeyColumnNames()
public java.util.Vector getTargetValueMode()
public java.util.Vector transformValues(java.util.Vector sourceValues) throws java.lang.Exception
sourceValues
- values to transform
java.sql.SQLException
java.lang.Exception
public java.lang.String getName()
public void transformationColumnTypes(java.sql.Connection c, int firstColumn, boolean columnsSuportedTarget, ConfigReader configReaderTarget) throws java.sql.SQLException, java.lang.NullPointerException
c
- Connection to target database.firstColumn
- is first columncolumnsSuportedTarget
- is true if driver for target database supports getColumns methodconfigReaderTarget
- is ConfigReader object for target database
java.sql.SQLException
- Constructs an SQLException object with a reason.
java.lang.NullPointerException
- Constructs a NullPointerException with the specified detail message.public java.util.List getTargetTableNames()
public java.lang.String getTargetTableID()
public void reset()
public void release() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |