org.eclipse.persistence.jpa.jpql.model
Interface IBuilder<T extends StateObject,S extends StateObject>
- All Known Implementing Classes:
- BasicStateObjectBuilder.AbstractRangeDeclarationBuilder, BasicStateObjectBuilder.AbstractSelectStatementBuilder, BasicStateObjectBuilder.CollectionMemberDeclarationBuilder, BasicStateObjectBuilder.DeleteStatementBuilder, BasicStateObjectBuilder.JoinBuilder, BasicStateObjectBuilder.RangeDeclarationBuilder, BasicStateObjectBuilder.SelectItemBuilder, BasicStateObjectBuilder.SelectStatementBuilder, BasicStateObjectBuilder.SimpleRangeDeclarationBuilder, BasicStateObjectBuilder.SimpleSelectStatementBuilder, BasicStateObjectBuilder.UpdateStatementBuilder, BasicStateObjectBuilder.WhenClauseBuilder
public interface IBuilder<T extends StateObject,S extends StateObject>
This builder is used by BasicStateObjectBuilder
, which allows subclasses to easily change
any internal builders used for properly creating the state model representation of a JPQL query.
- Version:
- 2.4
- Author:
- Pascal Filion
- Since:
- 2.4
buildStateObject
T buildStateObject(S parent,
Expression expression)
- Creates the
StateObject
representation of the given Expression
.
- Parameters:
parent
- The parent of the new StateObject
to createexpression
- The parsed Expression
to convert into a StateObject
- Returns:
- The
StateObject
representation of the given Expression