public static interface CriteriaBuilder.SimpleCase<C,R> extends Expression<R>
修飾子と型 | メソッドと説明 |
---|---|
Expression<C> | getExpression() 条件に対してテストされる式を返します。 |
Expression<R> | otherwise(Expression<? extends R> result) ケース式に "else" 句を追加します。 |
Expression<R> | otherwise(R result) ケース式に "else" 句を追加します。 |
CriteriaBuilder.SimpleCase<C, R> | when(C condition, Expression<? extends R> result) ケース式に when/then 句を追加します。 |
CriteriaBuilder.SimpleCase<C, R> | when(C condition, R result) ケース式に when/then 句を追加します。 |
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
Expression<C> getExpression()
CriteriaBuilder.SimpleCase<C,R> when(C condition, R result)
condition
- 「いつ」の状態 result
- 「その後」の結果値 CriteriaBuilder.SimpleCase<C,R> when(C condition, Expression<? extends R> result)
condition
- 「いつ」の状態 result
- 「その後」の結果式 Expression<R> otherwise(R result)
result
- 「その他」の結果 Expression<R> otherwise(Expression<? extends R> result)
result
- "else" 結果式 Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.