Package org.hibernate.loader.custom
Class FetchReturn
- java.lang.Object
-
- org.hibernate.loader.custom.NonScalarReturn
-
- org.hibernate.loader.custom.FetchReturn
-
- All Implemented Interfaces:
Return
- Direct Known Subclasses:
CollectionFetchReturn
,EntityFetchReturn
public abstract class FetchReturn extends NonScalarReturn
Represents a return which names a fetched association.
-
-
Constructor Summary
Constructors Constructor Description FetchReturn(NonScalarReturn owner, java.lang.String ownerProperty, java.lang.String alias, LockMode lockMode)
Creates a return descriptor for an association fetch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NonScalarReturn
getOwner()
Retrieves the return descriptor for the owner of this fetch.java.lang.String
getOwnerProperty()
The name of the property on the owner which represents this association.-
Methods inherited from class org.hibernate.loader.custom.NonScalarReturn
getAlias, getLockMode
-
-
-
-
Constructor Detail
-
FetchReturn
public FetchReturn(NonScalarReturn owner, java.lang.String ownerProperty, java.lang.String alias, LockMode lockMode)
Creates a return descriptor for an association fetch.- Parameters:
owner
- The return descriptor for the owner of the fetchownerProperty
- The name of the property represernting the association being fetchedalias
- The alias for the fetchlockMode
- The lock mode to apply to the fetched association.
-
-
Method Detail
-
getOwner
public NonScalarReturn getOwner()
Retrieves the return descriptor for the owner of this fetch.- Returns:
- The owner
-
getOwnerProperty
public java.lang.String getOwnerProperty()
The name of the property on the owner which represents this association.- Returns:
- The property name.
-
-