EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql.model
Class AbstractNewValueStateObjectBuilder

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.model.AbstractStateObjectBuilder
      extended by org.eclipse.persistence.jpa.jpql.model.AbstractScalarExpressionStateObjectBuilder<INewValueStateObjectBuilder>
          extended by org.eclipse.persistence.jpa.jpql.model.AbstractNewValueStateObjectBuilder
All Implemented Interfaces:
INewValueStateObjectBuilder, IScalarExpressionStateObjectBuilder<INewValueStateObjectBuilder>
Direct Known Subclasses:
DefaultNewValueStateObjectBuilder

public abstract class AbstractNewValueStateObjectBuilder
extends AbstractScalarExpressionStateObjectBuilder<INewValueStateObjectBuilder>
implements INewValueStateObjectBuilder

Version:
2.4
Author:
Pascal Filion
Since:
2.4

Constructor Summary
protected AbstractNewValueStateObjectBuilder(UpdateItemStateObject parent)
          Creates a new AbstractNewValueStateObjectBuilder.
 
Method Summary
 void commit()
          Pushes the changes created by this builder to the state object.
protected  UpdateItemStateObject getParent()
          Returns the parent of the expression to build, which is only required when a JPQL fragment needs to be parsed.
 INewValueStateObjectBuilder NULL()
          Creates a new expression representing the NULL keyword.
 INewValueStateObjectBuilder variable(java.lang.String variable)
          Creates the expression representing an identification variable.
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.model.AbstractScalarExpressionStateObjectBuilder
abs, add, arithmetic, avg, avg, avgDistinct, buildCollectionPath, buildIdentificationVariable, buildInputParameter, buildNumeric, buildNumeric, buildStateFieldPath, buildStringLiteral, case_, coalesce, concat, count, count, countDistinct, currentDate, currentTime, currentTimestamp, date, divide, entityType, enumLiteral, 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, type
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.model.AbstractStateObjectBuilder
add, checkBuilder, checkBuilders, hasStateObjects, pop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.persistence.jpa.jpql.model.IScalarExpressionStateObjectBuilder
abs, add, avg, avgDistinct, case_, coalesce, concat, count, countDistinct, currentDate, currentTime, currentTimestamp, date, divide, entityType, enumLiteral, 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, type
 

Constructor Detail

AbstractNewValueStateObjectBuilder

protected AbstractNewValueStateObjectBuilder(UpdateItemStateObject parent)
Creates a new AbstractNewValueStateObjectBuilder.

Parameters:
parent - The parent of the expression to build, which is only required when a JPQL fragment needs to be parsed
Method Detail

commit

public void commit()
Pushes the changes created by this builder to the state object.

Specified by:
commit in interface INewValueStateObjectBuilder

getParent

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

Overrides:
getParent in class AbstractScalarExpressionStateObjectBuilder<INewValueStateObjectBuilder>
Returns:
The parent

NULL

public INewValueStateObjectBuilder NULL()
Creates a new expression representing the NULL keyword.

Specified by:
NULL in interface INewValueStateObjectBuilder
Returns:
This INewValueStateObjectBuilder

variable

public INewValueStateObjectBuilder variable(java.lang.String variable)
Creates the expression representing an identification variable.

Specified by:
variable in interface INewValueStateObjectBuilder
Parameters:
variable - The identification variable
Returns:
This builder

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference