com.vaadin.data.util.filter
Class Compare.LessOrEqual
java.lang.Object
com.vaadin.data.util.filter.Compare
com.vaadin.data.util.filter.Compare.LessOrEqual
- All Implemented Interfaces:
- Container.Filter, Serializable
- Enclosing class:
- Compare
public static final class Compare.LessOrEqual
- extends Compare
A Compare
filter that accepts items for which the identified
property value is less than or equal to 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
Constructor Summary |
Compare.LessOrEqual(Object propertyId,
Object value)
Construct a filter that accepts items for which the identified
property value is less than or equal to value . |
Compare.LessOrEqual
public Compare.LessOrEqual(Object propertyId,
Object value)
- Construct a filter that accepts items for which the identified
property value is less than or equal to
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 nullvalue
- 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.