org.webdocwf.util.loader.generator
Class SqlStatements

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

public class SqlStatements
extends java.lang.Object

SqlStatements class creates the sql statements for building target database.

Version:
1.0
Author:
Radoslav Dutina

Constructor Summary
SqlStatements(java.lang.String nameSQL, java.lang.String tableName, ImportDefinitionAttributes importDefinitionAttributes, RelationshipsAttributes relationshipsAttributes, int k, InputParameters generatorParameters)
          Construct object SqlStatements with associated parameters.
 
Method Summary
 java.lang.String[] getCreateStream()
          This method read the value of list patameter.
 void setCreateStream(java.lang.String[] create_Stream)
          This method sets the value of list patameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlStatements

public SqlStatements(java.lang.String nameSQL,
                     java.lang.String tableName,
                     ImportDefinitionAttributes importDefinitionAttributes,
                     RelationshipsAttributes relationshipsAttributes,
                     int k,
                     InputParameters generatorParameters)
Construct object SqlStatements with associated parameters.

Parameters:
nameSQL - is the name of created sql file.
tableName - is name of the table form which we retrieve data.
importDefinitionAttributes - is references to ImportDefinitionAttributes object.
relationshipsAttributes - is references to RelationshipsAttributes object.
k - is the counter, whish are used for restricting same operations.
generatorParameters - represents the references to InputParameter object.
Method Detail

setCreateStream

public void setCreateStream(java.lang.String[] create_Stream)
This method sets the value of list patameter.

Parameters:
create_Stream - is the value of parameter.

getCreateStream

public java.lang.String[] getCreateStream()
This method read the value of list patameter.

Returns:
value of parameter.


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