|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.castor.ddlgen.AbstractGenerator
org.castor.ddlgen.engine.oracle.OracleGenerator
public final class OracleGenerator
Generator for Oracle.
Field Summary | |
---|---|
static java.lang.String |
ENGINE_CONFIG_NAME
Filename of specific configuration for generator. |
static java.lang.String |
ENGINE_CONFIG_PATH
Path to specific configuration for generator. |
static java.lang.String |
NAME
Name of database engine. |
Fields inherited from interface org.castor.ddlgen.Generator |
---|
GLOBAL_CONFIG_NAME, GLOBAL_CONFIG_PATH |
Constructor Summary | |
---|---|
OracleGenerator(DDLGenConfiguration configuration)
Constructor for OracleGenerator. |
Method Summary | |
---|---|
void |
generateHeader(DDLWriter writer)
Generate header comment. |
java.lang.String |
getEngineConfigName()
Get engine configuration file name. |
java.lang.String |
getEngineConfigPath()
Get engine configuration file path. |
java.lang.String |
getEngineName()
Get engine name. |
void |
initialize()
Initialize generator. |
Methods inherited from class org.castor.ddlgen.AbstractGenerator |
---|
createForeignKeyDDL, createIndex, createSchema, generateCreate, generateDDL, generateDrop, generateForeignKey, generateIndex, generateKeyGenerator, generatePrimaryKey, getConfiguration, getMapping, getMappingHelper, getSchema, getSchemaFactory, getTypeMapper, setKeyGenRegistry, setMapping, setMappingHelper, setSchemaFactory, setTypeMapper |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
public static final java.lang.String ENGINE_CONFIG_PATH
public static final java.lang.String ENGINE_CONFIG_NAME
Constructor Detail |
---|
public OracleGenerator(DDLGenConfiguration configuration)
configuration
- Configuration to use by the generator.Method Detail |
---|
public void initialize()
public java.lang.String getEngineName()
public java.lang.String getEngineConfigPath()
public java.lang.String getEngineConfigName()
public void generateHeader(DDLWriter writer)
generateHeader
in class AbstractGenerator
writer
- DDLWriter to write schema objects to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |