public abstract class AbstractCompositeEntityIdentifierDescription extends AbstractCompositeFetch implements ExpandingEntityIdentifierDescription
FETCH_STRATEGY| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCompositeEntityIdentifierDescription(EntityReference entityReference,
ExpandingCompositeQuerySpace compositeQuerySpace,
CompositeType identifierType,
PropertyPath propertyPath) |
| Modifier and Type | Method and Description |
|---|---|
Type |
getFetchedType()
Get the Hibernate Type that describes the fetched attribute
|
FetchSource |
getSource()
Obtain the owner of this fetch.
|
boolean |
hasBidirectionalEntityReferences()
Can this EntityIdentifierDescription be treated as a FetchSource and if so does it have any
bidirectional entity references?
|
boolean |
hasFetches()
Can this EntityIdentifierDescription be treated as a FetchSource and if so does it have any
fetches?
|
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, waitbuildAnyAttributeFetch, buildBidirectionalEntityReference, buildCollectionAttributeFetch, buildCompositeAttributeFetch, buildEntityAttributeFetch, validateFetchPlangetBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUidgetPropertyPathprotected AbstractCompositeEntityIdentifierDescription(EntityReference entityReference, ExpandingCompositeQuerySpace compositeQuerySpace, CompositeType identifierType, PropertyPath propertyPath)
public boolean hasFetches()
EntityIdentifierDescriptionhasFetches in interface EntityIdentifierDescriptiontrue iff this can be cast to FetchSource and (after casting) it returns
non-empty results for FetchSource.getFetches()public boolean hasBidirectionalEntityReferences()
EntityIdentifierDescriptionhasBidirectionalEntityReferences in interface EntityIdentifierDescriptiontrue iff this can be cast to FetchSource and (after casting) it returns
non-empty results for FetchSource.getBidirectionalEntityReferences()public FetchSource getSource()
Fetchpublic 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.