org.hibernate.intercept.cglib
Class FieldInterceptorImpl
java.lang.Object
   org.hibernate.intercept.AbstractFieldInterceptor
org.hibernate.intercept.AbstractFieldInterceptor
       org.hibernate.intercept.cglib.FieldInterceptorImpl
org.hibernate.intercept.cglib.FieldInterceptorImpl
- All Implemented Interfaces: 
- Serializable, net.sf.cglib.transform.impl.InterceptFieldCallback, FieldInterceptor
- public final class FieldInterceptorImpl 
- extends AbstractFieldInterceptor- implements net.sf.cglib.transform.impl.InterceptFieldCallback, Serializable
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.
- Author:
- Gavin King
- See Also:
- Serialized Form
| Method Summary | 
|  boolean | readBoolean(Object target,
            String name,
            boolean oldValue)
 | 
|  byte | readByte(Object target,
         String name,
         byte oldValue)
 | 
|  char | readChar(Object target,
         String name,
         char oldValue)
 | 
|  double | readDouble(Object target,
           String name,
           double oldValue)
 | 
|  float | readFloat(Object target,
          String name,
          float oldValue)
 | 
|  int | readInt(Object target,
        String name,
        int oldValue)
 | 
|  long | readLong(Object target,
         String name,
         long oldValue)
 | 
|  Object | readObject(Object target,
           String name,
           Object oldValue)
 | 
|  short | readShort(Object target,
          String name,
          short oldValue)
 | 
|  String | toString()
 | 
|  boolean | writeBoolean(Object target,
             String name,
             boolean oldValue,
             boolean newValue)
 | 
|  byte | writeByte(Object target,
          String name,
          byte oldValue,
          byte newValue)
 | 
|  char | writeChar(Object target,
          String name,
          char oldValue,
          char newValue)
 | 
|  double | writeDouble(Object target,
            String name,
            double oldValue,
            double newValue)
 | 
|  float | writeFloat(Object target,
           String name,
           float oldValue,
           float newValue)
 | 
|  int | writeInt(Object target,
         String name,
         int oldValue,
         int newValue)
 | 
|  long | writeLong(Object target,
          String name,
          long oldValue,
          long newValue)
 | 
|  Object | writeObject(Object target,
            String name,
            Object oldValue,
            Object newValue)
 | 
|  short | writeShort(Object target,
           String name,
           short oldValue,
           short newValue)
 | 
 
| Methods inherited from class org.hibernate.intercept.AbstractFieldInterceptor | 
| clearDirty, dirty, getEntityName, getSession, getUninitializedFields, intercept, isDirty, isInitialized, isInitialized, isInitializing, setSession | 
 
 
readBoolean
public boolean readBoolean(Object target,
                           String name,
                           boolean oldValue)
- 
- Specified by:
- readBooleanin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
readByte
public byte readByte(Object target,
                     String name,
                     byte oldValue)
- 
- Specified by:
- readBytein interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
readChar
public char readChar(Object target,
                     String name,
                     char oldValue)
- 
- Specified by:
- readCharin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
readDouble
public double readDouble(Object target,
                         String name,
                         double oldValue)
- 
- Specified by:
- readDoublein interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
readFloat
public float readFloat(Object target,
                       String name,
                       float oldValue)
- 
- Specified by:
- readFloatin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
readInt
public int readInt(Object target,
                   String name,
                   int oldValue)
- 
- Specified by:
- readIntin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
readLong
public long readLong(Object target,
                     String name,
                     long oldValue)
- 
- Specified by:
- readLongin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
readShort
public short readShort(Object target,
                       String name,
                       short oldValue)
- 
- Specified by:
- readShortin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
readObject
public Object readObject(Object target,
                         String name,
                         Object oldValue)
- 
- Specified by:
- readObjectin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
writeBoolean
public boolean writeBoolean(Object target,
                            String name,
                            boolean oldValue,
                            boolean newValue)
- 
- Specified by:
- writeBooleanin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
writeByte
public byte writeByte(Object target,
                      String name,
                      byte oldValue,
                      byte newValue)
- 
- Specified by:
- writeBytein interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
writeChar
public char writeChar(Object target,
                      String name,
                      char oldValue,
                      char newValue)
- 
- Specified by:
- writeCharin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
writeDouble
public double writeDouble(Object target,
                          String name,
                          double oldValue,
                          double newValue)
- 
- Specified by:
- writeDoublein interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
writeFloat
public float writeFloat(Object target,
                        String name,
                        float oldValue,
                        float newValue)
- 
- Specified by:
- writeFloatin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
writeInt
public int writeInt(Object target,
                    String name,
                    int oldValue,
                    int newValue)
- 
- Specified by:
- writeIntin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
writeLong
public long writeLong(Object target,
                      String name,
                      long oldValue,
                      long newValue)
- 
- Specified by:
- writeLongin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
writeShort
public short writeShort(Object target,
                        String name,
                        short oldValue,
                        short newValue)
- 
- Specified by:
- writeShortin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
writeObject
public Object writeObject(Object target,
                          String name,
                          Object oldValue,
                          Object newValue)
- 
- Specified by:
- writeObjectin interface- net.sf.cglib.transform.impl.InterceptFieldCallback
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.