Class EventQuestionAnswerValidator

java.lang.Object
ch.tocco.nice2.persist.core.api.validation.AbstractEntitiesValidator
ch.tocco.nice2.optional.event.impl.validator.EventQuestionAnswerValidator
All Implemented Interfaces:
EntitiesValidator

public class EventQuestionAnswerValidator extends AbstractEntitiesValidator
  • Constructor Details

    • EventQuestionAnswerValidator

      public EventQuestionAnswerValidator()
  • Method Details

    • validate

      public void validate(List<Entity> eventQuestionAnswers, Map<Entity,EntityValidationResult> validationResults)
      Description copied from interface: EntitiesValidator
      Validate all entities (of one entity model) that where changed in a transaction
      Parameters:
      eventQuestionAnswers - the entities to be validated
      validationResults - a map of EntityValidationResults, contains an EntityValidationResult for each entity. See EntityValidationResult for more details on how to use the EntityValidationResult