C - R - public static class CriteriaBuilderImpl.SimpleCaseImpl<C,R> extends FunctionExpressionImpl<R> implements javax.persistence.criteria.CriteriaBuilder.SimpleCase<C,R>
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.criteria.Expression<C> |
getExpression()
Returns the expression to be tested against the
conditions.
|
javax.persistence.criteria.Expression<R> |
otherwise(javax.persistence.criteria.Expression<? extends R> result)
Add an "else" clause to the case expression.
|
javax.persistence.criteria.Expression<R> |
otherwise(R result)
Add an "else" clause to the case expression.
|
javax.persistence.criteria.CriteriaBuilder.SimpleCase<C,R> |
when(C condition,
javax.persistence.criteria.Expression<? extends R> result)
Add a when/then clause to the case expression.
|
javax.persistence.criteria.CriteriaBuilder.SimpleCase<C,R> |
when(C condition,
R result)
Add a when/then clause to the case expression.
|
findRootAndParameters, getChildExpressions, getOperation, isCompoundExpression, isExpressionas, in, in, in, in, isJunction, isLiteral, isNotNull, isNull, isParameter, isPredicate, isSubqueryalias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRootequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitas, in, in, in, in, isNotNull, isNullpublic javax.persistence.criteria.Expression<C> getExpression()
public javax.persistence.criteria.CriteriaBuilder.SimpleCase<C,R> when(C condition, R result)
public javax.persistence.criteria.CriteriaBuilder.SimpleCase<C,R> when(C condition, javax.persistence.criteria.Expression<? extends R> result)
public javax.persistence.criteria.Expression<R> otherwise(R result)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference