public interface

FieldInterceptor

org.hibernate.intercept.FieldInterceptor
Known Indirect Subclasses

Class Overview

Contract for field interception handlers.

Summary

Public Methods
abstract void clearDirty()
Clear the internal dirty flag.
abstract void dirty()
Forcefully mark the entity as being dirty.
abstract boolean isDirty()
Is the entity considered dirty?
abstract boolean isInitialized()
Is the entity to which we are bound completely initialized?
abstract boolean isInitialized(String field)
The the given field initialized for the entity to which we are bound?
abstract void setSession(SessionImplementor session)
Use to associate the entity to which we are bound to the given session.

Public Methods

public abstract void clearDirty ()

Clear the internal dirty flag.

public abstract void dirty ()

Forcefully mark the entity as being dirty.

public abstract boolean isDirty ()

Is the entity considered dirty?

Returns
  • True if the entity is dirty; otherwise false.

public abstract boolean isInitialized ()

Is the entity to which we are bound completely initialized?

Returns
  • True if the entity is initialized; otherwise false.

public abstract boolean isInitialized (String field)

The the given field initialized for the entity to which we are bound?

Parameters
field The name of the field to check
Returns
  • True if the given field is initialized; otherwise false.

public abstract void setSession (SessionImplementor session)

Use to associate the entity to which we are bound to the given session.

Parameters
session The session to which we are now associated.