类 LazyAttributesMetadata
- java.lang.Object
-
- org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributesMetadata
-
- 所有已实现的接口:
Serializable
public class LazyAttributesMetadata extends Object implements Serializable
Information about all of the bytecode lazy attributes for an entity- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 LazyAttributesMetadata(String entityName)LazyAttributesMetadata(String entityName, Map<String,LazyAttributeDescriptor> lazyAttributeDescriptorMap, Map<String,Set<String>> fetchGroupToAttributeMap)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static LazyAttributesMetadatafrom(PersistentClass mappedEntity, boolean isEnhanced, boolean allowEnhancementAsProxy)Build a LazyFetchGroupMetadata based on the attributes defined for the PersistentClassSet<String>getAttributesInFetchGroup(String fetchGroupName)Set<String>getAttributesInSameFetchGroup(String attributeName)StringgetEntityName()List<LazyAttributeDescriptor>getFetchGroupAttributeDescriptors(String groupName)StringgetFetchGroupName(String attributeName)Set<String>getFetchGroupNames()Set<String>getLazyAttributeNames()booleanhasLazyAttributes()booleanisLazyAttribute(String attributeName)intlazyAttributeCount()static LazyAttributesMetadatanonEnhanced(String entityName)
-
-
-
方法详细资料
-
from
public static LazyAttributesMetadata from(PersistentClass mappedEntity, boolean isEnhanced, boolean allowEnhancementAsProxy)
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()
-
isLazyAttribute
public boolean isLazyAttribute(String attributeName)
-
getFetchGroupAttributeDescriptors
public List<LazyAttributeDescriptor> getFetchGroupAttributeDescriptors(String groupName)
-
-