public interface FieldHandler
Modifier and Type | Method and Description |
---|---|
boolean |
readBoolean(Object obj,
String name,
boolean oldValue)
Called to handle reading a boolean value to a given field.
|
byte |
readByte(Object obj,
String name,
byte oldValue)
Called to handle reading a byte value to a given field.
|
char |
readChar(Object obj,
String name,
char oldValue)
Called to handle reading a char value to a given field.
|
double |
readDouble(Object obj,
String name,
double oldValue)
Called to handle reading a double value to a given field.
|
float |
readFloat(Object obj,
String name,
float oldValue)
Called to handle reading a float value to a given field.
|
int |
readInt(Object obj,
String name,
int oldValue)
Called to handle reading an int value to a given field.
|
long |
readLong(Object obj,
String name,
long oldValue)
Called to handle reading a long value to a given field.
|
Object |
readObject(Object obj,
String name,
Object oldValue)
Called to handle reading an Object value to a given field.
|
short |
readShort(Object obj,
String name,
short oldValue)
Called to handle reading a short value to a given field.
|
boolean |
writeBoolean(Object obj,
String name,
boolean oldValue,
boolean newValue)
Called to handle writing a boolean value to a given field.
|
byte |
writeByte(Object obj,
String name,
byte oldValue,
byte newValue)
Called to handle writing a byte value to a given field.
|
char |
writeChar(Object obj,
String name,
char oldValue,
char newValue)
Called to handle writing a char value to a given field.
|
double |
writeDouble(Object obj,
String name,
double oldValue,
double newValue)
Called to handle writing a double value to a given field.
|
float |
writeFloat(Object obj,
String name,
float oldValue,
float newValue)
Called to handle writing a float value to a given field.
|
int |
writeInt(Object obj,
String name,
int oldValue,
int newValue)
Called to handle writing an int value to a given field.
|
long |
writeLong(Object obj,
String name,
long oldValue,
long newValue)
Called to handle writing a long value to a given field.
|
Object |
writeObject(Object obj,
String name,
Object oldValue,
Object newValue)
Called to handle writing an Object value to a given field.
|
short |
writeShort(Object obj,
String name,
short oldValue,
short newValue)
Called to handle writing a short value to a given field.
|
int writeInt(Object obj, String name, int oldValue, int newValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuenewValue
- The new field value.char writeChar(Object obj, String name, char oldValue, char newValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuenewValue
- The new field value.byte writeByte(Object obj, String name, byte oldValue, byte newValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuenewValue
- The new field value.boolean writeBoolean(Object obj, String name, boolean oldValue, boolean newValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuenewValue
- The new field value.short writeShort(Object obj, String name, short oldValue, short newValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuenewValue
- The new field value.float writeFloat(Object obj, String name, float oldValue, float newValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuenewValue
- The new field value.double writeDouble(Object obj, String name, double oldValue, double newValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuenewValue
- The new field value.long writeLong(Object obj, String name, long oldValue, long newValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuenewValue
- The new field value.Object writeObject(Object obj, String name, Object oldValue, Object newValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuenewValue
- The new field value.int readInt(Object obj, String name, int oldValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuechar readChar(Object obj, String name, char oldValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuebyte readByte(Object obj, String name, byte oldValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valueboolean readBoolean(Object obj, String name, boolean oldValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valueshort readShort(Object obj, String name, short oldValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuefloat readFloat(Object obj, String name, float oldValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuedouble readDouble(Object obj, String name, double oldValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valuelong readLong(Object obj, String name, long oldValue)
obj
- The object instance on which the write was invokedname
- The name of the field being writtenoldValue
- The old field valueCopyright © 2016 JBoss by Red Hat. All rights reserved.