Top Methods
org.hibernate.bytecode.enhance.spi.interceptor

public Interface BytecodeLazyAttributeInterceptor

extends SessionAssociableInterceptor
Known Direct Implementers
org.hibernate.bytecode.enhance.spi.interceptor.AbstractLazyLoadInterceptor
Annotations
@Incubating
Imports
java.util.Set, org.hibernate.Incubating

Deprecated

as a consequence of SessionAssociableInterceptor being deprecated. See corresponding docs for further information.

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
attributeInitialized(String name)

Redeclares as abstract: org.hibernate.engine.spi.PersistentAttributeInterceptor.attributeInitialized.

Callback from the enhanced class that an attribute has been read or written
public String
getEntityName()

The name of the entity this interceptor is meant to intercept

public Object
getIdentifier()

The id of the entity instance this interceptor is associated with

public Set<String>
getInitializedLazyAttributeNames()

Redeclares as abstract: org.hibernate.engine.spi.PersistentAttributeInterceptor.getInitializedLazyAttributeNames.

The names of all lazy attributes which have been initialized
public boolean
public boolean
isAttributeLoaded(String fieldName)

Redeclares as abstract: org.hibernate.engine.spi.PersistentAttributeInterceptor.isAttributeLoaded.

Callback from the enhanced class that an attribute has been loaded
Inherited from org.hibernate.bytecode.enhance.spi.interceptor.SessionAssociableInterceptor:
allowLoadOutsideTransactiongetLinkedSessiongetSessionFactoryUuidsetSessionunsetSession

Method Detail

attributeInitializedback to summary
public void attributeInitialized(String name)

Redeclares as abstract: org.hibernate.engine.spi.PersistentAttributeInterceptor.attributeInitialized.

Callback from the enhanced class that an attribute has been read or written

getEntityNameback to summary
public String getEntityName()

The name of the entity this interceptor is meant to intercept

getIdentifierback to summary
public Object getIdentifier()

The id of the entity instance this interceptor is associated with

getInitializedLazyAttributeNamesback to summary
public Set<String> getInitializedLazyAttributeNames()

Redeclares as abstract: org.hibernate.engine.spi.PersistentAttributeInterceptor.getInitializedLazyAttributeNames.

The names of all lazy attributes which have been initialized

Annotations
@Override
hasAnyUninitializedAttributesback to summary
public boolean hasAnyUninitializedAttributes()
isAttributeLoadedback to summary
public boolean isAttributeLoaded(String fieldName)

Redeclares as abstract: org.hibernate.engine.spi.PersistentAttributeInterceptor.isAttributeLoaded.

Doc from org.hibernate.engine.spi.PersistentAttributeInterceptor.isAttributeLoaded.

Callback from the enhanced class that an attribute has been loaded

Returns:boolean

true id the attribute is loaded false otherwise

Annotations
@Override