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

com.github.mybatis.interceptor.MapperMeta Maven / Gradle / Ivy

The newest version!
package com.github.mybatis.interceptor;

import org.apache.ibatis.mapping.ResultMap;

import java.util.List;

/**
 * 元信息
 *
 * Created by lirui on 2014/10/30.
 */
class MapperMeta {
  private Class entity;
  private boolean fillEntity;
  private boolean fillResultMap;
  private List resultMaps;

  public MapperMeta(Class entity, boolean fillEntity, boolean fillResultMap, List resultMaps) {
    this.entity = entity;
    this.fillEntity = fillEntity;
    this.fillResultMap = fillResultMap;
    this.resultMaps = resultMaps;
  }

  public Class getEntity() {
    return entity;
  }

  public void setEntity(Class entity) {
    this.entity = entity;
  }

  public boolean isFillEntity() {
    return fillEntity;
  }

  public void setFillEntity(boolean fillEntity) {
    this.fillEntity = fillEntity;
  }

  public boolean isFillResultMap() {
    return fillResultMap;
  }

  public void setFillResultMap(boolean fillResultMap) {
    this.fillResultMap = fillResultMap;
  }

  public List getResultMaps() {
    return resultMaps;
  }

  public void setResultMaps(List resultMaps) {
    this.resultMaps = resultMaps;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy