Class 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LazyAttributeDescriptor
from(Property property, int attributeIndex, int lazyIndex)
int
getAttributeIndex()
Access to the index of the attribute in terms of its position in the entity persisterString
getFetchGroupName()
Access to the name of the fetch group to which the attribute belongsint
getLazyIndex()
Access to the index of the attribute in terms of its position within the lazy attributes of the persisterString
getName()
Access to the name of the attributeType
getType()
Access to the attribute's type
-
-
-
Method Detail
-
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- 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
public String getName()
Access to the name of the attribute- Returns:
- The attribute name
-
getType
public Type getType()
Access to the attribute's type- Returns:
- The attribute type
-
getFetchGroupName
public String 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
-
-