public abstract class SqlDbTemplateProcessEnv<D extends cn.featherfly.hammer.tpl.directive.TemplateDirective,M extends cn.featherfly.hammer.tpl.method.TemplateMethod>
extends java.lang.Object
implements cn.featherfly.hammer.tpl.TemplateProcessEnv<D,M>
SqlDbTemplateEnv
| 限定符和类型 | 字段和说明 |
|---|---|
protected cn.featherfly.hammer.tpl.TplConfigFactory |
configFactory |
protected cn.featherfly.common.db.dialect.Dialect |
dialect |
protected cn.featherfly.hammer.tpl.supports.ConditionParamsManager |
manager |
protected cn.featherfly.common.db.mapping.JdbcMappingFactory |
mappingFactory |
protected java.lang.Class<?> |
resultType |
| 构造器和说明 |
|---|
SqlDbTemplateProcessEnv() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract D |
createAndDirective()
createAndDirective
|
cn.featherfly.hammer.tpl.TemplateDirectives<D> |
createDirectives() |
protected abstract D |
createIncludeDirective()
createTemplateIncludeDirective
|
cn.featherfly.hammer.tpl.TemplateMethods<M> |
createMethods() |
protected abstract D |
createOrDirective()
createOrDirective
|
protected abstract D |
createPropertiesDirective()
createPropertiesDirective
|
protected abstract D |
createWhereDirective()
createWhereDirective
|
protected abstract D |
createWrapDirective()
createWrapDirective
|
protected abstract M |
createWrapMethode()
createWrapMethode
|
cn.featherfly.hammer.tpl.TplConfigFactory |
getConfigFactory()
get configFactory
|
cn.featherfly.common.db.dialect.Dialect |
getDialect()
get dialect
|
cn.featherfly.hammer.tpl.supports.ConditionParamsManager |
getManager()
get manager
|
cn.featherfly.common.db.mapping.JdbcMappingFactory |
getMappingFactory()
get mappingFactory
|
java.lang.Class<?> |
getResultType()
get resultType
|
void |
setConfigFactory(cn.featherfly.hammer.tpl.TplConfigFactory configFactory)
set configFactory
|
void |
setDialect(cn.featherfly.common.db.dialect.Dialect dialect)
set dialect
|
void |
setManager(cn.featherfly.hammer.tpl.supports.ConditionParamsManager manager)
set manager
|
void |
setMappingFactory(cn.featherfly.common.db.mapping.JdbcMappingFactory mappingFactory)
set mappingFactory
|
void |
setResultType(java.lang.Class<?> resultType)
set resultType
|
protected cn.featherfly.hammer.tpl.supports.ConditionParamsManager manager
protected java.lang.Class<?> resultType
protected cn.featherfly.common.db.mapping.JdbcMappingFactory mappingFactory
protected cn.featherfly.hammer.tpl.TplConfigFactory configFactory
protected cn.featherfly.common.db.dialect.Dialect dialect
public cn.featherfly.hammer.tpl.TplConfigFactory getConfigFactory()
public void setConfigFactory(cn.featherfly.hammer.tpl.TplConfigFactory configFactory)
configFactory - configFactorypublic void setMappingFactory(cn.featherfly.common.db.mapping.JdbcMappingFactory mappingFactory)
mappingFactory - mappingFactorypublic cn.featherfly.hammer.tpl.supports.ConditionParamsManager getManager()
public void setManager(cn.featherfly.hammer.tpl.supports.ConditionParamsManager manager)
manager - managerpublic java.lang.Class<?> getResultType()
public void setResultType(java.lang.Class<?> resultType)
resultType - resultTypepublic cn.featherfly.common.db.mapping.JdbcMappingFactory getMappingFactory()
public cn.featherfly.common.db.dialect.Dialect getDialect()
public void setDialect(cn.featherfly.common.db.dialect.Dialect dialect)
dialect - dialectpublic cn.featherfly.hammer.tpl.TemplateDirectives<D> createDirectives()
public cn.featherfly.hammer.tpl.TemplateMethods<M> createMethods()
protected abstract D createWhereDirective()
protected abstract D createAndDirective()
protected abstract D createOrDirective()
protected abstract D createPropertiesDirective()
protected abstract D createIncludeDirective()
protected abstract D createWrapDirective()
protected abstract M createWrapMethode()