T - type of object to be checkedpublic interface BusinessValidator<T>
| Modifier and Type | Method and Description |
|---|---|
default @NotNull Set<TppMessageInformation> |
buildWarningMessages(T object)
Checks some object according to some business rules and creates warning messages if there is inconsistency in the logic
|
@NotNull ValidationResult |
validate(T object)
Validates some object according to some business rules
|
@NotNull @NotNull ValidationResult validate(@NotNull T object)
object - business object to be validated@NotNull default @NotNull Set<TppMessageInformation> buildWarningMessages(@NotNull T object)
object - business object to be validatedCopyright © 2020. All rights reserved.