|
|||||||||
| 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
public class SchemaElementPair
The SchemaElementPair class that represents a pair of schema elements.
SchemaElement| Constructor Summary | |
|---|---|
SchemaElementPair(SchemaElement elementA,
SchemaElement elementB)
Constructs a SchemaElementPair object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares this object against the specified object. |
SchemaElement |
getElement(int index)
Returns the SchemaElement object at the specified index in the pair. |
SchemaElement |
getFirstElement()
Returns the first SchemaElement object of the pair. |
SchemaElement |
getSecondElement()
Returns the second SchemaElement object of the pair. |
int |
hashCode()
|
void |
setFirstElement(SchemaElement e)
|
void |
setSecondElement(SchemaElement e)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaElementPair(SchemaElement elementA,
SchemaElement elementB)
SchemaElementPair object.
elementA - the first element of the pairelementB - the second element of the pair| Method Detail |
|---|
public SchemaElement getFirstElement()
SchemaElement object of the pair.
SchemaElement object of the pair.public SchemaElement getSecondElement()
SchemaElement object of the pair.
SchemaElement object of the pair.public void setFirstElement(SchemaElement e)
public void setSecondElement(SchemaElement e)
public SchemaElement getElement(int index)
throws java.lang.IndexOutOfBoundsException
SchemaElement object at the specified index in the pair. The value of
the index can be either zero or one.
SchemaElement object at the specified index in the pair.
IndexOutOfBoundException - if index is different from zero or one.
java.lang.IndexOutOfBoundsExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
SchemaElementPair
objects are equivalent if they contain equivalent SchemaElement objects
irrespective of their indeces in the pairs.
equals in class java.lang.Objecttrue if the objects are the same, false otherwise.public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||