FiltersAdder

The FiltersAdder annotation is useful to indicate those methods used to adding the extracted filters to the filtered query. For example:


         
             description = "Will be added to the query the plates such AA000AA, etc..."
         )
         private void addPlates() {
             HashSet<String> names = extractPlatesFilters(); // extract the specific filters from the rawFilters list
             if (names != null) {
                 Predicate nameIn = root.get("model").in(names);
                 predicates.add(nameIn); // add the created predicate to the predicates list
             }
         }
    

Author

N7ghtm4r3 - Tecknobit

Since

1.0.7

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun description(): String
Short description to indicate what filters will be added to the query
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String