com.mysema.query.dml
Interface StoreClause<C extends StoreClause<C>>

Type Parameters:
C - concrete subtype
All Superinterfaces:
DMLClause<C>
All Known Subinterfaces:
InsertClause<C>, UpdateClause<C>
All Known Implementing Classes:
ColUpdateClause, HibernateUpdateClause, JDOQLUpdateClause, JPAUpdateClause, MySQLReplaceClause, SQLInsertClause, SQLMergeClause, SQLUpdateClause

public interface StoreClause<C extends StoreClause<C>>
extends DMLClause<C>

Parent interface for InsertClause and UpdateCluase

Author:
tiwe

Method Summary
<T> C
set(Path<T> path, Expression<? extends T> expression)
          Add an expression binding
<T> C
set(Path<T> path, T value)
          Add a value binding
<T> C
setNull(Path<T> path)
          Bind the given path to null
 
Methods inherited from interface com.mysema.query.dml.DMLClause
execute
 

Method Detail

set

<T> C set(Path<T> path,
          @Nullable
          T value)
Add a value binding

Type Parameters:
T -
Parameters:
path - path to be updated
value - value to set
Returns:

set

<T> C set(Path<T> path,
          Expression<? extends T> expression)
Add an expression binding

Type Parameters:
T -
Parameters:
path -
expression -
Returns:

setNull

<T> C setNull(Path<T> path)
Bind the given path to null

Parameters:
path -
Returns:


Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.