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

dev.vality.fraudo.resolver.FieldResolver Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package dev.vality.fraudo.resolver;


import dev.vality.fraudo.model.Pair;

public interface FieldResolver {

    String resolveValue(String fieldName, T model);

    U resolveName(String fieldName);

    default Pair resolve(String fieldName, T model) {
        return new Pair<>(
                resolveName(fieldName),
                resolveValue(fieldName, model)
        );
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy