com.is.jrf
Class UpdateSQLBuilder

java.lang.Object
  |
  +--com.is.jrf.SQLBuilder
        |
        +--com.is.jrf.UpdateSQLBuilder

public class UpdateSQLBuilder
extends SQLBuilder

Instances of this class build SQL to do UPDATE statements.


Fields inherited from class com.is.jrf.SQLBuilder
i_columnSpecs, i_dbPolicy, i_domain, i_tableAlias, i_tableName
 
Constructor Summary
UpdateSQLBuilder()
          This constructor throws an exception.
UpdateSQLBuilder(AbstractDomain domain)
           
 
Method Summary
 java.lang.String buildSQL(PersistentObject aPO, java.lang.String tableName, java.util.List columnSpecs)
          Build SQL to update a row using the columnSpecs.
 
Methods inherited from class com.is.jrf.SQLBuilder
getColumnSpecs, getDatabasePolicy, getTableAlias, getTableName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateSQLBuilder

public UpdateSQLBuilder()
This constructor throws an exception.

UpdateSQLBuilder

public UpdateSQLBuilder(AbstractDomain domain)
Method Detail

buildSQL

public java.lang.String buildSQL(PersistentObject aPO,
                                 java.lang.String tableName,
                                 java.util.List columnSpecs)
Build SQL to update a row using the columnSpecs.
Parameters:
aPO - a value of type 'PersistentObject'
columnSpecs - a value of type 'List'
Returns:
a value of type 'String'