Class DefaultStateObjectBuilder
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor
-
- org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder
-
- org.eclipse.persistence.jpa.jpql.tools.model.DefaultStateObjectBuilder
-
- All Implemented Interfaces:
ExpressionVisitor
public class DefaultStateObjectBuilder extends BasicStateObjectBuilder
The default implementation ofBasicStateObjectBuilder
, which provides support for creating aStateObject
representation of anyExpression
.- Version:
- 2.4
- Author:
- Pascal Filion
- Since:
- 2.4
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder
BasicStateObjectBuilder.AbstractRangeDeclarationBuilder<S extends AbstractFromClauseStateObject>, BasicStateObjectBuilder.AbstractSelectStatementBuilder<T extends AbstractSelectStatementStateObject,P extends StateObject>, BasicStateObjectBuilder.CollectionExpressionVisitor, BasicStateObjectBuilder.CollectionMemberDeclarationBuilder, BasicStateObjectBuilder.DeleteStatementBuilder, BasicStateObjectBuilder.JoinBuilder, BasicStateObjectBuilder.RangeDeclarationBuilder, BasicStateObjectBuilder.SelectItemBuilder, BasicStateObjectBuilder.SelectStatementBuilder, BasicStateObjectBuilder.SimpleRangeDeclarationBuilder, BasicStateObjectBuilder.SimpleSelectStatementBuilder, BasicStateObjectBuilder.UpdateStatementBuilder, BasicStateObjectBuilder.WhenClauseBuilder
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder
managedTypeProvider, parent, stateObject
-
-
Constructor Summary
Constructors Constructor Description DefaultStateObjectBuilder()
Creates a newDefaultStateObjectBuilder
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LiteralVisitor
buildLiteralVisitor()
Creates the visitor that can retrieve the "literal" value from a givenExpression
based on the desiredLiteralType
.-
Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder
buildChildren, buildCollectionDeclarationBuilder, buildDeleteStatementBuilder, buildJoinBuilder, buildRangeDeclarationBuilder, buildSelectItemBuilder, buildSelectStatementBuilder, buildSimpleRangeDeclarationBuilder, buildSimpleSelectStatementBuilder, buildStateObjectImp, buildUpdateStatementBuilder, buildWhenClauseBuilder, children, getCollectionDeclarationBuilder, getCollectionExpressionVisitor, getDeleteStatementBuilder, getJoinBuilder, getLiteralVisitor, getRangeDeclarationBuilder, getSelectItemBuilder, getSelectStatementBuilder, getSimpleRangeDeclarationBuilder, getSimpleSelectStatementBuilder, getStateObject, getUpdateStatementBuilder, literal, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, whenClauseBuilder
-
-
-
-
Method Detail
-
buildLiteralVisitor
protected LiteralVisitor buildLiteralVisitor()
Creates the visitor that can retrieve the "literal" value from a givenExpression
based on the desiredLiteralType
.- Specified by:
buildLiteralVisitor
in classBasicStateObjectBuilder
- Returns:
- A new concrete instance of
LiteralVisitor
-
-