RelationshipExtractor
Keywords: uk.ac.ic.doc.automed.matching.RelationshipExtractor,RelationshipExtractor class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`RelationshipExtractor()`

Method Summary
`protected SemanticRelationship` | `combineRelationships(SemanticRelationship rel1, SemanticRelationship rel2)`
`protected static boolean` | `containsRelationship(SemanticRelationship[] rels, SemanticRelationship rel)`
`protected SchemaElementPairRelationship[]` | `findAtomicRelationships(SchemaObject[] sos1, SchemaObject[] sos2)`
`protected SchemaElementPairRelationship[]` | `findAtomicRelationships(SchemaObject object, SchemaObject[] objects)`
`protected java.util.ArrayList` | `getAllCombinations(java.lang.Object[] pairs1, java.lang.Object[] pairs2)`
`protected SemanticRelationship` | `getAtomicRelationship(SchemaElementPair pair)`
`protected java.util.ArrayList` | `getAtomicRelationshipCombinations(SchemaObject[] objects1, SchemaObject[] objects2)`
`protected SemanticRelationship` | `getNonAtomicRelationship(SchemaElementPair pair)`
`protected SemanticRelationship` | `getRelationship(SchemaElementPair pair)`
`protected SemanticRelationship` | `getRelationship(SchemaElementPairRelationship[] pairs)`
`abstract SchemaElementPairRelationship[]` | `getRelationships()`
`protected SemanticRelationship[]` | `getRelationships(java.util.ArrayList relationshipPairs)`
`protected static SemanticRelationship` | `getWeakestRelationship(SemanticRelationship[] rels)`
`protected SchemaElementPairRelationship[]` | `removeDuplicates(SchemaElementPairRelationship[] hasDups)`
`protected SchemaElementPairRelationship` | `reverseRelationshipPair(SchemaElementPairRelationship rel)`
`protected SchemaElementPairRelationship[]` | `reverseRelationshipPairs(SchemaElementPairRelationship[] rels)`
`void` | `setAtomicPairRelationships(SchemaElementPairRelationship[] atomic)`
`void` | `setNonAtomicPairRelationships(SchemaElementPairRelationship[] nonatomic)`
`abstract void` | `setSchemas(Schema[] schemas)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RelationshipExtractor

    public RelationshipExtractor()

Method Detail

### 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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD