Interface Searchable


public interface Searchable
An entity that can be searched for a search term or to which a search expression can be applied.
  • Method Summary

    Modifier and Type
    Method
    Description
    has(String searchTerm)
    Build a predicate to check, whether searchable matches a given search term.
  • Method Details

    • has

      Predicate has(String searchTerm)
      Build a predicate to check, whether searchable matches a given search term.
      Parameters:
      searchTerm - the search term
      Returns:
      the predicate for the containment test