generalDatabase
Class DatabaseIndexUnitFinder

java.lang.Object
  extended by generalDatabase.DatabaseIndexUnitFinder
All Implemented Interfaces:
DataUnitMatcher

public class DatabaseIndexUnitFinder
extends java.lang.Object
implements DataUnitMatcher

Works with a DataUnitFinder to match PamDataUnits by database index. Can be used with one or two input arguments. The first is the index searched for, the second is boolean and if it's true, will require that the index is > 0.

Author:
Doug Gillespie

Constructor Summary
DatabaseIndexUnitFinder()
           
 
Method Summary
 boolean match(PamDataUnit dataUnit, java.lang.Object... criteria)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseIndexUnitFinder

public DatabaseIndexUnitFinder()
Method Detail

match

public boolean match(PamDataUnit dataUnit,
                     java.lang.Object... criteria)
Specified by:
match in interface DataUnitMatcher