Interface HasCollectionElementFilter<T>

All Known Subinterfaces:
WithCollectionElementFilterMixin<T,SELF>
All Known Implementing Classes:
CollectionField, MapField

public interface HasCollectionElementFilter<T>
Since:
2022-04-28
Author:
miki
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.function.SerializablePredicate<T>
    Returns current value filter.
    void
    setCollectionElementFilter(com.vaadin.flow.function.SerializablePredicate<T> collectionElementFilter)
    Sets a value filter.
  • Method Details

    • setCollectionElementFilter

      void setCollectionElementFilter(com.vaadin.flow.function.SerializablePredicate<T> collectionElementFilter)
      Sets a value filter. Only items matching the filter will be included in the generated value.
      Parameters:
      collectionElementFilter - Value filter to use.
    • getCollectionElementFilter

      com.vaadin.flow.function.SerializablePredicate<T> getCollectionElementFilter()
      Returns current value filter. All items in the value will pass this filter.
      Returns:
      A non-null filter.