public abstract class

FetchReturn

extends NonScalarReturn
java.lang.Object
   ↳ org.hibernate.loader.custom.NonScalarReturn
     ↳ org.hibernate.loader.custom.FetchReturn
Known Direct Subclasses

Class Overview

Represents a return which names a fetched association.

Summary

Public Constructors
FetchReturn(NonScalarReturn owner, String ownerProperty, String alias, LockMode lockMode)
Creates a return descriptor for an association fetch.
Public Methods
NonScalarReturn getOwner()
Retrieves the return descriptor for the owner of this fetch.
String getOwnerProperty()
The name of the property on the owner which represents this association.
[Expand]
Inherited Methods
From class org.hibernate.loader.custom.NonScalarReturn
From class java.lang.Object

Public Constructors

public FetchReturn (NonScalarReturn owner, String ownerProperty, String alias, LockMode lockMode)

Creates a return descriptor for an association fetch.

Parameters
owner The return descriptor for the owner of the fetch
ownerProperty The name of the property represernting the association being fetched
alias The alias for the fetch
lockMode The lock mode to apply to the fetched association.

Public Methods

public NonScalarReturn getOwner ()

Retrieves the return descriptor for the owner of this fetch.

Returns
  • The owner

public String getOwnerProperty ()

The name of the property on the owner which represents this association.

Returns
  • The property name.