org.hibernate.ejb.criteria.path
Class MapAttributeJoin<O,K,V>

java.lang.Object
  extended by org.hibernate.ejb.criteria.AbstractNode
      extended by org.hibernate.ejb.criteria.expression.AbstractTupleElement<X>
          extended by org.hibernate.ejb.criteria.expression.SelectionImpl<T>
              extended by org.hibernate.ejb.criteria.expression.ExpressionImpl<X>
                  extended by org.hibernate.ejb.criteria.path.AbstractPathImpl<X>
                      extended by org.hibernate.ejb.criteria.path.AbstractFromImpl<Z,X>
                          extended by org.hibernate.ejb.criteria.path.AbstractJoinImpl<O,E>
                              extended by org.hibernate.ejb.criteria.path.PluralAttributeJoinSupport<O,Map<K,V>,V>
                                  extended by org.hibernate.ejb.criteria.path.MapAttributeJoin<O,K,V>
All Implemented Interfaces:
Serializable, javax.persistence.criteria.Expression<V>, javax.persistence.criteria.Fetch<O,V>, javax.persistence.criteria.FetchParent<O,V>, javax.persistence.criteria.From<O,V>, javax.persistence.criteria.Join<O,V>, javax.persistence.criteria.MapJoin<O,K,V>, javax.persistence.criteria.Path<V>, javax.persistence.criteria.PluralJoin<O,Map<K,V>,V>, javax.persistence.criteria.Selection<V>, TupleElement<V>, ExpressionImplementor<V>, FromImplementor<O,V>, JoinImplementor<O,V>, MapJoinImplementor<O,K,V>, ParameterContainer, PathImplementor<V>, PathSource<V>, Renderable, SelectionImplementor<V>, TupleElementImplementor<V>

public class MapAttributeJoin<O,K,V>
extends PluralAttributeJoinSupport<O,Map<K,V>,V>
implements MapJoinImplementor<O,K,V>, Serializable

TODO : javadoc

Author:
Steve Ebersole
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.ejb.criteria.path.AbstractFromImpl
AbstractFromImpl.BasicJoinScope, AbstractFromImpl.CorrelationJoinScope, AbstractFromImpl.JoinScope<X>
 
Nested classes/interfaces inherited from interface org.hibernate.ejb.criteria.ParameterContainer
ParameterContainer.Helper
 
Field Summary
 
Fields inherited from class org.hibernate.ejb.criteria.path.AbstractFromImpl
DEFAULT_JOIN_TYPE
 
Constructor Summary
MapAttributeJoin(CriteriaBuilderImpl criteriaBuilder, Class<V> javaType, PathSource<O> pathSource, javax.persistence.metamodel.MapAttribute<? super O,K,V> joinAttribute, javax.persistence.criteria.JoinType joinType)
           
 
Method Summary
 MapAttributeJoin<O,K,V> correlateTo(CriteriaSubqueryImpl subquery)
          
protected  FromImplementor<O,V> createCorrelationDelegate()
           
 javax.persistence.criteria.Expression<Map.Entry<K,V>> entry()
          
 javax.persistence.metamodel.MapAttribute<? super O,K,V> getAttribute()
          Retrieve reference to the attribute this path represents.
 javax.persistence.metamodel.MapAttribute<? super O,K,V> getModel()
           
 javax.persistence.criteria.Path<K> key()
          
 javax.persistence.criteria.Path<V> value()
          
 
Methods inherited from class org.hibernate.ejb.criteria.path.PluralAttributeJoinSupport
canBeDereferenced, canBeJoinSource, isBasicCollection, locateManagedType
 
Methods inherited from class org.hibernate.ejb.criteria.path.AbstractJoinImpl
getJoinType, getParent, renderTableExpression
 
Methods inherited from class org.hibernate.ejb.criteria.path.AbstractFromImpl
canBeFetchSource, fetch, fetch, fetch, fetch, fetch, fetch, getAlias, getCorrelationParent, getFetches, getJoins, getPathIdentifier, getPathSource, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, locateAttributeInternal, prepareAlias, prepareCorrelationDelegate, render, renderProjection
 
Methods inherited from class org.hibernate.ejb.criteria.path.AbstractPathImpl
get, get, get, get, getParentPath, illegalDereference, locateAttribute, registerAttributePath, registerParameters, resolveCachedAttributePath, type, unknownAttribute
 
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 org.hibernate.ejb.criteria.expression.SelectionImpl
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
 
Methods inherited from class org.hibernate.ejb.criteria.expression.AbstractTupleElement
forceConversion, getJavaType, getValueHandler, resetJavaType, setAlias
 
Methods inherited from class org.hibernate.ejb.criteria.AbstractNode
criteriaBuilder
 
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.Fetch
getJoinType, getParent
 
Methods inherited from interface org.hibernate.ejb.criteria.FromImplementor
getCorrelationParent, prepareAlias, prepareCorrelationDelegate, renderTableExpression
 
Methods inherited from interface org.hibernate.ejb.criteria.ExpressionImplementor
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString
 
Methods inherited from interface org.hibernate.ejb.criteria.SelectionImplementor
getValueHandlers
 
Methods inherited from interface org.hibernate.ejb.criteria.TupleElementImplementor
getValueHandler
 
Methods inherited from interface org.hibernate.ejb.criteria.Renderable
render, renderProjection
 
Methods inherited from interface org.hibernate.ejb.criteria.PathSource
getPathIdentifier
 
Methods inherited from interface javax.persistence.criteria.Join
getJoinType, getParent
 
Methods inherited from interface javax.persistence.criteria.From
getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet
 
Methods inherited from interface javax.persistence.criteria.FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetches
 

Constructor Detail

MapAttributeJoin

public MapAttributeJoin(CriteriaBuilderImpl criteriaBuilder,
                        Class<V> javaType,
                        PathSource<O> pathSource,
                        javax.persistence.metamodel.MapAttribute<? super O,K,V> joinAttribute,
                        javax.persistence.criteria.JoinType joinType)
Method Detail

getAttribute

public javax.persistence.metamodel.MapAttribute<? super O,K,V> getAttribute()
Description copied from class: AbstractJoinImpl
Retrieve reference to the attribute this path represents.

Specified by:
getAttribute in interface javax.persistence.criteria.Fetch<O,V>
Specified by:
getAttribute in interface javax.persistence.criteria.Join<O,V>
Specified by:
getAttribute in interface PathImplementor<V>
Overrides:
getAttribute in class PluralAttributeJoinSupport<O,Map<K,V>,V>
Returns:
The metamodel attribute.

getModel

public javax.persistence.metamodel.MapAttribute<? super O,K,V> getModel()
Specified by:
getModel in interface javax.persistence.criteria.MapJoin<O,K,V>
Specified by:
getModel in interface javax.persistence.criteria.Path<V>
Specified by:
getModel in interface javax.persistence.criteria.PluralJoin<O,Map<K,V>,V>
Overrides:
getModel in class PluralAttributeJoinSupport<O,Map<K,V>,V>

correlateTo

public final MapAttributeJoin<O,K,V> correlateTo(CriteriaSubqueryImpl subquery)
Description copied from class: AbstractFromImpl

Specified by:
correlateTo in interface FromImplementor<O,V>
Specified by:
correlateTo in interface JoinImplementor<O,V>
Specified by:
correlateTo in interface MapJoinImplementor<O,K,V>
Overrides:
correlateTo in class AbstractJoinImpl<O,V>

createCorrelationDelegate

protected FromImplementor<O,V> createCorrelationDelegate()
Specified by:
createCorrelationDelegate in class AbstractFromImpl<O,V>

value

public javax.persistence.criteria.Path<V> value()

Specified by:
value in interface javax.persistence.criteria.MapJoin<O,K,V>

entry

public javax.persistence.criteria.Expression<Map.Entry<K,V>> entry()

Specified by:
entry in interface javax.persistence.criteria.MapJoin<O,K,V>

key

public javax.persistence.criteria.Path<K> key()

Specified by:
key in interface javax.persistence.criteria.MapJoin<O,K,V>


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.