EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.model.AbstractConditionalStateObjectBuilderWrapper
All Implemented Interfaces:
IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>, IConditionalExpressionStateObjectBuilder, IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

public abstract class AbstractConditionalStateObjectBuilderWrapper
extends java.lang.Object
implements IConditionalExpressionStateObjectBuilder

This builder wraps another builder and delegates the calls to it.

Version:
2.4
Author:
Pascal Filion
Since:
2.4

Constructor Summary
AbstractConditionalStateObjectBuilderWrapper(IConditionalExpressionStateObjectBuilder delegate)
          Creates a new AbstractConditionalStateObjectBuilderWrapper.
 
Method Summary
 IConditionalExpressionStateObjectBuilder abs(IConditionalExpressionStateObjectBuilder builder)
          Creates the expression ABS(x).
 IConditionalExpressionStateObjectBuilder add(IConditionalExpressionStateObjectBuilder builder)
          Creates the expression x + y.
 IConditionalExpressionStateObjectBuilder all(SimpleSelectStatementStateObject subquery)
          Creates the expression ALL(subquery).
 IConditionalExpressionStateObjectBuilder and(IConditionalExpressionStateObjectBuilder builder)
          Creates the expression x AND y.
 IConditionalExpressionStateObjectBuilder any(SimpleSelectStatementStateObject subquery)
          Creates the expression ANY(subquery).
 IConditionalExpressionStateObjectBuilder avg(java.lang.String path)
          Creates the expression AVG(path).
 IConditionalExpressionStateObjectBuilder avgDistinct(java.lang.String path)
          Creates the expression AVG(DISTINCT path).
 IConditionalExpressionStateObjectBuilder between(IConditionalExpressionStateObjectBuilder lowerBoundExpression, IConditionalExpressionStateObjectBuilder upperBoundExpression)
          Creates the expression x BETWEEN y AND z.
 IConditionalExpressionStateObjectBuilder collectionPath(java.lang.String path)
          Creates a new collection-valued path expression.
 void commit()
          Pushes the changes created by this builder to the state object.
 IConditionalExpressionStateObjectBuilder count(java.lang.String path)
          Creates the expression COUNT(identification_variable | state_field_path_expression | single_valued_object_path_expression).
 IConditionalExpressionStateObjectBuilder countDistinct(java.lang.String path)
          Creates the expression COUNT(DISTINCT identification_variable | state_field_path_expression | single_valued_object_path_expression).
 IConditionalExpressionStateObjectBuilder currentDate()
          Creates the expression representing CURRENT_DATE.
 IConditionalExpressionStateObjectBuilder currentTime()
          Creates the expression representing CURRENT_TIME.
 IConditionalExpressionStateObjectBuilder currentTimestamp()
          Creates the expression representing CURRENT_TIMESTAMP.
 IConditionalExpressionStateObjectBuilder date(java.lang.String jdbcDate)
          Creates a new date using the JDBC syntax of a date.
 IConditionalExpressionStateObjectBuilder different(IConditionalExpressionStateObjectBuilder builder)
          
 IConditionalExpressionStateObjectBuilder different(java.lang.Number number)
          
 IConditionalExpressionStateObjectBuilder different(java.lang.String literal)
          
 IConditionalExpressionStateObjectBuilder divide(IConditionalExpressionStateObjectBuilder builder)
          Creates the expression x ÷ y.
 IConditionalExpressionStateObjectBuilder entityType(java.lang.String entityTypeName)
          Creates a new entity type literal.
 IConditionalExpressionStateObjectBuilder equal(IConditionalExpressionStateObjectBuilder builder)
          
 IConditionalExpressionStateObjectBuilder equal(java.lang.Number number)
          
 IConditionalExpressionStateObjectBuilder equal(java.lang.String literal)
          
 IConditionalExpressionStateObjectBuilder exists(SimpleSelectStatementStateObject subquery)
          
 IConditionalExpressionStateObjectBuilder FALSE()
          
 IConditionalExpressionStateObjectBuilder greaterThan(IConditionalExpressionStateObjectBuilder builder)
          
 IConditionalExpressionStateObjectBuilder greaterThan(java.lang.Number number)
          
 IConditionalExpressionStateObjectBuilder greaterThan(java.lang.String literal)
          
 IConditionalExpressionStateObjectBuilder greaterThanOrEqual(IConditionalExpressionStateObjectBuilder builder)
          
 IConditionalExpressionStateObjectBuilder greaterThanOrEqual(java.lang.Number number)
          
 IConditionalExpressionStateObjectBuilder greaterThanOrEqual(java.lang.String literal)
          
 IConditionalExpressionStateObjectBuilder in(IConditionalExpressionStateObjectBuilder... inItems)
          
 IConditionalExpressionStateObjectBuilder in(SimpleSelectStatementStateObject subquery)
          
 IConditionalExpressionStateObjectBuilder in(java.lang.String... inItems)
          
 IConditionalExpressionStateObjectBuilder index(java.lang.String variable)
          Creates the expression INDEX(identification_variable).
 IConditionalExpressionStateObjectBuilder isEmpty(java.lang.String path)
          
 IConditionalExpressionStateObjectBuilder isNotEmpty(java.lang.String path)
          
 IConditionalExpressionStateObjectBuilder isNotNull(java.lang.String path)
          
 IConditionalExpressionStateObjectBuilder isNull(java.lang.String path)
          
 IConditionalExpressionStateObjectBuilder length(IConditionalExpressionStateObjectBuilder builder)
          Creates the expression LENGTH(expression).
 IConditionalExpressionStateObjectBuilder like(IConditionalExpressionStateObjectBuilder patternValue)
          
 IConditionalExpressionStateObjectBuilder like(IConditionalExpressionStateObjectBuilder patternValue, java.lang.String escapeCharacter)
          
 IConditionalExpressionStateObjectBuilder like(java.lang.String patternValue)
          
 IConditionalExpressionStateObjectBuilder locate(IConditionalExpressionStateObjectBuilder parameter1, IConditionalExpressionStateObjectBuilder parameter2)
          Creates the expression LOCATE(string_primary, string_primary).
 IConditionalExpressionStateObjectBuilder locate(IConditionalExpressionStateObjectBuilder parameter1, IConditionalExpressionStateObjectBuilder parameter2, IConditionalExpressionStateObjectBuilder parameter3)
          Creates the expression LOCATE(string_primary, string_primary [, simple_arithmetic_expression]).
 IConditionalExpressionStateObjectBuilder lower(IConditionalExpressionStateObjectBuilder builder)
          
 IConditionalExpressionStateObjectBuilder lowerThan(IConditionalExpressionStateObjectBuilder builder)
          
 IConditionalExpressionStateObjectBuilder lowerThan(java.lang.Number number)
          
 IConditionalExpressionStateObjectBuilder lowerThan(java.lang.String literal)
          
 IConditionalExpressionStateObjectBuilder lowerThanOrEqual(IConditionalExpressionStateObjectBuilder builder)
          
 IConditionalExpressionStateObjectBuilder lowerThanOrEqual(java.lang.Number number)
          
 IConditionalExpressionStateObjectBuilder lowerThanOrEqual(java.lang.String literal)
          
 IConditionalExpressionStateObjectBuilder max(java.lang.String path)
          Creates the expression MAX(path).
 IConditionalExpressionStateObjectBuilder maxDistinct(java.lang.String path)
          Creates the expression MAX(DISTINCT path).
 IConditionalExpressionStateObjectBuilder member(java.lang.String path)
          
 IConditionalExpressionStateObjectBuilder memberOf(java.lang.String path)
          
 IConditionalExpressionStateObjectBuilder min(java.lang.String path)
          Creates the expression AVG(path).
 IConditionalExpressionStateObjectBuilder minDistinct(java.lang.String path)
          Creates the expression AVG(DISTINCT path).
 IConditionalExpressionStateObjectBuilder minus(IConditionalExpressionStateObjectBuilder builder)
          Creates the expression - x.
 IConditionalExpressionStateObjectBuilder mod(IConditionalExpressionStateObjectBuilder parameter1, IConditionalExpressionStateObjectBuilder parameter2)
          Creates the expression MOD(simple_arithmetic_expression, simple_arithmetic_expression).
 IConditionalExpressionStateObjectBuilder multiply(IConditionalExpressionStateObjectBuilder builder)
          Creates the expression x × y.
 IConditionalExpressionStateObjectBuilder notBetween(IConditionalExpressionStateObjectBuilder lowerBoundExpression, IConditionalExpressionStateObjectBuilder upperBoundExpression)
          
 IConditionalExpressionStateObjectBuilder notExists(SimpleSelectStatementStateObject subquery)
          
 IConditionalExpressionStateObjectBuilder notIn(IConditionalExpressionStateObjectBuilder... inItems)
          
 IConditionalExpressionStateObjectBuilder notIn(SimpleSelectStatementStateObject subquery)
          
 IConditionalExpressionStateObjectBuilder notIn(java.lang.String... inItems)
          
 IConditionalExpressionStateObjectBuilder notLike(IConditionalExpressionStateObjectBuilder builder)
          
 IConditionalExpressionStateObjectBuilder notLike(IConditionalExpressionStateObjectBuilder builder, java.lang.String escapeCharacter)
          
 IConditionalExpressionStateObjectBuilder notLike(java.lang.String patternValue)
          
 IConditionalExpressionStateObjectBuilder notMember(java.lang.String path)
          
 IConditionalExpressionStateObjectBuilder notMemberOf(java.lang.String path)
          
 IConditionalExpressionStateObjectBuilder NULL()
          
 IConditionalExpressionStateObjectBuilder numeric(java.lang.Number numeric)
          Creates the numeric literal.
 IConditionalExpressionStateObjectBuilder or(IConditionalExpressionStateObjectBuilder builder)
          
 IConditionalExpressionStateObjectBuilder parameter(java.lang.String parameter)
          Creates the input parameter.
 IConditionalExpressionStateObjectBuilder path(java.lang.String path)
          Creates a new state field path expression.
 IConditionalExpressionStateObjectBuilder plus(IConditionalExpressionStateObjectBuilder builder)
          Creates the expression + x.
 IConditionalExpressionStateObjectBuilder size(java.lang.String path)
          Creates the expression SIZE(collection_valued_path_expression).
 IConditionalExpressionStateObjectBuilder some(SimpleSelectStatementStateObject subquery)
          
 IConditionalExpressionStateObjectBuilder sqrt(IConditionalExpressionStateObjectBuilder builder)
          Creates the expression SQRT(x).
 IConditionalExpressionStateObjectBuilder string(java.lang.String literal)
          Creates a new string literal.
 IConditionalExpressionStateObjectBuilder sub(IConditionalExpressionStateObjectBuilder builder)
          Creates an encapsulated expression: (expression).
 IConditionalExpressionStateObjectBuilder sub(StateObject stateObject)
          
 IConditionalExpressionStateObjectBuilder substring(IConditionalExpressionStateObjectBuilder parameter1, IConditionalExpressionStateObjectBuilder parameter2, IConditionalExpressionStateObjectBuilder parameter3)
          
 IConditionalExpressionStateObjectBuilder subtract(IConditionalExpressionStateObjectBuilder builder)
          Creates the expression x - y.
 IConditionalExpressionStateObjectBuilder sum(java.lang.String path)
          Creates the expression SUM(path).
 IConditionalExpressionStateObjectBuilder sumDistinct(java.lang.String path)
          Creates the expression SUM(path).
 IConditionalExpressionStateObjectBuilder trim(TrimExpression.Specification specification, IConditionalExpressionStateObjectBuilder builder)
          
 IConditionalExpressionStateObjectBuilder trim(TrimExpression.Specification specification, java.lang.String trimCharacter, IConditionalExpressionStateObjectBuilder builder)
          
 IConditionalExpressionStateObjectBuilder TRUE()
          
 IConditionalExpressionStateObjectBuilder type(java.lang.String path)
          Creates the expression TYPE(identification_variable | single_valued_object_path_expression | input_parameter).
 IConditionalExpressionStateObjectBuilder upper(IConditionalExpressionStateObjectBuilder builder)
          
 IConditionalExpressionStateObjectBuilder variable(java.lang.String variable)
          Creates the expression representing an identification variable.
 
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
case_, coalesce, concat, enumLiteral, function, function, getCaseBuilder, nullIf, numeric
 

Constructor Detail

AbstractConditionalStateObjectBuilderWrapper

public AbstractConditionalStateObjectBuilderWrapper(IConditionalExpressionStateObjectBuilder delegate)
Creates a new AbstractConditionalStateObjectBuilderWrapper.

Parameters:
delegate - The delegate to receive the calls from this one
Method Detail

abs

public IConditionalExpressionStateObjectBuilder abs(IConditionalExpressionStateObjectBuilder builder)
Creates the expression ABS(x).

Specified by:
abs in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
builder - The parameter of the ABS expression
Returns:
This This builder

add

public IConditionalExpressionStateObjectBuilder add(IConditionalExpressionStateObjectBuilder builder)
Creates the expression x + y.

Specified by:
add in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
builder - The right side of the addition expression
Returns:
This builder

all

public IConditionalExpressionStateObjectBuilder all(SimpleSelectStatementStateObject subquery)
Creates the expression ALL(subquery).

Specified by:
all in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
subquery - The already constructed subquery
Returns:
This builder

and

public IConditionalExpressionStateObjectBuilder and(IConditionalExpressionStateObjectBuilder builder)
Creates the expression x AND y.

Specified by:
and in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
builder - The right side of the logical expression
Returns:
This builder

any

public IConditionalExpressionStateObjectBuilder any(SimpleSelectStatementStateObject subquery)
Creates the expression ANY(subquery).

Specified by:
any in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
subquery - The already constructed subquery
Returns:
This builder

avg

public IConditionalExpressionStateObjectBuilder avg(java.lang.String path)
Creates the expression AVG(path).

Specified by:
avg in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The state field path expression
Returns:
This This builder

avgDistinct

public IConditionalExpressionStateObjectBuilder avgDistinct(java.lang.String path)
Creates the expression AVG(DISTINCT path).

Specified by:
avgDistinct in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The state field path expression
Returns:
This This builder

between

public IConditionalExpressionStateObjectBuilder between(IConditionalExpressionStateObjectBuilder lowerBoundExpression,
                                                        IConditionalExpressionStateObjectBuilder upperBoundExpression)
Creates the expression x BETWEEN y AND z.

Specified by:
between in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
lowerBoundExpression - The lower bound expression
upperBoundExpression - The upper bound expression
Returns:
This builder

collectionPath

public IConditionalExpressionStateObjectBuilder collectionPath(java.lang.String path)
Creates a new collection-valued path expression.

Specified by:
collectionPath in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The collection-valued path expression
Returns:
This builder

commit

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

Specified by:
commit in interface IConditionalExpressionStateObjectBuilder

count

public IConditionalExpressionStateObjectBuilder count(java.lang.String path)
Creates the expression COUNT(identification_variable | state_field_path_expression | single_valued_object_path_expression).

Specified by:
count in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The state field path expression
Returns:
This This builder

countDistinct

public IConditionalExpressionStateObjectBuilder countDistinct(java.lang.String path)
Creates the expression COUNT(DISTINCT identification_variable | state_field_path_expression | single_valued_object_path_expression).

Specified by:
countDistinct in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The state field path expression
Returns:
This This builder

currentDate

public IConditionalExpressionStateObjectBuilder currentDate()
Creates the expression representing CURRENT_DATE.

Specified by:
currentDate in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Returns:
This This builder

currentTime

public IConditionalExpressionStateObjectBuilder currentTime()
Creates the expression representing CURRENT_TIME.

Specified by:
currentTime in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Returns:
This This builder

currentTimestamp

public IConditionalExpressionStateObjectBuilder currentTimestamp()
Creates the expression representing CURRENT_TIMESTAMP.

Specified by:
currentTimestamp in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Returns:
This This builder

date

public IConditionalExpressionStateObjectBuilder date(java.lang.String jdbcDate)
Creates a new date using the JDBC syntax of a date.

Specified by:
date in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Returns:
This This builder

different

public IConditionalExpressionStateObjectBuilder different(IConditionalExpressionStateObjectBuilder builder)

Specified by:
different in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

different

public IConditionalExpressionStateObjectBuilder different(java.lang.Number number)

Specified by:
different in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

different

public IConditionalExpressionStateObjectBuilder different(java.lang.String literal)

Specified by:
different in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

divide

public IConditionalExpressionStateObjectBuilder divide(IConditionalExpressionStateObjectBuilder builder)
Creates the expression x ÷ y.

Specified by:
divide in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
builder - The right side of the addition expression
Returns:
This This builder

entityType

public IConditionalExpressionStateObjectBuilder entityType(java.lang.String entityTypeName)
Creates a new entity type literal.

Specified by:
entityType in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
entityTypeName - The short name of the entity
Returns:
This This builder

equal

public IConditionalExpressionStateObjectBuilder equal(IConditionalExpressionStateObjectBuilder builder)

Specified by:
equal in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

equal

public IConditionalExpressionStateObjectBuilder equal(java.lang.Number number)

Specified by:
equal in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

equal

public IConditionalExpressionStateObjectBuilder equal(java.lang.String literal)

Specified by:
equal in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

exists

public IConditionalExpressionStateObjectBuilder exists(SimpleSelectStatementStateObject subquery)

Specified by:
exists in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

FALSE

public IConditionalExpressionStateObjectBuilder FALSE()

Specified by:
FALSE in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

greaterThan

public IConditionalExpressionStateObjectBuilder greaterThan(IConditionalExpressionStateObjectBuilder builder)

Specified by:
greaterThan in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

greaterThan

public IConditionalExpressionStateObjectBuilder greaterThan(java.lang.Number number)

Specified by:
greaterThan in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

greaterThan

public IConditionalExpressionStateObjectBuilder greaterThan(java.lang.String literal)

Specified by:
greaterThan in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

greaterThanOrEqual

public IConditionalExpressionStateObjectBuilder greaterThanOrEqual(IConditionalExpressionStateObjectBuilder builder)

Specified by:
greaterThanOrEqual in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

greaterThanOrEqual

public IConditionalExpressionStateObjectBuilder greaterThanOrEqual(java.lang.Number number)

Specified by:
greaterThanOrEqual in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

greaterThanOrEqual

public IConditionalExpressionStateObjectBuilder greaterThanOrEqual(java.lang.String literal)

Specified by:
greaterThanOrEqual in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

in

public IConditionalExpressionStateObjectBuilder in(IConditionalExpressionStateObjectBuilder... inItems)

Specified by:
in in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

in

public IConditionalExpressionStateObjectBuilder in(SimpleSelectStatementStateObject subquery)

Specified by:
in in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

in

public IConditionalExpressionStateObjectBuilder in(java.lang.String... inItems)

Specified by:
in in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

index

public IConditionalExpressionStateObjectBuilder index(java.lang.String variable)
Creates the expression INDEX(identification_variable).

Specified by:
index in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
variable - The identification variable
Returns:
This This builder

isEmpty

public IConditionalExpressionStateObjectBuilder isEmpty(java.lang.String path)

Specified by:
isEmpty in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

isNotEmpty

public IConditionalExpressionStateObjectBuilder isNotEmpty(java.lang.String path)

Specified by:
isNotEmpty in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

isNotNull

public IConditionalExpressionStateObjectBuilder isNotNull(java.lang.String path)

Specified by:
isNotNull in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

isNull

public IConditionalExpressionStateObjectBuilder isNull(java.lang.String path)

Specified by:
isNull in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

length

public IConditionalExpressionStateObjectBuilder length(IConditionalExpressionStateObjectBuilder builder)
Creates the expression LENGTH(expression).

Specified by:
length in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
builder - The encapsulated expression
Returns:
This This builder

like

public IConditionalExpressionStateObjectBuilder like(IConditionalExpressionStateObjectBuilder patternValue)

Specified by:
like in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

like

public IConditionalExpressionStateObjectBuilder like(IConditionalExpressionStateObjectBuilder patternValue,
                                                     java.lang.String escapeCharacter)

Specified by:
like in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

like

public IConditionalExpressionStateObjectBuilder like(java.lang.String patternValue)

Specified by:
like in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

locate

public IConditionalExpressionStateObjectBuilder locate(IConditionalExpressionStateObjectBuilder parameter1,
                                                       IConditionalExpressionStateObjectBuilder parameter2)
Creates the expression LOCATE(string_primary, string_primary).

Specified by:
locate in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
parameter1 - The first string primary
parameter2 - The second string primary
Returns:
This This builder

locate

public IConditionalExpressionStateObjectBuilder locate(IConditionalExpressionStateObjectBuilder parameter1,
                                                       IConditionalExpressionStateObjectBuilder parameter2,
                                                       IConditionalExpressionStateObjectBuilder parameter3)
Creates the expression LOCATE(string_primary, string_primary [, simple_arithmetic_expression]).

Specified by:
locate in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
parameter1 - The first string primary
parameter2 - The second string primary
parameter3 - The position of the search within the string
Returns:
This This builder

lower

public IConditionalExpressionStateObjectBuilder lower(IConditionalExpressionStateObjectBuilder builder)

Specified by:
lower in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

lowerThan

public IConditionalExpressionStateObjectBuilder lowerThan(IConditionalExpressionStateObjectBuilder builder)

Specified by:
lowerThan in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

lowerThan

public IConditionalExpressionStateObjectBuilder lowerThan(java.lang.Number number)

Specified by:
lowerThan in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

lowerThan

public IConditionalExpressionStateObjectBuilder lowerThan(java.lang.String literal)

Specified by:
lowerThan in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

lowerThanOrEqual

public IConditionalExpressionStateObjectBuilder lowerThanOrEqual(IConditionalExpressionStateObjectBuilder builder)

Specified by:
lowerThanOrEqual in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

lowerThanOrEqual

public IConditionalExpressionStateObjectBuilder lowerThanOrEqual(java.lang.Number number)

Specified by:
lowerThanOrEqual in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

lowerThanOrEqual

public IConditionalExpressionStateObjectBuilder lowerThanOrEqual(java.lang.String literal)

Specified by:
lowerThanOrEqual in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

max

public IConditionalExpressionStateObjectBuilder max(java.lang.String path)
Creates the expression MAX(path).

Specified by:
max in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The state field path expression
Returns:
This This builder

maxDistinct

public IConditionalExpressionStateObjectBuilder maxDistinct(java.lang.String path)
Creates the expression MAX(DISTINCT path).

Specified by:
maxDistinct in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The state field path expression
Returns:
This This builder

member

public IConditionalExpressionStateObjectBuilder member(java.lang.String path)

Specified by:
member in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

memberOf

public IConditionalExpressionStateObjectBuilder memberOf(java.lang.String path)

Specified by:
memberOf in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

min

public IConditionalExpressionStateObjectBuilder min(java.lang.String path)
Creates the expression AVG(path).

Specified by:
min in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The state field path expression
Returns:
This This builder

minDistinct

public IConditionalExpressionStateObjectBuilder minDistinct(java.lang.String path)
Creates the expression AVG(DISTINCT path).

Specified by:
minDistinct in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The state field path expression
Returns:
This This builder

minus

public IConditionalExpressionStateObjectBuilder minus(IConditionalExpressionStateObjectBuilder builder)
Creates the expression - x.

Specified by:
minus in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
builder - The expression that will have the plus sign prepended
Returns:
This This builder

mod

public IConditionalExpressionStateObjectBuilder mod(IConditionalExpressionStateObjectBuilder parameter1,
                                                    IConditionalExpressionStateObjectBuilder parameter2)
Creates the expression MOD(simple_arithmetic_expression, simple_arithmetic_expression).

Specified by:
mod in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
parameter1 - The first parameter
parameter2 - The second parameter
Returns:
This This builder

multiply

public IConditionalExpressionStateObjectBuilder multiply(IConditionalExpressionStateObjectBuilder builder)
Creates the expression x × y.

Specified by:
multiply in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
builder - The right side of the addition expression
Returns:
This This builder

notBetween

public IConditionalExpressionStateObjectBuilder notBetween(IConditionalExpressionStateObjectBuilder lowerBoundExpression,
                                                           IConditionalExpressionStateObjectBuilder upperBoundExpression)

Specified by:
notBetween in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

notExists

public IConditionalExpressionStateObjectBuilder notExists(SimpleSelectStatementStateObject subquery)

Specified by:
notExists in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

notIn

public IConditionalExpressionStateObjectBuilder notIn(IConditionalExpressionStateObjectBuilder... inItems)

Specified by:
notIn in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

notIn

public IConditionalExpressionStateObjectBuilder notIn(SimpleSelectStatementStateObject subquery)

Specified by:
notIn in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

notIn

public IConditionalExpressionStateObjectBuilder notIn(java.lang.String... inItems)

Specified by:
notIn in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

notLike

public IConditionalExpressionStateObjectBuilder notLike(IConditionalExpressionStateObjectBuilder builder)

Specified by:
notLike in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

notLike

public IConditionalExpressionStateObjectBuilder notLike(IConditionalExpressionStateObjectBuilder builder,
                                                        java.lang.String escapeCharacter)

Specified by:
notLike in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

notLike

public IConditionalExpressionStateObjectBuilder notLike(java.lang.String patternValue)

Specified by:
notLike in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

notMember

public IConditionalExpressionStateObjectBuilder notMember(java.lang.String path)

Specified by:
notMember in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

notMemberOf

public IConditionalExpressionStateObjectBuilder notMemberOf(java.lang.String path)

Specified by:
notMemberOf in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

NULL

public IConditionalExpressionStateObjectBuilder NULL()

Specified by:
NULL in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

numeric

public IConditionalExpressionStateObjectBuilder numeric(java.lang.Number numeric)
Creates the numeric literal.

Specified by:
numeric in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
numeric - The numeric literal
Returns:
This This builder

or

public IConditionalExpressionStateObjectBuilder or(IConditionalExpressionStateObjectBuilder builder)

Specified by:
or in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

parameter

public IConditionalExpressionStateObjectBuilder parameter(java.lang.String parameter)
Creates the input parameter.

Specified by:
parameter in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
parameter - The named or positional input parameter
Returns:
This This builder

path

public IConditionalExpressionStateObjectBuilder path(java.lang.String path)
Creates a new state field path expression.

Specified by:
path in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The state field path path expression
Returns:
This This builder

plus

public IConditionalExpressionStateObjectBuilder plus(IConditionalExpressionStateObjectBuilder builder)
Creates the expression + x.

Specified by:
plus in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
builder - The expression that will have the plus sign prepended
Returns:
This This builder

size

public IConditionalExpressionStateObjectBuilder size(java.lang.String path)
Creates the expression SIZE(collection_valued_path_expression).

Specified by:
size in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The collection-valued path expression
Returns:
This This builder

some

public IConditionalExpressionStateObjectBuilder some(SimpleSelectStatementStateObject subquery)

Specified by:
some in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

sqrt

public IConditionalExpressionStateObjectBuilder sqrt(IConditionalExpressionStateObjectBuilder builder)
Creates the expression SQRT(x).

Specified by:
sqrt in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
builder - The parameter of the ABS expression
Returns:
This This builder

string

public IConditionalExpressionStateObjectBuilder string(java.lang.String literal)
Creates a new string literal.

Specified by:
string in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
literal - The string literal
Returns:
This This builder

sub

public IConditionalExpressionStateObjectBuilder sub(IConditionalExpressionStateObjectBuilder builder)
Creates an encapsulated expression: (expression).

Specified by:
sub in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
builder - The expression that will be encapsulated
Returns:
This This builder

sub

public IConditionalExpressionStateObjectBuilder sub(StateObject stateObject)

Specified by:
sub in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

substring

public IConditionalExpressionStateObjectBuilder substring(IConditionalExpressionStateObjectBuilder parameter1,
                                                          IConditionalExpressionStateObjectBuilder parameter2,
                                                          IConditionalExpressionStateObjectBuilder parameter3)

Specified by:
substring in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

subtract

public IConditionalExpressionStateObjectBuilder subtract(IConditionalExpressionStateObjectBuilder builder)
Creates the expression x - y.

Specified by:
subtract in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
builder - The right side of the addition expression
Returns:
This This builder

sum

public IConditionalExpressionStateObjectBuilder sum(java.lang.String path)
Creates the expression SUM(path).

Specified by:
sum in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The state field path expression
Returns:
This This builder

sumDistinct

public IConditionalExpressionStateObjectBuilder sumDistinct(java.lang.String path)
Creates the expression SUM(path).

Specified by:
sumDistinct in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The state field path expression
Returns:
This This builder

trim

public IConditionalExpressionStateObjectBuilder trim(TrimExpression.Specification specification,
                                                     IConditionalExpressionStateObjectBuilder builder)

Specified by:
trim in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

trim

public IConditionalExpressionStateObjectBuilder trim(TrimExpression.Specification specification,
                                                     java.lang.String trimCharacter,
                                                     IConditionalExpressionStateObjectBuilder builder)

Specified by:
trim in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

TRUE

public IConditionalExpressionStateObjectBuilder TRUE()

Specified by:
TRUE in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

type

public IConditionalExpressionStateObjectBuilder type(java.lang.String path)
Creates the expression TYPE(identification_variable | single_valued_object_path_expression | input_parameter).

Specified by:
type in interface IScalarExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
path - The identification variable or the input parameter
Returns:
This This builder

upper

public IConditionalExpressionStateObjectBuilder upper(IConditionalExpressionStateObjectBuilder builder)

Specified by:
upper in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>

variable

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

Specified by:
variable in interface IAbstractConditionalExpressionStateObjectBuilder<IConditionalExpressionStateObjectBuilder>
Parameters:
variable - The identification variable
Returns:
This builder

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference