Interface SchemaCheck
- All Known Implementing Classes:
ConstraintChecks
,CounterChecks
,DispatchingSchemaCheck
,FieldTypeChecks
,ManyToManyRelationChecks
,ManyToOneRelationChecks
,PrimaryKeyCheck
public interface SchemaCheck
A schema check receives a
CheckData
object generated by the SchemaModelValidator
and checks the data for integrity. The response is encoded in CheckEvent
s which is collected
by SchemaModelValidator
and handed to the Reporter
s.
You may want to extend DispatchingSchemaCheck
for convenience.
Schema checks can be applied to one run in SchemaModelValidator.checkDataModel(ValidationProgress, Reporter)
or contributed to the configuration point nice2.persist.core.SchemaChecks
A schema check may be invoked from multiple threads and should therefore be thread-safe.-
Method Summary
-
Method Details
-
check
-