org.datanucleus.jpa.criteria
Class CoalesceImpl<T>

java.lang.Object
  extended by org.datanucleus.jpa.criteria.ExpressionImpl<T>
      extended by org.datanucleus.jpa.criteria.CoalesceImpl<T>
All Implemented Interfaces:
javax.persistence.criteria.CriteriaBuilder.Coalesce<T>, javax.persistence.criteria.Expression<T>, javax.persistence.criteria.Selection<T>, javax.persistence.TupleElement<T>

public class CoalesceImpl<T>
extends ExpressionImpl<T>
implements javax.persistence.criteria.CriteriaBuilder.Coalesce<T>

Implementation of JPA2 Criteria "Coalesce".


Constructor Summary
CoalesceImpl(java.lang.Class<T> cls)
           
 
Method Summary
 javax.persistence.criteria.CriteriaBuilder.Coalesce<T> value(javax.persistence.criteria.Expression<? extends T> expr)
           
 javax.persistence.criteria.CriteriaBuilder.Coalesce<T> value(T val)
           
 
Methods inherited from class org.datanucleus.jpa.criteria.ExpressionImpl
alias, as, getAlias, getCompoundSelectionItems, getJavaType, getQueryExpression, in, in, in, in, isCompoundSelection, isNotNull, isNull, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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, getCompoundSelectionItems, isCompoundSelection
 
Methods inherited from interface javax.persistence.TupleElement
getAlias, getJavaType
 

Constructor Detail

CoalesceImpl

public CoalesceImpl(java.lang.Class<T> cls)
Method Detail

value

public javax.persistence.criteria.CriteriaBuilder.Coalesce<T> value(javax.persistence.criteria.Expression<? extends T> expr)
Specified by:
value in interface javax.persistence.criteria.CriteriaBuilder.Coalesce<T>

value

public javax.persistence.criteria.CriteriaBuilder.Coalesce<T> value(T val)
Specified by:
value in interface javax.persistence.criteria.CriteriaBuilder.Coalesce<T>


Copyright © 2011. All Rights Reserved.