io.avaje.validation.adapter.IterableValidationAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of avaje-validator Show documentation
Show all versions of avaje-validator Show documentation
validator for annotated pojos using constraint annotations and source code generation
package io.avaje.validation.adapter;
final class IterableValidationAdapter extends ContainerAdapter {
IterableValidationAdapter(ValidationAdapter adapters) {
super(adapters);
}
@Override
@SuppressWarnings("unchecked")
public boolean validate(T value, ValidationRequest req, String propertyName) {
if (initalAdapter.validate(value, req, propertyName)) {
validateAll((Iterable
© 2015 - 2025 Weber Informatics LLC | Privacy Policy