Package org.hibernate.loader.plan.spi
Interface EntityIdentifierDescription
-
- All Known Subinterfaces:
ExpandingEntityIdentifierDescription
public interface EntityIdentifierDescription
Descriptor for the identifier of an entity as a FetchSource (which allows for key-many-to-one handling).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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?
-
-
-
Method Detail
-
hasFetches
boolean hasFetches()
Can this EntityIdentifierDescription be treated as a FetchSource and if so does it have any fetches?- Returns:
true
iffthis
can be cast toFetchSource
and (after casting) it returns non-empty results forFetchSource.getFetches()
-
hasBidirectionalEntityReferences
boolean hasBidirectionalEntityReferences()
Can this EntityIdentifierDescription be treated as a FetchSource and if so does it have any bidirectional entity references?- Returns:
true
iffthis
can be cast toFetchSource
and (after casting) it returns non-empty results forFetchSource.getBidirectionalEntityReferences()
-
-