Class EqualsFilter
java.lang.Object
org.identityconnectors.framework.common.objects.filter.AttributeFilter
org.identityconnectors.framework.common.objects.filter.EqualsFilter
- All Implemented Interfaces:
Filter
-
Constructor Summary
ConstructorsConstructorDescriptionEqualsFilter(Attribute attr) Public only as an artifact of the implementation. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(ConnectorObject obj) Determines whether the specifiedConnectorObjectcontains an attribute that has the same name and contains a value that is equals the value of the attribute thatFilterBuilderplaced into this filter.<R,P> R accept(FilterVisitor<R, P> v, P p) Applies aFilterVisitorto thisFilter.toString()Methods inherited from class org.identityconnectors.framework.common.objects.filter.AttributeFilter
getAttribute, getName, isPresent
-
Constructor Details
-
EqualsFilter
Public only as an artifact of the implementation. Please useFilterBuilderto create an instance ofEqualsFilter.
-
-
Method Details
-
accept
Determines whether the specifiedConnectorObjectcontains an attribute that has the same name and contains a value that is equals the value of the attribute thatFilterBuilderplaced 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:
trueif the object matches (that is, satisfies all selection criteria of) this filter; otherwisefalse.- See Also:
-
accept
Description copied from interface:FilterApplies aFilterVisitorto thisFilter.- Type Parameters:
R- The return type of the visitor's methods.P- The type of the additional parameters to the visitor's methods.- Parameters:
v- The filter visitor.p- Optional additional visitor parameter.- Returns:
- A result as specified by the visitor.
-
toString
-