类 StrategyConfig

java.lang.Object
com.baomidou.mybatisplus.generator.config.StrategyConfig

public class StrategyConfig extends Object
策略配置项
从以下版本开始:
2016/8/30
作者:
YangHu, tangguo, hubin
  • 方法详细资料

    • entityBuilder

      @NotNull public Entity.Builder entityBuilder()
      实体配置构建者
      返回:
      实体配置构建者
      从以下版本开始:
      3.5.0
    • entity

      @NotNull public @NotNull Entity entity()
      实体配置
      返回:
      实体配置
      从以下版本开始:
      3.5.0
    • controllerBuilder

      @NotNull public Controller.Builder controllerBuilder()
      控制器配置构建者
      返回:
      控制器配置构建者
      从以下版本开始:
      3.5.0
    • controller

      @NotNull public @NotNull Controller controller()
      控制器配置
      返回:
      控制器配置
      从以下版本开始:
      3.5.0
    • mapperBuilder

      @NotNull public Mapper.Builder mapperBuilder()
      Mapper配置构建者
      返回:
      Mapper配置构建者
      从以下版本开始:
      3.5.0
    • mapper

      @NotNull public @NotNull Mapper mapper()
      Mapper配置
      返回:
      Mapper配置
      从以下版本开始:
      3.5.0
    • serviceBuilder

      @NotNull public Service.Builder serviceBuilder()
      Service配置构建者
      返回:
      Service配置构建者
      从以下版本开始:
      3.5.0
    • service

      @NotNull public @NotNull Service service()
      Service配置
      返回:
      Service配置
      从以下版本开始:
      3.5.0
    • isCapitalModeNaming

      public boolean isCapitalModeNaming(@NotNull @NotNull String word)
      大写命名、字段符合大写字母数字下划线命名
      参数:
      word - 待判断字符串
    • startsWithTablePrefix

      public boolean startsWithTablePrefix(@NotNull @NotNull String tableName)
      表名称匹配过滤表前缀
      参数:
      tableName - 表名称
      从以下版本开始:
      3.3.2
    • validate

      public void validate()
      验证配置项
      从以下版本开始:
      3.5.0
    • matchIncludeTable

      public boolean matchIncludeTable(@NotNull @NotNull String tableName)
      包含表名匹配
      参数:
      tableName - 表名
      返回:
      是否匹配
      从以下版本开始:
      3.5.0
    • matchExcludeTable

      public boolean matchExcludeTable(@NotNull @NotNull String tableName)
      排除表名匹配
      参数:
      tableName - 表名
      返回:
      是否匹配
      从以下版本开始:
      3.5.0
    • isCapitalMode

      public boolean isCapitalMode()
    • isSkipView

      public boolean isSkipView()
    • getTablePrefix

      @NotNull public @NotNull Set<String> getTablePrefix()
    • getTableSuffix

      @NotNull public @NotNull Set<String> getTableSuffix()
    • getFieldPrefix

      @NotNull public @NotNull Set<String> getFieldPrefix()
    • getFieldSuffix

      @NotNull public @NotNull Set<String> getFieldSuffix()
    • getInclude

      @NotNull public @NotNull Set<String> getInclude()
    • getExclude

      @NotNull public @NotNull Set<String> getExclude()
    • isEnableSqlFilter

      public boolean isEnableSqlFilter()
    • isEnableSchema

      public boolean isEnableSchema()
    • getLikeTable

      @Nullable public @Nullable LikeTable getLikeTable()
    • getNotLikeTable

      @Nullable public @Nullable LikeTable getNotLikeTable()
    • getOutputFile

      @Nullable public @Nullable IOutputFile getOutputFile()