org.hibernate.ejb.criteria.predicate
Class BetweenPredicate<Y>
java.lang.Object
org.hibernate.ejb.criteria.AbstractNode
org.hibernate.ejb.criteria.expression.AbstractTupleElement<X>
org.hibernate.ejb.criteria.expression.SelectionImpl<T>
org.hibernate.ejb.criteria.expression.ExpressionImpl<java.lang.Boolean>
org.hibernate.ejb.criteria.predicate.AbstractPredicateImpl
org.hibernate.ejb.criteria.predicate.AbstractSimplePredicate
org.hibernate.ejb.criteria.predicate.BetweenPredicate<Y>
- All Implemented Interfaces:
- java.io.Serializable, javax.persistence.criteria.Expression<java.lang.Boolean>, javax.persistence.criteria.Predicate, javax.persistence.criteria.Selection<java.lang.Boolean>, javax.persistence.TupleElement<java.lang.Boolean>, ExpressionImplementor<java.lang.Boolean>, ParameterContainer, Renderable, SelectionImplementor<java.lang.Boolean>, TupleElementImplementor<java.lang.Boolean>
public class BetweenPredicate<Y>
- extends AbstractSimplePredicate
- implements java.io.Serializable
Models a BETWEEN Predicate
.
- Author:
- Steve Ebersole
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface javax.persistence.criteria.Predicate |
javax.persistence.criteria.Predicate.BooleanOperator |
Constructor Summary |
BetweenPredicate(CriteriaBuilderImpl criteriaBuilder,
javax.persistence.criteria.Expression<? extends Y> expression,
javax.persistence.criteria.Expression<? extends Y> lowerBound,
javax.persistence.criteria.Expression<? extends Y> upperBound)
|
BetweenPredicate(CriteriaBuilderImpl criteriaBuilder,
javax.persistence.criteria.Expression<? extends Y> expression,
Y lowerBound,
Y upperBound)
|
Methods inherited from class org.hibernate.ejb.criteria.expression.ExpressionImpl |
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.persistence.criteria.Expression |
as, in, in, in, in, isNotNull, isNull |
Methods inherited from interface javax.persistence.criteria.Selection |
alias |
Methods inherited from interface javax.persistence.TupleElement |
getAlias, getJavaType |
BetweenPredicate
public BetweenPredicate(CriteriaBuilderImpl criteriaBuilder,
javax.persistence.criteria.Expression<? extends Y> expression,
Y lowerBound,
Y upperBound)
BetweenPredicate
public BetweenPredicate(CriteriaBuilderImpl criteriaBuilder,
javax.persistence.criteria.Expression<? extends Y> expression,
javax.persistence.criteria.Expression<? extends Y> lowerBound,
javax.persistence.criteria.Expression<? extends Y> upperBound)
getExpression
public javax.persistence.criteria.Expression<? extends Y> getExpression()
getLowerBound
public javax.persistence.criteria.Expression<? extends Y> getLowerBound()
getUpperBound
public javax.persistence.criteria.Expression<? extends Y> getUpperBound()
registerParameters
public void registerParameters(ParameterRegistry registry)
- Description copied from interface:
ParameterContainer
- Register any parameters contained within this query component with the given registry.
- Specified by:
registerParameters
in interface ParameterContainer
- Parameters:
registry
- The parameter registry with which to register.
render
public java.lang.String render(CriteriaQueryCompiler.RenderingContext renderingContext)
- Specified by:
render
in interface Renderable
renderProjection
public java.lang.String renderProjection(CriteriaQueryCompiler.RenderingContext renderingContext)
- Specified by:
renderProjection
in interface Renderable
Copyright © 2011. All Rights Reserved.