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

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

public final class EqualsFilter
extends AttributeFilter

Determines whether an object contains an attribute that matches a specific attribute value.


Constructor Summary
EqualsFilter(Attribute attr)
          Public only as an artifact of the implementation.
 
Method Summary
 boolean accept(ConnectorObject obj)
          Determines whether the specified ConnectorObject contains an attribute that has the same name and contains a value that is equals the value of the attribute that FilterBuilder placed into this filter.
 String toString()
           
 
Methods inherited from class org.identityconnectors.framework.common.objects.filter.AttributeFilter
getAttribute, getName, isPresent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EqualsFilter

public EqualsFilter(Attribute attr)
Public only as an artifact of the implementation. Please use FilterBuilder to create an instance of EqualsFilter.

Method Detail

accept

public boolean accept(ConnectorObject obj)
Determines whether the specified ConnectorObject contains an attribute that has the same name and contains a value that is equals the value of the attribute that FilterBuilder placed into this filter.

Note that in the case of a multi-valued attribute, equality of values means that:

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.