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 |
---|---|
Selection<T> |
alias(String alias) |
protected void |
forceConversion(ValueHandlerFactory.ValueHandler<T> tValueHandler) |
String |
getAlias() |
List<Selection<?>> |
getCompoundSelectionItems() |
Class<T> |
getJavaType() |
ValueHandlerFactory.ValueHandler<T> |
getValueHandler() |
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(Class targetType) |
protected void |
setAlias(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 boolean isCompoundSelection()
isCompoundSelection
in interface Selection<T>
isCompoundSelection
in class SelectionImpl<T>
public List<ValueHandlerFactory.ValueHandler> getValueHandlers()
getValueHandlers
in interface SelectionImplementor<T>
getValueHandlers
in class SelectionImpl<T>
public List<Selection<?>> getCompoundSelectionItems()
getCompoundSelectionItems
in interface Selection<T>
getCompoundSelectionItems
in class SelectionImpl<T>
public Class<T> getJavaType()
getJavaType
in interface TupleElement<T>
getJavaType
in class AbstractTupleElement<T>
protected void resetJavaType(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 String getAlias()
getAlias
in interface TupleElement<T>
getAlias
in class AbstractTupleElement<T>
protected void setAlias(String alias)
AbstractTupleElement
setAlias
in class AbstractTupleElement<T>
alias
- The alias to use.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.