Class SearchModelValidator
java.lang.Object
ch.tocco.nice2.model.entity.impl.validate.SearchModelValidator
- All Implemented Interfaces:
NiceModelValidator
Validates the 'search' part of the entity model (FinalModelValidators).
Reason is that it refers to relations, and possibly to other entities, which are not loaded yet when the search model is being read. So it can only be done after reading all model stuff; here.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(EntityModel entityModel) void
validate
(FieldModel model) void
validate
(RelationModel model)
-
Constructor Details
-
SearchModelValidator
public SearchModelValidator()
-
-
Method Details
-
validate
- Specified by:
validate
in interfaceNiceModelValidator
- Throws:
ModelValidationException
-
validate
- Specified by:
validate
in interfaceNiceModelValidator
- Throws:
ModelValidationException
-
validate
- Specified by:
validate
in interfaceNiceModelValidator
- Throws:
ModelValidationException
-