Class LazyAttributesMetadata
java.lang.Object
org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributesMetadata
- All Implemented Interfaces:
Serializable
Information about the bytecode lazy attributes for an entity
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLazyAttributesMetadata
(String entityName) LazyAttributesMetadata
(String entityName, Map<String, LazyAttributeDescriptor> lazyAttributeDescriptorMap, Map<String, Set<String>> fetchGroupToAttributeMap) -
Method Summary
Modifier and TypeMethodDescriptionstatic LazyAttributesMetadata
from
(PersistentClass mappedEntity, boolean isEnhanced, boolean collectionsInDefaultFetchGroupEnabled, Metadata metadata) Build a LazyFetchGroupMetadata based on the attributes defined for the PersistentClassgetAttributesInFetchGroup
(String fetchGroupName) getFetchGroupAttributeDescriptors
(String groupName) getFetchGroupName
(String attributeName) boolean
boolean
isLazyAttribute
(String attributeName) int
static LazyAttributesMetadata
nonEnhanced
(String entityName)
-
Constructor Details
-
LazyAttributesMetadata
-
LazyAttributesMetadata
-
-
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
-
getEntityName
-
hasLazyAttributes
public boolean hasLazyAttributes() -
lazyAttributeCount
public int lazyAttributeCount() -
getLazyAttributeNames
-
getFetchGroupNames
- Returns:
- an immutable set
-
isLazyAttribute
-
getFetchGroupName
-
getAttributesInFetchGroup
-
getFetchGroupAttributeDescriptors
-