org.castor.ddlgen.keygenerator
public final class IdentityKeyGenerator extends KeyGenerator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALGORITHM_NAME
Name of key generator algorithm.
|
HASHFACTOR
Constructor and Description |
---|
IdentityKeyGenerator()
Constructor for default IDENTITY key generator.
|
IdentityKeyGenerator(KeyGeneratorDef definition)
Constructor for IDENTITY key generator specified by given defintion.
|
Modifier and Type | Method and Description |
---|---|
void |
toCreateDDL(DDLWriter writer)
Build create script for the schema object.
|
void |
toDropDDL(DDLWriter writer)
Build drop script for the schema object.
|
equals, getAlias, getTable, hashCode, merge, setAlias, setTable
equals, getConfiguration, getName, setConfiguration, setName
public static final java.lang.String ALGORITHM_NAME
public IdentityKeyGenerator()
public IdentityKeyGenerator(KeyGeneratorDef definition)
definition
- Key generator definition.public void toCreateDDL(DDLWriter writer)
writer
- DDLWriter to write schema objects to.public void toDropDDL(DDLWriter writer)
writer
- DDLWriter to write schema objects to.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com