Skip navigation links


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.
 boolean accept(EmbeddedObject obj)
          Takes the result from the left and ORs it w/ the right filter.
 java.lang.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)

accept

public boolean accept(EmbeddedObject obj)
Takes the result from the left and ORs it w/ the right filter.
Parameters:
obj - - The specified EmbeddedObject.
Returns:
true if the object matches (that is, satisfies all selection criteria of) this filter; otherwise false.
See Also:
Filter.accept(EmbeddedObject)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.