org.castor.ddlgen.engine.sybase
Class SybaseGenerator

java.lang.Object
  extended by org.castor.ddlgen.AbstractGenerator
      extended by org.castor.ddlgen.engine.sybase.SybaseGenerator
All Implemented Interfaces:
Generator

public final class SybaseGenerator
extends AbstractGenerator

Generator for Sybase.

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
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
SybaseGenerator(DDLGenConfiguration configuration)
          Constructor for SybaseGenerator.
 
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

NAME

public static final java.lang.String NAME
Name of database engine.

See Also:
Constant Field Values

ENGINE_CONFIG_PATH

public static final java.lang.String ENGINE_CONFIG_PATH
Path to specific configuration for generator.

See Also:
Constant Field Values

ENGINE_CONFIG_NAME

public static final java.lang.String ENGINE_CONFIG_NAME
Filename of specific configuration for generator.

See Also:
Constant Field Values
Constructor Detail

SybaseGenerator

public SybaseGenerator(DDLGenConfiguration configuration)
Constructor for SybaseGenerator.

Parameters:
configuration - Configuration to use by the generator.
Method Detail

initialize

public void initialize()
Initialize generator.


getEngineName

public java.lang.String getEngineName()
Get engine name.

Returns:
Engine name

getEngineConfigPath

public java.lang.String getEngineConfigPath()
Get engine configuration file path.

Returns:
Engine configuration file path

getEngineConfigName

public java.lang.String getEngineConfigName()
Get engine configuration file name.

Returns:
Engine configuration file name

generateHeader

public void generateHeader(DDLWriter writer)
Generate header comment.

Specified by:
generateHeader in class AbstractGenerator
Parameters:
writer - DDLWriter to write schema objects to.


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com