Top Description Constructors Methods
org.eclipse.persistence.jpa.jpql.tools.model

public abstract Class AbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>

extends AbstractScalarExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
implements IAbstractConditionalExpressionStateObjectBuilder<T extends IAbstractConditionalExpressionStateObjectBuilder<T>>
Class Inheritance
All Implemented Interfaces
org.eclipse.persistence.jpa.jpql.tools.model.IAbstractConditionalExpressionStateObjectBuilder, org.eclipse.persistence.jpa.jpql.tools.model.IScalarExpressionStateObjectBuilder
Known Direct Subclasses
org.eclipse.persistence.jpa.jpql.tools.model.DefaultConditionalExpressionStateObjectBuilder, org.eclipse.persistence.jpa.jpql.tools.model.EclipseLinkConditionalStateObjectBuilder, org.eclipse.persistence.jpa.jpql.tools.model.AbstractCaseExpressionStateObjectBuilder
Annotations
@SuppressWarnings:unchecked
Imports
java.util.Collections, .List, org.eclipse.persistence.jpa.jpql.ExpressionTools, org.eclipse.persistence.jpa.jpql.parser.TrimExpression.Specification, org.eclipse.persistence.jpa.jpql.tools.model.query.AllOrAnyExpressionStateObject, .AndExpressionStateObject, .BetweenExpressionStateObject, .CollectionMemberExpressionStateObject, .ComparisonExpressionStateObject, .EmptyCollectionComparisonExpressionStateObject, .ExistsExpressionStateObject, .InExpressionStateObject, .KeywordExpressionStateObject, .LikeExpressionStateObject, .LowerExpressionStateObject, .NullComparisonExpressionStateObject, .OrExpressionStateObject, .SimpleSelectStatementStateObject, .StateObject, .SubExpressionStateObject, .SubstringExpressionStateObject, .TrimExpressionStateObject, .UpperExpressionStateObject

The abstract implementation of IConditionalExpressionStateObjectBuilder that supports the creation of the conditional expression based on the JPQL grammar defined in JPA 2.0.
Author
Pascal Filion
Since
2.4
Version
2.4

Constructor Summary

AccessConstructor and Description
public
AbstractConditionalExpressionStateObjectBuilder(StateObject
The parent of the expression to build, which is only required when a JPQL fragment needs to be parsed
parent
)

Creates a new AbstractStateObjectBuilder.

Method Summary

Modifier and TypeMethod and Description
public T
all(SimpleSelectStatementStateObject
The already constructed subquery
subquery
)

Implements org.eclipse.persistence.jpa.jpql.tools.model.IAbstractConditionalExpressionStateObjectBuilder.all.

Creates the expression ALL(subquery).
protected void
public T
and(T
The right side of the logical expression
builder
)

Implements org.eclipse.persistence.jpa.jpql.tools.model.IAbstractConditionalExpressionStateObjectBuilder.and.

Creates the expression x AND y.
public T
any(SimpleSelectStatementStateObject
The already constructed subquery
subquery
)

Implements org.eclipse.persistence.jpa.jpql.tools.model.IAbstractConditionalExpressionStateObjectBuilder.any.

Creates the expression ANY(subquery).
protected void
between(boolean not)

public T
between(T
The lower bound expression
lowerBoundExpression
,
T
The upper bound expression
upperBoundExpression
)

Implements org.eclipse.persistence.jpa.jpql.tools.model.IAbstractConditionalExpressionStateObjectBuilder.between.

Creates the expression x BETWEEN y AND z.
public T
collectionPath(String
The collection-valued path expression
path
)

Implements org.eclipse.persistence.jpa.jpql.tools.model.IAbstractConditionalExpressionStateObjectBuilder.collectionPath.

Creates a new collection-valued path expression.
protected void
comparison(String identifier)

protected void
comparison(String identifier, StateObject rightStateObject)

public T
public T
public T
public T
public T
public T
protected void
public T
public T
public T
public T
public T
public T
public T
public T
protected void
protected void
protected void
public T
public T
public T
public T
protected void
isEmpty(boolean not, String path)

public T
public T
public T
protected void
isNull(boolean not, String path)

public T
protected void
keyword(String identifier)

protected void
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
protected void
member(boolean not, boolean of, String collectionValuedPathExpression)

public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
public T
variable(String
The identification variable
variable
)

Implements org.eclipse.persistence.jpa.jpql.tools.model.IAbstractConditionalExpressionStateObjectBuilder.variable.

Creates the expression representing an identification variable.
Inherited from org.eclipse.persistence.jpa.jpql.tools.model.AbstractScalarExpressionStateObjectBuilder:
absaddarithmeticavgavgavgDistinctbuildCollectionPathbuildIdentificationVariablebuildInputParameterbuildNumericbuildNumericbuildStateFieldPathbuildStringLiteralcase_coalescecoalesceconcatconcatcountcountcountDistinctcurrentDatecurrentTimecurrentTimestampdatedivideentityTypeenumLiteralfunctionfunctionfunctiongetCaseBuildergetParentindexlengthliteralliteralslocatelocatemaxmaxmaxDistinctminminminDistinctminusmodmultiplynullIfnumericnumericparameterpathplussizesqrtstateObjectsstateObjectsstringsubtractsumsumsumDistincttype