Class 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 persister
      java.lang.String getFetchGroupName()
      Access to the name of the fetch group to which the attribute belongs
      int getLazyIndex()
      Access to the index of the attribute in terms of its position withing the lazy attributes of the persister
      java.lang.String getName()
      Access to the name of the attribute
      Type getType()
      Access to the attribute's type
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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