Package ch.tocco.nice2.validate.api
Interface ValidatorReceivable
- All Known Implementing Classes:
AbstractDataComponentHandler
,AbstractRelationModelHandler
,AddressFieldHandler
,AndGroupValidatorModelHandler
,BirthDateFieldHandler
,CheckboxHandler
,CodeFieldHandler
,ComboBoxHandler
,CustomDataFieldHandler
,DateFieldHandler
,DatetimeFieldHandler
,DisplayExpressionHandler
,DisplayFieldHandler
,DocumentFieldHandler
,EmailFieldHandler
,FieldHandler
,FieldHandler
,FieldModelHandler
,FulltextSearchHandler
,FulltextSearchHandler
,GroupValidatorModelHandler
,HtmlFieldHandler
,ImageFieldHandler
,IteratorHandler
,LocationFieldHandler
,MultiRemoteFieldHandler
,MultiSelectBoxHandler
,NumberFieldHandler
,PasswordFieldHandler
,PathFieldHandler
,PulldownDateFieldHandler
,RelationFieldHandler
,RelationModelHandler
,RelationOverrideModelHandler
,RemoteFieldHandler
,RemoteFieldHandler
,SingleSelectBoxHandler
,TableModelHandler
,TextAreaHandler
,TextFieldHandler
,TimeFieldHandler
,UploadFieldHandler
,UrlFieldHandler
public interface ValidatorReceivable
Common interface for the form and entity models to receive validators (in the model reading process).
-
Method Summary
-
Method Details
-
addValidator
Set the validator.- Parameters:
validator
- The validator.- Throws:
IllegalArgumentException
- if a later validator uses a stronger error level than a previous one in the same group.
-