Package org.mybatis.generator.config
Class TableConfiguration
java.lang.Object
org.mybatis.generator.config.PropertyHolder
org.mybatis.generator.config.TableConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addColumnOverride
(ColumnOverride columnOverride) void
addIgnoredColumn
(IgnoredColumn ignoredColumn) void
addIgnoredColumnPattern
(IgnoredColumnPattern ignoredColumnPattern) boolean
boolean
getAlias()
getColumnOverride
(String columnName) May return null if the column has not been overridden.Returns a List of Strings.int
hashCode()
boolean
boolean
isColumnIgnored
(String columnName) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
void
setAllColumnDelimitingEnabled
(boolean isAllColumnDelimitingEnabled) void
setCatalog
(String catalog) void
setColumnRenamingRule
(ColumnRenamingRule columnRenamingRule) void
setConfiguredModelType
(String configuredModelType) void
setCountByExampleStatementEnabled
(boolean countByExampleStatementEnabled) void
setDeleteByExampleStatementEnabled
(boolean deleteByExampleStatementEnabled) void
setDeleteByPrimaryKeyStatementEnabled
(boolean deleteByPrimaryKeyStatementEnabled) void
setDelimitIdentifiers
(boolean delimitIdentifiers) void
setDomainObjectName
(String domainObjectName) void
setDomainObjectRenamingRule
(DomainObjectRenamingRule domainObjectRenamingRule) void
setGeneratedKey
(GeneratedKey generatedKey) void
setInsertStatementEnabled
(boolean insertStatementEnabled) void
setMapperName
(String mapperName) void
void
setSelectByExampleQueryId
(String selectByExampleQueryId) void
setSelectByExampleStatementEnabled
(boolean selectByExampleStatementEnabled) void
setSelectByPrimaryKeyQueryId
(String selectByPrimaryKeyQueryId) void
setSelectByPrimaryKeyStatementEnabled
(boolean selectByPrimaryKeyStatementEnabled) void
setSqlProviderName
(String sqlProviderName) void
setTableName
(String tableName) void
setUpdateByExampleStatementEnabled
(boolean updateByExampleStatementEnabled) void
setUpdateByPrimaryKeyStatementEnabled
(boolean updateByPrimaryKeyStatementEnabled) void
setWildcardEscapingEnabled
(boolean wildcardEscapingEnabled) toString()
void
Methods inherited from class org.mybatis.generator.config.PropertyHolder
addProperty, getProperties, getProperty
-
Constructor Details
-
TableConfiguration
-
-
Method Details
-
isDeleteByPrimaryKeyStatementEnabled
public boolean isDeleteByPrimaryKeyStatementEnabled() -
setDeleteByPrimaryKeyStatementEnabled
public void setDeleteByPrimaryKeyStatementEnabled(boolean deleteByPrimaryKeyStatementEnabled) -
isInsertStatementEnabled
public boolean isInsertStatementEnabled() -
setInsertStatementEnabled
public void setInsertStatementEnabled(boolean insertStatementEnabled) -
isSelectByPrimaryKeyStatementEnabled
public boolean isSelectByPrimaryKeyStatementEnabled() -
setSelectByPrimaryKeyStatementEnabled
public void setSelectByPrimaryKeyStatementEnabled(boolean selectByPrimaryKeyStatementEnabled) -
isUpdateByPrimaryKeyStatementEnabled
public boolean isUpdateByPrimaryKeyStatementEnabled() -
setUpdateByPrimaryKeyStatementEnabled
public void setUpdateByPrimaryKeyStatementEnabled(boolean updateByPrimaryKeyStatementEnabled) -
isColumnIgnored
-
addIgnoredColumn
-
addIgnoredColumnPattern
-
addColumnOverride
-
equals
-
hashCode
public int hashCode() -
isSelectByExampleStatementEnabled
public boolean isSelectByExampleStatementEnabled() -
setSelectByExampleStatementEnabled
public void setSelectByExampleStatementEnabled(boolean selectByExampleStatementEnabled) -
getColumnOverride
May return null if the column has not been overridden.- Parameters:
columnName
- the column name- Returns:
- the column override (if any) related to this column
-
getGeneratedKey
-
getSelectByExampleQueryId
-
setSelectByExampleQueryId
-
getSelectByPrimaryKeyQueryId
-
setSelectByPrimaryKeyQueryId
-
isDeleteByExampleStatementEnabled
public boolean isDeleteByExampleStatementEnabled() -
setDeleteByExampleStatementEnabled
public void setDeleteByExampleStatementEnabled(boolean deleteByExampleStatementEnabled) -
areAnyStatementsEnabled
public boolean areAnyStatementsEnabled() -
setGeneratedKey
-
getAlias
-
setAlias
-
getCatalog
-
setCatalog
-
getDomainObjectName
-
setDomainObjectName
-
getSchema
-
setSchema
-
getTableName
-
setTableName
-
getColumnOverrides
-
getIgnoredColumnsInError
Returns a List of Strings. The values are the columns that were specified to be ignored in the table, but do not exist in the table.- Returns:
- a List of Strings - the columns that were improperly configured as ignored columns
-
getModelType
-
setConfiguredModelType
-
isWildcardEscapingEnabled
public boolean isWildcardEscapingEnabled() -
setWildcardEscapingEnabled
public void setWildcardEscapingEnabled(boolean wildcardEscapingEnabled) -
toString
-
isDelimitIdentifiers
public boolean isDelimitIdentifiers() -
setDelimitIdentifiers
public void setDelimitIdentifiers(boolean delimitIdentifiers) -
isCountByExampleStatementEnabled
public boolean isCountByExampleStatementEnabled() -
setCountByExampleStatementEnabled
public void setCountByExampleStatementEnabled(boolean countByExampleStatementEnabled) -
isUpdateByExampleStatementEnabled
public boolean isUpdateByExampleStatementEnabled() -
setUpdateByExampleStatementEnabled
public void setUpdateByExampleStatementEnabled(boolean updateByExampleStatementEnabled) -
validate
-
getDomainObjectRenamingRule
-
setDomainObjectRenamingRule
-
getColumnRenamingRule
-
setColumnRenamingRule
-
isAllColumnDelimitingEnabled
public boolean isAllColumnDelimitingEnabled() -
setAllColumnDelimitingEnabled
public void setAllColumnDelimitingEnabled(boolean isAllColumnDelimitingEnabled) -
getMapperName
-
setMapperName
-
getSqlProviderName
-
setSqlProviderName
-
getDynamicSqlSupportClassName
-
getDynamicSqlTableObjectName
-