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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(EntityModel entityModel) voidvalidate(FieldModel model) voidvalidate(RelationModel model)
-
Constructor Details
-
SearchModelValidator
public SearchModelValidator()
-
-
Method Details
-
validate
- Specified by:
validatein interfaceNiceModelValidator- Throws:
ModelValidationException
-
validate
- Specified by:
validatein interfaceNiceModelValidator- Throws:
ModelValidationException
-
validate
- Specified by:
validatein interfaceNiceModelValidator- Throws:
ModelValidationException
-