Skip navigation links


org.identityconnectors.framework.common.objects.filter
Class StringFilter

java.lang.Object
  extended by org.identityconnectors.framework.common.objects.filter.AttributeFilter
      extended by org.identityconnectors.framework.common.objects.filter.SingleValueAttributeFilter
          extended by 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.


Method Summary
 boolean accept(ConnectorObject obj)
          Determines whether the specified ConnectorObject matches this filter.
 boolean accept(EmbeddedObject obj)
          Determines whether the specified EmbeddedObject matches this filter.
abstract  boolean accept(java.lang.String value)
           
 java.lang.String getValue()
          Get the string value from the afore mentioned attribute.

 

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, toString, wait, wait, wait

 

Method Detail

getValue

public java.lang.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:
java.lang.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 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.

accept

public abstract boolean accept(java.lang.String value)

Skip navigation links


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.