K - The type of the map key.public static class MapKeyHelpers.MapKeyPath<K> extends AbstractPathImpl<K> implements PathImplementor<K>, Serializable
MapJoin.key()ParameterContainer.Helper| Constructor and Description |
|---|
MapKeyPath(CriteriaBuilderImpl criteriaBuilder,
MapKeyHelpers.MapKeySource<K,?> source,
MapKeyHelpers.MapKeyAttribute<K> mapKeyAttribute) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBeDereferenced() |
MapKeyHelpers.MapKeyAttribute<K> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
Bindable<K> |
getModel()
Return the bindable object that corresponds to the
path expression.
|
MapKeyHelpers.MapKeySource |
getPathSource() |
protected Attribute |
locateAttributeInternal(String attributeName)
Get the attribute by name from the underlying model.
|
String |
render(RenderingContext renderingContext) |
<T extends K> |
treatAs(Class<T> treatAsType)
Defines handling for the JPA 2.1 TREAT down-casting feature.
|
get, get, get, get, getParentPath, getPathIdentifier, getPathSourceForSubPaths, illegalDereference, locateAttribute, prepareAlias, registerAttributePath, registerParameters, 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, asStringgetValueHandlersgetValueHandlerrenderProjectiongetPathIdentifier, prepareAliasget, get, get, get, getParentPath, typeas, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, isCompoundSelectiongetAlias, getJavaTypepublic MapKeyPath(CriteriaBuilderImpl criteriaBuilder, MapKeyHelpers.MapKeySource<K,?> source, MapKeyHelpers.MapKeyAttribute<K> mapKeyAttribute)
public MapKeyHelpers.MapKeySource getPathSource()
getPathSource in class AbstractPathImpl<K>public MapKeyHelpers.MapKeyAttribute<K> getAttribute()
PathImplementorgetAttribute in interface PathImplementor<K>protected boolean canBeDereferenced()
canBeDereferenced in class AbstractPathImpl<K>protected Attribute locateAttributeInternal(String attributeName)
AbstractPathImplAbstractPathImpl.locateAttribute(java.lang.String)
which also applies nullness checking for proper error reporting.locateAttributeInternal in class AbstractPathImpl<K>attributeName - The name of the attribute to locatepublic Bindable<K> getModel()
Pathpublic <T extends K> MapKeyHelpers.MapKeyPath<T> treatAs(Class<T> treatAsType)
PathImplementortreatAs in interface PathImplementor<K>T - The parameterized type representation of treatAsType.treatAsType - The type to treat the path as.public String render(RenderingContext renderingContext)
render in interface Renderablerender in class AbstractPathImpl<K>Copyright © 2016 JBoss by Red Hat. All rights reserved.