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,
SingularAttribute<?,X> attribute) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBeDereferenced() |
SingularAttribute<?,X> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
Bindable<X> |
getModel()
Return the bindable object that corresponds to the
path expression.
|
protected 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, 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, asStringgetValueHandlersgetValueHandleras, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, isCompoundSelectiongetAlias, getJavaTypepublic SingularAttributePath(CriteriaBuilderImpl criteriaBuilder, Class<X> javaType, PathSource pathSource, SingularAttribute<?,X> attribute)
public SingularAttribute<?,X> getAttribute()
getAttribute in interface PathImplementor<X>public Bindable<X> getModel()
protected boolean canBeDereferenced()
canBeDereferenced in class AbstractPathImpl<X>protected Attribute locateAttributeInternal(String attributeName)
AbstractPathImplAbstractPathImpl.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 © 2012 JBoss by Red Hat. All Rights Reserved.