public interface PropertyHandler
ResultSet
. Instances coerce values into a target types.Modifier and Type | Method and Description |
---|---|
Object |
apply(Class<?> parameter,
Object value)
Stores the given
value into an instance of type parameter . |
boolean |
match(Class<?> parameter,
Object value)
Tests whether to handle setting
value into an instance of parameter . |
Object apply(Class<?> parameter, Object value)
value
into an instance of type parameter
. This method is only called if match(Class, Object)
return true.parameter
- The type of the target parameter.value
- The value to set.Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.