类 FetchReturn
- java.lang.Object
-
- org.hibernate.loader.custom.NonScalarReturn
-
- org.hibernate.loader.custom.FetchReturn
-
- 所有已实现的接口:
Return
- 直接已知子类:
CollectionFetchReturn,EntityFetchReturn
public abstract class FetchReturn extends NonScalarReturn
Represents a return which names a fetched association.- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 FetchReturn(NonScalarReturn owner, String ownerProperty, String alias, LockMode lockMode)Creates a return descriptor for an association fetch.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 NonScalarReturngetOwner()Retrieves the return descriptor for the owner of this fetch.StringgetOwnerProperty()The name of the property on the owner which represents this association.-
从类继承的方法 org.hibernate.loader.custom.NonScalarReturn
getAlias, getLockMode
-
-
-
-
构造器详细资料
-
FetchReturn
public FetchReturn(NonScalarReturn owner, String ownerProperty, String alias, LockMode lockMode)
Creates a return descriptor for an association fetch.- 参数:
owner- The return descriptor for the owner of the fetchownerProperty- The name of the property representing the association being fetchedalias- The alias for the fetchlockMode- The lock mode to apply to the fetched association.
-
-
方法详细资料
-
getOwner
public NonScalarReturn getOwner()
Retrieves the return descriptor for the owner of this fetch.- 返回:
- The owner
-
getOwnerProperty
public String getOwnerProperty()
The name of the property on the owner which represents this association.- 返回:
- The property name.
-
-