Home » Hibernate-3.3.2.GA » org.hibernate » intercept » cglib » [javadoc | source]
public final class: FieldInterceptorImpl [javadoc | source]

All Implemented Interfaces:
    net.sf.cglib.transform.impl.InterceptFieldCallback, Serializable, FieldInterceptor

A field-level interceptor that initializes lazily fetched properties. This interceptor can be attached to classes instrumented by CGLIB. Note that this implementation assumes that the instance variable name is the same as the name of the persistent property that must be loaded.
 FieldInterceptorImpl(SessionImplementor session,
    Set uninitializedFields,
    String entityName) 
    Package-protected constructor
    session - The Hibernate session
    uninitializedFields - Names of the fields we need to initialize on load
    entityName - The entity name to which we are being bound
Method from org.hibernate.intercept.cglib.FieldInterceptorImpl Summary:
readBoolean,   readByte,   readChar,   readDouble,   readFloat,   readInt,   readLong,   readObject,   readShort,   toString,   writeBoolean,   writeByte,   writeChar,   writeDouble,   writeFloat,   writeInt,   writeLong,   writeObject,   writeShort
Methods from org.hibernate.intercept.AbstractFieldInterceptor:
clearDirty,   dirty,   getEntityName,   getSession,   getUninitializedFields,   intercept,   isDirty,   isInitialized,   isInitialized,   isInitializing,   setSession
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.intercept.cglib.FieldInterceptorImpl Detail:
 public boolean readBoolean(Object target,
    String name,
    boolean oldValue) 
 public byte readByte(Object target,
    String name,
    byte oldValue) 
 public char readChar(Object target,
    String name,
    char oldValue) 
 public double readDouble(Object target,
    String name,
    double oldValue) 
 public float readFloat(Object target,
    String name,
    float oldValue) 
 public int readInt(Object target,
    String name,
    int oldValue) 
 public long readLong(Object target,
    String name,
    long oldValue) 
 public Object readObject(Object target,
    String name,
    Object oldValue) 
 public short readShort(Object target,
    String name,
    short oldValue) 
 public String toString() 
 public boolean writeBoolean(Object target,
    String name,
    boolean oldValue,
    boolean newValue) 
 public byte writeByte(Object target,
    String name,
    byte oldValue,
    byte newValue) 
 public char writeChar(Object target,
    String name,
    char oldValue,
    char newValue) 
 public double writeDouble(Object target,
    String name,
    double oldValue,
    double newValue) 
 public float writeFloat(Object target,
    String name,
    float oldValue,
    float newValue) 
 public int writeInt(Object target,
    String name,
    int oldValue,
    int newValue) 
 public long writeLong(Object target,
    String name,
    long oldValue,
    long newValue) 
 public Object writeObject(Object target,
    String name,
    Object oldValue,
    Object newValue) 
 public short writeShort(Object target,
    String name,
    short oldValue,
    short newValue)