|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use KeyGenerator | |
|---|---|
| org.castor.ddlgen | This package contains functional classes, exceptions and Main class for DDL generator. |
| org.castor.ddlgen.engine.db2 | This package contains final classes to create DDL for DB2. |
| org.castor.ddlgen.engine.hsql | This package contains final classes to create DDL for Hsql. |
| org.castor.ddlgen.engine.oracle | This package contains final classes to create DDL for Oracle. |
| org.castor.ddlgen.engine.postgresql | This package contains final classes to create DDL for PostgreSQL. |
| org.castor.ddlgen.engine.sapdb | This package contains final classes to create DDL for SapDB. |
| org.castor.ddlgen.keygenerator | This package contains various various key generator implementations as well as factory classes for all of the key generators. |
| org.castor.ddlgen.schemaobject | This package contains SchemaObject's for ddl generation including Table, Field, KeyGenerator, Index, Schema,ForeignKey and PrimaryKey. |
| Uses of KeyGenerator in org.castor.ddlgen |
|---|
| Methods in org.castor.ddlgen that return KeyGenerator | |
|---|---|
KeyGenerator |
KeyGeneratorFactory.createKeyGenerator()
Create a default key generator instance with the algorithm the factory is responsible for. |
KeyGenerator |
KeyGeneratorRegistry.createKeyGenerator(KeyGeneratorDef definition)
Create an instance of the key generator specifed by given definiton. |
KeyGenerator |
KeyGeneratorFactory.createKeyGenerator(KeyGeneratorDef definition)
Create a key generator instance from the given definition with the algorithm the factory is responsible for. |
KeyGenerator |
KeyGeneratorRegistry.getKeyGenerator(String alias)
Returns key generator with given alias. |
| Methods in org.castor.ddlgen that return types with arguments of type KeyGenerator | |
|---|---|
Collection<KeyGenerator> |
KeyGeneratorRegistry.getKeyGenerators()
Returns a collection of the current registered key generators. |
| Uses of KeyGenerator in org.castor.ddlgen.engine.db2 |
|---|
| Methods in org.castor.ddlgen.engine.db2 with parameters of type KeyGenerator | |
|---|---|
void |
Db2SequenceKeyGeneratorFactory.toCreateDDL(KeyGenerator key,
DDLWriter writer)
Generate create script for given SEQUENCE key generator. |
void |
Db2SequenceKeyGeneratorFactory.toDropDDL(KeyGenerator key,
DDLWriter writer)
Generate drop script for given SEQUENCE key generator. |
| Uses of KeyGenerator in org.castor.ddlgen.engine.hsql |
|---|
| Methods in org.castor.ddlgen.engine.hsql with parameters of type KeyGenerator | |
|---|---|
void |
HsqlSequenceKeyGeneratorFactory.toCreateDDL(KeyGenerator key,
DDLWriter writer)
Generate create script for given SEQUENCE key generator. |
void |
HsqlSequenceKeyGeneratorFactory.toDropDDL(KeyGenerator key,
DDLWriter writer)
Generate drop script for given SEQUENCE key generator. |
| Uses of KeyGenerator in org.castor.ddlgen.engine.oracle |
|---|
| Methods in org.castor.ddlgen.engine.oracle with parameters of type KeyGenerator | |
|---|---|
void |
OracleSequenceKeyGeneratorFactory.toCreateDDL(KeyGenerator key,
DDLWriter writer)
Generate create script for given SEQUENCE key generator. |
void |
OracleSequenceKeyGeneratorFactory.toDropDDL(KeyGenerator key,
DDLWriter writer)
Generate drop script for given SEQUENCE key generator. |
| Uses of KeyGenerator in org.castor.ddlgen.engine.postgresql |
|---|
| Methods in org.castor.ddlgen.engine.postgresql with parameters of type KeyGenerator | |
|---|---|
void |
PostgresqlSequenceKeyGeneratorFactory.toCreateDDL(KeyGenerator key,
DDLWriter writer)
Generate create script for given SEQUENCE key generator. |
void |
PostgresqlSequenceKeyGeneratorFactory.toDropDDL(KeyGenerator key,
DDLWriter writer)
Generate drop script for given SEQUENCE key generator. |
| Uses of KeyGenerator in org.castor.ddlgen.engine.sapdb |
|---|
| Methods in org.castor.ddlgen.engine.sapdb with parameters of type KeyGenerator | |
|---|---|
void |
SapdbSequenceKeyGeneratorFactory.toCreateDDL(KeyGenerator key,
DDLWriter writer)
Generate create script for given SEQUENCE key generator. |
void |
SapdbSequenceKeyGeneratorFactory.toDropDDL(KeyGenerator key,
DDLWriter writer)
Generate drop script for given SEQUENCE key generator. |
| Uses of KeyGenerator in org.castor.ddlgen.keygenerator |
|---|
| Subclasses of KeyGenerator in org.castor.ddlgen.keygenerator | |
|---|---|
class |
HighLowKeyGenerator
HIGH-LOW key generator will be handled by Castor so no DDL needs to be created. |
class |
IdentityKeyGenerator
IDENTITY key generator can be used only with autoincrement primary key columns (identities) with Sybase ASE/ASA, MS SQL Server, MySQL and Hypersonic SQL. |
class |
MaxKeyGenerator
MAX key generator will be handled by Castor so no DDL needs to be created. |
class |
SequenceKeyGenerator
SEQUENCE key generator can be used only with Oracle, PostgreSQL, Interbase and SAP DB. |
class |
UUIDKeyGenerator
UUID key generator will be handled by Castor so no DDL needs to be created. |
| Methods in org.castor.ddlgen.keygenerator that return KeyGenerator | |
|---|---|
KeyGenerator |
UUIDKeyGeneratorFactory.createKeyGenerator()
Create a default key generator instance with the algorithm the factory is responsible for. |
KeyGenerator |
SequenceKeyGeneratorFactory.createKeyGenerator()
Create a default key generator instance with the algorithm the factory is responsible for. |
KeyGenerator |
MaxKeyGeneratorFactory.createKeyGenerator()
Create a default key generator instance with the algorithm the factory is responsible for. |
KeyGenerator |
IdentityKeyGeneratorFactory.createKeyGenerator()
Create a default key generator instance with the algorithm the factory is responsible for. |
KeyGenerator |
HighLowKeyGeneratorFactory.createKeyGenerator()
Create a default key generator instance with the algorithm the factory is responsible for. |
KeyGenerator |
UUIDKeyGeneratorFactory.createKeyGenerator(KeyGeneratorDef definition)
Create a key generator instance from the given definition with the algorithm the factory is responsible for. |
KeyGenerator |
SequenceKeyGeneratorFactory.createKeyGenerator(KeyGeneratorDef definition)
Create a key generator instance from the given definition with the algorithm the factory is responsible for. |
KeyGenerator |
MaxKeyGeneratorFactory.createKeyGenerator(KeyGeneratorDef definition)
Create a key generator instance from the given definition with the algorithm the factory is responsible for. |
KeyGenerator |
IdentityKeyGeneratorFactory.createKeyGenerator(KeyGeneratorDef definition)
Create a key generator instance from the given definition with the algorithm the factory is responsible for. |
KeyGenerator |
HighLowKeyGeneratorFactory.createKeyGenerator(KeyGeneratorDef definition)
Create a key generator instance from the given definition with the algorithm the factory is responsible for. |
| Methods in org.castor.ddlgen.keygenerator with parameters of type KeyGenerator | |
|---|---|
abstract void |
SequenceKeyGeneratorFactory.toCreateDDL(KeyGenerator key,
DDLWriter writer)
Generate create script for given SEQUENCE key generator. |
abstract void |
SequenceKeyGeneratorFactory.toDropDDL(KeyGenerator key,
DDLWriter writer)
Generate drop script for given SEQUENCE key generator. |
| Uses of KeyGenerator in org.castor.ddlgen.schemaobject |
|---|
| Methods in org.castor.ddlgen.schemaobject that return KeyGenerator | |
|---|---|
KeyGenerator |
Table.getKeyGenerator()
Get key generator used for identities of this table. |
KeyGenerator |
Field.getKeyGenerator()
Get key generator for this field. |
| Methods in org.castor.ddlgen.schemaobject with parameters of type KeyGenerator | |
|---|---|
void |
KeyGenerator.merge(KeyGenerator keygen)
Check wether this key generator is compatible with the given one to allow merge of table definitions. |
void |
Table.setKeyGenerator(KeyGenerator keyGenerator)
Set key generator used for identities of this table. |
void |
Field.setKeyGenerator(KeyGenerator keyGenerator)
Set key generator for this field. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||