@Component(value="blOracleRequiredFieldManagerModifier") public class OracleRequiredFieldManagerModifier extends Object implements FieldManagerModifier
| Modifier and Type | Field and Description |
|---|---|
protected DialectHelper |
dialectHelper |
protected static List<String> |
TYPES_THAT_SUPPORT_SINGLE_SPACE_AS_DEFAULT |
| Constructor and Description |
|---|
OracleRequiredFieldManagerModifier() |
| 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.
|
int |
getOrder() |
protected boolean |
isRequiredField(AdminPresentation adminPresentation,
javax.persistence.Column column) |
protected boolean |
isStringFieldType(Object value,
AdminPresentation adminPresentation) |
protected static final List<String> TYPES_THAT_SUPPORT_SINGLE_SPACE_AS_DEFAULT
protected DialectHelper dialectHelper
public boolean canHandle(Field field, Object value, javax.persistence.EntityManager em)
FieldManagerModifierField.canHandle in interface FieldManagerModifierfield - the Field that is being handledvalue - the value that is being set or readem - the EntityManagerprotected boolean isRequiredField(AdminPresentation adminPresentation, javax.persistence.Column column)
protected boolean isStringFieldType(Object value, AdminPresentation adminPresentation)
public Object getModifiedWriteValue(Field field, Object value, Object newValue, javax.persistence.EntityManager em) throws IllegalAccessException
FieldManagerModifiergetModifiedWriteValue in interface FieldManagerModifierfield - the field being modifiedvalue - the bean or object with the fieldnewValue - the new value for the fieldem - the EntityManagerIllegalAccessExceptionFieldManager.setFieldValue(Object, String, Object)public Object getModifiedReadValue(Field field, Object value, javax.persistence.EntityManager em) throws IllegalAccessException
FieldManagerModifiergetModifiedReadValue in interface FieldManagerModifierfield - the field being modifiedvalue - the value of the fieldem - the EntityManagerIllegalAccessExceptionFieldManager.getFieldValue(Object, String)public int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2017. All rights reserved.