org.webdocwf.util.loader.generator
Class DomlDesignReader

java.lang.Object
  extended byorg.webdocwf.util.loader.generator.DomlDesignReader

public class DomlDesignReader
extends java.lang.Object

DomlDesignReader class retrieves the input data from doml file, and placed them in to ImportDefinition class.

Version:
1.0
Author:
Radoslav Dutina

Constructor Summary
DomlDesignReader(org.w3c.dom.Document document, org.w3c.dom.Element root, InputParameters generatorParameters)
          Construct object DomlDesignReader 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.
static java.lang.String[] getForeignVariables()
          This method read the value of listForeignVariables parameters.
 ImportDefinitionAttributes getImportDefinition()
          This method read value of importDefinitionAttributes parameters.
static java.lang.String[] getIndexVariables()
          This method read the value of listIndexVariables parameters.
static java.lang.String[] getPrimaryKeys()
          This method read the value of listPrimaryKeys parameters.
 RelationshipsAttributes getRelationshipsAttributes()
          This method read value of relationshipsAttributes 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 setForeignVariables(java.lang.String[] foreign_Variables)
          This method sets the value of listForeignVariables parameters.
static void setIndexVariables(java.lang.String[] index_Variables)
          This method sets the value of listIndexVariables parameters.
static void setPrimaryKeys(java.lang.String[] primary_Keys)
          This method sets the value of listPrimaryKeys 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

DomlDesignReader

public DomlDesignReader(org.w3c.dom.Document document,
                        org.w3c.dom.Element root,
                        InputParameters generatorParameters)
                 throws LoaderException
Construct object DomlDesignReader with associated parameters.

Parameters:
generatorParameters - represents the references to InputParameter object.
document - is the object of Document class.
root - is the object of Element class.
Throws:
LoaderException
Method Detail

getImportDefinition

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

Returns:
references to ImportDefinitionAttributes objects.

getRelationshipsAttributes

public RelationshipsAttributes getRelationshipsAttributes()
This method read value of relationshipsAttributes parameters.

Returns:
references to RelationshipsAttributes 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.

setPrimaryKeys

public static void setPrimaryKeys(java.lang.String[] primary_Keys)
This method sets the value of listPrimaryKeys parameters.

Parameters:
primary_Keys - is value of parameter.

getPrimaryKeys

public static java.lang.String[] getPrimaryKeys()
This method read the value of listPrimaryKeys parameters.

Returns:
value of parameter.

setIndexVariables

public static void setIndexVariables(java.lang.String[] index_Variables)
This method sets the value of listIndexVariables parameters.

Parameters:
index_Variables - is value of parameter.

getIndexVariables

public static java.lang.String[] getIndexVariables()
This method read the value of listIndexVariables parameters.

Returns:
value of parameter.

setForeignVariables

public static void setForeignVariables(java.lang.String[] foreign_Variables)
This method sets the value of listForeignVariables parameters.

Parameters:
foreign_Variables - is the value of parameter.

getForeignVariables

public static java.lang.String[] getForeignVariables()
This method read the value of listForeignVariables parameters.

Returns:
value of parameter.


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