## Uses of Class
org.appng.xml.platform.ValidationRule

- Packages that use ValidationRule
  Package | Description
  --- | ---
  org.appng.api.support.validation | This package contains all validation-related classes.
  org.appng.core.model | The non-persistent domain model types.
  org.appng.xml.platform |

- - ### Uses of ValidationRule in org.appng.api.support.validation

    Methods in org.appng.api.support.validation with parameters of type ValidationRule
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | DefaultValidationProvider.`addMessage(FieldDef field, ValidationRule validationRule, String messageTemplate, String messageText)`

  - ### Uses of ValidationRule in org.appng.core.model

    Methods in org.appng.core.model that return types with arguments of type ValidationRule
    Modifier and Type | Method and Description
    --- | ---
    `List<ValidationRule>` | ThymeleafProcessor.AppNG.`rules(FieldDef field)`

  - ### Uses of ValidationRule in org.appng.xml.platform

    Subclasses of ValidationRule in org.appng.xml.platform
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Digits` A `ValidationRule` indicating the `FieldDef`'s value is a digit with a maximum of `Digits.getInteger()` integral digits and `Digits.getFraction()` fraction digits.
    `class` | `FileUpload` A `ValidationRule` indicating the `FieldDef`'s value represents one ore more `org.appng.forms.FormUpload`s.
    `class` | `Future` A `ValidationRule` indicating the `FieldDef`s value represents a date in the future.
    `class` | `Max` A `ValidationRule` indicating the `FieldDef`'s value must have a maximal decimal-value of `Max.getValue()`
    `class` | `Min` A `ValidationRule` indicating the `FieldDef`'s value must have a minimal decimal-value of `Min.getValue()`
    `class` | `NotNull` A `ValidationRule` indicating the `FieldDef`s value is mandatory and thus not nullable.
    `class` | `Past` A `ValidationRule` indicating the `FieldDef`s value represents a date in the past.
    `class` | `Pattern` A `ValidationRule` indicating the `FieldDef`'s value must match the regular expression defined by `Pattern.getRegexp()`.
    `class` | `Rule` A custom rule supporting any options
    `class` | `Size` A `ValidationRule` indicating the length of the `FieldDef`s value needs to be between `Size.getMin()` and `Size.getMax()` characters long.
    `class` | `Type` A `ValidationRule` that contains the message for the case that the `FieldDef`s value does not match with its `FieldType`.

Copyright © 2011–2023 aiticon GmbH. All rights reserved.