eu.bootstrep.Beans
Class TheElement

java.lang.Object
  extended by eu.bootstrep.Beans.TheElement

public class TheElement
extends java.lang.Object

This bean reflects the XIF structure. We designed this bean to store information about an XML element: the behavior of the Loading Software depends only on the elements and their parent-child relationship.
This bean builds a software structure upon the XIF elements. This structure contains information on table structures and sql intructions. As a summary:


This bean is instantiated in the class


Field Summary
(package private)  java.lang.String[][] bitFatMap
          The object representing father data into table table WORK_BITMAP_ID_TABLE.
(package private)  java.lang.String[][] bitMap
          The object representing data into the table WORK_BITMAP_ID_TABLE.
(package private)  java.lang.Integer deep
          The xml element deep.
(package private)  java.lang.Integer hasBitMapValue
          The bitMap value.
(package private)  java.lang.String insRelStr
          string Insert: the sql instruction for correspondane tables
This variable along with its get& set methods is used in: ManageJdom Process
(package private)  java.lang.String insStr
          string Insert: the sql instruction for standard tables.
(package private)  java.lang.Integer numOfoccurrence
          The number of occurrence of the same element
This variable along with its get& set methods is used in: ManageJdom Process
(package private)  java.lang.String theFile
          The input file to be loaded.
(package private)  java.lang.String theRelFile
          The input file to be loaded for correspondence table.
(package private)  java.lang.String theRelTable
          The correspondence table to load.
(package private)  java.lang.String theTable
          The table to load.
(package private)  java.lang.String xmlFatName
          The xml parent element This variable along with its get& set methods is used in: ManageJdom Process
(package private)  java.lang.String xmlName
          The xml element.
 
Constructor Summary
TheElement()
          Creates a new instance of TheElement
 
Method Summary
 java.lang.String[][] getBitFatMap()
          get the bitmap of the father element
 java.lang.String[][] getBitMap()
          get the bitmap of the element
 java.lang.Integer getDeep()
          get the deep ( indentation ) of the element
 java.lang.Integer getHasBitMapValue()
          get the bitmap of element
 java.lang.String getInsRelStr()
          get the sql instruction to laod relation tables
 java.lang.String getInsStr()
          get the sql instruction to laod staging tables
 java.lang.Integer getNumOfoccurrence()
          get number of occurrence of the element
 java.lang.String getTheFile()
          get the input file which contains data before they are loaded into tables.
 java.lang.String getTheRelFile()
          get the input file which contains data before they are loaded into tables.
 java.lang.String getTheRelTable()
          get the staging relation table
 java.lang.String getTheTable()
          get the staging table to load
 java.lang.String getXmlFatName()
          get the name of father of the element
 java.lang.String getXmlName()
          get the name of the element
 void setBitFatMap(java.lang.String[][] bitFatMap)
          set the bitmap of the father element
 void setBitMap(java.lang.String[][] bitMap)
          set the bitmap of the element
 void setDeep(java.lang.Integer deep)
          set the deep ( indentation ) of the element
 void setHasBitMapValue(java.lang.Integer hasBitMapValue)
          set the bitmap of element
 void setInsRelStr(java.lang.String insRelStr)
          set the sql instruction to laod relation tables
 void setInsStr(java.lang.String insStr)
          set the sql instruction to laod staging tables
 void setNumOfoccurrence(java.lang.Integer numOfoccurrence)
          set the number of occurrence of the element
 void setTheFile(java.lang.String theFile)
          set the input file which contains data before they are loaded into tables.
 void setTheRelFile(java.lang.String theRelFile)
          set the input filewhich contains data before they are loaded into tables.
 void setTheRelTable(java.lang.String theRelTable)
          set the staging relation table
 void setTheTable(java.lang.String theTable)
          set the staging table to load
 void setXmlFatName(java.lang.String xmlFatName)
          set the name of the father of the element
 void setXmlName(java.lang.String xmlName)
          set the name of the element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlName

java.lang.String xmlName
The xml element. This variable along with its get& set methods is used in:


xmlFatName

java.lang.String xmlFatName
The xml parent element This variable along with its get& set methods is used in:


deep

java.lang.Integer deep
The xml element deep. The initial value is set to 1, which corresponds to root element.
This variable along with its get& set methods is used in:


hasBitMapValue

java.lang.Integer hasBitMapValue
The bitMap value.
This variable along with its get& set methods is used in:


numOfoccurrence

java.lang.Integer numOfoccurrence
The number of occurrence of the same element
This variable along with its get& set methods is used in:


bitMap

java.lang.String[][] bitMap
The object representing data into the table WORK_BITMAP_ID_TABLE.
This variable along with its get& set methods is used in:


bitFatMap

java.lang.String[][] bitFatMap
The object representing father data into table table WORK_BITMAP_ID_TABLE.
This variable along with its get& set methods is used in:


theTable

java.lang.String theTable
The table to load. It depends on element, deep and parent element.
This variable along with its get& set methods is used in:


theRelTable

java.lang.String theRelTable
The correspondence table to load. It depends on element, deep and parent element.
This variable along with its get& set methods is used in:


theFile

java.lang.String theFile
The input file to be loaded. It depends on element, deep and parent element.
This variable along with its get& set methods is used in:


theRelFile

java.lang.String theRelFile
The input file to be loaded for correspondence table. It depends on element, deep and parent element.
This variable along with its get& set methods is used in:


insStr

java.lang.String insStr
string Insert: the sql instruction for standard tables.
This variable along with its get& set methods is used in:


insRelStr

java.lang.String insRelStr
string Insert: the sql instruction for correspondane tables
This variable along with its get& set methods is used in:

Constructor Detail

TheElement

public TheElement()
Creates a new instance of TheElement

Method Detail

getBitFatMap

public java.lang.String[][] getBitFatMap()
get the bitmap of the father element

Returns:
the bitFatMap

setBitFatMap

public void setBitFatMap(java.lang.String[][] bitFatMap)
set the bitmap of the father element

Parameters:
bitFatMap - the bitFatMap to set

getTheTable

public java.lang.String getTheTable()
get the staging table to load

Returns:
the theTable

setTheTable

public void setTheTable(java.lang.String theTable)
set the staging table to load

Parameters:
theTable - the theTable to set

getBitMap

public java.lang.String[][] getBitMap()
get the bitmap of the element

Returns:
the bitMap

setBitMap

public void setBitMap(java.lang.String[][] bitMap)
set the bitmap of the element

Parameters:
bitMap - the bitMap to set

getDeep

public java.lang.Integer getDeep()
get the deep ( indentation ) of the element

Returns:
the deep

setDeep

public void setDeep(java.lang.Integer deep)
set the deep ( indentation ) of the element

Parameters:
deep - the deep to set

getNumOfoccurrence

public java.lang.Integer getNumOfoccurrence()
get number of occurrence of the element

Returns:
the numOfoccurrence

setNumOfoccurrence

public void setNumOfoccurrence(java.lang.Integer numOfoccurrence)
set the number of occurrence of the element

Parameters:
numOfoccurrence - the numOfoccurrence to set

getXmlFatName

public java.lang.String getXmlFatName()
get the name of father of the element

Returns:
the xmlFatName

setXmlFatName

public void setXmlFatName(java.lang.String xmlFatName)
set the name of the father of the element

Parameters:
xmlFatName - the xmlFatName to set

getXmlName

public java.lang.String getXmlName()
get the name of the element

Returns:
the xmlName

setXmlName

public void setXmlName(java.lang.String xmlName)
set the name of the element

Parameters:
xmlName - the xmlName to set

getTheFile

public java.lang.String getTheFile()
get the input file which contains data before they are loaded into tables.

Returns:
the theFile

setTheFile

public void setTheFile(java.lang.String theFile)
set the input file which contains data before they are loaded into tables.

Parameters:
theFile - the theFile to set

getTheRelFile

public java.lang.String getTheRelFile()
get the input file which contains data before they are loaded into tables.
Only for relation tables.

Returns:
the theRelFile

setTheRelFile

public void setTheRelFile(java.lang.String theRelFile)
set the input filewhich contains data before they are loaded into tables.
Only for relation tables

Parameters:
theRelFile - the theRelFile to set

getTheRelTable

public java.lang.String getTheRelTable()
get the staging relation table

Returns:
the theRelTable

setTheRelTable

public void setTheRelTable(java.lang.String theRelTable)
set the staging relation table

Parameters:
theRelTable - the theRelTable to set

getInsRelStr

public java.lang.String getInsRelStr()
get the sql instruction to laod relation tables

Returns:
the insRelStr

setInsRelStr

public void setInsRelStr(java.lang.String insRelStr)
set the sql instruction to laod relation tables

Parameters:
insRelStr - the insRelStr to set

getInsStr

public java.lang.String getInsStr()
get the sql instruction to laod staging tables

Returns:
the insStr

setInsStr

public void setInsStr(java.lang.String insStr)
set the sql instruction to laod staging tables

Parameters:
insStr - the insStr to set

getHasBitMapValue

public java.lang.Integer getHasBitMapValue()
get the bitmap of element

Returns:
the hasBitMapValue

setHasBitMapValue

public void setHasBitMapValue(java.lang.Integer hasBitMapValue)
set the bitmap of element

Parameters:
hasBitMapValue - the hasBitMapValue to set