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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LazyAttributesMetadata(String entityName)LazyAttributesMetadata(String entityName, Map<String,LazyAttributeDescriptor> lazyAttributeDescriptorMap, Map<String,Set<String>> fetchGroupToAttributeMap)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LazyAttributesMetadatafrom(PersistentClass mappedEntity, boolean isEnhanced, boolean collectionsInDefaultFetchGroupEnabled, Metadata metadata)Build a LazyFetchGroupMetadata based on the attributes defined for the PersistentClassSet<String>getAttributesInFetchGroup(String fetchGroupName)StringgetEntityName()List<LazyAttributeDescriptor>getFetchGroupAttributeDescriptors(String groupName)StringgetFetchGroupName(String attributeName)Set<String>getFetchGroupNames()Set<String>getLazyAttributeNames()booleanhasLazyAttributes()booleanisLazyAttribute(String attributeName)intlazyAttributeCount()static LazyAttributesMetadatanonEnhanced(String entityName)
-
-
-
Method Detail
-
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()
-
isLazyAttribute
public boolean isLazyAttribute(String attributeName)
-
getFetchGroupAttributeDescriptors
public List<LazyAttributeDescriptor> getFetchGroupAttributeDescriptors(String groupName)
-
-