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

com.github.quintans.jdbc.transformers.SimpleAbstractRowTransformer Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package com.github.quintans.jdbc.transformers;

import java.util.Collection;
import java.util.LinkedList;

/**
 * User: quintans
 * Date: 13-jun-2006
 * Time: 22:13:52
 * 
 * @param 
 */
public abstract class SimpleAbstractRowTransformer implements IRowTransformer {

	public SimpleAbstractRowTransformer() {
	}

	@Override
	public Collection beforeAll(final ResultSetWrapper resultSet) {
		return new LinkedList();
	}

	@Override
	public void onTransformation(Collection result, T object) {
		result.add(object);
	}

	@Override
	public void afterAll(Collection result) {
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy