public final class IsNull extends Object implements Container.Filter
| Constructor and Description |
|---|
IsNull(Object propertyId)
Constructor for a filter that compares the value of an item property with
null.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
appliesToProperty(Object propertyId)
Check if a change in the value of a property can affect the filtering
result.
|
boolean |
equals(Object obj) |
Object |
getPropertyId()
Returns the property id of the property tested by the filter, not null
for valid filters.
|
int |
hashCode() |
boolean |
passesFilter(Object itemId,
Item item)
Check if an item passes the filter (in-memory filtering).
|
public IsNull(Object propertyId)
propertyId - the identifier (not null) of the property whose value to checkpublic boolean passesFilter(Object itemId, Item item) throws UnsupportedOperationException
Container.FilterpassesFilter in interface Container.FilteritemId - identifier of the item being filtered; may be null when
the item is being added to the containeritem - the item being filteredUnsupportedOperationException - if the filter cannot be used for in-memory filteringpublic boolean appliesToProperty(Object propertyId)
Container.FilterappliesToProperty in interface Container.Filterpublic Object getPropertyId()
Copyright © 2019 Vaadin Ltd. All rights reserved.