public abstract class DelegatedExpressionImpl<T> extends ExpressionImpl<T>
Expression
wraps another Expression and delegates most of its
functionality to that wrapped ExpressionParameterContainer.Helper
Constructor and Description |
---|
DelegatedExpressionImpl(ExpressionImpl<T> wrapped) |
Modifier and Type | Method and Description |
---|---|
javax.persistence.criteria.Selection<T> |
alias(java.lang.String alias) |
protected void |
forceConversion(ValueHandlerFactory.ValueHandler<T> tValueHandler) |
java.lang.String |
getAlias() |
java.util.List<javax.persistence.criteria.Selection<?>> |
getCompoundSelectionItems() |
java.lang.Class<T> |
getJavaType() |
ValueHandlerFactory.ValueHandler<T> |
getValueHandler() |
java.util.List<ValueHandlerFactory.ValueHandler> |
getValueHandlers() |
ExpressionImpl<T> |
getWrapped() |
boolean |
isCompoundSelection() |
void |
registerParameters(ParameterRegistry registry)
Register any parameters contained within this query component with the given registry.
|
protected void |
resetJavaType(java.lang.Class targetType) |
protected void |
setAlias(java.lang.String alias)
Protected access to define the alias.
|
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
criteriaBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
render, renderProjection
public DelegatedExpressionImpl(ExpressionImpl<T> wrapped)
public ExpressionImpl<T> getWrapped()
public void registerParameters(ParameterRegistry registry)
ParameterContainer
registry
- The parameter registry with which to register.public javax.persistence.criteria.Selection<T> alias(java.lang.String alias)
alias
in interface javax.persistence.criteria.Selection<T>
alias
in class SelectionImpl<T>
public boolean isCompoundSelection()
isCompoundSelection
in interface javax.persistence.criteria.Selection<T>
isCompoundSelection
in class SelectionImpl<T>
public java.util.List<ValueHandlerFactory.ValueHandler> getValueHandlers()
getValueHandlers
in interface SelectionImplementor<T>
getValueHandlers
in class SelectionImpl<T>
public java.util.List<javax.persistence.criteria.Selection<?>> getCompoundSelectionItems()
getCompoundSelectionItems
in interface javax.persistence.criteria.Selection<T>
getCompoundSelectionItems
in class SelectionImpl<T>
public java.lang.Class<T> getJavaType()
getJavaType
in interface javax.persistence.TupleElement<T>
getJavaType
in class AbstractTupleElement<T>
protected void resetJavaType(java.lang.Class targetType)
resetJavaType
in class AbstractTupleElement<T>
protected void forceConversion(ValueHandlerFactory.ValueHandler<T> tValueHandler)
forceConversion
in class AbstractTupleElement<T>
public ValueHandlerFactory.ValueHandler<T> getValueHandler()
getValueHandler
in interface TupleElementImplementor<T>
getValueHandler
in class AbstractTupleElement<T>
public java.lang.String getAlias()
getAlias
in interface javax.persistence.TupleElement<T>
getAlias
in class AbstractTupleElement<T>
protected void setAlias(java.lang.String alias)
AbstractTupleElement
setAlias
in class AbstractTupleElement<T>
alias
- The alias to use.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.