Skip navigation links


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

java.lang.Object
  extended by org.identityconnectors.framework.common.objects.filter.NotFilter

All Implemented Interfaces:
Filter

public final class NotFilter
extends java.lang.Object
implements Filter

Proxy the filter to return the negative of the value.


Constructor Summary
NotFilter(Filter filter)
          Take the value returned from the internal filter and NOT it.

 

Method Summary
 boolean accept(ConnectorObject obj)
          Return the opposite the internal filters return value.
 boolean accept(EmbeddedObject obj)
          Return the opposite the internal filters return value.
 Filter getFilter()
          Get the internal filter that is being negated.
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

NotFilter

public NotFilter(Filter filter)
Take the value returned from the internal filter and NOT it.

Method Detail

getFilter

public Filter getFilter()
Get the internal filter that is being negated.

accept

public boolean accept(ConnectorObject obj)
Return the opposite the internal filters return value.
Specified by:
accept in interface 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)
Return the opposite the internal filters return value.
Specified by:
accept in interface 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 © 2013, Oracle and/or its affiliates. All rights reserved.