jodd.db.orm.sqlgen.chunks
Class UpdateSetChunk

java.lang.Object
  extended by jodd.db.orm.sqlgen.chunks.SqlChunk
      extended by jodd.db.orm.sqlgen.chunks.UpdateSetChunk

public class UpdateSetChunk
extends SqlChunk

Generates set part of the UPDATE statement. It may contains only non-null values, or all.


Field Summary
 
Fields inherited from class jodd.db.orm.sqlgen.chunks.SqlChunk
COLS_ALL, COLS_NA, COLS_ONLY_EXISTING, COLS_ONLY_IDS, isColumnChunk, isJoinOnChunk, isTableChunk, nextChunk, previousChunk, query, sqlBuilder
 
Constructor Summary
UpdateSetChunk(java.lang.String tableRef, java.lang.Object data, boolean includeNulls)
           
 
Method Summary
 void process()
          Process the chunk and prepares the output.
 
Methods inherited from class jodd.db.orm.sqlgen.chunks.SqlChunk
defineParameter, getNextChunk, getPreviousChunk, init, insertChunkAfter, isColumnChunk, isJoinOnChunk, isTableChunk, lookupName, lookupTableRef, lookupType, render, resolveTableRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateSetChunk

public UpdateSetChunk(java.lang.String tableRef,
                      java.lang.Object data,
                      boolean includeNulls)
Method Detail

process

public void process()
Description copied from class: SqlChunk
Process the chunk and prepares the output.

Specified by:
process in class SqlChunk


Copyright ©2008 Jodd Team