org.jdiseq.filter
Class Filter

java.lang.Object
  extended byorg.jdiseq.filter.Filter
Direct Known Subclasses:
MethodFilter, PackageFilter

public abstract class Filter
extends java.lang.Object

Filter is a filter rule defined by the user. These rules might be defined either by using a gui or through configuration files.

Since:
1.0
Version:
$Id: Filter.java,v 1.7 2003/08/17 12:05:53 trondandersen Exp $
Author:
Trond Andersen

Constructor Summary
protected Filter(java.lang.String elementName)
          Created an undefined filtering mekanism.
 
Method Summary
 boolean equals(java.lang.Object object)
          
protected abstract  java.lang.String getAttributeName()
          Returns the subclasses attribute name since the super class isn't aware of them.
protected  Element getElement()
           
 java.lang.String getFiltering()
           
 FilterType getType()
           
 int hashCode()
          
 void setFiltering(java.lang.String filtering)
           
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Filter

protected Filter(java.lang.String elementName)
Created an undefined filtering mekanism. Typically created from a GUI interface with a default chose of type filtering defined by the subclass.

Parameters:
elementName - describing the xml bound name of the element
Method Detail

getType

public final FilterType getType()

setFiltering

public void setFiltering(java.lang.String filtering)

getFiltering

public java.lang.String getFiltering()

toString

public java.lang.String toString()


equals

public boolean equals(java.lang.Object object)


hashCode

public int hashCode()


getAttributeName

protected abstract java.lang.String getAttributeName()
Returns the subclasses attribute name since the super class isn't aware of them.

Returns:
Name of the subclasses attribute

getElement

protected Element getElement()


Copyright © 2003 SourceForge.net. All Rights Reserved.