public class BeanPropertyParameterSource extends Object implements ParameterSource
| Constructor and Description |
|---|
BeanPropertyParameterSource(Object object)
Create a new BeanPropertySqlParameterSource for the given bean.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getReadablePropertyNames()
Provide access to the property names of the wrapped bean.
|
Object |
getValue(String paramName)
Return the parameter value for the requested named parameter.
|
boolean |
hasValue(String paramName)
Determine whether there is a value for the specified named parameter.
|
public BeanPropertyParameterSource(Object object)
object - the bean instance to wrappublic boolean hasValue(String paramName)
ParameterSourcehasValue in interface ParameterSourceparamName - the name of the parameterpublic Object getValue(String paramName)
ParameterSourcegetValue in interface ParameterSourceparamName - the name of the parameterpublic String[] getReadablePropertyNames()
PropertyAccessor
interface.