de.janrufmonitor.repository.filter
Class FilterType

java.lang.Object
  extended by de.janrufmonitor.repository.filter.FilterType

public class FilterType
extends Object

This class defines several FilterTypes for an IFilter implementation. Currenty the following FilterTypes are supported:

  1. FilterType.UNDEFINED - default value, if nothing is specified
  2. FilterType.DATE - a date filter
  3. FilterType.CALLER - a caller filter
  4. FilterType.MSN - a msn filter
  5. FilterType.CIP - a cip filter
  6. FilterType.ATTRIBUTE - an attribute filter
  7. FilterType.PHONENUMBER - a phonenumber filter
  8. FilterType.OBJECT_ARRAY - a filter for generic object arrays
  9. FilterType.UUID - a UUID filter
  10. FilterType.USERDEFINED - a user defined filter
  11. FilterType.ITEMCOUNT - a item count filter
The concrete FilterType has to be determined and evaluated within the filter application/component, e.g. a caller manager.

Author:
Thilo Brandt

Field Summary
static FilterType ATTRIBUTE
           
static FilterType CALLER
           
static FilterType CIP
           
static FilterType DATE
           
static FilterType ITEMCOUNT
           
static FilterType MSN
           
static FilterType OBJECT_ARRAY
           
static FilterType PHONENUMBER
           
static FilterType UNDEFINED
           
static FilterType USERDEFINED
           
static FilterType UUID
           
 
Constructor Summary
FilterType(int type)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNDEFINED

public static FilterType UNDEFINED

DATE

public static FilterType DATE

CALLER

public static FilterType CALLER

MSN

public static FilterType MSN

CIP

public static FilterType CIP

ATTRIBUTE

public static FilterType ATTRIBUTE

PHONENUMBER

public static FilterType PHONENUMBER

OBJECT_ARRAY

public static FilterType OBJECT_ARRAY

UUID

public static FilterType UUID

USERDEFINED

public static FilterType USERDEFINED

ITEMCOUNT

public static FilterType ITEMCOUNT
Constructor Detail

FilterType

public FilterType(int type)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 by Thilo Brandt. All Rights Reserved.