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