1 /* 2 * This file is a part of CAST project. 3 * (c) Copyright 2007, AGH University of Science & Technology 4 * https://caribou.iisg.agh.edu.pl/trac/cast 5 * 6 * Licensed under the Eclipse Public License, Version 1.0 (the "License"). 7 * You may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * http://www.eclipse.org/legal/epl-v10.html 10 */ 11 /* 12 * File: IFilter.java 13 * Created: 2007-12-13 14 * Author: apohllo 15 * $Id: IFilter.java 2232 2009-01-04 22:59:53Z apohllo $ 16 */ 17 18 package pl.edu.agh.cast.filter; 19 20 import java.util.Collection; 21 22 import pl.edu.agh.cast.model.base.DataSet; 23 import pl.edu.agh.cast.model.base.IRelation; 24 25 /** 26 * DataSet filter interface. Used in pl.edu.agh.cast.filter extension point. 27 * 28 * @author AGH CAST Team 29 * 30 */ 31 public interface IFilter { 32 33 /** 34 * Filters the data set. The result is a list of relations which were not filtered. 35 * 36 * @param dataSet 37 * The data set to filter 38 * @return list of relations which were not filtered. 39 */ 40 public Collection<IRelation> filter(DataSet dataSet); 41 42 }