Interface ConfigurableFieldHandler<T>
- All Superinterfaces:
FieldHandler<T>
- All Known Implementing Classes:
AbstractFieldHandler, CollectionFieldHandler, DateFieldHandler, EnumFieldHandler, FieldHandlerImpl, GeneralizedFieldHandler, SQLTimeFieldHandler, SQLTimestampFieldHandler, ToStringFieldHandler, TransientFieldHandler, ValueOfFieldHandler, XMLFieldHandler
A
FieldHandler that can be configured with any kind of data. It's the responsibility
of the implementing class to do something useful with the configuration data.- Version:
- $Revision: $
- Author:
- Tom van den Berge
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetConfiguration(Properties config) Set the configuration data.Methods inherited from interface FieldHandler
checkValidity, getValue, newInstance, resetValue, setValueModifier and TypeMethodDescriptionvoidcheckValidity(Object object) Deprecated.No longer supportedReturns the value of the field from the object.newInstance(Object parent) Creates a new instance of the object described by this field.voidresetValue(Object object) Sets the value of the field to a default value.voidSets the value of the field on the object.
-
Method Details
-
setConfiguration
Set the configuration data. It will override any previously set configuration.- Parameters:
config- the configuration data.- Throws:
ValidityException- if config is invalid for this FieldHandler.
-