Top Description Methods
org.hibernate.bytecode.javassist

public Interface FieldHandler

Known Direct Implementers
org.hibernate.intercept.javassist.FieldInterceptorImpl

The interface defining how interception of a field should be handled.
Author
Muga Nishizawa

Method Summary

Modifier and TypeMethod and Description
public boolean
readBoolean(Object obj, String name, boolean oldValue)

public byte
readByte(Object obj, String name, byte oldValue)

public char
readChar(Object obj, String name, char oldValue)

public double
readDouble(Object obj, String name, double oldValue)

public float
readFloat(Object obj, String name, float oldValue)

public int
readInt(Object obj, String name, int oldValue)

public long
readLong(Object obj, String name, long oldValue)

public Object
readObject(Object obj, String name, Object oldValue)

public short
readShort(Object obj, String name, short oldValue)

public boolean
writeBoolean(Object obj, String name, boolean oldValue, boolean newValue)

public byte
writeByte(Object obj, String name, byte oldValue, byte newValue)

public char
writeChar(Object obj, String name, char oldValue, char newValue)

public double
writeDouble(Object obj, String name, double oldValue, double newValue)

public float
writeFloat(Object obj, String name, float oldValue, float newValue)

public int

Returns:

?
writeInt
(Object
?
obj
,
String
The name of the field being written
name
,
int
The old field value
oldValue
,
int
The new field value.
newValue
)

Called to handle writing an int value to a given field.

public long
writeLong(Object obj, String name, long oldValue, long newValue)

public Object
writeObject(Object obj, String name, Object oldValue, Object newValue)

public short
writeShort(Object obj, String name, short oldValue, short newValue)

Method Detail

readBooleanback to summary
public boolean readBoolean(Object obj, String name, boolean oldValue)
readByteback to summary
public byte readByte(Object obj, String name, byte oldValue)
readCharback to summary
public char readChar(Object obj, String name, char oldValue)
readDoubleback to summary
public double readDouble(Object obj, String name, double oldValue)
readFloatback to summary
public float readFloat(Object obj, String name, float oldValue)
readIntback to summary
public int readInt(Object obj, String name, int oldValue)
readLongback to summary
public long readLong(Object obj, String name, long oldValue)
readObjectback to summary
public Object readObject(Object obj, String name, Object oldValue)
readShortback to summary
public short readShort(Object obj, String name, short oldValue)
writeBooleanback to summary
public boolean writeBoolean(Object obj, String name, boolean oldValue, boolean newValue)
writeByteback to summary
public byte writeByte(Object obj, String name, byte oldValue, byte newValue)
writeCharback to summary
public char writeChar(Object obj, String name, char oldValue, char newValue)
writeDoubleback to summary
public double writeDouble(Object obj, String name, double oldValue, double newValue)
writeFloatback to summary
public float writeFloat(Object obj, String name, float oldValue, float newValue)
writeIntback to summary
public int writeInt(Object obj, String name, int oldValue, int newValue)

Called to handle writing an int value to a given field.

Parameters
obj:Object

?

name:String

The name of the field being written

oldValue:int

The old field value

newValue:int

The new field value.

Returns:int

?

writeLongback to summary
public long writeLong(Object obj, String name, long oldValue, long newValue)
writeObjectback to summary
public Object writeObject(Object obj, String name, Object oldValue, Object newValue)
writeShortback to summary
public short writeShort(Object obj, String name, short oldValue, short newValue)