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 |
|---|
MapKeySource(CriteriaBuilderImpl criteriaBuilder,
Class<Map<K,V>> javaType,
MapJoinImplementor<?,K,V> mapJoin,
javax.persistence.metamodel.MapAttribute<?,K,V> attribute) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBeDereferenced() |
javax.persistence.metamodel.MapAttribute<?,K,V> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
javax.persistence.metamodel.Bindable<Map<K,V>> |
getModel() |
PathImplementor<?> |
getParentPath() |
protected javax.persistence.metamodel.Attribute |
locateAttributeInternal(String attributeName)
Get the attribute by name from the underlying model.
|
get, get, get, get, getPathIdentifier, getPathSource, illegalDereference, locateAttribute, prepareAlias, 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, renderProjectiongetPathIdentifier, prepareAliasas, in, in, in, in, isNotNull, isNullpublic MapKeySource(CriteriaBuilderImpl criteriaBuilder, Class<Map<K,V>> javaType, MapJoinImplementor<?,K,V> mapJoin, javax.persistence.metamodel.MapAttribute<?,K,V> attribute)
public javax.persistence.metamodel.MapAttribute<?,K,V> getAttribute()
PathImplementorgetAttribute in interface PathImplementor<Map<K,V>>public PathImplementor<?> getParentPath()
AbstractPathImplgetParentPath in interface javax.persistence.criteria.Path<Map<K,V>>getParentPath in class AbstractPathImpl<Map<K,V>>protected boolean canBeDereferenced()
canBeDereferenced in class AbstractPathImpl<Map<K,V>>protected javax.persistence.metamodel.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 locateCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved