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

public abstract Class AbstractNewValueStateObjectBuilder

extends AbstractScalarExpressionStateObjectBuilder<INewValueStateObjectBuilder>
implements INewValueStateObjectBuilder
Class Inheritance
All Implemented Interfaces
org.eclipse.persistence.jpa.jpql.tools.model.INewValueStateObjectBuilder, org.eclipse.persistence.jpa.jpql.tools.model.IScalarExpressionStateObjectBuilder
Known Direct Subclasses
org.eclipse.persistence.jpa.jpql.tools.model.DefaultNewValueStateObjectBuilder
Imports
org.eclipse.persistence.jpa.jpql.tools.model.query.KeywordExpressionStateObject, .StateObject, .UpdateItemStateObject

Author
Pascal Filion
Since
2.4
Version
2.4

Constructor Summary

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

Creates a new AbstractNewValueStateObjectBuilder.

Method Summary

Modifier and TypeMethod and Description
public void
commit()

Implements org.eclipse.persistence.jpa.jpql.tools.model.INewValueStateObjectBuilder.commit.

Pushes the changes created by this builder to the state object.
protected UpdateItemStateObject
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 INewValueStateObjectBuilder
NULL()

Implements org.eclipse.persistence.jpa.jpql.tools.model.INewValueStateObjectBuilder.NULL.

Creates a new expression representing the NULL keyword.
public INewValueStateObjectBuilder
variable(String
The identification variable
variable
)

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

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

Constructor Detail

AbstractNewValueStateObjectBuilderback to summary
protected AbstractNewValueStateObjectBuilder(UpdateItemStateObject parent)

Creates a new AbstractNewValueStateObjectBuilder.

Parameters
parent:UpdateItemStateObject

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

Method Detail

commitback to summary
public void commit()

Implements org.eclipse.persistence.jpa.jpql.tools.model.INewValueStateObjectBuilder.commit.

Doc from org.eclipse.persistence.jpa.jpql.tools.model.INewValueStateObjectBuilder.commit.

Pushes the changes created by this builder to the state object.

Annotations
@Override
getParentback to summary
protected UpdateItemStateObject 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:UpdateItemStateObject

The parent

Annotations
@Override
NULLback to summary
public INewValueStateObjectBuilder NULL()

Implements org.eclipse.persistence.jpa.jpql.tools.model.INewValueStateObjectBuilder.NULL.

Doc from org.eclipse.persistence.jpa.jpql.tools.model.INewValueStateObjectBuilder.NULL.

Creates a new expression representing the NULL keyword.

Returns:INewValueStateObjectBuilder

This INewValueStateObjectBuilder

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

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

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

Creates the expression representing an identification variable.

Parameters
variable:String

The identification variable

Returns:INewValueStateObjectBuilder

This builder

Annotations
@Override