net.sf.dewdrop.sqlml
Class Native
java.lang.Object
net.sf.dewdrop.sqlml.SqlmlComponent
net.sf.dewdrop.sqlml.SchemaComponent
net.sf.dewdrop.sqlml.Native
- public class Native
- extends SchemaComponent
- Author:
- Les Hazlewood
Methods inherited from class net.sf.dewdrop.sqlml.SqlmlComponent |
getIndentLevel, i18n, i18n, i18n, setIndentLevel, toSql, toSql, toSql, toString, writeSql, writeSql, writeSql |
sql
protected String sql
targets
public List targets
Native
public Native()
getSql
public String getSql()
setSql
public void setSql(String sql)
setTargets
public void setTargets(String commaDelimitedTargets)
getTargets
public List getTargets()
- Returns a list of SupportedRDBMS objects. If null, then this native block should be written
for all databases.
- Returns:
- List of SupportedRDBMS objects or null if there are no targets specified.
equals
public boolean equals(Object o)
- Overrides:
equals
in class SchemaComponent
onWriteSql
public void onWriteSql(Writer out,
Configuration cfg)
- Specified by:
onWriteSql
in class SqlmlComponent
- See Also:
SqlmlComponent.writeSql(java.io.Writer)