org.sfm.map.MapperBuilderErrorHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simpleFlatMapper Show documentation
Show all versions of simpleFlatMapper Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.sfm.map;
import java.lang.reflect.Type;
public interface MapperBuilderErrorHandler {
static MapperBuilderErrorHandler NULL = new MapperBuilderErrorHandler() {
@Override
public void propertyNotFound(Type target, String property) {
}
@Override
public void customFieldError(FieldKey> key, String message) {
}
@Override
public void getterNotFound(String msg) {
}
};
void getterNotFound(String msg);
void propertyNotFound(Type target, String property);
void customFieldError(FieldKey> key, String message);
}