|
Alignment API and Server 3.5 | |||||||||
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)
Creation |
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 |
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, hashCode, 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
Relation
accept
in interface Relation
AlignmentException
public String getRelation()
public static Relation createRelation(String rel)
public Relation inverse()
inverse
in interface Relation
public Relation compose(Relation r)
compose
in interface Relation
public boolean equals(Relation r)
equals
in interface Relation
public void dump(ContentHandler h)
dump
in interface Relation
public void write(PrintWriter writer)
write
in interface Relation
|
Alignment API and Server 3.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |