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

com.jpattern.orm.classtool.OrmClassTool Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
package com.jpattern.orm.classtool;

import com.jpattern.orm.classmapper.IClassMapper;
import com.jpattern.orm.crud.IOrmCRUDQuery;
import com.jpattern.orm.generator.IOrmPersistor;


/**
 * 
 * @author Francesco Cina
 *
 * 22/mag/2011
 */
public class OrmClassTool implements IOrmClassTool {

	private final IOrmCRUDQuery ormCRUDQuery;
	private final IClassMapper classMapper;
	private final IOrmPersistor ormPersistor;

	public OrmClassTool(IClassMapper classMapper, IOrmPersistor ormPersistor, IOrmCRUDQuery ormCRUDQuery) {
		this.classMapper = classMapper;
		this.ormPersistor = ormPersistor;
		this.ormCRUDQuery = ormCRUDQuery;
	}

	@Override
	public IClassMapper getClassMapper() {
		return classMapper;
	}

	@Override
	public IOrmPersistor getOrmPersistor() {
		return ormPersistor;
	}

	@Override
	public IOrmCRUDQuery getOrmCRUDQuery() {
		return ormCRUDQuery;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy