Package | Description |
---|---|
org.mybatis.generator.api |
Provides the main classes and interfaces used by clients of MyBatis Generator.
|
org.mybatis.generator.api.dom.xml | |
org.mybatis.generator.codegen.ibatis2.sqlmap | |
org.mybatis.generator.codegen.ibatis2.sqlmap.elements | |
org.mybatis.generator.codegen.mybatis3.xmlmapper | |
org.mybatis.generator.codegen.mybatis3.xmlmapper.elements | |
org.mybatis.generator.config | |
org.mybatis.generator.internal | |
org.mybatis.generator.plugins |
Modifier and Type | Method and Description |
---|---|
void |
CommentGenerator.addComment(XmlElement xmlElement)
This method should add a suitable comment as a child element of the
specified xmlElement to warn users that the element was generated and is
subject to regeneration.
|
void |
CommentGenerator.addRootComment(XmlElement rootElement)
This method is called to add a comment as the first child of the root
element.
|
boolean |
PluginAdapter.sqlMapBaseColumnListElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapBaseColumnListElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the baseColumnList element is generated.
|
boolean |
PluginAdapter.sqlMapBlobColumnListElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapBlobColumnListElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the blobColumnList element is generated.
|
boolean |
PluginAdapter.sqlMapCountByExampleElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapCountByExampleElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the countByExample element is generated.
|
boolean |
PluginAdapter.sqlMapDeleteByExampleElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapDeleteByExampleElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the deleteByExample element is generated.
|
boolean |
PluginAdapter.sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the deleteByPrimaryKey element is generated.
|
boolean |
PluginAdapter.sqlMapExampleWhereClauseElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapExampleWhereClauseElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the exampleWhereClause element is generated.
|
boolean |
PluginAdapter.sqlMapInsertElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapInsertElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the insert element is generated.
|
boolean |
PluginAdapter.sqlMapInsertSelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapInsertSelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the insert selective element is generated.
|
boolean |
PluginAdapter.sqlMapResultMapWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapResultMapWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the resultMap with BLOBs element is generated
- this resultMap will extend the base resultMap.
|
boolean |
PluginAdapter.sqlMapResultMapWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapResultMapWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the base resultMap is generated.
|
boolean |
PluginAdapter.sqlMapSelectAllElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapSelectAllElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectAll element is generated.
|
boolean |
PluginAdapter.sqlMapSelectByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapSelectByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectByExampleWithBLOBs element is
generated.
|
boolean |
PluginAdapter.sqlMapSelectByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapSelectByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectByExample element is generated.
|
boolean |
PluginAdapter.sqlMapSelectByPrimaryKeyElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapSelectByPrimaryKeyElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the selectByPrimaryKey element is generated.
|
boolean |
PluginAdapter.sqlMapUpdateByExampleSelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapUpdateByExampleSelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleSelective element is
generated.
|
boolean |
PluginAdapter.sqlMapUpdateByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapUpdateByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithBLOBs element is
generated.
|
boolean |
PluginAdapter.sqlMapUpdateByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapUpdateByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByExampleWithourBLOBs element is
generated.
|
boolean |
PluginAdapter.sqlMapUpdateByPrimaryKeySelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapUpdateByPrimaryKeySelectiveElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeySelective element is
generated.
|
boolean |
PluginAdapter.sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithBLOBs element is
generated.
|
boolean |
PluginAdapter.sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
Plugin.sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable)
This method is called when the updateByPrimaryKeyWithoutBLOBs element is
generated.
|
Modifier and Type | Method and Description |
---|---|
XmlElement |
Document.getRootElement() |
Modifier and Type | Method and Description |
---|---|
void |
Document.setRootElement(XmlElement rootElement) |
Constructor and Description |
---|
XmlElement(XmlElement original)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
protected XmlElement |
SqlMapGenerator.getSqlMapElement() |
Modifier and Type | Method and Description |
---|---|
protected void |
SqlMapGenerator.addBaseColumnListElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addBlobColumnListElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addCountByExampleElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addDeleteByExampleElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addDeleteByPrimaryKeyElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addExampleWhereClauseElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addInsertElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addInsertSelectiveElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addResultMapWithBLOBsElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addResultMapWithoutBLOBsElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addSelectByExampleWithBLOBsElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addSelectByExampleWithoutBLOBsElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addSelectByPrimaryKeyElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addUpdateByExampleSelectiveElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addUpdateByExampleWithBLOBsElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addUpdateByExampleWithoutBLOBsElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addUpdateByPrimaryKeySelectiveElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addUpdateByPrimaryKeyWithBLOBsElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.addUpdateByPrimaryKeyWithoutBLOBsElement(XmlElement parentElement) |
protected void |
SqlMapGenerator.initializeAndExecuteGenerator(AbstractXmlElementGenerator elementGenerator,
XmlElement parentElement) |
Modifier and Type | Method and Description |
---|---|
protected XmlElement |
AbstractXmlElementGenerator.getBaseColumnListElement() |
protected XmlElement |
AbstractXmlElementGenerator.getBlobColumnListElement() |
protected XmlElement |
AbstractXmlElementGenerator.getSelectKey(IntrospectedColumn introspectedColumn,
GeneratedKey generatedKey)
This method should return an XmlElement for the select key used to
automatically generate keys.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractXmlElementGenerator.addElements(XmlElement parentElement) |
void |
DeleteByExampleElementGenerator.addElements(XmlElement parentElement) |
void |
UpdateByExampleSelectiveElementGenerator.addElements(XmlElement parentElement) |
void |
ExampleWhereClauseElementGenerator.addElements(XmlElement parentElement) |
void |
SelectByPrimaryKeyElementGenerator.addElements(XmlElement parentElement) |
void |
SelectByExampleWithBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
UpdateByExampleWithoutBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
InsertElementGenerator.addElements(XmlElement parentElement) |
void |
InsertSelectiveElementGenerator.addElements(XmlElement parentElement) |
void |
ResultMapWithoutBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
BaseColumnListElementGenerator.addElements(XmlElement parentElement) |
void |
UpdateByPrimaryKeySelectiveElementGenerator.addElements(XmlElement parentElement) |
void |
DeleteByPrimaryKeyElementGenerator.addElements(XmlElement parentElement) |
void |
UpdateByExampleWithBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
UpdateByPrimaryKeyWithoutBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
ResultMapWithBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
UpdateByPrimaryKeyWithBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
BlobColumnListElementGenerator.addElements(XmlElement parentElement) |
void |
SelectByExampleWithoutBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
CountByExampleElementGenerator.addElements(XmlElement parentElement) |
Modifier and Type | Method and Description |
---|---|
protected XmlElement |
XMLMapperGenerator.getSqlMapElement() |
protected XmlElement |
SimpleXMLMapperGenerator.getSqlMapElement() |
Modifier and Type | Method and Description |
---|---|
protected void |
XMLMapperGenerator.addBaseColumnListElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addBlobColumnListElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addCountByExampleElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addDeleteByExampleElement(XmlElement parentElement) |
protected void |
MixedMapperGenerator.addDeleteByPrimaryKeyElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addDeleteByPrimaryKeyElement(XmlElement parentElement) |
protected void |
SimpleXMLMapperGenerator.addDeleteByPrimaryKeyElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addExampleWhereClauseElement(XmlElement parentElement) |
protected void |
MixedMapperGenerator.addInsertElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addInsertElement(XmlElement parentElement) |
protected void |
SimpleXMLMapperGenerator.addInsertElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addInsertSelectiveElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addMyBatis3UpdateByExampleWhereClauseElement(XmlElement parentElement) |
protected void |
SimpleXMLMapperGenerator.addResultMapElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addResultMapWithBLOBsElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addResultMapWithoutBLOBsElement(XmlElement parentElement) |
protected void |
SimpleXMLMapperGenerator.addSelectAllElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addSelectByExampleWithBLOBsElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addSelectByExampleWithoutBLOBsElement(XmlElement parentElement) |
protected void |
MixedMapperGenerator.addSelectByPrimaryKeyElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addSelectByPrimaryKeyElement(XmlElement parentElement) |
protected void |
SimpleXMLMapperGenerator.addSelectByPrimaryKeyElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addUpdateByExampleSelectiveElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addUpdateByExampleWithBLOBsElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addUpdateByExampleWithoutBLOBsElement(XmlElement parentElement) |
protected void |
SimpleXMLMapperGenerator.addUpdateByPrimaryKeyElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addUpdateByPrimaryKeySelectiveElement(XmlElement parentElement) |
protected void |
MixedMapperGenerator.addUpdateByPrimaryKeyWithBLOBsElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addUpdateByPrimaryKeyWithBLOBsElement(XmlElement parentElement) |
protected void |
MixedMapperGenerator.addUpdateByPrimaryKeyWithoutBLOBsElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.addUpdateByPrimaryKeyWithoutBLOBsElement(XmlElement parentElement) |
protected void |
XMLMapperGenerator.initializeAndExecuteGenerator(AbstractXmlElementGenerator elementGenerator,
XmlElement parentElement) |
protected void |
SimpleXMLMapperGenerator.initializeAndExecuteGenerator(AbstractXmlElementGenerator elementGenerator,
XmlElement parentElement) |
Modifier and Type | Method and Description |
---|---|
protected XmlElement |
AbstractXmlElementGenerator.getBaseColumnListElement() |
protected XmlElement |
AbstractXmlElementGenerator.getBlobColumnListElement() |
protected XmlElement |
AbstractXmlElementGenerator.getExampleIncludeElement() |
protected XmlElement |
AbstractXmlElementGenerator.getSelectKey(IntrospectedColumn introspectedColumn,
GeneratedKey generatedKey)
This method should return an XmlElement for the select key used to
automatically generate keys.
|
protected XmlElement |
AbstractXmlElementGenerator.getUpdateByExampleIncludeElement() |
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractXmlElementGenerator.addElements(XmlElement parentElement) |
void |
DeleteByExampleElementGenerator.addElements(XmlElement parentElement) |
void |
UpdateByExampleSelectiveElementGenerator.addElements(XmlElement parentElement) |
void |
ExampleWhereClauseElementGenerator.addElements(XmlElement parentElement) |
void |
SimpleSelectAllElementGenerator.addElements(XmlElement parentElement) |
void |
SelectByPrimaryKeyElementGenerator.addElements(XmlElement parentElement) |
void |
SelectByExampleWithBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
UpdateByExampleWithoutBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
InsertElementGenerator.addElements(XmlElement parentElement) |
void |
InsertSelectiveElementGenerator.addElements(XmlElement parentElement) |
void |
ResultMapWithoutBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
BaseColumnListElementGenerator.addElements(XmlElement parentElement) |
void |
UpdateByPrimaryKeySelectiveElementGenerator.addElements(XmlElement parentElement) |
void |
DeleteByPrimaryKeyElementGenerator.addElements(XmlElement parentElement) |
void |
UpdateByExampleWithBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
UpdateByPrimaryKeyWithoutBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
ResultMapWithBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
UpdateByPrimaryKeyWithBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
BlobColumnListElementGenerator.addElements(XmlElement parentElement) |
void |
SelectByExampleWithoutBLOBsElementGenerator.addElements(XmlElement parentElement) |
void |
CountByExampleElementGenerator.addElements(XmlElement parentElement) |
void |
SimpleSelectByPrimaryKeyElementGenerator.addElements(XmlElement parentElement) |
Modifier and Type | Method and Description |
---|---|
XmlElement |
ColumnOverride.toXmlElement() |
XmlElement |
ColumnRenamingRule.toXmlElement() |
XmlElement |
JavaTypeResolverConfiguration.toXmlElement() |
XmlElement |
PluginConfiguration.toXmlElement() |
XmlElement |
JDBCConnectionConfiguration.toXmlElement() |
XmlElement |
Context.toXmlElement()
Builds an XmlElement representation of this context.
|
XmlElement |
CommentGeneratorConfiguration.toXmlElement() |
XmlElement |
TableConfiguration.toXmlElement() |
XmlElement |
JavaClientGeneratorConfiguration.toXmlElement() |
XmlElement |
JavaModelGeneratorConfiguration.toXmlElement() |
XmlElement |
IgnoredColumn.toXmlElement() |
XmlElement |
GeneratedKey.toXmlElement() |
XmlElement |
SqlMapGeneratorConfiguration.toXmlElement() |
Modifier and Type | Method and Description |
---|---|
protected void |
PropertyHolder.addPropertyXmlElements(XmlElement xmlElement) |
Modifier and Type | Method and Description |
---|---|
boolean |
RowBoundsPlugin.sqlMapSelectByExampleWithBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
boolean |
RowBoundsPlugin.sqlMapSelectByExampleWithoutBLOBsElementGenerated(XmlElement element,
IntrospectedTable introspectedTable) |
Copyright © 2010–2018 MyBatis.org. All rights reserved.