Class NotEmptyGenerationDetailsDescriptionOrRuleValidator

java.lang.Object
eu.dzhw.fdz.metadatamanagement.variablemanagement.domain.validation.NotEmptyGenerationDetailsDescriptionOrRuleValidator
All Implemented Interfaces:
javax.validation.ConstraintValidator<NotEmptyGenerationDetailsDescriptionOrRule,​GenerationDetails>

public class NotEmptyGenerationDetailsDescriptionOrRuleValidator
extends Object
implements javax.validation.ConstraintValidator<NotEmptyGenerationDetailsDescriptionOrRule,​GenerationDetails>
Validates the rule or description field of the generation details. Checks for the not emptyness of these fields. One of the fields have to be set. Both is acceptable too.
Author:
Daniel Katzberg