|
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.BasicAlignment
fr.inrialpes.exmo.align.impl.edoal.EDOALAlignment
public class EDOALAlignment
This class is an encapsulation of BasicAlignement so that it creates the structures required by the MappingDocument within the BasicAlignment
JE 2009: Maybe ObjectAlignment could even be better
| Field Summary | |
|---|---|
protected EDOALAlignment |
init
|
protected Hashtable<String,Variable> |
variables
|
| Fields inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment |
|---|
debug, extensions, hash1, hash2, level, namespaces, onto1, onto2, time, type |
| Constructor Summary | |
|---|---|
EDOALAlignment()
|
|
| Method Summary | |
|---|---|
void |
accept(TypeCheckingVisitor visitor)
|
Cell |
addAlignCell(EDOALCell rule)
Cell methods |
Cell |
addAlignCell(Object ob1,
Object ob2)
|
Cell |
addAlignCell(Object ob1,
Object ob2,
String relation,
double measure)
Cells are created and indexed at once |
Cell |
addAlignCell(String id,
Object ob1,
Object ob2,
Relation relation,
double measure)
|
Cell |
addAlignCell(String id,
Object ob1,
Object ob2,
Relation relation,
double measure,
Extensions extensions)
Cell methods |
Object |
clone()
Generate a copy of this alignment object |
Cell |
createCell(String id,
Object ob1,
Object ob2,
Relation relation,
double measure)
|
Cell |
getAlignCell1(Object ob)
Cells are retrieved These primitives are deprecated. |
Cell |
getAlignCell2(Object ob)
//@deprecated There is more than one cell about one object |
Set<Cell> |
getAlignCells1(Object ob)
Cells are retrieved These primitives are deprecated. |
Set<Cell> |
getAlignCells2(Object ob)
|
URI |
getOntology1URI()
|
URI |
getOntology2URI()
|
void |
init(Object onto1,
Object onto2)
Initialize the alignement before using it |
void |
loadInit(Alignment al)
|
Variable |
recordVariable(String name,
Expression expr)
|
void |
setOntology1(Object ontology)
|
void |
setOntology2(Object ontology)
|
| Methods inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment |
|---|
accept, addCell, cleanUp, compose, createNewAlignment, cut, cut, cut2, diff, dump, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getArrayElements, getElements, getExtension, getExtensions, getFile1, getFile2, getLevel, getOntology1, getOntology2, getOntologyObject1, getOntologyObject2, getParameters, getType, getXNamespace, getXNamespaces, harden, ingest, init, inverse, iterator, join, meet, nbCells, remCell, removeAlignCell, render, setExtension, setExtensions, setFile1, setFile2, setLevel, setType, setXNamespace, toURIAlignment |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EDOALAlignment init
protected Hashtable<String,Variable> variables
| Constructor Detail |
|---|
public EDOALAlignment()
| Method Detail |
|---|
public void accept(TypeCheckingVisitor visitor)
throws AlignmentException
AlignmentException
public void init(Object onto1,
Object onto2)
throws AlignmentException
Alignment
init in interface Alignmentinit in class BasicAlignmentAlignmentException
public void loadInit(Alignment al)
throws AlignmentException
AlignmentException
public Variable recordVariable(String name,
Expression expr)
public Cell addAlignCell(EDOALCell rule)
throws AlignmentException
AlignmentException
public Cell addAlignCell(String id,
Object ob1,
Object ob2,
Relation relation,
double measure,
Extensions extensions)
throws AlignmentException
BasicAlignment
addAlignCell in class BasicAlignmentAlignmentException
public Cell addAlignCell(String id,
Object ob1,
Object ob2,
Relation relation,
double measure)
throws AlignmentException
addAlignCell in class BasicAlignmentAlignmentException
public Cell addAlignCell(Object ob1,
Object ob2,
String relation,
double measure)
throws AlignmentException
Alignment
addAlignCell in interface AlignmentaddAlignCell in class BasicAlignmentAlignmentException
public Cell addAlignCell(Object ob1,
Object ob2)
throws AlignmentException
addAlignCell in interface AlignmentaddAlignCell in class BasicAlignmentAlignmentException
public Cell createCell(String id,
Object ob1,
Object ob2,
Relation relation,
double measure)
throws AlignmentException
createCell in class BasicAlignmentAlignmentException
public Set<Cell> getAlignCells1(Object ob)
throws AlignmentException
Alignment
getAlignCells1 in interface AlignmentgetAlignCells1 in class BasicAlignmentAlignmentException
public Set<Cell> getAlignCells2(Object ob)
throws AlignmentException
getAlignCells2 in interface AlignmentgetAlignCells2 in class BasicAlignmentAlignmentException
public Cell getAlignCell1(Object ob)
throws AlignmentException
Alignment
getAlignCell1 in interface AlignmentgetAlignCell1 in class BasicAlignmentAlignmentException
public Cell getAlignCell2(Object ob)
throws AlignmentException
Alignment
getAlignCell2 in interface AlignmentgetAlignCell2 in class BasicAlignmentAlignmentExceptionpublic URI getOntology1URI()
getOntology1URI in interface AlignmentgetOntology1URI in class BasicAlignmentpublic URI getOntology2URI()
getOntology2URI in interface AlignmentgetOntology2URI in class BasicAlignment
public void setOntology1(Object ontology)
throws AlignmentException
setOntology1 in interface AlignmentsetOntology1 in class BasicAlignmentAlignmentException
public void setOntology2(Object ontology)
throws AlignmentException
setOntology2 in interface AlignmentsetOntology2 in class BasicAlignmentAlignmentExceptionpublic Object clone()
clone in interface Alignmentclone in class BasicAlignment
|
Alignment API and Server 4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||