org.jomc.modlet
Interface ModelValidator
public interface ModelValidator
Model
validator interface.
- Version:
- $JOMC: ModelValidator.java 3838 2011-10-08 20:15:41Z schulte2005 $
- Author:
- Christian Schulte
- See Also:
ModelContext.validateModel(org.jomc.modlet.Model)
validateModel
ModelValidationReport validateModel(ModelContext context,
Model model)
throws NullPointerException,
ModelException
- Validates a given
Model
.
- Parameters:
context
- The context to use for validating model
.model
- The Model
to validate.
- Returns:
- Validation report.
- Throws:
NullPointerException
- if context
or model
is null
.
ModelException
- if validation fails.- See Also:
ModelValidationReport.isModelValid()
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.