public class CriteriaUpdateImpl<T> extends AbstractManipulationCriteriaQuery<T> implements CriteriaUpdate<T>
CriteriaUpdate
contract.Constructor and Description |
---|
CriteriaUpdateImpl(CriteriaBuilderImpl criteriaBuilder) |
Modifier and Type | Method and Description |
---|---|
protected <Y> void |
addAssignment(Path<Y> attributePath,
Expression<? extends Y> value) |
protected String |
renderQuery(RenderingContext renderingContext) |
<Y> CriteriaUpdate<T> |
set(Path<Y> attributePath,
Expression<? extends Y> value) |
<Y,X extends Y> |
set(Path<Y> attributePath,
X value) |
<Y> CriteriaUpdate<T> |
set(SingularAttribute<? super T,Y> singularAttribute,
Expression<? extends Y> value) |
<Y,X extends Y> |
set(SingularAttribute<? super T,Y> singularAttribute,
X value) |
CriteriaUpdate<T> |
set(String attributeName,
Object value) |
void |
validate() |
CriteriaUpdate<T> |
where(Expression<Boolean> restriction) |
CriteriaUpdate<T> |
where(Predicate... restrictions) |
criteriaBuilder, from, from, getRestriction, getRoot, interpret, renderRestrictions, renderRoot, setRestriction, setRestriction, subquery
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
from, from, getRoot
getRestriction, subquery
public CriteriaUpdateImpl(CriteriaBuilderImpl criteriaBuilder)
public <Y,X extends Y> CriteriaUpdate<T> set(SingularAttribute<? super T,Y> singularAttribute, X value)
set
in interface CriteriaUpdate<T>
public <Y> CriteriaUpdate<T> set(SingularAttribute<? super T,Y> singularAttribute, Expression<? extends Y> value)
set
in interface CriteriaUpdate<T>
public <Y,X extends Y> CriteriaUpdate<T> set(Path<Y> attributePath, X value)
set
in interface CriteriaUpdate<T>
public <Y> CriteriaUpdate<T> set(Path<Y> attributePath, Expression<? extends Y> value)
set
in interface CriteriaUpdate<T>
public CriteriaUpdate<T> set(String attributeName, Object value)
set
in interface CriteriaUpdate<T>
protected <Y> void addAssignment(Path<Y> attributePath, Expression<? extends Y> value)
public CriteriaUpdate<T> where(Expression<Boolean> restriction)
where
in interface CriteriaUpdate<T>
public CriteriaUpdate<T> where(Predicate... restrictions)
where
in interface CriteriaUpdate<T>
public void validate()
validate
in interface CompilableCriteria
validate
in class AbstractManipulationCriteriaQuery<T>
protected String renderQuery(RenderingContext renderingContext)
renderQuery
in class AbstractManipulationCriteriaQuery<T>
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.