|
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.BasicCell
public class BasicCell
Represents an ontology alignment correspondence.
| Field Summary | |
|---|---|
protected Extensions |
extensions
|
protected String |
id
|
protected Object |
object1
|
protected Object |
object2
|
protected Relation |
relation
|
protected String |
semantics
|
protected double |
strength
|
| Constructor Summary | |
|---|---|
BasicCell(String id,
Object ob1,
Object ob2,
Relation rel,
double m)
Creation |
|
| Method Summary | |
|---|---|
void |
accept(AlignmentVisitor visitor)
|
int |
compareTo(Cell c)
Used to order the cells in an alignment: -- this > c iff this.getStrength() < c.getStrength() -- |
Cell |
compose(Cell c)
|
void |
dump(ContentHandler h)
Housekeeping |
boolean |
equals(Cell c)
|
boolean |
equals(Object c)
|
String |
getExtension(String uri,
String label)
|
Collection<String[]> |
getExtensions()
Extensions are a way to read and add other information (metadata) to the Cell structure itself. |
String |
getId()
Creation |
Object |
getObject1()
|
URI |
getObject1AsURI()
Since version 3.3, the interpretation of objects (and thus finding their URI) depends on the Ontology API which is used. |
URI |
getObject1AsURI(Alignment al)
|
Object |
getObject2()
|
URI |
getObject2AsURI()
Since version 3.3, the interpretation of objects (and thus finding their URI) depends on the Ontology API which is used. |
URI |
getObject2AsURI(Alignment al)
|
Relation |
getRelation()
|
String |
getSemantics()
|
double |
getStrength()
|
int |
hashCode()
|
Cell |
inverse()
|
void |
setExtension(String uri,
String label,
String value)
|
void |
setExtensions(Extensions p)
|
void |
setId(String id)
|
void |
setObject1(Object ob)
|
void |
setObject2(Object ob)
|
void |
setRelation(Relation rel)
|
void |
setSemantics(String sem)
|
void |
setStrength(double m)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String id
protected String semantics
protected Object object1
protected Object object2
protected Relation relation
protected double strength
protected Extensions extensions
| Constructor Detail |
|---|
public BasicCell(String id,
Object ob1,
Object ob2,
Relation rel,
double m)
throws AlignmentException
AlignmentException| Method Detail |
|---|
public void accept(AlignmentVisitor visitor)
throws AlignmentException
accept in interface VisitableAlignmentExceptionpublic boolean equals(Object c)
equals in class Objectpublic boolean equals(Cell c)
equals in interface Cellpublic int hashCode()
hashCode in class Objectpublic int compareTo(Cell c)
compareTo in interface Comparable<Cell>public String getId()
Cell
getId in interface Cellpublic void setId(String id)
setId in interface Cellpublic String getSemantics()
getSemantics in interface Cellpublic void setSemantics(String sem)
setSemantics in interface Cellpublic Object getObject1()
getObject1 in interface Cellpublic Object getObject2()
getObject2 in interface Cell
public URI getObject1AsURI()
throws AlignmentException
getObject1AsURI in interface CellAlignmentException
public URI getObject1AsURI(Alignment al)
throws AlignmentException
getObject1AsURI in interface CellAlignmentException
public URI getObject2AsURI()
throws AlignmentException
getObject2AsURI in interface CellAlignmentException
public URI getObject2AsURI(Alignment al)
throws AlignmentException
getObject2AsURI in interface CellAlignmentException
public void setObject1(Object ob)
throws AlignmentException
setObject1 in interface CellAlignmentException
public void setObject2(Object ob)
throws AlignmentException
setObject2 in interface CellAlignmentExceptionpublic Relation getRelation()
getRelation in interface Cellpublic void setRelation(Relation rel)
setRelation in interface Cellpublic double getStrength()
getStrength in interface Cellpublic void setStrength(double m)
setStrength in interface Cellpublic Collection<String[]> getExtensions()
Cell
getExtensions in interface Cellpublic void setExtensions(Extensions p)
public void setExtension(String uri,
String label,
String value)
setExtension in interface Cell
public String getExtension(String uri,
String label)
getExtension in interface Cell
public Cell inverse()
throws AlignmentException
inverse in interface CellAlignmentException
public Cell compose(Cell c)
throws AlignmentException
compose in interface CellAlignmentExceptionpublic void dump(ContentHandler h)
dump in interface Cell
|
Alignment API and Server 4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||