com.vaadin.data.util.filter
Class Compare.Less

java.lang.Object
  extended by com.vaadin.data.util.filter.Compare
      extended by com.vaadin.data.util.filter.Compare.Less
All Implemented Interfaces:
Container.Filter, Serializable
Enclosing class:
Compare

public static final class Compare.Less
extends Compare

A Compare filter that accepts items for which the identified property value is less than value. For in-memory filters, the values must implement Comparable and Comparable.compareTo(Object) is used for the comparison. For other containers, the comparison implementation is container dependent and may use e.g. database comparison operations.

Since:
6.6
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.data.util.filter.Compare
Compare.Equal, Compare.Greater, Compare.GreaterOrEqual, Compare.Less, Compare.LessOrEqual, Compare.Operation
 
Constructor Summary
Compare.Less(Object propertyId, Object value)
          Construct a filter that accepts items for which the identified property value is less than value.
 
Method Summary
 
Methods inherited from class com.vaadin.data.util.filter.Compare
appliesToProperty, compareValue, equals, getOperation, getPropertyId, getValue, hashCode, passesFilter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compare.Less

public Compare.Less(Object propertyId,
                    Object value)
Construct a filter that accepts items for which the identified property value is less than value. For in-memory filters, the values must implement Comparable and Comparable.compareTo(Object) is used for the comparison. For other containers, the comparison implementation is container dependent and may use e.g. database comparison operations.

Parameters:
propertyId - the identifier of the property whose value to compare against value, not null
value - the value to compare against - null values may or may not be supported depending on the container


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.