org.oddjob.beanbus
Class AbstractFilter<F,T>
java.lang.Object
org.oddjob.beanbus.AbstractDestination<F>
org.oddjob.beanbus.AbstractFilter<F,T>
- Type Parameters:
F
- From TypeT
- To Type
- All Implemented Interfaces:
- Iterable<F>, Collection<F>, BusFilter<F,T>, Outbound<T>
- Direct Known Subclasses:
- BeanCapture, OnlyFilter, SQLResultsBean, SQLResultsSheet, TransformerAdaptor, TransformerScript, ValveFilter
public abstract class AbstractFilter<F,T>
- extends AbstractDestination<F>
- implements BusFilter<F,T>
For Standard Filter Components to extend.
- Author:
- rob
Methods inherited from class org.oddjob.beanbus.AbstractDestination |
addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface java.util.Collection |
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
AbstractFilter
public AbstractFilter()
add
public final boolean add(F bean)
- Specified by:
add
in interface Collection<F>
filter
protected abstract T filter(F from)
getTo
public Collection<? super T> getTo()
setTo
public void setTo(Collection<? super T> to)
- Description copied from interface:
Outbound
- Set the out bound destination.
- Specified by:
setTo
in interface Outbound<T>
getName
public String getName()
setName
public void setName(String name)
toString
public String toString()
- Overrides:
toString
in class Object