Package org.castor.ddlgen.engine.oracle
Class OracleGenerator
java.lang.Object
org.castor.ddlgen.AbstractGenerator
org.castor.ddlgen.engine.oracle.OracleGenerator
- All Implemented Interfaces:
Generator
Generator for Oracle.
- Since:
- 1.1
- Version:
- $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Le Duc Bao, Ralf Joachim
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Filename of specific configuration for generator.static final String
Path to specific configuration for generator.static final String
Name of database engine.Fields inherited from interface org.castor.ddlgen.Generator
GLOBAL_CONFIG_NAME, GLOBAL_CONFIG_PATH
-
Constructor Summary
ConstructorsConstructorDescriptionOracleGenerator
(DDLGenConfiguration configuration) Constructor for OracleGenerator. -
Method Summary
Modifier and TypeMethodDescriptionvoid
generateHeader
(DDLWriter writer) Generate header comment.Get engine configuration file name.Get engine configuration file path.Get engine name.void
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
-
Field Details
-
NAME
Name of database engine.- See Also:
-
ENGINE_CONFIG_PATH
Path to specific configuration for generator.- See Also:
-
ENGINE_CONFIG_NAME
Filename of specific configuration for generator.- See Also:
-
-
Constructor Details
-
OracleGenerator
Constructor for OracleGenerator.- Parameters:
configuration
- Configuration to use by the generator.
-
-
Method Details
-
initialize
public void initialize()Initialize generator. -
getEngineName
Get engine name.- Returns:
- Engine name
-
getEngineConfigPath
Get engine configuration file path.- Returns:
- Engine configuration file path
-
getEngineConfigName
Get engine configuration file name.- Returns:
- Engine configuration file name
-
generateHeader
Generate header comment.- Specified by:
generateHeader
in classAbstractGenerator
- Parameters:
writer
- DDLWriter to write schema objects to.
-