Class LazyAttributesMetadata

java.lang.Object
org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributesMetadata
All Implemented Interfaces:
Serializable

public class LazyAttributesMetadata extends Object implements Serializable
Information about the bytecode lazy attributes for an entity
See Also:
  • Constructor Details

  • Method Details

    • from

      public static LazyAttributesMetadata from(PersistentClass mappedEntity, boolean isEnhanced, boolean collectionsInDefaultFetchGroupEnabled, Metadata metadata)
      Build a LazyFetchGroupMetadata based on the attributes defined for the PersistentClass
    • nonEnhanced

      public static LazyAttributesMetadata nonEnhanced(String entityName)
    • getEntityName

      public String getEntityName()
    • hasLazyAttributes

      public boolean hasLazyAttributes()
    • lazyAttributeCount

      public int lazyAttributeCount()
    • getLazyAttributeNames

      public Set<String> getLazyAttributeNames()
    • getFetchGroupNames

      public Set<String> getFetchGroupNames()
      Returns:
      an immutable set
    • isLazyAttribute

      public boolean isLazyAttribute(String attributeName)
    • getFetchGroupName

      public String getFetchGroupName(String attributeName)
    • getAttributesInFetchGroup

      public Set<String> getAttributesInFetchGroup(String fetchGroupName)
    • getFetchGroupAttributeDescriptors

      public List<LazyAttributeDescriptor> getFetchGroupAttributeDescriptors(String groupName)