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
    protected ExpressionEvaluatingParameterSource​(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.Object getValue​(java.lang.String paramName)
    Return the parameter value for the requested named parameter.
    java.lang.Object getValueByPosition​(int position)  
    boolean hasValue​(java.lang.String paramName)
    Determine whether there is a value for the specified named parameter.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getValueByPosition in interface PositionSupportingParameterSource
    • getValue

      @Nullable public java.lang.Object getValue​(java.lang.String paramName)
      Description copied from interface: ParameterSource
      Return the parameter value for the requested named parameter.
      Specified by:
      getValue in interface ParameterSource
      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: ParameterSource
      Determine whether there is a value for the specified named parameter.
      Specified by:
      hasValue in interface ParameterSource
      Parameters:
      paramName - the name of the parameter
      Returns:
      whether there is a value defined