org.simpleflatmapper.map.property.FieldMapperProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sfm-map Show documentation
Show all versions of sfm-map Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.simpleflatmapper.map.property;
import org.simpleflatmapper.map.FieldMapper;
import static org.simpleflatmapper.util.Asserts.requireNonNull;
public class FieldMapperProperty {
private final FieldMapper, ?> fieldMapper;
public FieldMapperProperty(FieldMapper, ?> fieldMapper) {
this.fieldMapper = requireNonNull("fieldMapper", fieldMapper);
}
public FieldMapper, ?> getFieldMapper() {
return fieldMapper;
}
@Override
public String toString() {
return "FieldMapper{" + fieldMapper + "}";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy