|
||||||||
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
uk.ac.ic.doc.automed.matching.relationships.Equivalence
public class Equivalence
The Equivalence class represent the equivalence semantic relationship between
SchemaElement
objects.
Field Summary | |
---|---|
static int |
INDEX
|
static SemanticRelationship |
INSTANCE
The singleton instance of the Equivalence class |
static java.lang.String |
NAME
The name of the Equivalence semantic relationship |
static java.lang.String |
REL_BETWEEN_ELEMENTS
|
private static int |
strength
|
Constructor Summary | |
---|---|
private |
Equivalence()
|
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 Equivalence 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 |
---|
public static final java.lang.String NAME
Equivalence
semantic relationship
public static final java.lang.String REL_BETWEEN_ELEMENTS
public static final int INDEX
public static final SemanticRelationship INSTANCE
Equivalence
class
private static final int strength
Constructor Detail |
---|
private Equivalence()
Method Detail |
---|
public static SemanticRelationship getRelationship()
Equivalence
class.
Equivalence
class.public int getIndex()
getIndex
in class SemanticRelationship
protected int getStrength()
SemanticRelationship
SemanticRelationship
object.
getStrength
in class SemanticRelationship
SemanticRelationship
object.public java.lang.String getName()
SemanticRelationship
SemanticRelationship
object
getName
in class SemanticRelationship
SemanticRelationship
objectpublic java.lang.String toString()
toString
in class SemanticRelationship
public boolean equals(java.lang.Object o)
SemanticRelationship
equals
in class SemanticRelationship
true
if the objects are the same, false
otherwise.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |