Module jakarta.data

Package jakarta.data.constraint


package jakarta.data.constraint

Constraints for parameter-based Find and Delete methods.

The @Is annotation and the constraint classes listed below describe how to use constraints with repository methods.

Since:
1.1
  • Interfaces
    Class
    Description
    AtLeast<V extends Comparable<?>>
    A constraint that imposes a minimum value.
    AtMost<V extends Comparable<?>>
    A constraint that imposes a maximum value.
    Between<V extends Comparable<?>>
    A constraint that imposes minimum and maximum values.
    Supertype of interfaces that define constraints on entity attributes.
    A constraint that requires equality.
    GreaterThan<V extends Comparable<?>>
    A constraint that requires exceeding a lower bound.
    In<V>
    A constraint that requires equality with a member of a collection.
    LessThan<V extends Comparable<?>>
    A constraint that requires being below an upper bound.
    A constraint that requires matching a pattern.
    NotBetween<V extends Comparable<?>>
    A constraint that excludes values within a range.
    A constraint that requires inequality.
    A constraint that requires inequality with every member of a collection.
    A constraint that requires not matching a pattern.
    A constraint that requires a non-null value.
    Null<V>
    A constraint that requires a null value.