public class IntrospectedTableIbatis2Java2Impl extends IntrospectedTable
IntrospectedTable.InternalAttribute, IntrospectedTable.TargetRuntime
Modifier and Type | Field and Description |
---|---|
protected List<AbstractJavaGenerator> |
daoGenerators |
protected List<AbstractJavaGenerator> |
javaModelGenerators |
protected AbstractXmlGenerator |
sqlMapGenerator |
attributes, baseColumns, blobColumns, context, fullyQualifiedTable, internalAttributes, primaryKeyColumns, rules, tableConfiguration, targetRuntime
Constructor and Description |
---|
IntrospectedTableIbatis2Java2Impl() |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateDAOGenerators(List<String> warnings,
ProgressCallback progressCallback) |
void |
calculateGenerators(List<String> warnings,
ProgressCallback progressCallback)
This method can be used to initialize the generators before they will be
called.
|
protected void |
calculateJavaModelGenerators(List<String> warnings,
ProgressCallback progressCallback) |
protected void |
calculateSqlMapGenerator(List<String> warnings,
ProgressCallback progressCallback) |
List<GeneratedJavaFile> |
getGeneratedJavaFiles()
This method should return a list of generated Java files related to this
table.
|
List<GeneratedXmlFile> |
getGeneratedXmlFiles()
This method should return a list of generated XML files related to this
table.
|
int |
getGenerationSteps()
This method should return the number of progress messages that will be
send during the generation phase.
|
protected void |
initializeAbstractGenerator(AbstractGenerator abstractGenerator,
List<String> warnings,
ProgressCallback progressCallback) |
boolean |
isJava5Targeted()
Denotes whether generated code is targeted for Java version 5.0 or
higher.
|
boolean |
requiresXMLGenerator()
Should return true if an XML generator is required for this table.
|
addColumn, addPrimaryKeyColumn, calculateIbatis2SqlMapFileName, calculateIbatis2SqlMapNamespace, calculateJavaClientAttributes, calculateJavaClientImplementationPackage, calculateJavaClientInterfacePackage, calculateJavaModelPackage, calculateModelAttributes, calculateMyBatis3FallbackSqlMapNamespace, calculateMyBatis3XmlMapperFileName, calculateSqlMapAliasedFullyQualifiedRuntimeTableName, calculateSqlMapFullyQualifiedRuntimeTableName, calculateSqlMapPackage, calculateXmlAttributes, getAliasedFullyQualifiedTableNameAtRuntime, getAllColumns, getAttribute, getBaseColumnListId, getBaseColumns, getBaseRecordType, getBaseResultMapId, getBlobColumnListId, getBLOBColumns, getColumn, getContext, getCountByExampleStatementId, getDAOImplementationType, getDAOInterfaceType, getDeleteByExampleStatementId, getDeleteByPrimaryKeyStatementId, getExampleType, getExampleWhereClauseId, getFullyQualifiedTable, getFullyQualifiedTableNameAtRuntime, getGeneratedKey, getIbatis2SqlMapFileName, getIbatis2SqlMapNamespace, getIbatis2SqlMapPackage, getInsertSelectiveStatementId, getInsertStatementId, getMyBatis3FallbackSqlMapNamespace, getMyBatis3JavaMapperType, getMyBatis3SqlMapNamespace, getMyBatis3SqlProviderType, getMyBatis3UpdateByExampleWhereClauseId, getMyBatis3XmlMapperFileName, getMyBatis3XmlMapperPackage, getNonBLOBColumnCount, getNonBLOBColumns, getNonPrimaryKeyColumns, getPrimaryKeyColumns, getPrimaryKeyType, getRecordWithBLOBsType, getResultMapWithBLOBsId, getRules, getSelectAllStatementId, getSelectByExampleQueryId, getSelectByExampleStatementId, getSelectByExampleWithBLOBsStatementId, getSelectByPrimaryKeyQueryId, getSelectByPrimaryKeyStatementId, getTableConfiguration, getTableConfigurationProperty, getTargetRuntime, getUpdateByExampleSelectiveStatementId, getUpdateByExampleStatementId, getUpdateByExampleWithBLOBsStatementId, getUpdateByPrimaryKeySelectiveStatementId, getUpdateByPrimaryKeyStatementId, getUpdateByPrimaryKeyWithBLOBsStatementId, hasAnyColumns, hasBaseColumns, hasBLOBColumns, hasJDBCDateColumns, hasJDBCTimeColumns, hasPrimaryKeyColumns, initialize, isConstructorBased, isImmutable, removeAttribute, setAttribute, setBaseColumnListId, setBaseRecordType, setBaseResultMapId, setBlobColumnListId, setContext, setCountByExampleStatementId, setDAOImplementationType, setDAOInterfaceType, setDeleteByExampleStatementId, setDeleteByPrimaryKeyStatementId, setExampleType, setExampleWhereClauseId, setFullyQualifiedTable, setIbatis2SqlMapFileName, setIbatis2SqlMapNamespace, setIbatis2SqlMapPackage, setInsertSelectiveStatementId, setInsertStatementId, setMyBatis3FallbackSqlMapNamespace, setMyBatis3JavaMapperType, setMyBatis3SqlProviderType, setMyBatis3UpdateByExampleWhereClauseId, setMyBatis3XmlMapperFileName, setMyBatis3XmlMapperPackage, setPrimaryKeyType, setRecordWithBLOBsType, setResultMapWithBLOBsId, setRules, setSelectAllStatementId, setSelectByExampleStatementId, setSelectByExampleWithBLOBsStatementId, setSelectByPrimaryKeyStatementId, setSqlMapAliasedFullyQualifiedRuntimeTableName, setSqlMapFullyQualifiedRuntimeTableName, setTableConfiguration, setUpdateByExampleSelectiveStatementId, setUpdateByExampleStatementId, setUpdateByExampleWithBLOBsStatementId, setUpdateByPrimaryKeySelectiveStatementId, setUpdateByPrimaryKeyStatementId, setUpdateByPrimaryKeyWithBLOBsStatementId
protected List<AbstractJavaGenerator> javaModelGenerators
protected List<AbstractJavaGenerator> daoGenerators
protected AbstractXmlGenerator sqlMapGenerator
public void calculateGenerators(List<String> warnings, ProgressCallback progressCallback)
IntrospectedTable
calculateGenerators
in class IntrospectedTable
protected void calculateSqlMapGenerator(List<String> warnings, ProgressCallback progressCallback)
protected void calculateDAOGenerators(List<String> warnings, ProgressCallback progressCallback)
protected void calculateJavaModelGenerators(List<String> warnings, ProgressCallback progressCallback)
protected void initializeAbstractGenerator(AbstractGenerator abstractGenerator, List<String> warnings, ProgressCallback progressCallback)
public List<GeneratedJavaFile> getGeneratedJavaFiles()
IntrospectedTable
getGeneratedJavaFiles
in class IntrospectedTable
public List<GeneratedXmlFile> getGeneratedXmlFiles()
IntrospectedTable
getGeneratedXmlFiles
in class IntrospectedTable
public boolean isJava5Targeted()
IntrospectedTable
isJava5Targeted
in class IntrospectedTable
public int getGenerationSteps()
IntrospectedTable
getGenerationSteps
in class IntrospectedTable
public boolean requiresXMLGenerator()
IntrospectedTable
requiresXMLGenerator
in class IntrospectedTable
Copyright © 2010–2018 MyBatis.org. All rights reserved.