uk.ac.ic.doc.automed.matching
Class RelationshipExtractor
java.lang.Object
|
+--uk.ac.ic.doc.automed.matching.RelationshipExtractor
- Direct Known Subclasses:
- SQLRelationshipExtractor
- public abstract class RelationshipExtractor
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelationshipExtractor
public RelationshipExtractor()
getRelationships
public abstract SchemaElementPairRelationship[] getRelationships()
throws RelationshipExtractorException
RelationshipExtractorException
setSchemas
public abstract void setSchemas(Schema[] schemas)
setNonAtomicPairRelationships
public void setNonAtomicPairRelationships(SchemaElementPairRelationship[] nonatomic)
setAtomicPairRelationships
public void setAtomicPairRelationships(SchemaElementPairRelationship[] atomic)
findAtomicRelationships
protected SchemaElementPairRelationship[] findAtomicRelationships(SchemaObject[] sos1,
SchemaObject[] sos2)
getRelationship
protected SemanticRelationship getRelationship(SchemaElementPair pair)
getAtomicRelationship
protected SemanticRelationship getAtomicRelationship(SchemaElementPair pair)
getNonAtomicRelationship
protected SemanticRelationship getNonAtomicRelationship(SchemaElementPair pair)
getWeakestRelationship
protected static SemanticRelationship getWeakestRelationship(SemanticRelationship[] rels)
containsRelationship
protected static boolean containsRelationship(SemanticRelationship[] rels,
SemanticRelationship rel)
getRelationships
protected SemanticRelationship[] getRelationships(java.util.ArrayList relationshipPairs)
getRelationship
protected SemanticRelationship getRelationship(SchemaElementPairRelationship[] pairs)
combineRelationships
protected SemanticRelationship combineRelationships(SemanticRelationship rel1,
SemanticRelationship rel2)
getAtomicRelationshipCombinations
protected java.util.ArrayList getAtomicRelationshipCombinations(SchemaObject[] objects1,
SchemaObject[] objects2)
throws RelationshipExtractorException
RelationshipExtractorException
getAllCombinations
protected java.util.ArrayList getAllCombinations(java.lang.Object[] pairs1,
java.lang.Object[] pairs2)
removeDuplicates
protected SchemaElementPairRelationship[] removeDuplicates(SchemaElementPairRelationship[] hasDups)
findAtomicRelationships
protected SchemaElementPairRelationship[] findAtomicRelationships(SchemaObject object,
SchemaObject[] objects)
reverseRelationshipPairs
protected SchemaElementPairRelationship[] reverseRelationshipPairs(SchemaElementPairRelationship[] rels)
reverseRelationshipPair
protected SchemaElementPairRelationship reverseRelationshipPair(SchemaElementPairRelationship rel)