Interface IParameterMap


  • public interface IParameterMap
    A ParameterMap can be used to define the values for parameters of an query. Call IGetRequest.createParameterMap() to create an empty ParameterMap. To add a ParameterMap to a request, call IGetRequest.setParameters(..).
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void put​(java.lang.String name, java.lang.Object value)
      This method can be used to add a single value parameter.
      void putCollection​(java.lang.String name, java.util.List<?> values)
      This method can be used to add a collection of values or ranges.
      void putRange​(java.lang.String name, java.lang.Object start, java.lang.Object end)
      This method can be used to add a range parameter.
    • Method Detail

      • put

        void put​(java.lang.String name,
                 java.lang.Object value)
        This method can be used to add a single value parameter.
        Parameters:
        name - The name of the parameter, without the @ sign.
        value - The value of the parameter.
      • putRange

        void putRange​(java.lang.String name,
                      java.lang.Object start,
                      java.lang.Object end)
        This method can be used to add a range parameter.
        Parameters:
        name - The name of the parameter, without the @ sign.
        start - The start value of the parameter.
        end - The end value of the parameter.
      • putCollection

        void putCollection​(java.lang.String name,
                           java.util.List<?> values)
        This method can be used to add a collection of values or ranges. A range can be defined by an array of two items.
        Parameters:
        name - The name of the parameter, without the @ sign.
        values - The collection of values or ranges for this parameter.