C
- The class containing the field to be accessedpublic interface FieldAccess<C>
Modifier and Type | Method and Description |
---|---|
Class<C> |
declaringClass()
Get the Class containing the field being accessed
|
Field |
field()
Get the Field being accessed
|
Class<?> |
fieldClass()
Get the type for the field being accessed
|
boolean |
getBooleanValue(C parent)
Retrieve the value of the field for the given instance
|
byte |
getByteValue(C parent)
Retrieve the value of the field for the given instance
|
char |
getCharValue(C parent)
Retrieve the value of the field for the given instance
|
double |
getDoubleValue(C parent)
Retrieve the value of the field for the given instance
|
float |
getFloatValue(C parent)
Retrieve the value of the field for the given instance
|
int |
getIntValue(C parent)
Retrieve the value of the field for the given instance
|
long |
getLongValue(C parent)
Retrieve the value of the field for the given instance
|
short |
getShortValue(C parent)
Retrieve the value of the field for the given instance
|
Object |
getValue(C parent)
Retrieve the value of the field for the given instance
|
void |
putBooleanValue(C parent,
boolean newFieldValue)
Update the value of the field for the given instance
|
void |
putByteValue(C parent,
byte newFieldValue)
Update the value of the field for the given instance
|
void |
putCharValue(C parent,
char newFieldValue)
Update the value of the field for the given instance
|
void |
putDoubleValue(C parent,
double newFieldValue)
Update the value of the field for the given instance
|
void |
putFloatValue(C parent,
float newFieldValue)
Update the value of the field for the given instance
|
void |
putIntValue(C parent,
int newFieldValue)
Update the value of the field for the given instance
|
void |
putLongValue(C parent,
long newFieldValue)
Update the value of the field for the given instance
|
void |
putShortValue(C parent,
short newFieldValue)
Update the value of the field for the given instance
|
void |
putValue(C parent,
Object newFieldValue)
Update the value of the field for the given instance
|
Class<C> declaringClass()
Class<?> fieldClass()
Object getValue(C parent)
parent
- The instance to access the field forvoid putValue(C parent, Object newFieldValue)
parent
- The instance to access the field fornewFieldValue
- The new valueboolean getBooleanValue(C parent)
parent
- The instance to access the field forvoid putBooleanValue(C parent, boolean newFieldValue)
parent
- The instance to access the field fornewFieldValue
- The new value as a booleanbyte getByteValue(C parent)
parent
- The instance to access the field forvoid putByteValue(C parent, byte newFieldValue)
parent
- The instance to access the field fornewFieldValue
- The new value as a bytechar getCharValue(C parent)
parent
- The instance to access the field forvoid putCharValue(C parent, char newFieldValue)
parent
- The instance to access the field fornewFieldValue
- The new value as a charshort getShortValue(C parent)
parent
- The instance to access the field forvoid putShortValue(C parent, short newFieldValue)
parent
- The instance to access the field fornewFieldValue
- The new value as a shortint getIntValue(C parent)
parent
- The instance to access the field forvoid putIntValue(C parent, int newFieldValue)
parent
- The instance to access the field fornewFieldValue
- The new value as an intlong getLongValue(C parent)
parent
- The instance to access the field forvoid putLongValue(C parent, long newFieldValue)
parent
- The instance to access the field fornewFieldValue
- The new value as a longfloat getFloatValue(C parent)
parent
- The instance to access the field forvoid putFloatValue(C parent, float newFieldValue)
parent
- The instance to access the field fornewFieldValue
- The new value as a floatdouble getDoubleValue(C parent)
parent
- The instance to access the field forvoid putDoubleValue(C parent, double newFieldValue)
parent
- The instance to access the field fornewFieldValue
- The new value as a doubleCopyright © 2010–2018 Jadira Systems. All rights reserved.