|
Alignment API and Server 4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.inrialpes.exmo.align.impl.BasicRelation
public class BasicRelation
Represents an ontology alignment relation.
| Field Summary | |
|---|---|
protected String |
relation
It is intended that the value of the relation is =, < or >. |
| Constructor Summary | |
|---|---|
BasicRelation(String rel)
Creation |
|
| Method Summary | |
|---|---|
void |
accept(AlignmentVisitor visitor)
|
Relation |
compose(Relation r)
By default... |
static Relation |
createRelation(String rel)
|
void |
dump(ContentHandler h)
Housekeeping |
boolean |
equals(Relation r)
Are the two relations equal |
String |
getRelation()
printable format |
int |
hashCode()
|
Relation |
inverse()
By default the inverse is the relation itself |
void |
write(PrintWriter writer)
This is kept for displayig more correctly the result |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String relation
| Constructor Detail |
|---|
public BasicRelation(String rel)
| Method Detail |
|---|
public void accept(AlignmentVisitor visitor)
throws AlignmentException
accept in interface VisitableAlignmentExceptionpublic String getRelation()
getRelation in interface Relationpublic static Relation createRelation(String rel)
public Relation inverse()
inverse in interface Relationpublic Relation compose(Relation r)
compose in interface Relationpublic boolean equals(Relation r)
equals in interface Relationpublic int hashCode()
hashCode in class Objectpublic void dump(ContentHandler h)
dump in interface Relationpublic void write(PrintWriter writer)
write in interface Relation
|
Alignment API and Server 4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||