org.castor.ddlgen.keygenerator
Class MaxKeyGenerator
java.lang.Object
org.castor.ddlgen.schemaobject.AbstractSchemaObject
org.castor.ddlgen.schemaobject.KeyGenerator
org.castor.ddlgen.keygenerator.MaxKeyGenerator
- All Implemented Interfaces:
- SchemaObject
- public final class MaxKeyGenerator
- extends KeyGenerator
MAX key generator will be handled by Castor so no DDL needs to be created.
- 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 |
ALGORITHM_NAME
Name of key generator algorithm. |
|
Constructor Summary |
MaxKeyGenerator()
Constructor for default MAX key generator. |
MaxKeyGenerator(org.exolab.castor.mapping.xml.KeyGeneratorDef definition)
Constructor for MAX key generator specified by given defintion. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ALGORITHM_NAME
public static final java.lang.String ALGORITHM_NAME
- Name of key generator algorithm.
- See Also:
- Constant Field Values
MaxKeyGenerator
public MaxKeyGenerator()
- Constructor for default MAX key generator.
MaxKeyGenerator
public MaxKeyGenerator(org.exolab.castor.mapping.xml.KeyGeneratorDef definition)
- Constructor for MAX key generator specified by given defintion.
- Parameters:
definition - Key generator definition.
toCreateDDL
public void toCreateDDL(DDLWriter writer)
- Build create script for the schema object.
- Parameters:
writer - DDLWriter to write schema objects to.
toDropDDL
public void toDropDDL(DDLWriter writer)
- Build drop script for the schema object.
- Parameters:
writer - DDLWriter to write schema objects to.
Copyright 2008 null. All Rights Reserved.