Interface Case.WhenClause
-
- All Known Subinterfaces:
Case.CaseClause
- Enclosing class:
- Case
public static interface Case.WhenClause
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Case.ThenClause
when(Expression conditionOrExpression)
WHEN clause, to be followed by itsTHEN clause
.
-
-
-
Method Detail
-
when
Case.ThenClause when(Expression conditionOrExpression)
WHEN clause, to be followed by itsTHEN clause
. If the CASE is a "search case", the givenExpression
must be a condition. Otherwise, in a "simple case", the given Expression is matched against the initial case Expression for equality. If the condition holds true, the CASE will return the expression given by the following THEN clause. Otherwise next WHEN clause is evaluated, if none left the ELSE clause is used, if none the CASE returns NULL.- See Also:
Case.caseSearch()
,Case.caseSimple(Expression)
-
-