K - The map key typeV - The map value typepublic static class MapKeyHelpers.MapKeySource<K,V> extends AbstractPathImpl<Map<K,V>> implements PathImplementor<Map<K,V>>, Serializable
ParameterContainer.Helper| Constructor and Description | 
|---|
| MapKeySource(CriteriaBuilderImpl criteriaBuilder,
            Class<Map<K,V>> javaType,
            MapJoinImplementor<?,K,V> mapJoin,
            MapAttribute<?,K,V> attribute) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | canBeDereferenced() | 
| MapAttribute<?,K,V> | getAttribute()Retrieve reference to the attribute this path represents. | 
| Bindable<Map<K,V>> | getModel()Return the bindable object that corresponds to the
 path expression. | 
| PathImplementor<?> | getParentPath()Return the parent "node" in the path or null if no parent. | 
| String | getPathIdentifier()Get the string representation of this path as a navigation from one of the
 queries identification variables | 
| protected Attribute | locateAttributeInternal(String attributeName)Get the attribute by name from the underlying model. | 
| void | prepareAlias(RenderingContext renderingContext) | 
| <T extends Map<K,V>> | treatAs(Class<T> treatAsType)Defines handling for the JPA 2.1 TREAT down-casting feature. | 
get, get, get, get, getPathSource, getPathSourceForSubPaths, illegalDereference, locateAttribute, registerAttributePath, registerParameters, render, renderProjection, resolveCachedAttributePath, type, unknownAttributeas, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, getValueHandlers, isCompoundSelectionforceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAliascriteriaBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asStringgetValueHandlersgetValueHandlerrender, renderProjectionas, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, isCompoundSelectiongetAlias, getJavaTypepublic MapKeySource(CriteriaBuilderImpl criteriaBuilder, Class<Map<K,V>> javaType, MapJoinImplementor<?,K,V> mapJoin, MapAttribute<?,K,V> attribute)
public MapAttribute<?,K,V> getAttribute()
PathImplementorgetAttribute in interface PathImplementor<Map<K,V>>public Bindable<Map<K,V>> getModel()
Pathpublic PathImplementor<?> getParentPath()
PathgetParentPath in interface Path<Map<K,V>>getParentPath in class AbstractPathImpl<Map<K,V>>protected boolean canBeDereferenced()
canBeDereferenced in class AbstractPathImpl<Map<K,V>>protected Attribute locateAttributeInternal(String attributeName)
AbstractPathImplAbstractPathImpl.locateAttribute(java.lang.String)
 which also applies nullness checking for proper error reporting.locateAttributeInternal in class AbstractPathImpl<Map<K,V>>attributeName - The name of the attribute to locatepublic <T extends Map<K,V>> PathImplementor<T> treatAs(Class<T> treatAsType)
PathImplementortreatAs in interface PathImplementor<Map<K,V>>T - The parameterized type representation of treatAsType.treatAsType - The type to treat the path as.public String getPathIdentifier()
PathSourcegetPathIdentifier in interface PathSource<Map<K,V>>getPathIdentifier in class AbstractPathImpl<Map<K,V>>public void prepareAlias(RenderingContext renderingContext)
prepareAlias in interface PathSource<Map<K,V>>prepareAlias in class AbstractPathImpl<Map<K,V>>Copyright © 2017 JBoss by Red Hat. All rights reserved.