|
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.edoal.EDOALRelation
public class EDOALRelation
Represents an ontology alignment relation. In fact, for the EDOAL Mapping language, this encodes directions but should be rewritten in order to achive a better implementation I feel this is not used anymore
| Nested Class Summary | |
|---|---|
static class |
EDOALRelation.Direction
Enumeration to distinuish the direction of the mapping. |
| Field Summary | |
|---|---|
protected EDOALRelation.Direction |
direction
|
protected String |
type
It is intended that the value of the relation is =, < or >. |
| Constructor Summary | |
|---|---|
EDOALRelation(EDOALRelation.Direction d)
Creation |
|
EDOALRelation(String t)
Creation |
|
EDOALRelation(String t,
EDOALRelation.Direction d)
Creation: OLD Stuff should disappear |
|
| Method Summary | |
|---|---|
void |
accept(AlignmentVisitor visitor)
|
void |
accept(TypeCheckingVisitor visitor)
|
Relation |
compose(Relation r)
|
void |
dump(ContentHandler h)
Housekeeping |
boolean |
equals(Relation r)
Are the two relations equal |
EDOALRelation.Direction |
getDirection()
printable format |
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 type
protected EDOALRelation.Direction direction
| Constructor Detail |
|---|
public EDOALRelation(String t)
throws AlignmentException
AlignmentExceptionpublic EDOALRelation(EDOALRelation.Direction d)
public EDOALRelation(String t,
EDOALRelation.Direction d)
| Method Detail |
|---|
public void accept(AlignmentVisitor visitor)
throws AlignmentException
accept in interface VisitableAlignmentException
public void accept(TypeCheckingVisitor visitor)
throws AlignmentException
AlignmentExceptionpublic String getRelation()
getRelation in interface Relationpublic EDOALRelation.Direction getDirection()
public Relation compose(Relation r)
compose in interface Relationpublic Relation inverse()
inverse 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 | |||||||||