类 LazyAttributesMetadata

  • 所有已实现的接口:
    Serializable

    public class LazyAttributesMetadata
    extends Object
    implements Serializable
    Information about all of the bytecode lazy attributes for an entity
    作者:
    Steve Ebersole
    另请参阅:
    序列化表格
    • 方法详细资料

      • from

        public static LazyAttributesMetadata from​(PersistentClass mappedEntity,
                                                  boolean isEnhanced,
                                                  boolean allowEnhancementAsProxy)
        Build a LazyFetchGroupMetadata based on the attributes defined for the PersistentClass
      • getEntityName

        public String getEntityName()
      • hasLazyAttributes

        public boolean hasLazyAttributes()
      • lazyAttributeCount

        public int lazyAttributeCount()
      • getLazyAttributeNames

        public Set<String> getLazyAttributeNames()
      • getFetchGroupNames

        public Set<String> getFetchGroupNames()
      • isLazyAttribute

        public boolean isLazyAttribute​(String attributeName)
      • getFetchGroupName

        public String getFetchGroupName​(String attributeName)
      • getAttributesInFetchGroup

        public Set<String> getAttributesInFetchGroup​(String fetchGroupName)
      • getAttributesInSameFetchGroup

        public Set<String> getAttributesInSameFetchGroup​(String attributeName)