public abstract class AbstractXmlElementGenerator extends AbstractGenerator
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractXmlElementGenerator.ResultElementType |
context, introspectedTable, progressCallback, warnings
Modifier | Constructor and Description |
---|---|
protected |
AbstractXmlElementGenerator() |
setContext, setIntrospectedTable, setProgressCallback, setWarnings
public abstract void addElements(XmlElement parentElement)
protected XmlElement getSelectKey(IntrospectedColumn introspectedColumn, GeneratedKey generatedKey)
introspectedColumn
- the column related to the select key statementgeneratedKey
- the generated key for the current tableprotected XmlElement getBaseColumnListElement()
protected XmlElement getBlobColumnListElement()
protected XmlElement getExampleIncludeElement()
protected XmlElement getUpdateByExampleIncludeElement()
protected List<TextElement> buildSelectList(List<IntrospectedColumn> columns)
protected List<TextElement> buildSelectList(String initial, List<IntrospectedColumn> columns)
protected List<TextElement> buildPrimaryKeyWhereClause()
protected XmlElement buildInitialInsert(String statementId, FullyQualifiedJavaType parameterType)
protected List<XmlElement> buildResultMapItems(AbstractXmlElementGenerator.ResultElementType elementType, List<IntrospectedColumn> columns)
protected XmlElement buildConstructorElement(boolean includeBlobColumns)
protected Attribute buildColumnAttribute(IntrospectedColumn introspectedColumn)
protected XmlElement buildUpdateByExampleElement(String statementId, List<IntrospectedColumn> columns)
protected XmlElement buildUpdateByPrimaryKeyElement(String statementId, String parameterType, List<IntrospectedColumn> columns)
Copyright © 2006–2023 MyBatis.org. All rights reserved.