Class CountryFilter

java.lang.Object
org.deltava.filter.CountryFilter
All Implemented Interfaces:
AirportFilter

public class CountryFilter extends Object implements AirportFilter
An Airport Filter to filter by Country.
Since:
5.0
Version:
9.1
Author:
Luke
  • Constructor Details

    • CountryFilter

      public CountryFilter(Country c)
      Creates the Filter.
      Parameters:
      c - the Country to filter on
  • Method Details

    • accept

      public boolean accept(Airport a)
      Description copied from interface: AirportFilter
      Determines whether the Airport matches the criteria set by this Filter.
      Specified by:
      accept in interface AirportFilter
      Parameters:
      a - the Airport bean to examine
      Returns:
      TRUE if the airport matches the criteria, otherwise FALSE