public class SingularAttributePath<X> extends AbstractPathImpl<X> implements Serializable
SingularAttribute
generally obtained from a
Path.get(SingularAttribute)
callParameterContainer.Helper
Constructor and Description |
---|
SingularAttributePath(CriteriaBuilderImpl criteriaBuilder,
Class<X> javaType,
PathSource pathSource,
javax.persistence.metamodel.SingularAttribute<?,X> attribute) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canBeDereferenced() |
javax.persistence.metamodel.SingularAttribute<?,X> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
javax.persistence.metamodel.Bindable<X> |
getModel() |
protected javax.persistence.metamodel.Attribute |
locateAttributeInternal(String attributeName)
Get the attribute by name from the underlying model.
|
get, get, get, get, getParentPath, getPathIdentifier, 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
as, in, in, in, in, isNotNull, isNull
public SingularAttributePath(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, PathSource pathSource, javax.persistence.metamodel.SingularAttribute<?,X> attribute)
public javax.persistence.metamodel.SingularAttribute<?,X> getAttribute()
getAttribute
in interface PathImplementor<X>
public javax.persistence.metamodel.Bindable<X> getModel()
getModel
in interface javax.persistence.criteria.Path<X>
protected boolean canBeDereferenced()
canBeDereferenced
in class AbstractPathImpl<X>
protected javax.persistence.metamodel.Attribute locateAttributeInternal(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 locateCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved