de.janrufmonitor.repository.filter
Class AbstractFilter

java.lang.Object
  extended by de.janrufmonitor.repository.filter.AbstractFilter
All Implemented Interfaces:
IFilter
Direct Known Subclasses:
AttributeFilter, CallerFilter, CipFilter, DateFilter, ItemCountFilter, MsnFilter, PhonenumberFilter, UUIDFilter

public abstract class AbstractFilter
extends Object
implements IFilter

This class is an abstract implementation of the IFilter interface. It can be used as base class for a concrete filter implementation.

Author:
Thilo Brandt

Field Summary
protected  Object m_filter
           
protected  FilterType m_type
           
 
Constructor Summary
protected AbstractFilter()
           
 
Method Summary
 Object getFilterObject()
          Gets the objects the filter is defined for.
 FilterType getType()
          Gets the type of the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_filter

protected Object m_filter

m_type

protected FilterType m_type
Constructor Detail

AbstractFilter

protected AbstractFilter()
Method Detail

getFilterObject

public Object getFilterObject()
Description copied from interface: IFilter
Gets the objects the filter is defined for.

Specified by:
getFilterObject in interface IFilter
Returns:
a valid filter object or null.

getType

public FilterType getType()
Description copied from interface: IFilter
Gets the type of the filter.

Specified by:
getType in interface IFilter
Returns:
a vlaid filter type


Copyright © 2010 by Thilo Brandt. All Rights Reserved.