org.hibernate.ejb.criteria.predicate
Class AbstractPredicateImpl
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
- 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>
- Direct Known Subclasses:
- AbstractSimplePredicate, CompoundPredicate
public abstract class AbstractPredicateImpl
- extends ExpressionImpl<java.lang.Boolean>
- implements javax.persistence.criteria.Predicate, java.io.Serializable
Basic template support for Predicate
implementors providing
expression handling, negation and conjunction/disjunction handling.
- Author:
- Steve Ebersole
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface javax.persistence.criteria.Predicate |
javax.persistence.criteria.Predicate.BooleanOperator |
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.Predicate |
getExpressions, getOperator |
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 |
AbstractPredicateImpl
protected AbstractPredicateImpl(CriteriaBuilderImpl criteriaBuilder)
isNegated
public boolean isNegated()
- Specified by:
isNegated
in interface javax.persistence.criteria.Predicate
not
public javax.persistence.criteria.Predicate not()
- Specified by:
not
in interface javax.persistence.criteria.Predicate
isCompoundSelection
public final boolean isCompoundSelection()
- Specified by:
isCompoundSelection
in interface javax.persistence.criteria.Selection<java.lang.Boolean>
- Overrides:
isCompoundSelection
in class SelectionImpl<java.lang.Boolean>
getCompoundSelectionItems
public final java.util.List<javax.persistence.criteria.Selection<?>> getCompoundSelectionItems()
- Specified by:
getCompoundSelectionItems
in interface javax.persistence.criteria.Selection<java.lang.Boolean>
- Overrides:
getCompoundSelectionItems
in class SelectionImpl<java.lang.Boolean>
Copyright © 2012. All Rights Reserved.