Class StringFilter
- java.lang.Object
-
- org.identityconnectors.framework.common.objects.filter.AttributeFilter
-
- org.identityconnectors.framework.common.objects.filter.SingleValueAttributeFilter
-
- org.identityconnectors.framework.common.objects.filter.StringFilter
-
- All Implemented Interfaces:
Filter
- Direct Known Subclasses:
ContainsFilter,EndsWithFilter,EqualsIgnoreCaseFilter,StartsWithFilter
public abstract class StringFilter extends SingleValueAttributeFilter
Filter based on strings.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanaccept(String value)booleanaccept(ConnectorObject obj)Determines whether the specifiedConnectorObjectmatches this filter.StringgetValue()Get the string value from the afore mentioned attribute.-
Methods inherited from class org.identityconnectors.framework.common.objects.filter.AttributeFilter
getAttribute, getName, isPresent
-
-
-
-
Method Detail
-
getValue
public String getValue()
Get the string value from the afore mentioned attribute.- Overrides:
getValuein classSingleValueAttributeFilter- See Also:
SingleValueAttributeFilter.getValue()
-
accept
public boolean accept(ConnectorObject obj)
Description copied from interface:FilterDetermines whether the specifiedConnectorObjectmatches this filter.- Parameters:
obj- - The specified ConnectorObject.- Returns:
trueif the object matches (that is, satisfies all selection criteria of) this filter; otherwisefalse.- Throws:
IllegalArgumentException- if the value from theConnectorObject's attribute of the same name as provided is not a string.- See Also:
Filter.accept(ConnectorObject)
-
accept
public abstract boolean accept(String value)
-
-