/** @param validationGroupsMetadata Validation group metadata. */ public AbstractGwtValidator(ValidationGroupsMetadata validationGroupsMetadata) { validGroups = validationGroupsMetadata.getAllGroupsAndSequences(); this.validationGroupsMetadata = validationGroupsMetadata; }
/** * Creates a validator initialized with the default group inheritance map. * * @see #AbstractGwtValidator(ValidationGroupsMetadata) */ public AbstractGwtValidator() { this(ValidationGroupsMetadata.builder().build()); }