All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.hibernate.validator.runtime.TraverseAllTraversableResolver Maven / Gradle / Ivy

package io.quarkus.hibernate.validator.runtime;

import java.lang.annotation.ElementType;

import javax.validation.Path;
import javax.validation.Path.Node;
import javax.validation.TraversableResolver;

class TraverseAllTraversableResolver implements TraversableResolver {

    TraverseAllTraversableResolver() {
    }

    @Override
    public boolean isReachable(Object traversableObject, Node traversableProperty, Class rootBeanType,
            Path pathToTraversableObject,
            ElementType elementType) {
        return true;
    }

    @Override
    public boolean isCascadable(Object traversableObject, Node traversableProperty, Class rootBeanType,
            Path pathToTraversableObject,
            ElementType elementType) {
        return true;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy