public class ParameterExpressionImpl<T> extends ExpressionImpl<T> implements ParameterExpression<T>, Serializable
ParameterContainer.Helper
Constructor and Description |
---|
ParameterExpressionImpl(CriteriaBuilderImpl criteriaBuilder,
Class<T> javaType) |
ParameterExpressionImpl(CriteriaBuilderImpl criteriaBuilder,
Class<T> javaType,
Integer position) |
ParameterExpressionImpl(CriteriaBuilderImpl criteriaBuilder,
Class<T> javaType,
String name) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return the parameter name, or null if the parameter is
not a named parameter or no name has been assigned.
|
Class<T> |
getParameterType()
Return the Java type of the parameter.
|
Integer |
getPosition()
Return the parameter position, or null if the parameter
is not a positional parameter.
|
void |
registerParameters(ParameterRegistry registry)
Register any parameters contained within this query component with the given registry.
|
String |
render(RenderingContext renderingContext) |
String |
renderProjection(RenderingContext renderingContext) |
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias
criteriaBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
as, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
getValueHandlers
getValueHandler
public ParameterExpressionImpl(CriteriaBuilderImpl criteriaBuilder, Class<T> javaType, String name)
public ParameterExpressionImpl(CriteriaBuilderImpl criteriaBuilder, Class<T> javaType, Integer position)
public ParameterExpressionImpl(CriteriaBuilderImpl criteriaBuilder, Class<T> javaType)
public String getName()
Parameter
public Integer getPosition()
Parameter
getPosition
in interface Parameter<T>
public Class<T> getParameterType()
Parameter
getParameterType
in interface Parameter<T>
public void registerParameters(ParameterRegistry registry)
ParameterContainer
registerParameters
in interface ParameterContainer
registry
- The parameter registry with which to register.public String render(RenderingContext renderingContext)
render
in interface Renderable
public String renderProjection(RenderingContext renderingContext)
renderProjection
in interface Renderable
Copyright © 2016 JBoss by Red Hat. All rights reserved.