com.northconcepts.datapipeline.filter
Class FieldFilter

java.lang.Object
  extended by com.northconcepts.datapipeline.filter.Filter
      extended by com.northconcepts.datapipeline.filter.FieldFilter

public class FieldFilter
extends Filter


Constructor Summary
FieldFilter(String name)
           
 
Method Summary
 DataException addExceptionProperties(DataException exception)
           
 FieldFilter addRule(FieldFilterRule... rules)
           
 boolean allow(Record record)
           
 Field getCurrentField()
           
 FieldFilterRule getCurrentRule()
           
 String getName()
           
 FieldFilterRule getRule(int index)
           
 int getRuleCount()
           
 String toString()
           
 
Methods inherited from class com.northconcepts.datapipeline.filter.Filter
getReader, setReader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldFilter

public FieldFilter(String name)
Method Detail

getCurrentRule

public FieldFilterRule getCurrentRule()

getCurrentField

public Field getCurrentField()

getName

public String getName()

addRule

public FieldFilter addRule(FieldFilterRule... rules)

getRuleCount

public int getRuleCount()

getRule

public FieldFilterRule getRule(int index)

allow

public boolean allow(Record record)
Specified by:
allow in class Filter

toString

public String toString()
Overrides:
toString in class Object

addExceptionProperties

public DataException addExceptionProperties(DataException exception)
Overrides:
addExceptionProperties in class Filter


Copyright (c) 2007-2009 North Concepts Inc. All Rights Reserved.