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.

    Erste Seite von API Java Inhaltsverzeichnis 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.

    Erste Seite von API Java Inhaltsverzeichnis 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.

Deutsche Übersetzung

Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.

Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.

Vielen Dank im Voraus.

Dokument erstellt 11/06/2005, zuletzt geändert 18/08/2025
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-javaee-rf-javax/validation/constraints/package-summary.html

Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.

Referenzen

  1. Zeigen Sie - html-Dokument Sprache des Dokuments:fr Manuel PHP : https://docs.oracle.com/en/java/, Package javax. validation. constraints

Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.