org.onetwo.common.spring.validator.EmptyTraversableResolver Maven / Gradle / Ivy
package org.onetwo.common.spring.validator;
import java.lang.annotation.ElementType;
import javax.validation.Path;
import javax.validation.TraversableResolver;
public class EmptyTraversableResolver implements TraversableResolver {
public final boolean isReachable(Object traversableObject, Path.Node traversableProperty, Class> rootBeanType, Path pathToTraversableObject, ElementType elementType) {
return true;
}
public final boolean isCascadable(Object traversableObject, Path.Node traversableProperty, Class> rootBeanType, Path pathToTraversableObject, ElementType elementType) {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy