Interface SearchNotExpression

All Superinterfaces:
SearchCompoundExpression, SearchQuery

public interface SearchNotExpression extends SearchCompoundExpression
SearchNotExpression
Example to create an instance using the builder pattern

     SearchNotExpression searchNotExpression = SearchNotExpression.builder()
             .plusNot(notBuilder -> notBuilder)
             .build()
 
  • Method Details

    • getNot

      @NotNull @Valid @NotNull @Valid List<SearchQuery> getNot()
      Returns:
      not
    • setNot

      void setNot(SearchQuery... not)
      set not
      Parameters:
      not - values to be set
    • setNot

      void setNot(List<SearchQuery> not)
      set not
      Parameters:
      not - values to be set
    • of

      static SearchNotExpression of()
      factory method
      Returns:
      instance of SearchNotExpression
    • of

      factory method to create a shallow copy SearchNotExpression
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of SearchNotExpression
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static SearchNotExpressionBuilder builder()
      builder factory method for SearchNotExpression
      Returns:
      builder
    • builder

      create builder for SearchNotExpression instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withSearchNotExpression

      default <T> T withSearchNotExpression(Function<SearchNotExpression,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<SearchNotExpression> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference