C - the type of the caseR - the type of the resultpublic static interface CriteriaBuilder.SimpleCase<C,R> extends Expression<R>
| Modifier and Type | Method and Description |
|---|---|
Expression<C> |
getExpression()
Return the expression to be tested against the conditions.
|
Expression<R> |
otherwise(Expression<? extends R> result)
Add an "else" clause to the case expression.
|
Expression<R> |
otherwise(R result)
Add an "else" clause to the case expression.
|
CriteriaBuilder.SimpleCase<C,R> |
when(C condition,
Expression<? extends R> result)
Add a when/then clause to the case expression.
|
CriteriaBuilder.SimpleCase<C,R> |
when(C condition,
R result)
Add a when/then clause to the case expression.
|
as, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, isCompoundSelectiongetAlias, getJavaTypeExpression<C> getExpression()
Expression<R> otherwise(Expression<? extends R> result)
result - "else" result expressionExpression<R> otherwise(R result)
result - "else" resultCriteriaBuilder.SimpleCase<C,R> when(C condition, Expression<? extends R> result)
condition - "when" conditionresult - "then" result expressionCriteriaBuilder.SimpleCase<C,R> when(C condition, R result)
condition - "when" conditionresult - "then" result valueCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.