org.identityconnectors.framework.common.objects.filter
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, StartsWithFilter
public abstract class StringFilter
- extends SingleValueAttributeFilter
Filter based on strings.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getValue
public String getValue()
- Get the string value from the afore mentioned attribute.
- Overrides:
getValue
in class SingleValueAttributeFilter
- See Also:
SingleValueAttributeFilter.getValue()
accept
public boolean accept(ConnectorObject obj)
- Description copied from interface:
Filter
- Determines whether the specified
ConnectorObject
matches this filter.
- Parameters:
obj
- - The specified ConnectorObject.
- Returns:
true
if the object matches
(that is, satisfies all selection criteria of) this filter;
otherwise false
.
- Throws:
ClassCastException
- iff the value from the ConnectorObject
's attribute
of the same name as provided is not a string.- See Also:
Filter.accept(ConnectorObject)
accept
public abstract boolean accept(String value)
Copyright © 2012. All Rights Reserved.