code: public void set_filter(filtervalue[] filter) 
  	{
  		String str = null;
  		for (int i = 0; i < filter.length; i++)
  		{
  			if (str != null)
  				str = str + ",";
  			if (str == null)
  				str = filter[i].get_name() + ":" + nitro_util.encode(filter[i].get_value());
  			else
  				str = str + filter[i].get_name() + ":" + nitro_util.encode(filter[i].get_value());;
  		}
  		this.filter = str;
  	}
docs: sets filter field.
  @param filter set this with the filter string to perform filtered get operation.
  Set the filter parameters in filtervalue object which is then converted to json string.