POJO models
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final Class | |
| private final String | |
| private final Set | |
| private final LazyAttributesMetadata | |
| private final CompositeType |
| Access | Constructor and Description |
|---|---|
| pack-priv | BytecodeEnhancementMetadataPojoImpl(String entityName, Class<?> entityClass, Set<String> identifierAttributeNames, CompositeType nonAggregatedCidMapper, boolean enhancedForLazyLoading, LazyAttributesMetadata lazyAttributesMetadata)
|
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public PersistentAttributeInterceptable | createEnhancedProxy(EntityKey entityKey, boolean addEmptyEntry, SharedSessionContractImplementor session)
Implements org. |
| public @Nullable LazyAttributeLoadingInterceptor | extractInterceptor(Object
The entity from which to extract the interceptor entity)Implements org.
Deprecated
as a consequence of
Extract the field interceptor instance from the enhanced entity.
LazyAttributeLoadingInterceptor being deprecated.
|
| public @Nullable BytecodeLazyAttributeInterceptor | extractLazyInterceptor(Object entity)
Implements org.
Deprecated
as a consequence of
BytecodeLazyAttributeInterceptor being deprecated.
|
| public static BytecodeEnhancementMetadata | from(PersistentClass persistentClass, Set<String> identifierAttributeNames, CompositeType nonAggregatedCidMapper, boolean collectionsInDefaultFetchGroupEnabled, Metadata metadata)
Deprecated
as a consequence of
Static constructor
Metadata being deprecated.
|
| public String | getEntityName()
Implements org. |
| public LazyAttributesMetadata | |
| public boolean | |
| public void | |
| public LazyAttributeLoadingInterceptor | injectInterceptor(Object
The entity into which built interceptor should be injected entity, Object identifier, SharedSessionContractImplementor The session to which the entity instance belongs. session)Implements org.
Deprecated
as a consequence of
Build and inject an interceptor instance into the enhanced entity.
LazyAttributeLoadingInterceptor being deprecated.
|
| public void | injectInterceptor(Object entity, PersistentAttributeInterceptor interceptor, SharedSessionContractImplementor session)
Implements org.
Deprecated
as a consequence of
PersistentAttributeInterceptor being deprecated.
|
| public boolean | isAttributeLoaded(Object entity, String attributeName)
Implements org. |
| public boolean | isEnhancedForLazyLoading()
Implements org. |
| enhancedForLazyLoading | back to summary |
|---|---|
| private final boolean enhancedForLazyLoading | |
| entityClass | back to summary |
|---|---|
| private final Class<?> entityClass | |
| entityName | back to summary |
|---|---|
| private final String entityName | |
| identifierAttributeNames | back to summary |
|---|---|
| private final Set<String> identifierAttributeNames | |
| lazyAttributesMetadata | back to summary |
|---|---|
| private final LazyAttributesMetadata lazyAttributesMetadata | |
| nonAggregatedCidMapper | back to summary |
|---|---|
| private final CompositeType nonAggregatedCidMapper | |
| BytecodeEnhancementMetadataPojoImpl | back to summary |
|---|---|
| pack-priv BytecodeEnhancementMetadataPojoImpl(String entityName, Class<?> entityClass, Set<String> identifierAttributeNames, CompositeType nonAggregatedCidMapper, boolean enhancedForLazyLoading, LazyAttributesMetadata lazyAttributesMetadata) | |
| clearDirtyAttributes | back to summary |
|---|---|
| private static void clearDirtyAttributes(final SelfDirtinessTracker entity) | |
| createEnhancedProxy | back to summary |
|---|---|
| public PersistentAttributeInterceptable createEnhancedProxy(EntityKey entityKey, boolean addEmptyEntry, SharedSessionContractImplementor session) Implements org. Doc from org. Create an "enhancement as proxy" instance for the given entity
| |
| extractInterceptor | back to summary |
|---|---|
| public @Nullable LazyAttributeLoadingInterceptor extractInterceptor(Object entity) throws NotInstrumentedException Implements org. Doc from org. Deprecated as a consequence of Extract the field interceptor instance from the enhanced entity.
| |
| extractLazyInterceptor | back to summary |
|---|---|
| public @Nullable BytecodeLazyAttributeInterceptor extractLazyInterceptor(Object entity) throws NotInstrumentedException Implements org. Deprecated as a consequence of
| |
| from | back to summary |
|---|---|
| public static BytecodeEnhancementMetadata from(PersistentClass persistentClass, Set<String> identifierAttributeNames, CompositeType nonAggregatedCidMapper, boolean collectionsInDefaultFetchGroupEnabled, Metadata metadata)
Deprecated as a consequence of Static constructor | |
| getEntityName | back to summary |
|---|---|
| public String getEntityName() Implements org. Doc from org. The name of the entity to which this metadata applies. | |
| getLazyAttributesMetadata | back to summary |
|---|---|
| public LazyAttributesMetadata getLazyAttributesMetadata() Implements org.
| |
| hasUnFetchedAttributes | back to summary |
|---|---|
| public boolean hasUnFetchedAttributes(Object entity) Implements org.
| |
| injectEnhancedEntityAsProxyInterceptor | back to summary |
|---|---|
| public void injectEnhancedEntityAsProxyInterceptor(Object entity, EntityKey entityKey, SharedSessionContractImplementor session) Implements org.
| |
| injectInterceptor | back to summary |
|---|---|
| public LazyAttributeLoadingInterceptor injectInterceptor(Object entity, Object identifier, SharedSessionContractImplementor session) Implements org. Doc from org. Deprecated as a consequence of Build and inject an interceptor instance into the enhanced entity.
| |
| injectInterceptor | back to summary |
|---|---|
| public void injectInterceptor(Object entity, PersistentAttributeInterceptor interceptor, SharedSessionContractImplementor session) Implements org. Deprecated as a consequence of
| |
| isAttributeLoaded | back to summary |
|---|---|
| public boolean isAttributeLoaded(Object entity, String attributeName) Implements org.
| |
| isEnhancedForLazyLoading | back to summary |
|---|---|
| public boolean isEnhancedForLazyLoading() Implements org. Doc from org. Has the entity class been bytecode enhanced for lazy loading?
| |