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

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

public class Overlapness
extends SemanticRelationship

The Overlapness class represent the overlapness semantic relationship between SchemaElement objects.


Field Summary
static int INDEX
           
static SemanticRelationship INSTANCE
          The singleton instance of the Overlapness class
static java.lang.String NAME
          The name of the Overlapcess semantic relationship
static java.lang.String REL_BETWEEN_ELEMENTS
           
private static int strength
           
 
Constructor Summary
private Overlapness()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Compares this object against the specified object.
 int getIndex()
           
 java.lang.String getName()
          Returns the name of the SemanticRelationship object
static SemanticRelationship getRelationship()
          Returns an instance of the Overlapness 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 Overlapcess 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 Overlapness class


strength

private static final int strength
See Also:
Constant Field Values
Constructor Detail

Overlapness

private Overlapness()
Method Detail

getRelationship

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

Returns:
an instance of the Overlapness class.

getIndex

public int getIndex()
Specified by:
getIndex in class SemanticRelationship

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.