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

org.simpleflatmapper.reflect.Getter Maven / Gradle / Ivy

Go to download

Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.

There is a newer version: 9.0.2
Show newest version
package org.simpleflatmapper.reflect;


import org.simpleflatmapper.reflect.getter.FieldGetter;
import org.simpleflatmapper.reflect.getter.MethodGetter;

/**
 * Interface representing a Getter of a property of type P on a object of type T.
 * 

* use {@link ObjectGetterFactory} to instantiate. * @see ObjectGetterFactory * @see MethodGetter * @see FieldGetter * @param the targeted type * @param

the property type */ public interface Getter { /** * Return the property from the specified object. * @param target the object to get the property from * @return the property * @throws Exception if anything goes wrong */ P get(T target) throws Exception; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy