Package org.hibernate.loader.plan.spi
Interface EntityReference
-
- All Superinterfaces:
FetchSource
- All Known Subinterfaces:
BidirectionalEntityReference,EntityFetch,EntityReturn
public interface EntityReference extends FetchSource
Represents a reference to an entity either as a return, fetch, or collection element or index.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityPersistergetEntityPersister()Retrieves the EntityPersister describing the entity associated with this Return.EntityIdentifierDescriptiongetIdentifierDescription()Get the description of this entity's identifier descriptor.java.lang.StringgetQuerySpaceUid()Obtain the UID of the QuerySpace (specifically aEntityQuerySpace) that this EntityReference refers to.-
Methods inherited from interface org.hibernate.loader.plan.spi.FetchSource
getBidirectionalEntityReferences, getFetches, getPropertyPath, resolveEntityReference
-
-
-
-
Method Detail
-
getQuerySpaceUid
java.lang.String getQuerySpaceUid()
Obtain the UID of the QuerySpace (specifically aEntityQuerySpace) that this EntityReference refers to.- Specified by:
getQuerySpaceUidin interfaceFetchSource- Returns:
- The UID
-
getEntityPersister
EntityPersister getEntityPersister()
Retrieves the EntityPersister describing the entity associated with this Return.- Returns:
- The EntityPersister.
-
getIdentifierDescription
EntityIdentifierDescription getIdentifierDescription()
Get the description of this entity's identifier descriptor.- Returns:
- The identifier description.
-
-