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

com.wesleyhome.dao.processor.method.MethodGenerator Maven / Gradle / Ivy

/*
 * @(#)QueryMethodGenerator.java
 * 
 * (C) Copyright 2014 by Travelers
 * All Rights Reserved.
 * 
 * This software is the confidential and proprietary information
 * of the Travelers Corporation. ("Confidential Information").
 * Redistribution of the source code or binary form is not permitted
 * without prior authorization from Travelers.
 */
package com.wesleyhome.dao.processor.method;

import javax.lang.model.element.Element;
import com.sun.codemodel.JClass;
import com.sun.codemodel.JCodeModel;
import com.sun.codemodel.JDefinedClass;
import com.sun.codemodel.JFieldVar;
import com.wesleyhome.dao.processor.EntityInformationMap;
import com.wesleyhome.dao.processor.model.EntityInfo;
import com.wesleyhome.dao.processor.model.MappingType;

/**
 * The QueryMethodGenerator class is a
 * 
 * @author
 * @since
 */
public interface MethodGenerator {

	/**
	 * @param model
	 * @param entityJClass
	 * @param _class
	 * @param fieldElement
	 * @param generate
	 * @param entityInfoMap
	 * @param mappingType TODO
	 * @param idElements
	 * @return
	 */
	void createMethods(JCodeModel model, JClass entityJClass, JDefinedClass _class, Element fieldElement, JFieldVar entityManagerField,
		boolean generate, EntityInfo entityInfo, EntityInformationMap entityInfoMap, MappingType mappingType);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy