public class PluralAttributePath<X> extends AbstractPathImpl<X> implements java.io.Serializable
PluralAttribute
generally obtained from a
Path.get(javax.persistence.metamodel.SingularAttribute<? super X, Y>)
callParameterContainer.Helper
Constructor and Description |
---|
PluralAttributePath(CriteriaBuilderImpl criteriaBuilder,
PathSource source,
javax.persistence.metamodel.PluralAttribute<?,X,?> attribute) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canBeDereferenced() |
javax.persistence.metamodel.PluralAttribute<?,X,?> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
javax.persistence.metamodel.Bindable<X> |
getModel() |
CollectionPersister |
getPersister() |
protected javax.persistence.metamodel.Attribute |
locateAttributeInternal(java.lang.String attributeName)
Get the attribute by name from the underlying model.
|
<T extends X> |
treatAs(java.lang.Class<T> treatAsType)
Defines handling for the JPA 2.1 TREAT down-casting feature.
|
get, get, get, get, getParentPath, getPathIdentifier, getPathSource, getPathSourceForSubPaths, illegalDereference, locateAttribute, prepareAlias, registerAttributePath, registerParameters, render, 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
renderGroupBy, renderProjection
as, in, in, in, in, isNotNull, isNull
public PluralAttributePath(CriteriaBuilderImpl criteriaBuilder, PathSource source, javax.persistence.metamodel.PluralAttribute<?,X,?> attribute)
public javax.persistence.metamodel.PluralAttribute<?,X,?> getAttribute()
PathImplementor
getAttribute
in interface PathImplementor<X>
public CollectionPersister getPersister()
protected boolean canBeDereferenced()
canBeDereferenced
in class AbstractPathImpl<X>
protected javax.persistence.metamodel.Attribute locateAttributeInternal(java.lang.String attributeName)
AbstractPathImpl
AbstractPathImpl.locateAttribute(java.lang.String)
which also applies nullness checking for proper error reporting.locateAttributeInternal
in class AbstractPathImpl<X>
attributeName
- The name of the attribute to locatepublic javax.persistence.metamodel.Bindable<X> getModel()
getModel
in interface javax.persistence.criteria.Path<X>
public <T extends X> PluralAttributePath<T> treatAs(java.lang.Class<T> treatAsType)
PathImplementor
treatAs
in interface PathImplementor<X>
T
- The parameterized type representation of treatAsType.treatAsType
- The type to treat the path as.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.