org.mybatis.generator.codegen.mybatis3.xmlmapper.elements
Class AbstractXmlElementGenerator
java.lang.Object
org.mybatis.generator.codegen.AbstractGenerator
org.mybatis.generator.codegen.mybatis3.xmlmapper.elements.AbstractXmlElementGenerator
- Direct Known Subclasses:
- BaseColumnListElementGenerator, BlobColumnListElementGenerator, CountByExampleElementGenerator, DeleteByExampleElementGenerator, DeleteByPrimaryKeyElementGenerator, ExampleWhereClauseElementGenerator, InsertElementGenerator, InsertSelectiveElementGenerator, ResultMapWithBLOBsElementGenerator, ResultMapWithoutBLOBsElementGenerator, SelectByExampleWithBLOBsElementGenerator, SelectByExampleWithoutBLOBsElementGenerator, SelectByPrimaryKeyElementGenerator, SimpleSelectAllElementGenerator, SimpleSelectByPrimaryKeyElementGenerator, UpdateByExampleSelectiveElementGenerator, UpdateByExampleWithBLOBsElementGenerator, UpdateByExampleWithoutBLOBsElementGenerator, UpdateByPrimaryKeySelectiveElementGenerator, UpdateByPrimaryKeyWithBLOBsElementGenerator, UpdateByPrimaryKeyWithoutBLOBsElementGenerator
public abstract class AbstractXmlElementGenerator
- extends AbstractGenerator
- Author:
- Jeff Butler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractXmlElementGenerator
public AbstractXmlElementGenerator()
addElements
public abstract void addElements(XmlElement parentElement)
getSelectKey
protected XmlElement getSelectKey(IntrospectedColumn introspectedColumn,
GeneratedKey generatedKey)
- This method should return an XmlElement for the select key used to
automatically generate keys.
- Parameters:
introspectedColumn
- the column related to the select key statementgeneratedKey
- the generated key for the current table
- Returns:
- the selectKey element
getBaseColumnListElement
protected XmlElement getBaseColumnListElement()
getBlobColumnListElement
protected XmlElement getBlobColumnListElement()
getExampleIncludeElement
protected XmlElement getExampleIncludeElement()
getUpdateByExampleIncludeElement
protected XmlElement getUpdateByExampleIncludeElement()
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.