public final class FieldInterceptorImpl extends AbstractFieldInterceptor implements FieldHandler, Serializable
Modifier and Type | Method and Description |
---|---|
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)
Called to handle writing an int value to a given field.
|
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) |
clearDirty, dirty, getEntityName, getSession, getUninitializedFields, intercept, isDirty, isInitialized, isInitialized, isInitializing, setSession
public boolean readBoolean(Object target, String name, boolean oldValue)
readBoolean
in interface FieldHandler
public byte readByte(Object target, String name, byte oldValue)
readByte
in interface FieldHandler
public char readChar(Object target, String name, char oldValue)
readChar
in interface FieldHandler
public double readDouble(Object target, String name, double oldValue)
readDouble
in interface FieldHandler
public float readFloat(Object target, String name, float oldValue)
readFloat
in interface FieldHandler
public int readInt(Object target, String name, int oldValue)
readInt
in interface FieldHandler
public long readLong(Object target, String name, long oldValue)
readLong
in interface FieldHandler
public short readShort(Object target, String name, short oldValue)
readShort
in interface FieldHandler
public Object readObject(Object target, String name, Object oldValue)
readObject
in interface FieldHandler
public boolean writeBoolean(Object target, String name, boolean oldValue, boolean newValue)
writeBoolean
in interface FieldHandler
public byte writeByte(Object target, String name, byte oldValue, byte newValue)
writeByte
in interface FieldHandler
public char writeChar(Object target, String name, char oldValue, char newValue)
writeChar
in interface FieldHandler
public double writeDouble(Object target, String name, double oldValue, double newValue)
writeDouble
in interface FieldHandler
public float writeFloat(Object target, String name, float oldValue, float newValue)
writeFloat
in interface FieldHandler
public int writeInt(Object target, String name, int oldValue, int newValue)
FieldHandler
writeInt
in interface FieldHandler
target
- ?name
- The name of the field being writtenoldValue
- The old field valuenewValue
- The new field value.public long writeLong(Object target, String name, long oldValue, long newValue)
writeLong
in interface FieldHandler
public short writeShort(Object target, String name, short oldValue, short newValue)
writeShort
in interface FieldHandler
public Object writeObject(Object target, String name, Object oldValue, Object newValue)
writeObject
in interface FieldHandler
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.