Top Description Fields Constructors Methods
org.hibernate.query.criteria.internal.expression

public abstract Class DelegatedExpressionImpl<T>

extends ExpressionImpl<T>
Class Inheritance
Known Direct Subclasses
org.hibernate.query.criteria.internal.CriteriaSubqueryImpl.SubquerySelection
Imports
java.util.List, javax.persistence.criteria.Selection, org.hibernate.query.criteria.internal.ParameterRegistry, .ValueHandlerFactory

Implementation of javax.persistence.criteria.Expression wraps another Expression and delegates most of its functionality to that wrapped Expression
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final ExpressionImpl<T>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Selection<T>
protected void
public String
getAlias()

Overrides org.hibernate.query.criteria.internal.expression.AbstractTupleElement.getAlias.

Implements javax.persistence.TupleElement.getAlias.

Return the alias assigned to the tuple element or null, if no alias has been assigned.
public List<Selection<?>>
public Class<T>
public ValueHandlerFactory.ValueHandler<T>
public List<ValueHandlerFactory.ValueHandler<T>>
public ExpressionImpl<T>
public boolean
public void
registerParameters(ParameterRegistry
The parameter registry with which to register.
registry
)

Implements org.hibernate.query.criteria.internal.ParameterContainer.registerParameters.

Register any parameters contained within this query component with the given registry.
protected void
protected void
setAlias(String
The alias to use.
alias
)

Overrides org.hibernate.query.criteria.internal.expression.AbstractTupleElement.setAlias.

Protected access to define the alias.
Inherited from org.hibernate.query.criteria.internal.expression.ExpressionImpl:
asasBigDecimalasBigIntegerasDoubleasFloatasIntegerasLongasStringininininisNotNullisNull

Field Detail

wrappedback to summary
private final ExpressionImpl<T> wrapped

Constructor Detail

DelegatedExpressionImplback to summary
public DelegatedExpressionImpl(ExpressionImpl<T> wrapped)

Method Detail

aliasback to summary
public Selection<T> alias(String alias)

Overrides org.hibernate.query.criteria.internal.expression.SelectionImpl.alias.

Implements javax.persistence.criteria.Selection.alias.

Doc from javax.persistence.criteria.Selection.alias.

Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item.

Parameters
alias:String

alias

Returns:Selection<T>

selection item

Annotations
@Override
forceConversionback to summary
protected void forceConversion(ValueHandlerFactory.ValueHandler<T> tValueHandler)

Overrides org.hibernate.query.criteria.internal.expression.AbstractTupleElement.forceConversion.

Annotations
@Override
getAliasback to summary
public String getAlias()

Overrides org.hibernate.query.criteria.internal.expression.AbstractTupleElement.getAlias.

Implements javax.persistence.TupleElement.getAlias.

Doc from javax.persistence.TupleElement.getAlias.

Return the alias assigned to the tuple element or null, if no alias has been assigned.

Returns:String

alias

Annotations
@Override
getCompoundSelectionItemsback to summary
public List<Selection<?>> getCompoundSelectionItems()

Overrides org.hibernate.query.criteria.internal.expression.SelectionImpl.getCompoundSelectionItems.

Implements javax.persistence.criteria.Selection.getCompoundSelectionItems.

Doc from javax.persistence.criteria.Selection.getCompoundSelectionItems.

Return the selection items composing a compound selection. Modifications to the list do not affect the query.

Returns:List<Selection<?>>

list of selection items

Annotations
@Override
getJavaTypeback to summary
public Class<T> getJavaType()

Overrides org.hibernate.query.criteria.internal.expression.AbstractTupleElement.getJavaType.

Implements javax.persistence.TupleElement.getJavaType.

Doc from javax.persistence.TupleElement.getJavaType.

Return the Java type of the tuple element.

Returns:Class<T>

the Java type of the tuple element

Annotations
@Override
getValueHandlerback to summary
public ValueHandlerFactory.ValueHandler<T> getValueHandler()

Overrides org.hibernate.query.criteria.internal.expression.AbstractTupleElement.getValueHandler.

Implements org.hibernate.query.criteria.internal.TupleElementImplementor.getValueHandler.

Annotations
@Override
getValueHandlersback to summary
public List<ValueHandlerFactory.ValueHandler<T>> getValueHandlers()

Overrides org.hibernate.query.criteria.internal.expression.SelectionImpl.getValueHandlers.

Implements org.hibernate.query.criteria.internal.SelectionImplementor.getValueHandlers.

Annotations
@Override
getWrappedback to summary
public ExpressionImpl<T> getWrapped()
isCompoundSelectionback to summary
public boolean isCompoundSelection()

Overrides org.hibernate.query.criteria.internal.expression.SelectionImpl.isCompoundSelection.

Implements javax.persistence.criteria.Selection.isCompoundSelection.

Doc from javax.persistence.criteria.Selection.isCompoundSelection.

Whether the selection item is a compound selection.

Returns:boolean

boolean indicating whether the selection is a compound selection

Annotations
@Override
registerParametersback to summary
public void registerParameters(ParameterRegistry registry)

Implements org.hibernate.query.criteria.internal.ParameterContainer.registerParameters.

Doc from org.hibernate.query.criteria.internal.ParameterContainer.registerParameters.

Register any parameters contained within this query component with the given registry.

Parameters
registry:ParameterRegistry

The parameter registry with which to register.

Annotations
@Override
resetJavaTypeback to summary
protected void resetJavaType(Class<T> targetType)

Overrides org.hibernate.query.criteria.internal.expression.AbstractTupleElement.resetJavaType.

Annotations
@Override
setAliasback to summary
protected void setAlias(String alias)

Overrides org.hibernate.query.criteria.internal.expression.AbstractTupleElement.setAlias.

Doc from org.hibernate.query.criteria.internal.expression.AbstractTupleElement.setAlias.

Protected access to define the alias.

Parameters
alias:String

The alias to use.

Annotations
@Override