public interface SqlTag extends Sql
Modifier and Type | Method and Description |
---|---|
void |
addTag(ITextTag tag)
add a new text tag.
|
void |
addTag(List<ITextTag> tags)
add a set of text tags (static or dynamic).
|
void |
addTag(String text)
add a set of static text from tag elements.
|
String |
getName()
Retrieve the identifier from tag.
|
String |
getTagName()
Retrieve the tag name.
|
void |
setPackage(String name)
name of package this sql belong
|
void |
setResourceName(String resourceName)
File name from Sql
|
void |
setXpath(String xpath)
set the XPATH expression to retrieve the query at xml file.
|
asDeletable, asInsertable, asSelectable, asStorable, asUpdateable, bind, extractNames, extractNames, getIsolation, getLanguageType, getPackage, getParamParser, getResourceName, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getReturnType, getReturnTypeAsClass, getSql, getSql, getSqlDialect, getSqlType, getStats, getTimeout, getTimestamp, getValidateType, getXPath, hasReturnType, isDeletable, isInsertable, isSelectable, isStorable, isUpdateable, setValidateType
String getTagName()
void addTag(String text)
text
- contentvoid addTag(List<ITextTag> tags)
tags
- content as list of text tagsvoid setXpath(String xpath)
xpath
- expressionvoid setResourceName(String resourceName)
resourceName
- filename from sql as resourcevoid setPackage(String name)
name
- of packageCopyright © 2012–2020 jkniv, copyleft code. All rights reserved.