Class AbstractCaseExpressionStateObjectBuilder
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.tools.model.AbstractStateObjectBuilder
-
- org.eclipse.persistence.jpa.jpql.tools.model.AbstractScalarExpressionStateObjectBuilder<T>
-
- org.eclipse.persistence.jpa.jpql.tools.model.AbstractConditionalExpressionStateObjectBuilder<ICaseExpressionStateObjectBuilder>
-
- org.eclipse.persistence.jpa.jpql.tools.model.AbstractCaseExpressionStateObjectBuilder
-
- All Implemented Interfaces:
IAbstractConditionalExpressionStateObjectBuilder<ICaseExpressionStateObjectBuilder>,ICaseExpressionStateObjectBuilder,IScalarExpressionStateObjectBuilder<ICaseExpressionStateObjectBuilder>
- Direct Known Subclasses:
DefaultCaseExpressionStateObjectBuilder
public abstract class AbstractCaseExpressionStateObjectBuilder extends AbstractConditionalExpressionStateObjectBuilder<ICaseExpressionStateObjectBuilder> implements ICaseExpressionStateObjectBuilder
This abstract implementation ofICaseExpressionStateObjectBuilderadds support for creating aCASEexpression.- Since:
- 2.4
- Version:
- 2.4
- Author:
- Pascal Filion
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseExpressionStateObjectbuildStateObject()Creates the actual state object based on the information this builder gathered.ICaseExpressionStateObjectBuilderwhen(ICaseExpressionStateObjectBuilder when, ICaseExpressionStateObjectBuilder then)Creates a singleWHENexpression.-
Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.AbstractConditionalExpressionStateObjectBuilder
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 class org.eclipse.persistence.jpa.jpql.tools.model.AbstractScalarExpressionStateObjectBuilder
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
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.persistence.jpa.jpql.tools.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.tools.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
public CaseExpressionStateObject buildStateObject()
Creates the actual state object based on the information this builder gathered.- Specified by:
buildStateObjectin interfaceICaseExpressionStateObjectBuilder- Returns:
- The newly created
CaseExpressionStateObject
-
when
public ICaseExpressionStateObjectBuilder when(ICaseExpressionStateObjectBuilder when, ICaseExpressionStateObjectBuilder then)
Creates a singleWHENexpression.- Specified by:
whenin interfaceICaseExpressionStateObjectBuilder- Parameters:
when- TheWHENexpressionthen- TheTHENexpression- Returns:
- This
builder
-
-