|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.data.HashStructureAdapter
oracle.javatools.db.ddl.DDLOptions
public class DDLOptions
The options to customise the generation of DDL when using a DDLGenerator.
Field Summary |
---|
Fields inherited from class oracle.javatools.data.HashStructureAdapter |
---|
_hash |
Constructor Summary | |
---|---|
|
DDLOptions() |
|
DDLOptions(boolean replace, boolean cascade) |
protected |
DDLOptions(HashStructure hash) |
Method Summary | |
---|---|
java.lang.String |
getSpoolFile() |
boolean |
isCascade() Gets whether to generate cascade delete ddl. |
boolean |
isIncludePrompts() Gets whether to generate prompts. |
boolean |
isPrefixSchemaName() Gets whether to always prefix names with the schema. |
boolean |
isReplace() Returns whether to generate the ddl to automatically replace any existing objects. |
boolean |
isSqlBlankLines() |
void |
setCascade(boolean cascade) Sets wether to generate ddl to automatically cascade the delete of any object or child object (e.g. |
void |
setIncludePrompts(boolean prompts) Sets whether to generate prompts for the database's command line client (e.g. |
void |
setPrefixSchemaName(boolean prefix) Sets whether to always prefix names with the schema. |
void |
setReplace(boolean replace) Sets whether to generate the ddl to automatically replace any existing objects. |
void |
setSpoolFile(java.lang.String filename) |
void |
setSqlBlankLines(boolean onOrOff) Sets whether or not to generate the SQL*Plus command SET SQLBLANKLINES ON when the generated objdect contain multi-line comments. |
Methods inherited from class oracle.javatools.data.HashStructureAdapter |
---|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DDLOptions(HashStructure hash)
public DDLOptions()
public DDLOptions(boolean replace, boolean cascade)
Method Detail |
---|
public void setReplace(boolean replace)
public final boolean isReplace()
public void setCascade(boolean cascade)
public final boolean isCascade()
public void setPrefixSchemaName(boolean prefix)
public boolean isPrefixSchemaName()
public void setIncludePrompts(boolean prompts)
public boolean isIncludePrompts()
#setGeneratePrompt
public java.lang.String getSpoolFile()
public void setSpoolFile(java.lang.String filename)
public boolean isSqlBlankLines()
public void setSqlBlankLines(boolean onOrOff)
This is needs to be set true for SQL*Plus scripts. It is only used by OracleDDLGenerator.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |