All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dvb.application.AppsDatabaseFilter Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package org.dvb.application ;

/**
 * Abstract class for the filters.
 * Instances of concrete classes that extend AppsDatabaseFilter
 * are passed to the AppsDatabase.getAppAttributes and AppsDatabase.getAppIDs methods
 * to allow an applications to set a filter on the list of applications 
 * (respectively AppAttributes and AppIDs) that it wants
 * to retrieve from the AppDatabase.
 * @since MHP 1.0
 */

public abstract class AppsDatabaseFilter {

 /**
 Construct an AppsDatabaseFilter object.
 */
 public AppsDatabaseFilter() {super();}

 /**
  * 
  * Test if a specified appid should be included in the Enumeration.
  * @param appid the specified appid to test.
  * @return  true if the application with identifier appid should be listed, false otherwise.
  * @since   MHP1.0
  */
    public abstract boolean accept(AppID appid);


}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy