EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql.model
Interface ICaseExpressionStateObjectBuilder

All Superinterfaces:
IAbstractConditionalExpressionStateObjectBuilder<ICaseExpressionStateObjectBuilder>, IScalarExpressionStateObjectBuilder<ICaseExpressionStateObjectBuilder>
All Known Implementing Classes:
AbstractCaseExpressionStateObjectBuilder, DefaultCaseExpressionStateObjectBuilder

public interface ICaseExpressionStateObjectBuilder
extends IAbstractConditionalExpressionStateObjectBuilder<ICaseExpressionStateObjectBuilder>

This builder is responsible to create a CASE expression.

Version:
2.4
See Also:
IScalarExpressionStateObjectBuilder.getCaseBuilder()
Author:
Pascal Filion
Since:
2.4

Method Summary
 CaseExpressionStateObject buildStateObject()
          Creates the actual state object based on the information this builder gathered.
 ICaseExpressionStateObjectBuilder when(ICaseExpressionStateObjectBuilder when, ICaseExpressionStateObjectBuilder then)
          Creates a single WHEN expression.
 
Methods inherited from interface org.eclipse.persistence.jpa.jpql.model.IAbstractConditionalExpressionStateObjectBuilder
all, and, any, between, collectionPath, different, different, different, equal, equal, equal, exists, FALSE, greaterThan, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, greaterThanOrEqual, in, in, in, isEmpty, isNotEmpty, isNotNull, isNull, like, like, like, lower, lowerThan, lowerThan, lowerThan, lowerThanOrEqual, lowerThanOrEqual, lowerThanOrEqual, member, memberOf, notBetween, notExists, notIn, notIn, notIn, notLike, notLike, notLike, notMember, notMemberOf, NULL, or, some, sub, substring, trim, trim, TRUE, upper, variable
 
Methods inherited from interface org.eclipse.persistence.jpa.jpql.model.IScalarExpressionStateObjectBuilder
abs, add, avg, avgDistinct, case_, coalesce, concat, count, countDistinct, currentDate, currentTime, currentTimestamp, date, divide, entityType, enumLiteral, function, function, getCaseBuilder, index, length, locate, locate, max, maxDistinct, min, minDistinct, minus, mod, multiply, nullIf, numeric, numeric, parameter, path, plus, size, sqrt, string, sub, subtract, sum, sumDistinct, type
 

Method Detail

buildStateObject

CaseExpressionStateObject buildStateObject()
Creates the actual state object based on the information this builder gathered.

Returns:
The newly created CaseExpressionStateObject

when

ICaseExpressionStateObjectBuilder when(ICaseExpressionStateObjectBuilder when,
                                       ICaseExpressionStateObjectBuilder then)
Creates a single WHEN expression.

Parameters:
when - The WHEN expression
then - The THEN expression
Returns:
This builder

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference