/*
 * Copyright (c) 2009-2013 Topi Nieminen
 */
package fi.tnie.db;

import fi.tnie.db.ent.Attribute;
import fi.tnie.db.ent.AttributeMapping;
import fi.tnie.db.ent.ColumnResolver;
import fi.tnie.db.ent.DataObject;
import fi.tnie.db.ent.EntityBuildContext;
import fi.tnie.db.ent.EntityQuery;
import fi.tnie.db.ent.DataObject.MetaData;

public class DefaultEntityBuildContext 
	implements EntityBuildContext {

//	private AttributeWriterFactory attributeWriterFactory;
	private ColumnResolver columnResolver;
	private DataObject.MetaData inputMetaData;
	private EntityQuery<?, ?, ?, ?, ?, ?, ?, ?, ?> query;
		
	public DefaultEntityBuildContext(
			MetaData inputMetaData,
			EntityQuery<?, ?, ?, ?, ?, ?, ?, ?, ?> query,
			
			ColumnResolver columnResolver) {
		super();
		this.inputMetaData = inputMetaData;
		this.query = query;		
		this.columnResolver = columnResolver;		
	}
	
//	public AttributeWriterFactory getAttributeWriterFactory() {
//		return attributeWriterFactory;
//	}
	
	public ColumnResolver getColumnResolver() {
		return columnResolver;
	}
	
	public DataObject.MetaData getInputMetaData() {
		return inputMetaData;
	}
	
	public EntityQuery<?, ?, ?, ?, ?, ?, ?, ?, ?> getQuery() {
		return query;
	}
}

/*
 * Copyright (c) 2009-2013 Topi Nieminen
 */
package fi.tnie.db;

import fi.tnie.db.ent.ColumnResolver;
import fi.tnie.db.ent.DataObject;
import fi.tnie.db.ent.EntityBuildContext;
import fi.tnie.db.ent.EntityQuery;
import fi.tnie.db.ent.DataObject.MetaData;

public class DefaultEntityBuildContext 
	implements EntityBuildContext {

//	private AttributeWriterFactory attributeWriterFactory;
	private ColumnResolver columnResolver;
	private DataObject.MetaData inputMetaData;
	private EntityQuery<?, ?, ?, ?, ?, ?, ?, ?, ?> query;
		
	public DefaultEntityBuildContext(
			MetaData inputMetaData,
			EntityQuery<?, ?, ?, ?, ?, ?, ?, ?, ?> query,
			
			ColumnResolver columnResolver) {
		super();
		this.inputMetaData = inputMetaData;
		this.query = query;		
		this.columnResolver = columnResolver;		
	}
	
//	public AttributeWriterFactory getAttributeWriterFactory() {
//		return attributeWriterFactory;
//	}
	
	public ColumnResolver getColumnResolver() {
		return columnResolver;
	}
	
	public DataObject.MetaData getInputMetaData() {
		return inputMetaData;
	}
	
	public EntityQuery<?, ?, ?, ?, ?, ?, ?, ?, ?> getQuery() {
		return query;
	}
}

Fix import