Top Description Methods
org.hibernate.intercept

public Interface FieldInterceptor

Known Direct Implementers
org.hibernate.intercept.AbstractFieldInterceptor
Imports
org.hibernate.engine.SessionImplementor

Contract for field interception handlers.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
clearDirty()

Clear the internal dirty flag.

public void
dirty()

Forcefully mark the entity as being dirty.

public boolean

Returns:

True if the entity is dirty; otherwise false.
isDirty
()

Is the entity considered dirty?

public boolean

Returns:

True if the entity is initialized; otherwise false.
isInitialized
()

Is the entity to which we are bound completely initialized?

public boolean

Returns:

True if the given field is initialized; otherwise false.
isInitialized
(String
The name of the field to check
field
)

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

public void
setSession(SessionImplementor
The session to which we are now associated.
session
)

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

Method Detail

clearDirtyback to summary
public void clearDirty()

Clear the internal dirty flag.

dirtyback to summary
public void dirty()

Forcefully mark the entity as being dirty.

isDirtyback to summary
public boolean isDirty()

Is the entity considered dirty?

Returns:boolean

True if the entity is dirty; otherwise false.

isInitializedback to summary
public boolean isInitialized()

Is the entity to which we are bound completely initialized?

Returns:boolean

True if the entity is initialized; otherwise false.

isInitializedback to summary
public boolean isInitialized(String field)

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

Parameters
field:String

The name of the field to check

Returns:boolean

True if the given field is initialized; otherwise false.

setSessionback to summary
public void setSession(SessionImplementor session)

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

Parameters
session:SessionImplementor

The session to which we are now associated.