
org.sfm.reflect.meta.SingletonClassMeta 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.reflect.meta;
import org.sfm.reflect.ReflectionService;
import java.lang.reflect.Type;
public class SingletonClassMeta implements ClassMeta {
private final ClassMeta classMeta;
public SingletonClassMeta(ClassMeta classMeta) {
this.classMeta = classMeta;
}
@Override
public ReflectionService getReflectionService() {
return classMeta.getReflectionService();
}
@Override
public PropertyFinder newPropertyFinder() {
return new SingletonPropertyFinder(classMeta);
}
@Override
public Type getType() {
return classMeta.getType();
}
@Override
public String[] generateHeaders() {
return classMeta.generateHeaders();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy