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

Type Parameters:
C -
All Known Implementing Classes:
ColUpdateClause, HibernateUpdateClause, JDOQLUpdateClause, JPAUpdateClause, SQLUpdateClause

public interface UpdateClause<C extends UpdateClause<C>>

UpdateClause defines a generic extensible interface for Update clauses

Author:
tiwe

Method Summary
 long execute()
          Execute the delete clause and return the amount of updated rows/items
 C set(List<? extends Path<?>> paths, List<?> values)
          Set the paths to be updated
<T> C
set(Path<T> path, T value)
          Set the path to be updated
 C where(EBoolean... o)
          Defines the filter constraints
 

Method Detail

where

C where(EBoolean... o)
Defines the filter constraints

Parameters:
o -
Returns:

set

<T> C set(Path<T> path,
          T value)
Set the path to be updated

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

set

C set(List<? extends Path<?>> paths,
      List<?> values)
Set the paths to be updated

Parameters:
paths -
values -
Returns:

execute

long execute()
Execute the delete clause and return the amount of updated rows/items

Returns:


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