public interface Validator
ServiceProvider
.
Typical client would lookup and select applicable services for the validation
target model.Modifier and Type | Interface and Description |
---|---|
static class |
Validator.ResultItem |
static class |
Validator.ResultType |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns name of this validation service.
|
ValidationResult |
validate(Model model,
Validation validation,
Validation.ValidationType validationType)
Validates given model.
|
String getName()
ValidationResult validate(Model model, Validation validation, Validation.ValidationType validationType)
validationType
- Type of validation. Complete(slow) or partial(fast).model
- model to validate.validation
- reference to the validation context.