code: private void setParameterValue(String name, Object value) {
          if (typedParameter != null) {
              List<FilterClause> clauses =
                  typedParameter.getParameters() != null ? typedParameter.getParameters().get(name) : null;
              if (clauses != null) {
                  for (FilterClause clause : clauses) {
                      clause.setValue(value);
                  }
              } else {
                  if (typedParameter.getUpdateParameters() != null) {
                      UpdateClause updateClause = typedParameter.getUpdateParameters().get(name);
                      updateClause.setValue(value);
                  } else {
                      logger.error("Error while setting parameter.");
                      throw new QueryHandlerException("named parameter : " + name + " not found!");
                  }
              }
          } else {
              throw new QueryHandlerException("No named parameter present for query");
          }
      }
docs: Sets parameter value into filterClause, depending upon {@link Type}.
  
  @param name
  parameter name.
  @param value
  parameter value.