Interface Case.CaseEnding
- All Superinterfaces:
Case, Expression, PropertyAccessor, ProvidesAffixes, Visitable
- Enclosing interface:
Case
Specification for a renderable, complete CASE statement.
- Since:
- 1.0
- Author:
- Gerrit Meier, Michael J. Simons
-
Nested Class Summary
Nested classes/interfaces inherited from interface Case
Case.CaseEnding, Case.GenericCase, Case.OngoingWhenThen, Case.SimpleCase -
Method Summary
Modifier and TypeMethodDescriptionelseDefault(Expression defaultExpression) Ends this case expression with a default expression to evaluate.when(Expression expression) Adds a newWHENblock.Methods inherited from interface Expression
add, as, as, ascending, asCondition, concat, contains, descending, divide, endsWith, eq, gt, gte, hasSize, in, includesAll, includesAny, isEmpty, isEqualTo, isFalse, isNotEqualTo, isNotNull, isNull, isTrue, lt, lte, matches, matches, multiply, ne, pow, property, property, remainder, size, sorted, startsWith, subtractMethods inherited from interface PropertyAccessor
propertyMethods inherited from interface ProvidesAffixes
getPrefix, getSuffix
-
Method Details
-
when
Adds a newWHENblock. -
elseDefault
Ends this case expression with a default expression to evaluate.- Parameters:
defaultExpression- the new default expression- Returns:
- an ongoing when builder.
-