+ * This is effectively a helper method that allows a query to be built in fluid style where some predicates are
+ * effectively optional. We can use
+ * That is, only add the IN predicate if the values are not null or empty.
+ *
+ * Without this we typically need to code an
- * This is effectively a helper method that allows a query to be built in fluid style where some predicates are
- * effectively optional. We can use
- * That is, only add the IN predicate if the values are not null or empty.
- *
- * Without this we typically need to code an eqIfPresent() rather than having a separate if block.
+ */
+ public final R eqIfPresent(@Nullable T other) {
+ expr().eqIfPresent(_name, other);
+ return _root;
+ }
+
+ /**
+ * Is equal to by ID property.
+ */
+ public final R equalTo(T other) {
+ return eq(other);
+ }
+
+ /**
+ * Is not equal to by ID property.
+ */
+ public final R ne(T other) {
+ expr().ne(_name, other);
+ return _root;
+ }
+
+ /**
+ * Is not equal to by ID property.
+ */
+ public final R notEqualTo(T other) {
+ return ne(other);
+ }
+
+ /**
+ * Is in a list of values.
+ *
+ * @param values the list of values for the predicate
+ * @return the root query bean instance
+ */
+ @SafeVarargs
+ public final R in(T... values) {
+ expr().in(_name, (Object[]) values);
+ return _root;
+ }
+
+ /**
+ * Is in a list of values.
+ *
+ * @param values the list of values for the predicate
+ * @return the root query bean instance
+ */
+ public final R in(Collectionif block to only add
+ * the IN predicate if the collection is not empty like:
+ * Without inOrEmpty()
+ * {@code
+ *
+ * List
+ *
+ * Using inOrEmpty()
+ * {@code
+ *
+ * List
+ */
+ public final R inOrEmpty(CollectioneqIfPresent() rather than having a separate if block.
- */
- public final R eqIfPresent(@Nullable T other) {
- expr().eqIfPresent(_name, other);
- return _root;
- }
-
- /**
- * Is equal to by ID property.
- */
- public final R equalTo(T other) {
- return eq(other);
- }
-
- /**
- * Is not equal to by ID property.
- */
- public final R ne(T other) {
- expr().ne(_name, other);
- return _root;
- }
-
- /**
- * Is not equal to by ID property.
- */
- public final R notEqualTo(T other) {
- return ne(other);
- }
-
- /**
- * Is in a list of values.
- *
- * @param values the list of values for the predicate
- * @return the root query bean instance
- */
- @SafeVarargs
- public final R in(T... values) {
- expr().in(_name, (Object[]) values);
- return _root;
- }
-
- /**
- * Is in a list of values.
- *
- * @param values the list of values for the predicate
- * @return the root query bean instance
- */
- public final R in(Collectionif block to only add
- * the IN predicate if the collection is not empty like:
- * Without inOrEmpty()
- * {@code
- *
- * List
- *
- * Using inOrEmpty()
- * {@code
- *
- * List
- */
- public final R inOrEmpty(Collection