Class LazyAttributeDescriptor
- java.lang.Object
-
- org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeDescriptor
-
public class LazyAttributeDescriptor extends java.lang.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 persisterjava.lang.String
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 withing the lazy attributes of the persisterjava.lang.String
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 withing the lazy attributes of the persister- Returns:
- The persister lazy attribute index
-
getName
public java.lang.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 java.lang.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
-
-