public abstract class Decomposition extends java.lang.Object implements NormalizationAlgorithm
Modifier and Type | Field and Description |
---|---|
protected GeneralRelationCheck |
checker |
Constructor and Description |
---|
Decomposition() |
Modifier and Type | Method and Description |
---|---|
RelationSchema |
getMinimalRelation(RelationSchema relationToNormalize) |
void |
updatePrimaryAndForeignKeys(RelationSchema oldRelation,
RelationSchema newRelation,
java.util.ArrayList<ForeignKeyConstraint> foreignKeys)
Updates the primary- and foreignKeys of the given relations
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
normalize
protected GeneralRelationCheck checker
public RelationSchema getMinimalRelation(RelationSchema relationToNormalize)
public void updatePrimaryAndForeignKeys(RelationSchema oldRelation, RelationSchema newRelation, java.util.ArrayList<ForeignKeyConstraint> foreignKeys)
oldRelation
- the old relationnewRelation
- the newly created relationforeignKeys
- a ArrayList as Container for new foreignKeys