com.jpattern.orm.query.clause
Class OrmSet<T extends Set<?>>

java.lang.Object
  extended by com.jpattern.orm.query.SmartRenderableSqlSubElement
      extended by com.jpattern.orm.query.clause.OrmSet<T>
All Implemented Interfaces:
Set<T>, SqlClause<T>, NameSolverConsumer, RenderableSqlSubElement
Direct Known Subclasses:
UpdateSetImpl

public abstract class OrmSet<T extends Set<?>>
extends SmartRenderableSqlSubElement
implements Set<T>, NameSolverConsumer

Author:
Francesco Cina 10/lug/2011

Constructor Summary
OrmSet()
           
 
Method Summary
 void appendElementValues(List<Object> values)
          Append to the list all the values of the expression's elements
 void doElementRender(StringBuilder stringBuilder)
           
 T eq(String property, Object value)
          Express the new value of the objects property after the execution of the update.
 int getElementStatusVersion()
           
protected abstract  T set()
           
 void setNameSolver(NameSolver nameSolver)
           
 
Methods inherited from class com.jpattern.orm.query.SmartRenderableSqlSubElement
isElementStatusChanged, renderSqlElement, renderSqlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrmSet

public OrmSet()
Method Detail

set

protected abstract T set()

eq

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

Specified by:
eq in interface Set<T extends Set<?>>
Returns:

doElementRender

public final void doElementRender(StringBuilder stringBuilder)
Specified by:
doElementRender in class SmartRenderableSqlSubElement

appendElementValues

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

Specified by:
appendElementValues in interface RenderableSqlSubElement

setNameSolver

public void setNameSolver(NameSolver nameSolver)
Specified by:
setNameSolver in interface NameSolverConsumer

getElementStatusVersion

public final int getElementStatusVersion()
Specified by:
getElementStatusVersion in class SmartRenderableSqlSubElement


Copyright © 2013. All Rights Reserved.