com.googlecode.jpattern.orm.query
Class SetClause

java.lang.Object
  extended by com.googlecode.jpattern.orm.query.SetClause
All Implemented Interfaces:
INameSolverConsumer, IRenderableSqlObject, ISetClause

public class SetClause
extends Object
implements ISetClause

Author:
Francesco Cina 10/lug/2011

Constructor Summary
SetClause()
           
 
Method Summary
 void appendValues(List<Object> values)
          Append to the list all the values of the expression's elements
 ISetClause eq(String property, Object value)
          Express the new value of the objects property after the execution of the update.
 String renderSql()
          Return the sql query generated by this IQuery Object
 void renderSql(StringBuilder StringBuilder)
          Append to the string buffer the sql query generated by this IQuery Object
 void setNameSolver(INameSolver nameSolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetClause

public SetClause()
Method Detail

eq

public ISetClause eq(String property,
                     Object value)
Description copied from interface: ISetClause
Express the new value of the objects property after the execution of the update.

Specified by:
eq in interface ISetClause
Returns:

renderSql

public String renderSql()
Description copied from interface: IRenderableSqlObject
Return the sql query generated by this IQuery Object

Specified by:
renderSql in interface IRenderableSqlObject
Returns:

renderSql

public void renderSql(StringBuilder StringBuilder)
Description copied from interface: IRenderableSqlObject
Append to the string buffer the sql query generated by this IQuery Object

Specified by:
renderSql in interface IRenderableSqlObject

appendValues

public void appendValues(List<Object> values)
Description copied from interface: ISetClause
Append to the list all the values of the expression's elements

Specified by:
appendValues in interface ISetClause

setNameSolver

public void setNameSolver(INameSolver nameSolver)
Specified by:
setNameSolver in interface INameSolverConsumer


Copyright © 2011. All Rights Reserved.