public class NestedCompositeAttributeFetchImpl extends AbstractCompositeFetch implements CompositeAttributeFetch
FETCH_STRATEGY| Constructor and Description |
|---|
NestedCompositeAttributeFetchImpl(FetchSource source,
AttributeDefinition fetchedAttributeDefinition,
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, toSqlSelectFragmentspublic NestedCompositeAttributeFetchImpl(FetchSource source, AttributeDefinition fetchedAttributeDefinition, ExpandingCompositeQuerySpace compositeQuerySpace, boolean allowCollectionFetches)
public FetchSource getSource()
Fetchpublic Type getFetchedType()
FetchgetFetchedType in interface Fetchpublic boolean isNullable()
FetchisNullable in interface Fetchpublic AttributeDefinition getFetchedAttributeDefinition()
AttributeFetchAttributeDefinition for attribute being fetched.getFetchedAttributeDefinition in interface AttributeFetchpublic 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 © 2001-2018 Red Hat, Inc. All Rights Reserved.