public interface PropertyHandler
ResultSet. PropertyHandlers do the work of coercing a value into the target type required.| Modifier and Type | Method and Description |
|---|---|
Object |
apply(Class<?> parameter,
Object value)
Do the work required to store
value into something of type parameter. |
boolean |
match(Class<?> parameter,
Object value)
Test whether this
PropertyHandler wants to handle setting value into something of type
parameter. |
boolean match(Class<?> parameter, Object value)
PropertyHandler wants to handle setting value into something of type
parameter.parameter - The type of the target parameter.value - The value to be set.Object apply(Class<?> parameter, Object value)
value into something of type parameter. This method is
called only if this handler responded true after a call to match(Class, Object).parameter - The type of the target parameter.value - The value to be set.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.