|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ic.doc.automed.matching.DegreeCombinator
public class DegreeCombinator
The class that represents the Degree Combinator component in the schema matching architecture. Its role is to define the semantic relationships of the aggregated schema element pairs
SimilarSchemaElementPair
,
CheckExistenceModule
,
PrecisionModule
,
NumberInstancesModule
,
BidirectionalMap
Constructor Summary | |
---|---|
DegreeCombinator(SimilarSchemaElementPair[] pairs)
Constructs the DegreeCombinator for the specified aggregated pairs of elements. |
Method Summary | |
---|---|
SchemaElementPairRelationship[] |
getRelationships(BidirectionalMap map)
Returns the semantic relationships of the schema elements based on the areas of the BidirectionalMap . |
void |
setExistenceModule(AbstractModule module)
Sets the CheckExistenceModule of this DegreeCombinator |
void |
setNumberInstancesModule(AbstractModule module)
Sets the number of instances module of this DegreeCombinator |
void |
setPrecisionModule(AbstractModule module)
Sets the PrecisionModule of this DegreeCombinator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DegreeCombinator(SimilarSchemaElementPair[] pairs) throws UninstantiatedException
DegreeCombinator
for the specified aggregated pairs of elements.
pairs
- the array of aggregated schema elements
UnistantiatedException
- if the are no pairs of elements in the array
UninstantiatedException
Method Detail |
---|
public void setNumberInstancesModule(AbstractModule module)
DegreeCombinator
module
- the number of instances modulepublic void setExistenceModule(AbstractModule module)
CheckExistenceModule
of this DegreeCombinator
module
- the CheckExistenceModule
public void setPrecisionModule(AbstractModule module)
PrecisionModule
of this DegreeCombinator
module
- the PrecisionModule
public SchemaElementPairRelationship[] getRelationships(BidirectionalMap map) throws UninstantiatedException, RelationshipConflictException
BidirectionalMap
.
map
- the bidirectional map
BidirectionalMap
UninstantiatedException
- if the modules have not been set or a pair cannot be detected in one of them
RelationshipConflictException
- if the relationships in the modules conflict
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |