INRIA & UMontrŽal

fr.inrialpes.exmo.align.impl
Class BasicRelation

java.lang.Object
  extended byfr.inrialpes.exmo.align.impl.BasicRelation
All Implemented Interfaces:
Relation
Direct Known Subclasses:
EquivRelation, IncompatRelation, SubsumedRelation, SubsumeRelation

public class BasicRelation
extends java.lang.Object
implements Relation

Represents an OWL ontology alignment. An ontology comprises a number of collections. Each ontology has a number of classes, properties and individuals, along with a number of axioms asserting information about those objects.

Version:
$Id: BasicRelation.java,v 1.6 2004/11/23 09:25:48 euzenat Exp $
Author:
Jérôme Euzenat

Field Summary
protected  java.lang.String relation
          It is intended that the value of the relation is =, < or >.
 
Constructor Summary
BasicRelation(java.lang.String rel)
          Creation
 
Method Summary
 void accept(AlignmentVisitor visitor)
          Creation
 void dump(org.xml.sax.ContentHandler h)
          Housekeeping
 Relation inverse()
          By default the inverse is the relation itself
 void write(java.io.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

relation

protected java.lang.String relation
It is intended that the value of the relation is =, < or >. But this can be any string in other applications.

Constructor Detail

BasicRelation

public BasicRelation(java.lang.String rel)
Creation

Method Detail

accept

public void accept(AlignmentVisitor visitor)
            throws AlignmentException
Description copied from interface: Relation
Creation

Specified by:
accept in interface Relation
Throws:
AlignmentException

inverse

public Relation inverse()
By default the inverse is the relation itself

Specified by:
inverse in interface Relation

dump

public void dump(org.xml.sax.ContentHandler h)
Housekeeping

Specified by:
dump in interface Relation

write

public void write(java.io.PrintWriter writer)
This is kept for displayig more correctly the result

Specified by:
write in interface Relation

INRIA & UMontrŽal

..no bottom yet...