|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.matching.relationships.SemanticRelationship
public abstract class SemanticRelationship
The SemanticRelationship class represents the semantic relationship between two schema elements.
Semantic relationships are directed, i.e. the relationship between two elements A,B
depends on the direction that they are compared.
There are four types of semantic relationships: equivalence, subsumption, overlapness and disjointness. Subsumption can either be a subset or a superset. Relationships have strength. The strongest relationship is equivalence and the weakest is disjointness.
| Constructor Summary | |
|---|---|
SemanticRelationship()
|
|
| Method Summary | |
|---|---|
abstract boolean |
equals(java.lang.Object o)
Compares this object against the specified object. |
abstract java.lang.String |
getName()
Returns the name of the SemanticRelationship object |
static SemanticRelationship |
getSemanticRelationship(int index)
|
protected abstract int |
getStrength()
Returns the strength of the SemanticRelationship object. |
boolean |
isStronger(SemanticRelationship rel)
Returns true if this object's relationship is stronger that the specified object's relationship. |
abstract java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SemanticRelationship()
| Method Detail |
|---|
public abstract java.lang.String getName()
SemanticRelationship object
SemanticRelationship objectpublic abstract boolean equals(java.lang.Object o)
equals in class java.lang.Objecttrue if the objects are the same, false otherwise.public abstract java.lang.String toString()
toString in class java.lang.Objectprotected abstract int getStrength()
SemanticRelationship object.
SemanticRelationship object.public boolean isStronger(SemanticRelationship rel)
true if this object's relationship is stronger that the specified object's relationship.
true if this object's relationship is stronger that the specified object's re
lationship, false otherwise.public static SemanticRelationship getSemanticRelationship(int index)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||