public interface FieldManagerModifier
extends org.springframework.core.Ordered
FieldManager.setFieldValue(Object, String, Object)
and FieldManager.getFieldValue(Object, String).FieldManager| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(Field field,
Object value,
javax.persistence.EntityManager em)
Determines whether this modifier is able handle writing or reading this
Field. |
Object |
getModifiedReadValue(Field field,
Object value,
javax.persistence.EntityManager em)
Returns a modified read value for the field.
|
Object |
getModifiedWriteValue(Field field,
Object value,
Object newValue,
javax.persistence.EntityManager em)
Returns a modified write value for the field.
|
boolean canHandle(Field field, Object value, javax.persistence.EntityManager em)
Field.field - the Field that is being handledvalue - the value that is being set or readem - the EntityManagerObject getModifiedWriteValue(Field field, Object value, Object newValue, javax.persistence.EntityManager em) throws IllegalAccessException
field - the field being modifiedvalue - the bean or object with the fieldnewValue - the new value for the fieldem - the EntityManagerIllegalAccessExceptionFieldManager.setFieldValue(Object, String, Object)Object getModifiedReadValue(Field field, Object value, javax.persistence.EntityManager em) throws IllegalAccessException
field - the field being modifiedvalue - the value of the fieldem - the EntityManagerIllegalAccessExceptionFieldManager.getFieldValue(Object, String)Copyright © 2017. All rights reserved.