Class AbstractNewValueStateObjectBuilder
java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.model.AbstractStateObjectBuilder
org.eclipse.persistence.jpa.jpql.tools.model.AbstractScalarExpressionStateObjectBuilder<INewValueStateObjectBuilder>
org.eclipse.persistence.jpa.jpql.tools.model.AbstractNewValueStateObjectBuilder
- All Implemented Interfaces:
INewValueStateObjectBuilder,IScalarExpressionStateObjectBuilder<INewValueStateObjectBuilder>
- Direct Known Subclasses:
DefaultNewValueStateObjectBuilder
public abstract class AbstractNewValueStateObjectBuilder
extends AbstractScalarExpressionStateObjectBuilder<INewValueStateObjectBuilder>
implements INewValueStateObjectBuilder
- Since:
- 2.4
- Version:
- 2.4
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a newAbstractNewValueStateObjectBuilder. -
Method Summary
Modifier and TypeMethodDescriptionvoidcommit()Pushes the changes created by this builder to the state object.protected UpdateItemStateObjectReturns the parent of the expression to build, which is only required when a JPQL fragment needs to be parsed.NULL()Creates a new expression representing theNULLkeyword.Creates the expression representing an identification variable.Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.AbstractScalarExpressionStateObjectBuilder
abs, add, arithmetic, avg, avg, avgDistinct, buildCollectionPath, buildIdentificationVariable, buildInputParameter, buildNumeric, buildNumeric, buildStateFieldPath, buildStringLiteral, case_, coalesce, coalesce, concat, concat, count, count, countDistinct, currentDate, currentTime, currentTimestamp, date, divide, entityType, enumLiteral, function, function, function, getCaseBuilder, index, length, literal, literals, locate, locate, max, max, maxDistinct, min, min, minDistinct, minus, mod, multiply, nullIf, numeric, numeric, parameter, path, plus, size, sqrt, stateObjects, stateObjects, string, sub, subtract, sum, sum, sumDistinct, typeMethods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.AbstractStateObjectBuilder
add, checkBuilder, checkBuilders, hasStateObjects, popMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.persistence.jpa.jpql.tools.model.IScalarExpressionStateObjectBuilder
abs, add, avg, avgDistinct, case_, coalesce, coalesce, concat, concat, count, countDistinct, currentDate, currentTime, currentTimestamp, date, divide, entityType, enumLiteral, function, 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
-
Constructor Details
-
AbstractNewValueStateObjectBuilder
Creates a newAbstractNewValueStateObjectBuilder.- Parameters:
parent- The parent of the expression to build, which is only required when a JPQL fragment needs to be parsed
-
-
Method Details
-
commit
public void commit()Description copied from interface:INewValueStateObjectBuilderPushes the changes created by this builder to the state object.- Specified by:
commitin interfaceINewValueStateObjectBuilder
-
getParent
Description copied from class:AbstractScalarExpressionStateObjectBuilderReturns the parent of the expression to build, which is only required when a JPQL fragment needs to be parsed.- Overrides:
getParentin classAbstractScalarExpressionStateObjectBuilder<INewValueStateObjectBuilder>- Returns:
- The parent
-
NULL
Description copied from interface:INewValueStateObjectBuilderCreates a new expression representing theNULLkeyword.- Specified by:
NULLin interfaceINewValueStateObjectBuilder- Returns:
- This
INewValueStateObjectBuilder
-
variable
Description copied from interface:INewValueStateObjectBuilderCreates the expression representing an identification variable.- Specified by:
variablein interfaceINewValueStateObjectBuilder- Parameters:
variable- The identification variable- Returns:
- This
builder
-