Class AbstractEclipseLinkSelectExpressionStateObjectBuilder
java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.model.AbstractStateObjectBuilder
org.eclipse.persistence.jpa.jpql.tools.model.AbstractScalarExpressionStateObjectBuilder<ISelectExpressionStateObjectBuilder>
org.eclipse.persistence.jpa.jpql.tools.model.AbstractSelectExpressionStateObjectBuilder
org.eclipse.persistence.jpa.jpql.tools.model.AbstractEclipseLinkSelectExpressionStateObjectBuilder
- All Implemented Interfaces:
IEclipseLinkSelectExpressionStateObjectBuilder,IScalarExpressionStateObjectBuilder<ISelectExpressionStateObjectBuilder>,ISelectExpressionStateObjectBuilder
- Direct Known Subclasses:
EclipseLinkSelectExpressionStateObjectBuilder
public abstract class AbstractEclipseLinkSelectExpressionStateObjectBuilder
extends AbstractSelectExpressionStateObjectBuilder
implements IEclipseLinkSelectExpressionStateObjectBuilder
- Since:
- 2.4
- Version:
- 2.4
-
Field Summary
Fields inherited from class org.eclipse.persistence.jpa.jpql.tools.model.AbstractSelectExpressionStateObjectBuilder
stateObjectList -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a newAbstractEclipseLinkSelectExpressionStateObjectBuilder. -
Method Summary
Modifier and TypeMethodDescriptionappend()Appends the previously created select item and starts a new stack to create a new select item.new_(String className, ISelectExpressionStateObjectBuilder... parameters) Creates the expressionNEW constructor_name(identification_variable).Creates the expressionOBJECT(identification_variable).resultVariable(String resultVariable) Defines the current state object with the given result variable.resultVariableAs(String resultVariable) Defines the current state object with the given result variable.Creates the expression representing an identification variable.Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.AbstractSelectExpressionStateObjectBuilder
commit, getParent, resultVariableMethods 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, typeMethods inherited from interface org.eclipse.persistence.jpa.jpql.tools.model.ISelectExpressionStateObjectBuilder
commit
-
Constructor Details
-
AbstractEclipseLinkSelectExpressionStateObjectBuilder
Creates a newAbstractEclipseLinkSelectExpressionStateObjectBuilder.- Parameters:
parent- The select clause for which this builder can create a select expression
-
-
Method Details
-
append
Description copied from interface:ISelectExpressionStateObjectBuilderAppends the previously created select item and starts a new stack to create a new select item.- Specified by:
appendin interfaceIEclipseLinkSelectExpressionStateObjectBuilder- Specified by:
appendin interfaceISelectExpressionStateObjectBuilder- Overrides:
appendin classAbstractSelectExpressionStateObjectBuilder- Returns:
- This builder
-
new_
public IEclipseLinkSelectExpressionStateObjectBuilder new_(String className, ISelectExpressionStateObjectBuilder... parameters) Description copied from interface:ISelectExpressionStateObjectBuilderCreates the expressionNEW constructor_name(identification_variable).- Specified by:
new_in interfaceIEclipseLinkSelectExpressionStateObjectBuilder- Specified by:
new_in interfaceISelectExpressionStateObjectBuilder- Overrides:
new_in classAbstractSelectExpressionStateObjectBuilder- Parameters:
className- The fully qualified class nameparameters- The parameters of the constructor- Returns:
- This builder
-
object
Description copied from interface:ISelectExpressionStateObjectBuilderCreates the expressionOBJECT(identification_variable).- Specified by:
objectin interfaceIEclipseLinkSelectExpressionStateObjectBuilder- Specified by:
objectin interfaceISelectExpressionStateObjectBuilder- Overrides:
objectin classAbstractSelectExpressionStateObjectBuilder- Parameters:
identificationVariable- The identification variable- Returns:
- This builder
-
resultVariable
Description copied from interface:ISelectExpressionStateObjectBuilderDefines the current state object with the given result variable.- Specified by:
resultVariablein interfaceIEclipseLinkSelectExpressionStateObjectBuilder- Specified by:
resultVariablein interfaceISelectExpressionStateObjectBuilder- Overrides:
resultVariablein classAbstractSelectExpressionStateObjectBuilder- Parameters:
resultVariable- The variable identifying the current select expression- Returns:
- This builder
-
resultVariableAs
Description copied from interface:ISelectExpressionStateObjectBuilderDefines the current state object with the given result variable.- Specified by:
resultVariableAsin interfaceIEclipseLinkSelectExpressionStateObjectBuilder- Specified by:
resultVariableAsin interfaceISelectExpressionStateObjectBuilder- Overrides:
resultVariableAsin classAbstractSelectExpressionStateObjectBuilder- Parameters:
resultVariable- The variable identifying the current select expression- Returns:
- This builder
-
variable
Description copied from interface:ISelectExpressionStateObjectBuilderCreates the expression representing an identification variable.- Specified by:
variablein interfaceIEclipseLinkSelectExpressionStateObjectBuilder- Specified by:
variablein interfaceISelectExpressionStateObjectBuilder- Overrides:
variablein classAbstractSelectExpressionStateObjectBuilder- Parameters:
variable- The identification variable- Returns:
- This
builder
-