Skip navigation links


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

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.ComparableAttributeFilter

All Implemented Interfaces:
Filter
Direct Known Subclasses:
GreaterThanFilter, GreaterThanOrEqualFilter, LessThanFilter, LessThanOrEqualFilter

public abstract class ComparableAttributeFilter
extends SingleValueAttributeFilter

Filter for an attribute value that is comparable.


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.
protected abstract  boolean accept(java.lang.Object obj)
           
protected  int compare(java.lang.Object obj)
           

 

Methods inherited from class org.identityconnectors.framework.common.objects.filter.SingleValueAttributeFilter
getValue

 

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

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.

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

protected abstract boolean accept(java.lang.Object obj)

compare

protected final int compare(java.lang.Object obj)

Skip navigation links


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