net.sourceforge.fluxion.datasource.filter.impl
Class Join<T>

java.lang.Object
  extended by net.sourceforge.fluxion.datasource.filter.impl.Join<T>
All Implemented Interfaces:
Filter<T>

public class Join<T>
extends java.lang.Object
implements Filter<T>

A Filter that joins on to another Filter, allowing queries across two different beans. The filter that is joined to then links the beans these filters act upon by the given filter methods. Then, this filter will accept the result as long as the filter joined on also accepts the result.

Version:
0.2
Author:
Tony Burdett

Constructor Summary
Join(Filter filterToJoin, java.lang.reflect.Method filterMethodToJoinOn)
           
 
Method Summary
 boolean accept(T value)
          Determine whether the passed value is in the domain of objects this FilterAnn can accept.
 java.lang.String getBeanClassName()
           
 java.lang.String getBeanMethodName()
           
 Filter getJoinedFilter()
           
 void setBeanClassName(java.lang.String beanClassName)
           
 void setBeanMethodName(java.lang.String beanMethodName)
           
 void setJoinedFilter(Filter filter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Join

public Join(Filter filterToJoin,
            java.lang.reflect.Method filterMethodToJoinOn)
Method Detail

getBeanClassName

public java.lang.String getBeanClassName()

setBeanClassName

public void setBeanClassName(java.lang.String beanClassName)

getBeanMethodName

public java.lang.String getBeanMethodName()

setBeanMethodName

public void setBeanMethodName(java.lang.String beanMethodName)

getJoinedFilter

public Filter getJoinedFilter()

setJoinedFilter

public void setJoinedFilter(Filter filter)

accept

public boolean accept(T value)
Description copied from interface: Filter
Determine whether the passed value is in the domain of objects this FilterAnn can accept.

Specified by:
accept in interface Filter<T>
Parameters:
value - the value to accept
Returns:
true if this filter can accept the given value


Copyright © 2010. All Rights Reserved.