org.castor.ddlgen.keygenerator

Class MaxKeyGenerator

Implemented Interfaces:
SchemaObject

public final class MaxKeyGenerator
extends KeyGenerator

MAX key generator will be handled by Castor so no DDL needs to be created.
Version:
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Authors:
Le Duc Bao
Ralf Joachim
Since:
1.1

Field Summary

static String
ALGORITHM_NAME
Name of key generator algorithm.

Fields inherited from class org.castor.ddlgen.schemaobject.AbstractSchemaObject

HASHFACTOR

Constructor Summary

MaxKeyGenerator()
Constructor for default MAX key generator.
MaxKeyGenerator(KeyGeneratorDef definition)
Constructor for MAX key generator specified by given defintion.

Method Summary

void
toCreateDDL(DDLWriter writer)
void
toDropDDL(DDLWriter writer)

Methods inherited from class org.castor.ddlgen.schemaobject.KeyGenerator

equals, getAlias, getTable, hashCode, merge, setAlias, setTable

Methods inherited from class org.castor.ddlgen.schemaobject.AbstractSchemaObject

equals, getConfiguration, getName, setConfiguration, setName

Field Details

ALGORITHM_NAME

public static final String ALGORITHM_NAME
Name of key generator algorithm.

Constructor Details

MaxKeyGenerator

public MaxKeyGenerator()
Constructor for default MAX key generator.

MaxKeyGenerator

public MaxKeyGenerator(KeyGeneratorDef definition)
Constructor for MAX key generator specified by given defintion.
Parameters:
definition - Key generator definition.

Method Details

toCreateDDL

public void toCreateDDL(DDLWriter writer)
Specified by:
toCreateDDL in interface SchemaObject

toDropDDL

public void toDropDDL(DDLWriter writer)
Specified by:
toDropDDL in interface SchemaObject

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