Skip navigation links


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.
 boolean accept(EmbeddedObject obj)
          Determines whether the specified EmbeddedObject matches this filter.
 java.lang.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)

accept

public boolean accept(EmbeddedObject obj)
Description copied from interface: Filter
Determines whether the specified EmbeddedObject matches this filter.
Parameters:
obj - - The specified EmbeddedObject.
Returns:
true if the object matches (that is, satisfies all selection criteria of) this filter; otherwise false.

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.