public final class Scaffold extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Scaffold.Builder |
Constructor and Description |
---|
Scaffold(String dbName,
String dbUserName,
String packageName,
String outputPath,
Set<String> tableNames,
Set<String> excludedTableNames,
Set<String> tablePrefixes,
boolean useRemovePrefix,
boolean useBaseEntity,
boolean useClassSuffix,
String classSuffix,
boolean useChainMode,
boolean useStateSupport,
INamedFilter namedFilter,
Set<String> readonlyColumns) |
Scaffold(String dbName,
String dbUserName,
String packageName,
String outputPath,
Set<String> tableNames,
Set<String> excludedTableNames,
Set<String> tablePrefixes,
boolean useRemovePrefix,
boolean useBaseEntity,
boolean useClassSuffix,
String classSuffix,
boolean useChainMode,
boolean useStateSupport,
INamedFilter namedFilter,
Set<String> readonlyColumns,
boolean keepCase) |
public Scaffold(String dbName, String dbUserName, String packageName, String outputPath, Set<String> tableNames, Set<String> excludedTableNames, Set<String> tablePrefixes, boolean useRemovePrefix, boolean useBaseEntity, boolean useClassSuffix, String classSuffix, boolean useChainMode, boolean useStateSupport, INamedFilter namedFilter, Set<String> readonlyColumns)
public Scaffold(String dbName, String dbUserName, String packageName, String outputPath, Set<String> tableNames, Set<String> excludedTableNames, Set<String> tablePrefixes, boolean useRemovePrefix, boolean useBaseEntity, boolean useClassSuffix, String classSuffix, boolean useChainMode, boolean useStateSupport, INamedFilter namedFilter, Set<String> readonlyColumns, boolean keepCase)
public static Scaffold.Builder builder()
public static Scaffold.Builder builder(IApplication owner)
public static Scaffold.Builder builder(IApplication owner, boolean loadNamedFilter)
public static Scaffold.Builder builder(IConfigReader configReader)
public static Scaffold.Builder builder(IConfigReader configReader, boolean loadNamedFilter)
public String getDbName()
public String getDbUserName()
public String getPackageName()
public String getOutputPath()
public boolean isUseRemovePrefix()
public boolean isUseBaseEntity()
public boolean isUseClassSuffix()
public String getClassSuffix()
public boolean isUseChainMode()
public boolean isUseStateSupport()
public INamedFilter getNamedFilter()
public boolean isKeepCase()
public List<TableInfo> getTables(IDatabase owner, boolean view) throws Exception
Exception
public List<TableInfo> getTables(IDatabase owner, String dataSourceName, boolean view) throws Exception
Exception
public EntityInfo buildEntityInfo(TableInfo tableInfo)
Copyright © 2022. All rights reserved.