Package javax. validation. constraints

Contains all the Bean Validation provided constraints also called built-in constraints.

See: Description

  • Enum Summary 
    Enum Description
    Pattern.Flag
    Possible Regexp flags.

    Eerste pagina van API Java Inhoudsopgave Haut

  • Annotation Types Summary 
    Annotation Type Description
    AssertFalse
    The annotated element must be false.
    AssertFalse.List
    Defines several AssertFalse annotations on the same element.
    AssertTrue
    The annotated element must be true.
    AssertTrue.List
    Defines several AssertTrue annotations on the same element.
    DecimalMax
    The annotated element must be a number whose value must be lower or equal to the specified maximum.
    DecimalMax.List
    Defines several DecimalMax annotations on the same element.
    DecimalMin
    The annotated element must be a number whose value must be higher or equal to the specified minimum.
    DecimalMin.List
    Defines several DecimalMin annotations on the same element.
    Digits
    The annotated element must be a number within accepted range Supported types are: BigDecimal BigInteger CharSequence byte, short, int, long, and their respective wrapper types

    null elements are considered valid.

    Digits.List
    Defines several Digits annotations on the same element.
    Future
    The annotated element must be a date in the future.
    Future.List
    Defines several Future annotations on the same element.
    Max
    The annotated element must be a number whose value must be lower or equal to the specified maximum.
    Max.List
    Defines several Max annotations on the same element.
    Min
    The annotated element must be a number whose value must be higher or equal to the specified minimum.
    Min.List
    Defines several Min annotations on the same element.
    NotNull
    The annotated element must not be null.
    NotNull.List
    Defines several NotNull annotations on the same element.
    Null
    The annotated element must be null.
    Null.List
    Defines several Null annotations on the same element.
    Past
    The annotated element must be a date in the past.
    Past.List
    Defines several Past annotations on the same element.
    Pattern
    The annotated CharSequence must match the specified regular expression.
    Pattern.List
    Defines several Pattern annotations on the same element.
    Size
    The annotated element size must be between the specified boundaries (included).
    Size.List
    Defines several Size annotations on the same element.

    Eerste pagina van API Java Inhoudsopgave Haut

Package javax.validation.constraints Description

Contains all the Bean Validation provided constraints also called built-in constraints.

These constraints do not cover all functional use cases but do represent all the fundamental blocks to express low level constraints on basic JDK types.

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/validation/constraints/package-summary.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com, javax.validation.constraints (Java(TM) EE 7 Specification APIs)

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.