package ${omServiceSimpleImplPackage};

import java.io.Serializable;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import ${omPojoPackage}.*;
import ${omServiceSimplePackage}.*;

import org.asyrinx.joey.om.impl.AbstractEntityServiceManager;

/**
 * @author akima
 */
public class EntityServiceManagerImpl extends AbstractEntityServiceManager {
	/**
	 *  
	 */
	public EntityServiceManagerImpl() {
		super();
	}

	/**
	 * @return
	 */
	protected Map initServiceMap() {
		final Map result = new HashMap();
#foreach ($dataModel in $dataModels)
	#foreach ($database in $dataModel.Databases)
		#foreach ($table in $database.Tables)
		result.put(${table.getJavaName()}.class, ${table.getJavaName()}${omServiceSimpleSuffix}.class);
		#end
	#end
#end
		return Collections.unmodifiableMap(result);
	}
}
