Class ExpressionEvaluatingParameterSourceFactory.ExpressionEvaluatingParameterSource
java.lang.Object
org.springframework.integration.jpa.support.parametersource.ExpressionEvaluatingParameterSourceFactory.ExpressionEvaluatingParameterSource
- All Implemented Interfaces:
ParameterSource,PositionSupportingParameterSource
- Enclosing class:
- ExpressionEvaluatingParameterSourceFactory
protected class ExpressionEvaluatingParameterSourceFactory.ExpressionEvaluatingParameterSource extends java.lang.Object implements PositionSupportingParameterSource
-
Constructor Summary
Constructors Modifier Constructor Description protectedExpressionEvaluatingParameterSource(java.lang.Object input, java.util.List<JpaParameter> parameters, org.springframework.integration.jpa.support.parametersource.ExpressionEvaluatingParameterSourceUtils.ParameterExpressionEvaluator expressionEvaluator) -
Method Summary
Modifier and Type Method Description java.lang.ObjectgetValue(java.lang.String paramName)Return the parameter value for the requested named parameter.java.lang.ObjectgetValueByPosition(int position)booleanhasValue(java.lang.String paramName)Determine whether there is a value for the specified named parameter.
-
Constructor Details
-
ExpressionEvaluatingParameterSource
protected ExpressionEvaluatingParameterSource(java.lang.Object input, java.util.List<JpaParameter> parameters, org.springframework.integration.jpa.support.parametersource.ExpressionEvaluatingParameterSourceUtils.ParameterExpressionEvaluator expressionEvaluator)
-
-
Method Details
-
getValueByPosition
@Nullable public java.lang.Object getValueByPosition(int position)- Specified by:
getValueByPositionin interfacePositionSupportingParameterSource
-
getValue
@Nullable public java.lang.Object getValue(java.lang.String paramName)Description copied from interface:ParameterSourceReturn the parameter value for the requested named parameter.- Specified by:
getValuein interfaceParameterSource- Parameters:
paramName- the name of the parameter- Returns:
- the value of the specified parameter
-
hasValue
public boolean hasValue(java.lang.String paramName)Description copied from interface:ParameterSourceDetermine whether there is a value for the specified named parameter.- Specified by:
hasValuein interfaceParameterSource- Parameters:
paramName- the name of the parameter- Returns:
- whether there is a value defined
-