org.hibernate.ejb.criteria.path
Class MapKeyHelpers.MapKeySource<K,V>
java.lang.Object
   org.hibernate.ejb.criteria.AbstractNode
org.hibernate.ejb.criteria.AbstractNode
       org.hibernate.ejb.criteria.expression.AbstractTupleElement<X>
org.hibernate.ejb.criteria.expression.AbstractTupleElement<X>
           org.hibernate.ejb.criteria.expression.SelectionImpl<T>
org.hibernate.ejb.criteria.expression.SelectionImpl<T>
               org.hibernate.ejb.criteria.expression.ExpressionImpl<X>
org.hibernate.ejb.criteria.expression.ExpressionImpl<X>
                   org.hibernate.ejb.criteria.path.AbstractPathImpl<Map<K,V>>
org.hibernate.ejb.criteria.path.AbstractPathImpl<Map<K,V>>
                       org.hibernate.ejb.criteria.path.MapKeyHelpers.MapKeySource<K,V>
org.hibernate.ejb.criteria.path.MapKeyHelpers.MapKeySource<K,V>
- Type Parameters:
- K- The map key type
- V- The map value type
- All Implemented Interfaces: 
- Serializable, javax.persistence.criteria.Expression<Map<K,V>>, javax.persistence.criteria.Path<Map<K,V>>, javax.persistence.criteria.Selection<Map<K,V>>, TupleElement<Map<K,V>>, ExpressionImplementor<Map<K,V>>, ParameterContainer, PathImplementor<Map<K,V>>, PathSource<Map<K,V>>, Renderable, SelectionImplementor<Map<K,V>>, TupleElementImplementor<Map<K,V>>
- Enclosing class:
- MapKeyHelpers
- public static class MapKeyHelpers.MapKeySource<K,V> 
- extends AbstractPathImpl<Map<K,V>>- implements PathImplementor<Map<K,V>>, Serializable
Defines a Path for the map which can then be used to represent the source of the
 map key "attribute".
- See Also:
- Serialized Form
 
 
 
 
| Methods inherited from class org.hibernate.ejb.criteria.path.AbstractPathImpl | 
| get, get, get, get, getPathIdentifier, getPathSource, illegalDereference, locateAttribute, prepareAlias, registerAttributePath, registerParameters, render, renderProjection, 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 java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
 
 
 
 
| Methods inherited from interface javax.persistence.criteria.Path | 
| get, get, get, get, type | 
 
| 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 | 
 
 
MapKeyHelpers.MapKeySource
public MapKeyHelpers.MapKeySource(CriteriaBuilderImpl criteriaBuilder,
                                  Class<Map<K,V>> javaType,
                                  MapJoinImplementor<?,K,V> mapJoin,
                                  javax.persistence.metamodel.MapAttribute<?,K,V> attribute)
getAttribute
public javax.persistence.metamodel.MapAttribute<?,K,V> getAttribute()
- Description copied from interface: PathImplementor
- Retrieve reference to the attribute this path represents.
 
- 
- Specified by:
- getAttributein interface- PathImplementor<Map<K,V>>
 
- 
- Returns:
- The metamodel attribute.
 
getModel
public javax.persistence.metamodel.Bindable<Map<K,V>> getModel()
- 
- Specified by:
- getModelin interface- javax.persistence.criteria.Path<Map<K,V>>
 
- 
 
getParentPath
public PathImplementor<?> getParentPath()
- Description copied from class: AbstractPathImpl
- 
 
- 
- Specified by:
- getParentPathin interface- javax.persistence.criteria.Path<Map<K,V>>
- Overrides:
- getParentPathin class- AbstractPathImpl<Map<K,V>>
 
- 
 
canBeDereferenced
protected boolean canBeDereferenced()
- 
- Specified by:
- canBeDereferencedin class- AbstractPathImpl<Map<K,V>>
 
- 
 
locateAttributeInternal
protected javax.persistence.metamodel.Attribute locateAttributeInternal(String attributeName)
- Description copied from class: AbstractPathImpl
- Get the attribute by name from the underlying model.  This allows subclasses to
 define exactly how the attribute is derived.  Called from AbstractPathImpl.locateAttribute(java.lang.String)which also applies nullness checking for proper error reporting.
 
- 
- Specified by:
- locateAttributeInternalin class- AbstractPathImpl<Map<K,V>>
 
- 
- Parameters:
- attributeName- The name of the attribute to locate
- Returns:
- The attribute; may be null.
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.