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
Path
for the map which can then be used to represent the source of the
map key "attribute".ParameterContainer.Helper
Constructor and Description |
---|
MapKeyHelpers.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() |
PathImplementor<?> |
getParentPath() |
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.
|
get, get, get, get, getPathSource, illegalDereference, locateAttribute, prepareAlias, registerAttributePath, registerParameters, render, renderProjection, resolveCachedAttributePath, type, unknownAttribute
as, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, getValueHandlers, isCompoundSelection
forceConversion, getAlias, getJavaType, getValueHandler, resetJavaType, setAlias
criteriaBuilder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString
getValueHandlers
getValueHandler
render, renderProjection
prepareAlias
as, in, in, in, in, isNotNull, isNull
alias, getCompoundSelectionItems, isCompoundSelection
getAlias, getJavaType
public MapKeyHelpers.MapKeySource(CriteriaBuilderImpl criteriaBuilder, Class<Map<K,V>> javaType, MapJoinImplementor<?,K,V> mapJoin, MapAttribute<?,K,V> attribute)
public MapAttribute<?,K,V> getAttribute()
PathImplementor
getAttribute
in interface PathImplementor<Map<K,V>>
public PathImplementor<?> getParentPath()
AbstractPathImpl
getParentPath
in interface Path<Map<K,V>>
getParentPath
in class AbstractPathImpl<Map<K,V>>
public String getPathIdentifier()
AbstractPathImpl
getPathIdentifier
in interface PathSource<Map<K,V>>
getPathIdentifier
in class AbstractPathImpl<Map<K,V>>
protected boolean canBeDereferenced()
canBeDereferenced
in class AbstractPathImpl<Map<K,V>>
protected Attribute locateAttributeInternal(String attributeName)
AbstractPathImpl
AbstractPathImpl.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 locateCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.