public interface IModelObject
| Modifier and Type | Field and Description |
|---|---|
static boolean |
CONTINUE_VALIDATION
Constant for the return values of validate methods (i.e.
|
static boolean |
STOP_VALIDATION
Constant for the return values of validate methods (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
MessageList |
validate(IValidationContext context)
Validates the model object and returns a list of messages.
|
static final boolean STOP_VALIDATION
static final boolean CONTINUE_VALIDATION
MessageList validate(IValidationContext context)
context - provides additional external information that might be necessary to execute
the validation. E.g. the business context, the locale to provide locale specific
message texts, user information. The parameter must not be null.NullPointerException - if context is null.Copyright © 2020. All rights reserved.