public class CompositeAttributeFetchImpl extends AbstractCompositeFetch implements CompositeAttributeFetch
FETCH_STRATEGY| Modifier | Constructor and Description |
|---|---|
protected |
CompositeAttributeFetchImpl(FetchSource source,
AttributeDefinition attributeDefinition,
ExpandingCompositeQuerySpace compositeQuerySpace,
boolean allowCollectionFetches) |
| Modifier and Type | Method and Description |
|---|---|
AttributeDefinition |
getFetchedAttributeDefinition()
Returns the
AttributeDefinition for attribute being fetched. |
Type |
getFetchedType()
Get the Hibernate Type that describes the fetched attribute
|
FetchSource |
getSource()
Obtain the owner of this fetch.
|
boolean |
isNullable()
Is this fetch nullable?
|
EntityReference |
resolveEntityReference()
Resolve the "current"
EntityReference, or null if none. |
getAdditionalJoinConditions, getFetchStrategy, toSqlSelectFragmentsbuildCollectionAttributeFetch, createCompositeAttributeFetch, validateFetchPlanbuildAnyAttributeFetch, buildBidirectionalEntityReference, buildCompositeAttributeFetch, buildEntityAttributeFetch, expandingQuerySpace, getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaces, getQuerySpaceUidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUidgetAdditionalJoinConditions, getFetchStrategy, getPropertyPath, toSqlSelectFragmentsprotected CompositeAttributeFetchImpl(FetchSource source, AttributeDefinition attributeDefinition, ExpandingCompositeQuerySpace compositeQuerySpace, boolean allowCollectionFetches)
public FetchSource getSource()
Fetchpublic AttributeDefinition getFetchedAttributeDefinition()
AttributeFetchAttributeDefinition for attribute being fetched.getFetchedAttributeDefinition in interface AttributeFetchpublic Type getFetchedType()
FetchgetFetchedType in interface Fetchpublic boolean isNullable()
FetchisNullable in interface Fetchpublic EntityReference resolveEntityReference()
FetchSourceEntityReference, or null if none.
If this object is an EntityReference, then this object is returned;
otherwise, if this object is a Fetch, then the nearest
EntityReference will be resolved from its source, if possible.
If no EntityReference can be resolved, null is return.resolveEntityReference in interface FetchSourceFetch.getSource().Copyright © 2018 JBoss by Red Hat. All rights reserved.