com.is.jrf
Class SQLBuilder

java.lang.Object
  |
  +--com.is.jrf.SQLBuilder
Direct Known Subclasses:
CreateTableSQLBuilder, InsertSQLBuilder, SelectSQLBuilder, UpdateSQLBuilder

public abstract class SQLBuilder
extends java.lang.Object

Subclasses of this class generate SQL.


Field Summary
protected  java.util.List i_columnSpecs
           
protected  DatabasePolicy i_dbPolicy
           
protected  AbstractDomain i_domain
          This is a copy of the ColumnSpec list
protected  java.lang.String i_tableAlias
           
protected  java.lang.String i_tableName
           
 
Constructor Summary
SQLBuilder()
           
SQLBuilder(AbstractDomain domain)
           
 
Method Summary
 java.util.List getColumnSpecs()
           
 DatabasePolicy getDatabasePolicy()
           
 java.lang.String getTableAlias()
           
 java.lang.String getTableName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i_domain

protected AbstractDomain i_domain
This is a copy of the ColumnSpec list

i_columnSpecs

protected java.util.List i_columnSpecs

i_tableName

protected java.lang.String i_tableName

i_tableAlias

protected java.lang.String i_tableAlias

i_dbPolicy

protected DatabasePolicy i_dbPolicy
Constructor Detail

SQLBuilder

public SQLBuilder()

SQLBuilder

public SQLBuilder(AbstractDomain domain)
Method Detail

getColumnSpecs

public java.util.List getColumnSpecs()

getTableName

public java.lang.String getTableName()

getTableAlias

public java.lang.String getTableAlias()

getDatabasePolicy

public DatabasePolicy getDatabasePolicy()