uk.ac.ic.doc.automed.matching
Class SQLIntegratorMerger

java.lang.Object
  extended by uk.ac.ic.doc.automed.matching.Integrator
      extended by uk.ac.ic.doc.automed.matching.SQLIntegrator
          extended by uk.ac.ic.doc.automed.matching.SQLIntegratorMerger

public class SQLIntegratorMerger
extends SQLIntegrator


Field Summary
 
Fields inherited from class uk.ac.ic.doc.automed.matching.SQLIntegrator
currentS1, currentS2, merged, mergedSchema
 
Fields inherited from class uk.ac.ic.doc.automed.matching.Integrator
disjoints, equivalents, identProperty, overlaps, subsumptions
 
Constructor Summary
SQLIntegratorMerger()
           
 
Method Summary
 void resolveStructuralConflicts()
          Resolves the structural conflicts of the schemas.
 void setRelationships(SchemaElementPairRelationship[] rels)
          Sets the discovered relationships between the schema elements.
 
Methods inherited from class uk.ac.ic.doc.automed.matching.SQLIntegrator
createNewTableName, createNewTableName, equivalentNames, getColumnsOfTable, getRelatedTables, getSchemas, getTables, mergeSchemas, objectNameExistsIn, removeSchemaObject, resolveDisjoints, resolveNamingConflicts, resolveOverlaps, resolveSubsumptions, setSchemas
 
Methods inherited from class uk.ac.ic.doc.automed.matching.Integrator
areRelated, contains, contains, existsIn, existsIn, extendToMatch, findRelated, getAllCombinations, getCombinations, getCombinationsOverMultipleArrays, getCommonRelationship, getElements, getIdentProperty, getRelationship, isRelated, mergeSchemas, removeDuplicates, selectPairs, selectPairs, setIdentProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLIntegratorMerger

public SQLIntegratorMerger()
Method Detail

setRelationships

public void setRelationships(SchemaElementPairRelationship[] rels)
Description copied from class: Integrator
Sets the discovered relationships between the schema elements.

Overrides:
setRelationships in class Integrator
Parameters:
rels - the array of the relationship of the pairs

resolveStructuralConflicts

public void resolveStructuralConflicts()
                                throws IntegratorException,
                                       IntegrityException
Description copied from class: SQLIntegrator
Resolves the structural conflicts of the schemas. This operation is based on the subsumption, overlapness and disjointness relationships between schema elements. Before the structural conflicts are resolved the schemas have to be merged

Overrides:
resolveStructuralConflicts in class SQLIntegrator
Throws:
IntegratorException - if the schemas aren't merged or something goes wrong in the conflict resolution
IntegrityException