public interface BytecodeLazyAttributeInterceptor extends SessionAssociableInterceptor
| Modifier and Type | Method and Description |
|---|---|
void |
attributeInitialized(String name)
Callback from the enhanced class that an attribute has been read or written
|
String |
getEntityName()
The name of the entity this interceptor is meant to intercept
|
Object |
getIdentifier()
The id of the entity instance this interceptor is associated with
|
Set<String> |
getInitializedLazyAttributeNames()
The names of all lazy attributes which have been initialized
|
boolean |
hasAnyUninitializedAttributes() |
boolean |
isAttributeLoaded(String fieldName) |
allowLoadOutsideTransaction, getLinkedSession, getSessionFactoryUuid, setSession, unsetSessionreadBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readObject, readShort, writeBoolean, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeObject, writeShortString getEntityName()
Object getIdentifier()
Set<String> getInitializedLazyAttributeNames()
getInitializedLazyAttributeNames in interface LazyPropertyInitializer.InterceptorImplementorgetInitializedLazyAttributeNames in interface PersistentAttributeInterceptorvoid attributeInitialized(String name)
attributeInitialized in interface LazyPropertyInitializer.InterceptorImplementorattributeInitialized in interface PersistentAttributeInterceptorboolean isAttributeLoaded(String fieldName)
boolean hasAnyUninitializedAttributes()
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.