gu.sql2java.ColumnGetter Maven / Gradle / Ivy
package gu.sql2java;
import com.google.common.base.Function;
public class ColumnGetter implements Function{
private final int columnId;
public ColumnGetter(int columnId) {
this.columnId = columnId;
}
@Override
public T apply(BaseBean input) {
return input == null ? null : input.getValue(columnId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy