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, toSqlSelectFragments
buildCollectionAttributeFetch, createCompositeAttributeFetch, validateFetchPlan
buildAnyAttributeFetch, buildBidirectionalEntityReference, buildCompositeAttributeFetch, buildEntityAttributeFetch, expandingQuerySpace, getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaces, getQuerySpaceUid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUid
getAdditionalJoinConditions, getFetchStrategy, getPropertyPath, toSqlSelectFragments
public NestedCompositeAttributeFetchImpl(FetchSource source, AttributeDefinition fetchedAttributeDefinition, ExpandingCompositeQuerySpace compositeQuerySpace, boolean allowCollectionFetches)
public FetchSource getSource()
Fetch
public Type getFetchedType()
Fetch
getFetchedType
in interface Fetch
public boolean isNullable()
Fetch
isNullable
in interface Fetch
public AttributeDefinition getFetchedAttributeDefinition()
AttributeFetch
AttributeDefinition
for attribute being fetched.getFetchedAttributeDefinition
in interface AttributeFetch
public EntityReference resolveEntityReference()
FetchSource
EntityReference
, 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 FetchSource
Fetch.getSource().
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.