public class TLcdDAFIFModelAndFilter extends Object implements ILcdDAFIFModelFilter
Constructor and Description |
---|
TLcdDAFIFModelAndFilter(ILcdDAFIFModelFilter aA,
ILcdDAFIFModelFilter aB)
Creates a new filter which is a logical AND of the two specified input filters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Object aObject)
Test if the given object passes the filter
|
void |
setModelDescriptor(ILcdModelDescriptor aModelDescriptor)
Set the model descriptor to be used by filters.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
test
public TLcdDAFIFModelAndFilter(ILcdDAFIFModelFilter aA, ILcdDAFIFModelFilter aB)
aA
- a DAFIF model filteraB
- a DAFIF model filterpublic void setModelDescriptor(ILcdModelDescriptor aModelDescriptor)
setModelDescriptor
in interface ILcdDAFIFModelFilter
aModelDescriptor
- the model descriptor of the model being filteredpublic boolean accept(Object aObject)
accept
in interface ILcdFilter
aObject
- an object to testtrue
if the object passes the filter, false
otherwise.