| Package | Description |
|---|---|
| no.g9.client.core.validator | |
| no.g9.client.core.view |
| Modifier and Type | Class and Description |
|---|---|
class |
ConverterValidator
A field validator that returns true unless there is a converter specified for
the field, and a call to convert the candidate value (to model) results in a
ConvertException.
|
class |
DateValidator
A configurable date field validator.
|
class |
MandatoryValidator
The mandatory validator is a
form validator. |
class |
NopValidator
A field validator that always return ok (default) or fail for all
validations.
|
class |
RegexpValidator
A validator that validates against a regexp pattern.
|
class |
ValidatorChainValidator
A validator that chains other validators.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ValidatorChainValidator.addValidator(FieldValidator validator)
Adds a validator to the chain.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ValidatorChainValidator.setValidators(List<FieldValidator> validators) |
| Modifier and Type | Method and Description |
|---|---|
FieldValidator |
ViewModel.getValidator(DialogObjectConstant field)
Get the validator for the given field.
|
Copyright © 2006–2017 Esito AS. All rights reserved.