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 EntityPersister
getEntityPersister()
Retrieves the EntityPersister describing the entity associated with this Return.EntityIdentifierDescription
getIdentifierDescription()
Get the description of this entity's identifier descriptor.String
getQuerySpaceUid()
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
String getQuerySpaceUid()
Obtain the UID of the QuerySpace (specifically aEntityQuerySpace
) that this EntityReference refers to.- Specified by:
getQuerySpaceUid
in 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.
-
-