001 package com.croftsoft.core.role;
002
003 /*********************************************************************
004 * Determines whether an object should be filtered.
005 *
006 * @author
007 * <a href="http://www.CroftSoft.com/">David Wallace Croft</a>
008 * @version
009 * 2003-04-09
010 * @since
011 * 2003-04-09
012 *********************************************************************/
013
014 public interface Filter
015 //////////////////////////////////////////////////////////////////////
016 //////////////////////////////////////////////////////////////////////
017 {
018
019 /*********************************************************************
020 * Filtrate is what passes through a filter.
021 *
022 * @return
023 *
024 * Returns false if the object should be filtered.
025 *********************************************************************/
026 public boolean isFiltrate ( Object o );
027
028 //////////////////////////////////////////////////////////////////////
029 //////////////////////////////////////////////////////////////////////
030 }