uk.ac.ic.doc.automed.matching.relationships
Class Subsumption

java.lang.Object
  extended by uk.ac.ic.doc.automed.matching.relationships.SemanticRelationship
      extended by uk.ac.ic.doc.automed.matching.relationships.Subsumption
Direct Known Subclasses:
Subset, Superset

public abstract class Subsumption
extends SemanticRelationship

The Subsumption class represents the subsumption semantic relationship between SchemaElement objects. This is an abstract class. For instances of this class look at the subclasses Subset,Superset.


Field Summary
protected  java.lang.String NAME
          The name of the Subsumption semantic relationship
protected  java.lang.String REL_BETWEEN_ELEMENTS
           
 
Constructor Summary
Subsumption()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares this object against the specified object.
 java.lang.String getName()
          Returns the name of the SemanticRelationship object
protected  int getStrength()
          Returns the strength of the SemanticRelationship object.
 java.lang.String toString()
           
 
Methods inherited from class uk.ac.ic.doc.automed.matching.relationships.SemanticRelationship
isStronger
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

protected java.lang.String NAME
The name of the Subsumption semantic relationship


REL_BETWEEN_ELEMENTS

protected java.lang.String REL_BETWEEN_ELEMENTS
Constructor Detail

Subsumption

public Subsumption()
Method Detail

getName

public java.lang.String getName()
Description copied from class: SemanticRelationship
Returns the name of the SemanticRelationship object

Specified by:
getName in class SemanticRelationship
Returns:
the name of the SemanticRelationship object

toString

public java.lang.String toString()
Specified by:
toString in class SemanticRelationship

equals

public boolean equals(java.lang.Object o)
Description copied from class: SemanticRelationship
Compares this object against the specified object.

Specified by:
equals in class SemanticRelationship
Returns:
true if the objects are the same, false otherwise.

getStrength

protected int getStrength()
Description copied from class: SemanticRelationship
Returns the strength of the SemanticRelationship object.

Specified by:
getStrength in class SemanticRelationship
Returns:
the strength of the SemanticRelationship object.