org.webdocwf.util.loader.generator
Class TableDesignReader

java.lang.Object
  extended by org.webdocwf.util.loader.generator.TableDesignReader

public class TableDesignReader
extends java.lang.Object

TableDesignReader class read the data which describe database tables.

Version:
1.0
Author:
Radoslav Dutina

Constructor Summary
TableDesignReader(java.lang.String tableName, java.sql.Connection conn, java.lang.String catalogName, InputParameters generatorParameters)
          Construct object TableDesignReader with associated parameters.
 
Method Summary
static java.lang.String[] getAllowNulls()
          This method read value of listAllowNulls parameters.
static java.lang.String[] getColumnLenght()
          This method read value of listColumnLenght parameters.
static java.lang.String[] getColumnNames()
          This method read value of listColumnNames parameters.
static java.lang.String[] getColumnType()
          This method read value of listColumnType parameters.
 ImportDefinitionAttributes getImportDefinition()
          This method read value of importDefinitionAttributes parameters.
static java.lang.String[] getTargetTableID()
          This method read value of listTargetTableID parameters.
static java.lang.String[] getTargetTableNames()
          This method read value of listTargetTableNames parameters.
static void setAllowNulls(java.lang.String[] list_AllowNulls)
          This method sets value of listAllowNulls parameters.
static void setColumnLenght(java.lang.String[] list_ColumnLenght)
          This method sets value of listColumnLenght parameters.
static void setColumnNames(java.lang.String[] list_ColumnNames)
          This method sets value of listColumnNames parameters.
static void setColumnType(java.lang.String[] list_ColumnType)
          This method sets value of listColumnType parameters.
static void setTargetTableID(java.lang.String[] list_TargetTableID)
          This method sets value of listTargetTableID parameters.
static void setTargetTableNames(java.lang.String[] list_TargetTableNames)
          This method sets value of listTargetTableNames parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableDesignReader

public TableDesignReader(java.lang.String tableName,
                         java.sql.Connection conn,
                         java.lang.String catalogName,
                         InputParameters generatorParameters)
                  throws LoaderException
Construct object TableDesignReader with associated parameters.

Parameters:
generatorParameters - represents the references to InputParameter object.
tableName - is name of the table form which we retrieve data.
conn - is the named connection.
catalogName - is the name of the current database.
Throws:
LoaderException
Method Detail

getImportDefinition

public ImportDefinitionAttributes getImportDefinition()
This method read value of importDefinitionAttributes parameters.

Returns:
references to ImportDefinitionAttributes objects.

setColumnNames

public static void setColumnNames(java.lang.String[] list_ColumnNames)
This method sets value of listColumnNames parameters.

Parameters:
list_ColumnNames - is value of parameters.

getColumnNames

public static java.lang.String[] getColumnNames()
This method read value of listColumnNames parameters.

Returns:
value of parameters.

setTargetTableNames

public static void setTargetTableNames(java.lang.String[] list_TargetTableNames)
This method sets value of listTargetTableNames parameters.

Parameters:
list_TargetTableNames - is value of parameters.

getTargetTableNames

public static java.lang.String[] getTargetTableNames()
This method read value of listTargetTableNames parameters.

Returns:
value of parameters.

setTargetTableID

public static void setTargetTableID(java.lang.String[] list_TargetTableID)
This method sets value of listTargetTableID parameters.

Parameters:
list_TargetTableID - is value of parameter.

getTargetTableID

public static java.lang.String[] getTargetTableID()
This method read value of listTargetTableID parameters.

Returns:
value of parameters.

setColumnType

public static void setColumnType(java.lang.String[] list_ColumnType)
This method sets value of listColumnType parameters.

Parameters:
list_ColumnType - is value of parameters.

getColumnType

public static java.lang.String[] getColumnType()
This method read value of listColumnType parameters.

Returns:
value of parameters.

setColumnLenght

public static void setColumnLenght(java.lang.String[] list_ColumnLenght)
This method sets value of listColumnLenght parameters.

Parameters:
list_ColumnLenght - is value of parameter.

getColumnLenght

public static java.lang.String[] getColumnLenght()
This method read value of listColumnLenght parameters.

Returns:
value of parameters.

setAllowNulls

public static void setAllowNulls(java.lang.String[] list_AllowNulls)
This method sets value of listAllowNulls parameters.

Parameters:
list_AllowNulls - is value of parameters.

getAllowNulls

public static java.lang.String[] getAllowNulls()
This method read value of listAllowNulls parameters.

Returns:
value of parameters.


Copyright © 2002-2007 Together - the Workgroup. All Rights Reserved.