gu.sql2java.ColumnGetter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sql2java-base Show documentation
Show all versions of sql2java-base Show documentation
sql2java common class package
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