/********************************************************************
 * Copyright © 2005 VHA. All rights reserved
 ********************************************************************/


package gov.va.med.esr.common.batchprocess;

import java.util.List;

import gov.va.med.fw.batchprocess.AbstractDataQueryIncrementalProcess;
import gov.va.med.fw.batchprocess.DataQueryProcessExecutionContext;

/**
 * Initial javadoc for class MockDataQueryIncrementalProcess.
 * TODO - Add content here
 * 
 * Created Feb 17, 2006 3:48:26 PM
 * @author DNS   BOHMEG
 */
public class MockDataQueryIncrementalProcess extends
		AbstractDataQueryIncrementalProcess {

	/* (non-Javadoc)
	 * @see gov.va.med.fw.batchprocess.AbstractDataQueryIncrementalProcess#processData(gov.va.med.fw.batchprocess.DataQueryProcessExecutionContext, java.util.List)
	 */
	protected void processData(DataQueryProcessExecutionContext context,
			List acquiredData) {
		System.out.println("MockDataFileProcess got data of this size: " + acquiredData.size());
		for(int i=0; i<acquiredData.size();i++)
			context.getProcessStatistics().incrementNumberOfSuccessfulRecords();		
	}
}
