Class LazyAttributeDescriptor
java.lang.Object
org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeDescriptor
Descriptor for an attribute which is enabled for bytecode lazy fetching
-
Method Summary
Modifier and TypeMethodDescriptionstatic LazyAttributeDescriptor
int
Access to the index of the attribute in terms of its position in the entity persisterAccess to the name of the fetch group to which the attribute belongsint
Access to the index of the attribute in terms of its position within the lazy attributes of the persistergetName()
Access to the name of the attributegetType()
Access to the attribute's type
-
Method Details
-
from
-
getAttributeIndex
public int getAttributeIndex()Access to the index of the attribute in terms of its position in the entity persister- Returns:
- 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- Returns:
- The persister lazy attribute index
-
getName
Access to the name of the attribute- Returns:
- The attribute name
-
getType
Access to the attribute's type- Returns:
- The attribute type
-
getFetchGroupName
Access to the name of the fetch group to which the attribute belongs- Returns:
- The name of the fetch group the attribute belongs to
-