eu.bootstrep.ETL
Class iniETL

java.lang.Object
  extended by eu.bootstrep.ETL.iniETL

public class iniETL
extends java.lang.Object

This class is initialized by the Process class.
This class performs the following steps:


Field Summary
(package private)  DateTime dTime
          DateTime
(package private)  ManageJdom JDOM
          XML JDOM
(package private)  Logger Log
          new Logger
 
Constructor Summary
iniETL()
          void constructor.
iniETL(TableBean tabBn)
          This class is responsible for starting the Extraction Tranformation Loading process.
 
Method Summary
private  TableBean setDictionary(TableBean tabBn)
          This method initializes the dictionary tables.
 void start(PropertyBean PB, MainBean MB, MessageBean mesBn, ListBean LB, TableBean tabBn, java.lang.Boolean validate)
          This method is responsible for starting the Extraction Tranformation and Loading process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Log

Logger Log
new Logger


dTime

DateTime dTime
DateTime


JDOM

ManageJdom JDOM
XML JDOM

Constructor Detail

iniETL

public iniETL(TableBean tabBn)
This class is responsible for starting the Extraction Tranformation Loading process. This class is also responsible for setting all dictionary tables accordingly with name policy defined in the dictionary frame. Names used to setup the tableBean object are table names as contained in the dictionary frame distributed along with this javadoc.
This class has only one method star which is responsible for executing Jdom methods for parsing the XML file.

Parameters:
tabBn - The table bean

iniETL

public iniETL()
void constructor. Use this constructor to not setup the tableBean object.

Method Detail

start

public void start(PropertyBean PB,
                  MainBean MB,
                  MessageBean mesBn,
                  ListBean LB,
                  TableBean tabBn,
                  java.lang.Boolean validate)
This method is responsible for starting the Extraction Tranformation and Loading process.
This method executes Jdom methods to parse the XML file.

Parameters:
PB - The propertyBean
MB - The mainBean
mesBn - The messageBean
LB - The listBean
tabBn - The table bean
validate - A booloan: true do validate the XML against a DTD

setDictionary

private TableBean setDictionary(TableBean tabBn)
This method initializes the dictionary tables.

Parameters:
tabBn - the tableBean
Returns:
the updated tableBean