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

public abstract Class AbstractSimpleSelectExpressionStateObjectBuilder

extends AbstractScalarExpressionStateObjectBuilder<ISimpleSelectExpressionStateObjectBuilder>
implements ISimpleSelectExpressionStateObjectBuilder
Class Inheritance
All Implemented Interfaces
org.eclipse.persistence.jpa.jpql.tools.model.ISimpleSelectExpressionStateObjectBuilder, org.eclipse.persistence.jpa.jpql.tools.model.IScalarExpressionStateObjectBuilder
Known Direct Subclasses
org.eclipse.persistence.jpa.jpql.tools.model.DefaultSimpleSelectExpressionStateObjectBuilder, org.eclipse.persistence.jpa.jpql.tools.model.AbstractEclipseLinkSimpleSelectExpressionStateObjectBuilder
Imports
org.eclipse.persistence.jpa.jpql.tools.model.query.AbstractSelectClauseStateObject, .StateObject

The abstract implementation of ISimpleSelectExpressionStateObjectBuilder that supports the creation of the select 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
protected
AbstractSimpleSelectExpressionStateObjectBuilder(AbstractSelectClauseStateObject
The select clause for which this builder can create a select expression
parent
)

Creates a new AbstractSimpleSelectExpressionStateObjectBuilder.

Method Summary

Modifier and TypeMethod and Description
protected AbstractSelectClauseStateObject
getParent()

Overrides org.eclipse.persistence.jpa.jpql.tools.model.AbstractScalarExpressionStateObjectBuilder.getParent.

Returns the parent of the expression to build, which is only required when a JPQL fragment needs to be parsed.
public ISimpleSelectExpressionStateObjectBuilder
variable(String
The identification variable
variable
)

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

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

Constructor Detail

AbstractSimpleSelectExpressionStateObjectBuilderback to summary
protected AbstractSimpleSelectExpressionStateObjectBuilder(AbstractSelectClauseStateObject parent)

Creates a new AbstractSimpleSelectExpressionStateObjectBuilder.

Parameters
parent:AbstractSelectClauseStateObject

The select clause for which this builder can create a select expression

Method Detail

getParentback to summary
protected AbstractSelectClauseStateObject getParent()

Overrides org.eclipse.persistence.jpa.jpql.tools.model.AbstractScalarExpressionStateObjectBuilder.getParent.

Doc from org.eclipse.persistence.jpa.jpql.tools.model.AbstractScalarExpressionStateObjectBuilder.getParent.

Returns the parent of the expression to build, which is only required when a JPQL fragment needs to be parsed.

Returns:AbstractSelectClauseStateObject

The parent

Annotations
@Override
variableback to summary
public ISimpleSelectExpressionStateObjectBuilder variable(String variable)

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

Doc from org.eclipse.persistence.jpa.jpql.tools.model.ISimpleSelectExpressionStateObjectBuilder.variable.

Creates the expression representing an identification variable.

Parameters
variable:String

The identification variable

Returns:ISimpleSelectExpressionStateObjectBuilder

This builder

Annotations
@Override