Class DispatchingSchemaCheck

java.lang.Object
ch.tocco.nice2.model.entity.api.schema.AbstractDispatcher
ch.tocco.nice2.model.entity.api.schema.DispatchingSchemaCheck
All Implemented Interfaces:
SchemaCheck
Direct Known Subclasses:
ConstraintChecks, CounterChecks, FieldTypeChecks, ManyToManyRelationChecks, ManyToOneRelationChecks, PrimaryKeyCheck

public abstract class DispatchingSchemaCheck extends AbstractDispatcher implements SchemaCheck
Dispatches CheckEvents to public methods annotated with Subscribe and collects the return values. Return values must be declared with either CheckEvent, Iterable<CheckEvent> or Iterable<? extends CheckEvent>.