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
 int compare(ConnectorObject obj)
          Call compareTo on the attribute values.
 
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
 
Methods inherited from interface org.identityconnectors.framework.common.objects.filter.Filter
accept
 

Method Detail

compare

public int compare(ConnectorObject obj)
Call compareTo on the attribute values. If the attribute is not present in the ConnectorObject return -1.



Copyright © 2012. All Rights Reserved.