Top Description Fields Constructors Methods
org.eclipse.persistence.internal.expressions

public Class CollectionExpression

extends ConstantExpression
Class Inheritance
Imports
java.util.Collection, .Iterator, .Map, .Vector, org.eclipse.persistence.expressions.Expression, org.eclipse.persistence.internal.sessions.AbstractRecord, .AbstractSession

Used for wrapping collection of values or expressions.

Field Summary

Inherited from org.eclipse.persistence.internal.expressions.ConstantExpression:
canBindlocalBasevalue

Constructor Summary

AccessConstructor and Description
public
public
CollectionExpression(Object newValue, Expression baseExpression)

Method Summary

Modifier and TypeMethod and Description
protected void
postCopyIn(Map<K, V> alreadyDone)

Overrides org.eclipse.persistence.internal.expressions.ConstantExpression.postCopyIn.

INTERNAL: Used for cloning.
public void
printSQL(ExpressionSQLPrinter printer)

Overrides org.eclipse.persistence.internal.expressions.ConstantExpression.printSQL.

INTERNAL: Print SQL onto the stream, using the ExpressionPrinter for context
public void
setLocalBase(Expression e)

Overrides org.eclipse.persistence.internal.expressions.ConstantExpression.setLocalBase.

INTERNAL: Set the local base expression, ie the one on the other side of the operator Most types will ignore this, since they don't need it.
public Object
valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean
true if object possibly not a clone, but is being conformed against the unit of work cache.
isObjectUnregistered
)

Overrides org.eclipse.persistence.internal.expressions.ConstantExpression.valueFromObject.

INTERNAL: Return the value for in memory comparison.
Inherited from org.eclipse.persistence.internal.expressions.ConstantExpression:
canBindcomputeHashCodedescriptionOfNodeTypeequalsgetBuildergetLocalBasegetValueisConstantExpressionisValueExpressionnormalizeprintJavarebuildOnresetPlaceHolderBuildersetCanBindsetValuetwistedForBaseAndContextwriteDescriptionOnwriteFields

Constructor Detail

CollectionExpressionback to summary
public CollectionExpression()
CollectionExpressionback to summary
public CollectionExpression(Object newValue, Expression baseExpression)

Method Detail

postCopyInback to summary
protected void postCopyIn(Map<K, V> alreadyDone)

Overrides org.eclipse.persistence.internal.expressions.ConstantExpression.postCopyIn.

INTERNAL: Used for cloning.

Annotations
@Override
printSQLback to summary
public void printSQL(ExpressionSQLPrinter printer)

Overrides org.eclipse.persistence.internal.expressions.ConstantExpression.printSQL.

Doc from org.eclipse.persistence.internal.expressions.ConstantExpression.printSQL.

INTERNAL: Print SQL onto the stream, using the ExpressionPrinter for context

Annotations
@Override
setLocalBaseback to summary
public void setLocalBase(Expression e)

Overrides org.eclipse.persistence.internal.expressions.ConstantExpression.setLocalBase.

Doc from org.eclipse.persistence.expressions.Expression.setLocalBase.

INTERNAL: Set the local base expression, ie the one on the other side of the operator Most types will ignore this, since they don't need it.

Annotations
@Override
valueFromObjectback to summary
public Object valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)

Overrides org.eclipse.persistence.internal.expressions.ConstantExpression.valueFromObject.

INTERNAL: Return the value for in memory comparison. This is only valid for valueable expressions.

Parameters
isObjectUnregistered:boolean

Doc from org.eclipse.persistence.expressions.Expression.valueFromObject.

true if object possibly not a clone, but is being conformed against the unit of work cache.

Annotations
@Override