de.fesenmeyer.dbnormalizer.core.algorithms
Class NormalizationFKsProposal

java.lang.Object
  extended by de.fesenmeyer.dbnormalizer.core.algorithms.NormalizationFKsProposal

public class NormalizationFKsProposal
extends Object

Proposal of foreign keys (FKs) to be defined between the created tables of a normalization proposal.

Author:
DF
See Also:
NormalizationFKsDetermination

Field Summary
private  Collection<FK> exportedFKs
          The FKs to be defined due to the old table's exported keys.
private  Collection<FK> hierarchicalFKs
          The FKs to be defined due to FKs between the old table's attributes ("hierarchical FKs").
private  Collection<FK> importedFKs
          The FKs to be defined due to the old table's imported keys.
private  Collection<FK> innerFKS
          The FKs to be defined between the created tables of the normalization proposal.
 
Constructor Summary
NormalizationFKsProposal()
          Class Constructor.
 
Method Summary
 Collection<FK> getExportedFKs()
          Gets the FKs to be defined due to the old table's exported keys.
 Collection<FK> getHierarchicalFKs()
          Gets the FKs to be defined due to FKs between the old table's attributes ("hierarchical FKs").
 Collection<FK> getImportedFKs()
          Gets the FKs to be defined due to the old table's imported keys.
 Collection<FK> getInnerFKS()
          Gets the FKs to be defined between the created tables of the normalization proposal.
 void setExportedFKs(Collection<FK> exportedFKs)
          Sets the FKs to be defined due to the old table's exported keys.
 void setHierarchicalFKs(Collection<FK> hierarchicalFKs)
          Sets the FKs to be defined due to FKs between the old table's attributes ("hierarchical FKs").
 void setImportedFKs(Collection<FK> importedFKs)
          Sets the FKs to be defined due to the old table's imported keys.
 void setInnerFKS(Collection<FK> innerFKS)
          Sets the FKs to be defined between the created tables of the normalization proposal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

innerFKS

private Collection<FK> innerFKS
The FKs to be defined between the created tables of the normalization proposal.


importedFKs

private Collection<FK> importedFKs
The FKs to be defined due to the old table's imported keys.


exportedFKs

private Collection<FK> exportedFKs
The FKs to be defined due to the old table's exported keys.


hierarchicalFKs

private Collection<FK> hierarchicalFKs
The FKs to be defined due to FKs between the old table's attributes ("hierarchical FKs").

Constructor Detail

NormalizationFKsProposal

public NormalizationFKsProposal()
Class Constructor.

Method Detail

getInnerFKS

public Collection<FK> getInnerFKS()
Gets the FKs to be defined between the created tables of the normalization proposal.

Returns:
a collection of FKs

setInnerFKS

public void setInnerFKS(Collection<FK> innerFKS)
Sets the FKs to be defined between the created tables of the normalization proposal.

Parameters:
innerFKS - a collection of FKs

getImportedFKs

public Collection<FK> getImportedFKs()
Gets the FKs to be defined due to the old table's imported keys.

Returns:
a collection of FKs

setImportedFKs

public void setImportedFKs(Collection<FK> importedFKs)
Sets the FKs to be defined due to the old table's imported keys.

Parameters:
importedFKs - a collection of FKs

getExportedFKs

public Collection<FK> getExportedFKs()
Gets the FKs to be defined due to the old table's exported keys.

Returns:
a collection of FKs

setExportedFKs

public void setExportedFKs(Collection<FK> exportedFKs)
Sets the FKs to be defined due to the old table's exported keys.

Parameters:
exportedFKs - a collection of FKs

getHierarchicalFKs

public Collection<FK> getHierarchicalFKs()
Gets the FKs to be defined due to FKs between the old table's attributes ("hierarchical FKs").

Returns:
a collection of FKs

setHierarchicalFKs

public void setHierarchicalFKs(Collection<FK> hierarchicalFKs)
Sets the FKs to be defined due to FKs between the old table's attributes ("hierarchical FKs").

Parameters:
hierarchicalFKs - a collection of FKs