Package | Description |
---|---|
oracle.toplink.essentials.tools.schemaframework |
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,ForeignKeyConstraint> |
TableDefinition.foreignKeyMap |
Modifier and Type | Method and Description |
---|---|
protected ForeignKeyConstraint |
TableDefinition.buildForeignKeyConstraint(FieldDefinition field,
DatabasePlatform platform)
Build a foriegn key constraint using FieldDefinition.getForeignKeyFieldName().
|
protected ForeignKeyConstraint |
TableDefinition.buildForeignKeyConstraint(Vector fkFieldNames,
Vector pkFieldNames,
TableDefinition targetTable,
DatabasePlatform platform)
Build a foriegn key constraint.
|
Modifier and Type | Method and Description |
---|---|
Vector<ForeignKeyConstraint> |
TableDefinition.getForeignKeys()
PUBLIC:
Returns the ForeignKeyConstraint list.
|
Modifier and Type | Method and Description |
---|---|
void |
TableDefinition.addForeignKeyConstraint(ForeignKeyConstraint foreignKey)
PUBLIC:
Add a foreign key constraint to the table.
|
Writer |
TableDefinition.buildConstraintCreationWriter(AbstractSession session,
ForeignKeyConstraint foreignKey,
Writer writer)
INTERNAL:
Return the alter table statement to add the constraints.
|
Writer |
TableDefinition.buildConstraintDeletionWriter(AbstractSession session,
ForeignKeyConstraint foreignKey,
Writer writer)
INTERNAL:
Return the alter table statement to drop the constraints.
|
Modifier and Type | Method and Description |
---|---|
void |
TableDefinition.setForeignKeys(Vector<ForeignKeyConstraint> foreignKeys)
PUBLIC:
Set the ForeignKeyConstraint list.
|
Copyright © 2021. All rights reserved.