org.identityconnectors.framework.common.objects.filter
Class OrFilter

java.lang.Object
  extended by org.identityconnectors.framework.common.objects.filter.CompositeFilter
      extended by org.identityconnectors.framework.common.objects.filter.OrFilter
All Implemented Interfaces:
Filter

public final class OrFilter
extends CompositeFilter


Constructor Summary
OrFilter(Filter left, Filter right)
          Takes the result of the left and right filter and ORs them.
 
Method Summary
 boolean accept(ConnectorObject obj)
          Takes the result from the left and ORs it w/ the right filter.
 String toString()
           
 
Methods inherited from class org.identityconnectors.framework.common.objects.filter.CompositeFilter
getLeft, getRight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrFilter

public OrFilter(Filter left,
                Filter right)
Takes the result of the left and right filter and ORs them.

Method Detail

accept

public boolean accept(ConnectorObject obj)
Takes the result from the left and ORs it w/ the right filter.

Parameters:
obj - - The specified ConnectorObject.
Returns:
true if the object matches (that is, satisfies all selection criteria of) this filter; otherwise false.
See Also:
Filter.accept(ConnectorObject)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.