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
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>.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<com.google.common.reflect.TypeToken<?>> Iterable<? extends CheckEvent> Methods inherited from class ch.tocco.nice2.model.entity.api.schema.AbstractDispatcher
consider, dispatch, getDispatchClass
-
Constructor Details
-
DispatchingSchemaCheck
public DispatchingSchemaCheck()
-
-
Method Details
-
allowedReturnTypes
- Overrides:
allowedReturnTypesin classAbstractDispatcher
-
check
- Specified by:
checkin interfaceSchemaCheck
-