类 LazyAttributeDescriptor
- java.lang.Object
-
- org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeDescriptor
-
public class LazyAttributeDescriptor extends Object
Descriptor for an attribute which is enabled for bytecode lazy fetching- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static LazyAttributeDescriptorfrom(Property property, int attributeIndex, int lazyIndex)intgetAttributeIndex()Access to the index of the attribute in terms of its position in the entity persisterStringgetFetchGroupName()Access to the name of the fetch group to which the attribute belongsintgetLazyIndex()Access to the index of the attribute in terms of its position within the lazy attributes of the persisterStringgetName()Access to the name of the attributeTypegetType()Access to the attribute's type
-
-
-
方法详细资料
-
from
public static LazyAttributeDescriptor from(Property property, int attributeIndex, int lazyIndex)
-
getAttributeIndex
public int getAttributeIndex()
Access to the index of the attribute in terms of its position in the entity persister- 返回:
- The persister attribute index
-
getLazyIndex
public int getLazyIndex()
Access to the index of the attribute in terms of its position within the lazy attributes of the persister- 返回:
- The persister lazy attribute index
-
getName
public String getName()
Access to the name of the attribute- 返回:
- The attribute name
-
getType
public Type getType()
Access to the attribute's type- 返回:
- The attribute type
-
getFetchGroupName
public String getFetchGroupName()
Access to the name of the fetch group to which the attribute belongs- 返回:
- The name of the fetch group the attribute belongs to
-
-