org.springframework.integration.jpa.support.parametersource
Interface ParameterSource
- All Known Subinterfaces:
- PositionSupportingParameterSource
- All Known Implementing Classes:
- BeanPropertyParameterSource
public interface ParameterSource
- Since:
- 2.2
- Author:
- Gunnar Hillert
Method Summary |
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. |
hasValue
boolean hasValue(java.lang.String paramName)
- Determine whether there is a value for the specified named parameter.
- Parameters:
paramName
- the name of the parameter
- Returns:
- whether there is a value defined
getValue
java.lang.Object getValue(java.lang.String paramName)
- Return the parameter value for the requested named parameter.
- Parameters:
paramName
- the name of the parameter
- Returns:
- the value of the specified parameter