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

gu.sql2java.ColumnGetter Maven / Gradle / Ivy

There is a newer version: 5.3.2
Show newest version
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