|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.matching.SchemaElementPair
uk.ac.ic.doc.automed.matching.SchemaElementPairRelationship
public class SchemaElementPairRelationship
The SchemaElementPairRelationship class that represents a pair of schema elements and their relationship. Note that the order of the SchemaElement objects in the pair is important, since the semantic relationship is directed.
SemanticRelationship| Constructor Summary | |
|---|---|
SchemaElementPairRelationship(SchemaElement elementA,
SchemaElement elementB,
SemanticRelationship rel)
Constructs a SchemaElementPairRelationship object. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a clone of the SchemaElementPairRelationship object. |
SemanticRelationship |
getRelationship()
Returns the semantic relationship between the first and the second element in the pair. |
void |
setRelationship(SemanticRelationship sr)
Sets the semantic relationship between the first and the second element in the pair. |
java.lang.String |
toString()
|
| Methods inherited from class uk.ac.ic.doc.automed.matching.SchemaElementPair |
|---|
equals, getElement, getFirstElement, getSecondElement, hashCode, setFirstElement, setSecondElement |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaElementPairRelationship(SchemaElement elementA,
SchemaElement elementB,
SemanticRelationship rel)
SchemaElementPairRelationship object. The semantic relationship is directed and its direction is from the first element to the second element of the pair.
elementA - the first element of the pairelementB - the second element of the pairrel - the relationship between the two elements| Method Detail |
|---|
public SemanticRelationship getRelationship()
public java.lang.String toString()
toString in class SchemaElementPairpublic void setRelationship(SemanticRelationship sr)
sr - the semantic relationship between the first and the second element in the pair.public java.lang.Object clone()
SchemaElementPairRelationship object.
clone in class java.lang.ObjectSchemaElementPairRelationship object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||