|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ibatis.abator.internal.sqlmap.SqlMapGeneratorIterateImpl
org.apache.ibatis.abator.internal.sqlmap.SqlMapGeneratorLegacyImpl
public class SqlMapGeneratorLegacyImpl
This class overrides the iterate implementation to provide the legacy "by example" methods. This class can be removed when we remove the Legacy generator set.
| Field Summary |
|---|
| Fields inherited from class org.apache.ibatis.abator.internal.sqlmap.SqlMapGeneratorIterateImpl |
|---|
abatorContext, javaModelGenerator, properties, targetPackage, targetProject, warnings |
| Constructor Summary | |
|---|---|
SqlMapGeneratorLegacyImpl()
Constructs an instance of SqlMapGeneratorDefaultImpl |
|
| Method Summary | |
|---|---|
protected XmlElement |
getByExampleWhereClauseFragment(IntrospectedTable introspectedTable)
This method should return an XmlElement for the example where clause SQL fragment (an sql fragment). |
protected XmlElement |
getCountByExample(IntrospectedTable introspectedTable)
This method should return an XmlElement for the count by example statement. |
protected XmlElement |
getDeleteByExample(IntrospectedTable introspectedTable)
This method should return an XmlElement for the delete by example statement. |
protected XmlElement |
getSelectByExample(IntrospectedTable introspectedTable)
This method should return an XmlElement for the select by example statement that returns all fields in the table (except BLOB fields). |
protected XmlElement |
getSelectByExampleWithBLOBs(IntrospectedTable introspectedTable)
This method should return an XmlElement for the select by example statement that returns all fields in the table (including BLOB fields). |
protected XmlElement |
getUpdateByExampleSelective(IntrospectedTable introspectedTable)
This method should return an XmlElement for the update by example statement that updates all fields in the table - but only if the field is not null in the parameter object. |
protected XmlElement |
getUpdateByExampleWithBLOBs(IntrospectedTable introspectedTable)
|
protected XmlElement |
getUpdateByExampleWithoutBLOBs(IntrospectedTable introspectedTable)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SqlMapGeneratorLegacyImpl()
| Method Detail |
|---|
protected XmlElement getDeleteByExample(IntrospectedTable introspectedTable)
getDeleteByExample in class SqlMapGeneratorIterateImplintrospectedTable -
protected XmlElement getCountByExample(IntrospectedTable introspectedTable)
getCountByExample in class SqlMapGeneratorIterateImplintrospectedTable -
protected XmlElement getByExampleWhereClauseFragment(IntrospectedTable introspectedTable)
getByExampleWhereClauseFragment in class SqlMapGeneratorIterateImplintrospectedTable -
protected XmlElement getSelectByExample(IntrospectedTable introspectedTable)
getSelectByExample in class SqlMapGeneratorIterateImplintrospectedTable -
protected XmlElement getSelectByExampleWithBLOBs(IntrospectedTable introspectedTable)
getSelectByExampleWithBLOBs in class SqlMapGeneratorIterateImplintrospectedTable -
protected XmlElement getUpdateByExampleSelective(IntrospectedTable introspectedTable)
SqlMapGeneratorIterateImpl
getUpdateByExampleSelective in class SqlMapGeneratorIterateImplprotected XmlElement getUpdateByExampleWithBLOBs(IntrospectedTable introspectedTable)
getUpdateByExampleWithBLOBs in class SqlMapGeneratorIterateImplprotected XmlElement getUpdateByExampleWithoutBLOBs(IntrospectedTable introspectedTable)
getUpdateByExampleWithoutBLOBs in class SqlMapGeneratorIterateImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||