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

com.ejlchina.searcher.SearchResultConvertInfo Maven / Gradle / Ivy

There is a newer version: 3.8.3
Show newest version
package com.ejlchina.searcher;

import java.lang.reflect.Method;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;


/**
 * 检索结果转换信息
 * @author Troy.Zhou
 *
 * @param  用户 Bean 类型
 */
public class SearchResultConvertInfo {

	/**
	 * 用户 Bean Class
	 */
	private Class beanClass;
	
	/**
	 * 用户 Bean 属性 到 数据库字段别名 的 Entry 集合
	 */
	private Set> fieldDbAliasEntrySet;
	
	/**
	 * 用户 Bean 属性 到 属性  get 方法 的 映射
	 */
	private Map fieldGetMethodMap;
	
	/**
	 * 用户 Bean 属性 到 属性类型 的 映射
	 */
	private Map> fieldTypeMap;

	
	public SearchResultConvertInfo(Class beanClass) {
		this.beanClass = beanClass;
	}

	public Class getBeanClass() {
		return beanClass;
	}

	public void setBeanClass(Class beanClass) {
		this.beanClass = beanClass;
	}

	public Set> getFieldDbAliasEntrySet() {
		return fieldDbAliasEntrySet;
	}

	public void setFieldDbAliasEntrySet(Set> fieldDbAliasEntrySet) {
		this.fieldDbAliasEntrySet = fieldDbAliasEntrySet;
	}

	public Map getFieldGetMethodMap() {
		return fieldGetMethodMap;
	}

	public void setFieldGetMethodMap(Map fieldGetMethodMap) {
		this.fieldGetMethodMap = fieldGetMethodMap;
	}

	public Map> getFieldTypeMap() {
		return fieldTypeMap;
	}

	public void setFieldTypeMap(Map> fieldTypeMap) {
		this.fieldTypeMap = fieldTypeMap;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy