FileDocCategorySizeDatePackage
FetchReturn.javaAPI DocHibernate 3.2.51244Thu Jun 15 00:21:06 BST 2006org.hibernate.loader.custom

FetchReturn

public abstract class FetchReturn extends NonScalarReturn
Represents a return which names a fetched association.
author
Steve Ebersole

Fields Summary
private final NonScalarReturn
owner
private final String
ownerProperty
Constructors Summary
public FetchReturn(NonScalarReturn owner, String ownerProperty, String alias, org.hibernate.LockMode lockMode)
Creates a return descriptor for an association fetch.

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

		super( alias, lockMode );
		this.owner = owner;
		this.ownerProperty = ownerProperty;
	
Methods Summary
public NonScalarReturngetOwner()
Retrieves the return descriptor for the owner of this fetch.

return
The owner

		return owner;
	
public java.lang.StringgetOwnerProperty()
The name of the property on the owner which represents this association.

return
The property name.

		return ownerProperty;