Class TableConfiguration

java.lang.Object
org.mybatis.generator.config.PropertyHolder
org.mybatis.generator.config.TableConfiguration

public class TableConfiguration extends PropertyHolder
  • Constructor Details

    • TableConfiguration

      public TableConfiguration(Context context)
  • 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

      public boolean isColumnIgnored(String columnName)
    • addIgnoredColumn

      public void addIgnoredColumn(IgnoredColumn ignoredColumn)
    • addIgnoredColumnPattern

      public void addIgnoredColumnPattern(IgnoredColumnPattern ignoredColumnPattern)
    • addColumnOverride

      public void addColumnOverride(ColumnOverride columnOverride)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isSelectByExampleStatementEnabled

      public boolean isSelectByExampleStatementEnabled()
    • setSelectByExampleStatementEnabled

      public void setSelectByExampleStatementEnabled(boolean selectByExampleStatementEnabled)
    • getColumnOverride

      public ColumnOverride getColumnOverride(String columnName)
      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

      public Optional<GeneratedKey> getGeneratedKey()
    • getSelectByExampleQueryId

      public String getSelectByExampleQueryId()
    • setSelectByExampleQueryId

      public void setSelectByExampleQueryId(String selectByExampleQueryId)
    • getSelectByPrimaryKeyQueryId

      public String getSelectByPrimaryKeyQueryId()
    • setSelectByPrimaryKeyQueryId

      public void setSelectByPrimaryKeyQueryId(String selectByPrimaryKeyQueryId)
    • isDeleteByExampleStatementEnabled

      public boolean isDeleteByExampleStatementEnabled()
    • setDeleteByExampleStatementEnabled

      public void setDeleteByExampleStatementEnabled(boolean deleteByExampleStatementEnabled)
    • areAnyStatementsEnabled

      public boolean areAnyStatementsEnabled()
    • setGeneratedKey

      public void setGeneratedKey(GeneratedKey generatedKey)
    • getAlias

      public String getAlias()
    • setAlias

      public void setAlias(String alias)
    • getCatalog

      public String getCatalog()
    • setCatalog

      public void setCatalog(String catalog)
    • getDomainObjectName

      public String getDomainObjectName()
    • setDomainObjectName

      public void setDomainObjectName(String domainObjectName)
    • getSchema

      public String getSchema()
    • setSchema

      public void setSchema(String schema)
    • getTableName

      public String getTableName()
    • setTableName

      public void setTableName(String tableName)
    • getColumnOverrides

      public List<ColumnOverride> getColumnOverrides()
    • getIgnoredColumnsInError

      public List<String> 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

      public ModelType getModelType()
    • setConfiguredModelType

      public void setConfiguredModelType(String configuredModelType)
    • isWildcardEscapingEnabled

      public boolean isWildcardEscapingEnabled()
    • setWildcardEscapingEnabled

      public void setWildcardEscapingEnabled(boolean wildcardEscapingEnabled)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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

      public void validate(List<String> errors, int listPosition)
    • getDomainObjectRenamingRule

      public DomainObjectRenamingRule getDomainObjectRenamingRule()
    • setDomainObjectRenamingRule

      public void setDomainObjectRenamingRule(DomainObjectRenamingRule domainObjectRenamingRule)
    • getColumnRenamingRule

      public ColumnRenamingRule getColumnRenamingRule()
    • setColumnRenamingRule

      public void setColumnRenamingRule(ColumnRenamingRule columnRenamingRule)
    • isAllColumnDelimitingEnabled

      public boolean isAllColumnDelimitingEnabled()
    • setAllColumnDelimitingEnabled

      public void setAllColumnDelimitingEnabled(boolean isAllColumnDelimitingEnabled)
    • getMapperName

      public String getMapperName()
    • setMapperName

      public void setMapperName(String mapperName)
    • getSqlProviderName

      public String getSqlProviderName()
    • setSqlProviderName

      public void setSqlProviderName(String sqlProviderName)
    • getDynamicSqlSupportClassName

      public String getDynamicSqlSupportClassName()
    • getDynamicSqlTableObjectName

      public String getDynamicSqlTableObjectName()