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

java.lang.Object
  extended by uk.ac.ic.doc.automed.matching.relationships.SemanticRelationship
      extended by uk.ac.ic.doc.automed.matching.relationships.Incompatibility

public class Incompatibility
extends SemanticRelationship

The Incompatibility class represent the lack of any compatible semantic relationship between SchemaElement objects.


Field Summary
static int INDEX
           
static SemanticRelationship INSTANCE
          The singleton instance of the Incompatibility class
static java.lang.String NAME
          The name of the Incompatibility semantic relationship
static java.lang.String REL_BETWEEN_ELEMENTS
           
 
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
static SemanticRelationship getRelationship()
          Returns an instance of the Incompatibility class.
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
getSemanticRelationship, isStronger
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
The name of the Incompatibility semantic relationship

See Also:
Constant Field Values

REL_BETWEEN_ELEMENTS

public static final java.lang.String REL_BETWEEN_ELEMENTS
See Also:
Constant Field Values

INDEX

public static final int INDEX
See Also:
Constant Field Values

INSTANCE

public static final SemanticRelationship INSTANCE
The singleton instance of the Incompatibility class

Method Detail

getRelationship

public static SemanticRelationship getRelationship()
Returns an instance of the Incompatibility class.

Returns:
an instance of the Incompatibility class.

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.

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.