org.apache.ibatis.ibator.generator.ibatis2.sqlmap
Class SqlMapGenerator

java.lang.Object
  extended by org.apache.ibatis.ibator.generator.AbstractGenerator
      extended by org.apache.ibatis.ibator.generator.AbstractXmlGenerator
          extended by org.apache.ibatis.ibator.generator.ibatis2.sqlmap.SqlMapGenerator

public class SqlMapGenerator
extends AbstractXmlGenerator

Author:
Jeff Butler

Field Summary
 
Fields inherited from class org.apache.ibatis.ibator.generator.AbstractGenerator
ibatorContext, introspectedTable, progressCallback, warnings
 
Constructor Summary
SqlMapGenerator()
           
 
Method Summary
protected  void addCountByExampleElement(XmlElement parentElement)
           
protected  void addDeleteByExampleElement(XmlElement parentElement)
           
protected  void addDeleteByPrimaryKeyElement(XmlElement parentElement)
           
protected  void addExampleWhereClauseElement(XmlElement parentElement)
           
protected  void addInsertElement(XmlElement parentElement)
           
protected  void addInsertSelectiveElement(XmlElement parentElement)
           
protected  void addResultMapWithBLOBsElement(XmlElement parentElement)
           
protected  void addResultMapWithoutBLOBsElement(XmlElement parentElement)
           
protected  void addSelectByExampleWithBLOBsElement(XmlElement parentElement)
           
protected  void addSelectByExampleWithoutBLOBsElement(XmlElement parentElement)
           
protected  void addSelectByPrimaryKeyElement(XmlElement parentElement)
           
protected  void addUpdateByExampleSelectiveElement(XmlElement parentElement)
           
protected  void addUpdateByExampleWithBLOBsElement(XmlElement parentElement)
           
protected  void addUpdateByExampleWithoutBLOBsElement(XmlElement parentElement)
           
protected  void addUpdateByPrimaryKeySelectiveElement(XmlElement parentElement)
           
protected  void addUpdateByPrimaryKeyWithBLOBsElement(XmlElement parentElement)
           
protected  void addUpdateByPrimaryKeyWithoutBLOBsElement(XmlElement parentElement)
           
 Document getDocument()
           
protected  XmlElement getSqlMapElement()
           
protected  void initializeAndExecuteGenerator(AbstractXmlElementGenerator elementGenerator, XmlElement parentElement)
           
 
Methods inherited from class org.apache.ibatis.ibator.generator.AbstractGenerator
getIbatorContext, getIntrospectedTable, getProgressCallback, getWarnings, setIbatorContext, setIntrospectedTable, setProgressCallback, setWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlMapGenerator

public SqlMapGenerator()
Method Detail

getSqlMapElement

protected XmlElement getSqlMapElement()

addResultMapWithoutBLOBsElement

protected void addResultMapWithoutBLOBsElement(XmlElement parentElement)

addResultMapWithBLOBsElement

protected void addResultMapWithBLOBsElement(XmlElement parentElement)

addExampleWhereClauseElement

protected void addExampleWhereClauseElement(XmlElement parentElement)

addSelectByExampleWithoutBLOBsElement

protected void addSelectByExampleWithoutBLOBsElement(XmlElement parentElement)

addSelectByExampleWithBLOBsElement

protected void addSelectByExampleWithBLOBsElement(XmlElement parentElement)

addSelectByPrimaryKeyElement

protected void addSelectByPrimaryKeyElement(XmlElement parentElement)

addDeleteByExampleElement

protected void addDeleteByExampleElement(XmlElement parentElement)

addDeleteByPrimaryKeyElement

protected void addDeleteByPrimaryKeyElement(XmlElement parentElement)

addInsertElement

protected void addInsertElement(XmlElement parentElement)

addInsertSelectiveElement

protected void addInsertSelectiveElement(XmlElement parentElement)

addCountByExampleElement

protected void addCountByExampleElement(XmlElement parentElement)

addUpdateByExampleSelectiveElement

protected void addUpdateByExampleSelectiveElement(XmlElement parentElement)

addUpdateByExampleWithBLOBsElement

protected void addUpdateByExampleWithBLOBsElement(XmlElement parentElement)

addUpdateByExampleWithoutBLOBsElement

protected void addUpdateByExampleWithoutBLOBsElement(XmlElement parentElement)

addUpdateByPrimaryKeySelectiveElement

protected void addUpdateByPrimaryKeySelectiveElement(XmlElement parentElement)

addUpdateByPrimaryKeyWithBLOBsElement

protected void addUpdateByPrimaryKeyWithBLOBsElement(XmlElement parentElement)

addUpdateByPrimaryKeyWithoutBLOBsElement

protected void addUpdateByPrimaryKeyWithoutBLOBsElement(XmlElement parentElement)

initializeAndExecuteGenerator

protected void initializeAndExecuteGenerator(AbstractXmlElementGenerator elementGenerator,
                                             XmlElement parentElement)

getDocument

public Document getDocument()
Specified by:
getDocument in class AbstractXmlGenerator