code: private FilterList getFilterList(Filter filters)
      {
          FilterList filterList = null;
          if (filters != null)
          {
              if (FilterList.class.isAssignableFrom(filters.getClass()))
              {
                  filterList = (FilterList) filters;
              }
              else
              {
                  filterList = new FilterList();
                  filterList.addFilter(filters);
              }
          }
          return filterList;
      }
docs: Gets the filter list.
  
  @param filters
  the filters
  @return the filter list