EDOALCell (Alignment API and Server)
Date: 2010-03-31

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Alignment API and Server 4.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## fr.inrialpes.exmo.align.impl.edoal
Class EDOALCell

    java.lang.Object
      fr.inrialpes.exmo.align.impl.BasicCell
          fr.inrialpes.exmo.align.impl.edoal.EDOALCell

All Implemented Interfaces:
  Comparable<Cell>, Cell, Visitable

    public class EDOALCell

extends BasicCell

This implements a particular of ontology correspondence when it is a correspondence from the EDOAL Mapping Language. The current implementation of this class consists of encapsulating the EDOAL Mapping Rule object and reimplementing the ALignment API accessors around it. This is fine but there is another implementation that would be more satisfactory: Reimplementing the EDOAL Mapping Rules in terms of a proper Cell with: id: URI id object1: Resource source object2: Resource target relation: The class name of the rule measure: float measure -- no real use of direction.

Version:
  $Id: EDOALCell.java 1338 2010-03-18 21:33:00Z euzenat $
Author:
  Jérôme Euzenat

Field Summary
`private URI` | `id`

Fields inherited from class fr.inrialpes.exmo.align.impl.BasicCell
`extensions, object1, object2, relation, semantics, strength`

Constructor Summary
`EDOALCell(String id, Expression ob1, Expression ob2, EDOALRelation rel, double m)` Creation

Method Summary
`void` | `accept(AlignmentVisitor visitor)`
`void` | `accept(TypeCheckingVisitor visitor)`
`URI` | `getObject1AsURI(Alignment al)`
`URI` | `getObject2AsURI(Alignment al)`
`Cell` | `inverse()`

Methods inherited from class fr.inrialpes.exmo.align.impl.BasicCell
`compareTo, compose, dump, equals, equals, getExtension, getExtensions, getId, getObject1, getObject1AsURI, getObject2, getObject2AsURI, getRelation, getSemantics, getStrength, hashCode, setExtension, setExtensions, setId, setObject1, setObject2, setRelation, setSemantics, setStrength`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### id

    private URI id

Constructor Detail

### EDOALCell

    public EDOALCell(String id,
                     Expression ob1,
                     Expression ob2,
                     EDOALRelation rel,
                     double m)
              throws AlignmentException

  Creation

  Throws:
    `AlignmentException`

Method Detail

### accept

    public void accept(AlignmentVisitor visitor)
                throws AlignmentException

  Specified by:
    `accept` in interface `Visitable`
  Overrides:
    `accept` in class `BasicCell`
  Throws:
    `AlignmentException`

### accept

    public void accept(TypeCheckingVisitor visitor)
                throws AlignmentException

  Throws:
    `AlignmentException`

### getObject1AsURI

    public URI getObject1AsURI(Alignment al)
                        throws AlignmentException

  Specified by:
    `getObject1AsURI` in interface `Cell`
  Overrides:
    `getObject1AsURI` in class `BasicCell`
  Throws:
    `AlignmentException`

### getObject2AsURI

    public URI getObject2AsURI(Alignment al)
                        throws AlignmentException

  Specified by:
    `getObject2AsURI` in interface `Cell`
  Overrides:
    `getObject2AsURI` in class `BasicCell`
  Throws:
    `AlignmentException`

### inverse

    public Cell inverse()
                 throws AlignmentException

  Specified by:
    `inverse` in interface `Cell`
  Overrides:
    `inverse` in class `BasicCell`
  Throws:
    `AlignmentException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Alignment API and Server 4.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

(C) INRIA & friends, 2003-2010