Skip navigation links
org.identityconnectors.framework.common.objects.filter
Class EqualsFilter
java.lang.Object
org.identityconnectors.framework.common.objects.filter.AttributeFilter
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EqualsFilter
public EqualsFilter(Attribute attr)
- Public only as an artifact of the implementation. Please use
FilterBuilder
to create an instance of EqualsFilter
.
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:
- the value of the attribute in the connector object and the value of the attribute in the filter must contain the same number of elements; and that
- each element within the value of the attribute in the connector object must equal the element that occupies the same position within the value of the attribute in the 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)
- 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 © 2012, Oracle and/or its affiliates. All rights reserved.