Standard Bean Validation Constraints
...
Stereotype |
| |
Applicable Elements |
Stereotype | |
Tagged Values | ||
Name | Type | Description |
|
| Attribute is used to define the severity if the validation fails. Possible values are: |
|
| Instead of using hard coded error message for validations JEAF also supports to define a JEAF X-Fun localization idLocalizationID. Using the id it is possible to use localized error messages. |
Additional tagged values may be supported depending on the constraint. Those additional tagged values are equivalent to the possibilities as defined by the Java annotations (see https://javadoc.io/doc/javax.validation/validation-api/latest/index.html ) |
...
In addition to the already predefined constraints Java Bean Validation also supports to use custom validations.
TBD: Define how to use and model custom constraints