|
Alignment API and Server 4.1.${version.update} | |||||||||
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 Visitable
AlignmentException
public boolean equals(Object c)
equals
in class Object
public boolean equals(Cell c)
equals
in interface Cell
public int hashCode()
hashCode
in class Object
public int compareTo(Cell c)
compareTo
in interface Comparable<Cell>
public String getId()
Cell
getId
in interface Cell
public void setId(String id)
setId
in interface Cell
public String getSemantics()
getSemantics
in interface Cell
public void setSemantics(String sem)
setSemantics
in interface Cell
public Object getObject1()
getObject1
in interface Cell
public Object getObject2()
getObject2
in interface Cell
public URI getObject1AsURI() throws AlignmentException
getObject1AsURI
in interface Cell
AlignmentException
public URI getObject1AsURI(Alignment al) throws AlignmentException
getObject1AsURI
in interface Cell
AlignmentException
public URI getObject2AsURI() throws AlignmentException
getObject2AsURI
in interface Cell
AlignmentException
public URI getObject2AsURI(Alignment al) throws AlignmentException
getObject2AsURI
in interface Cell
AlignmentException
public void setObject1(Object ob) throws AlignmentException
setObject1
in interface Cell
AlignmentException
public void setObject2(Object ob) throws AlignmentException
setObject2
in interface Cell
AlignmentException
public Relation getRelation()
getRelation
in interface Cell
public void setRelation(Relation rel)
setRelation
in interface Cell
public double getStrength()
getStrength
in interface Cell
public void setStrength(double m)
setStrength
in interface Cell
public Collection<String[]> getExtensions()
Cell
getExtensions
in interface Cell
public 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 Cell
AlignmentException
public Cell compose(Cell c) throws AlignmentException
compose
in interface Cell
AlignmentException
public void dump(ContentHandler h)
dump
in interface Cell
|
Alignment API and Server 4.1.${version.update} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |