|
Alignment API and Server 3.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Alignment
Represents an Ontology alignment.
Method Summary | |
---|---|
void |
accept(AlignmentVisitor visitor)
Alignment methods |
Cell |
addAlignCell(Object ob1,
Object ob2)
|
Cell |
addAlignCell(Object ob1,
Object ob,
String relation,
double measure)
Cells are created and indexed at once |
Alignment |
compose(Alignment align)
|
void |
cut(double threshold)
|
void |
cut(String method,
double threshold)
|
Alignment |
diff(Alignment align)
|
void |
dump(ContentHandler h)
Dump should be implemented as a method generating SAX events for a SAXHandler provided as input |
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)
|
Object |
getAlignedObject1(Object ob)
Each part of the cell can be queried independently. |
Object |
getAlignedObject2(Object ob)
|
Relation |
getAlignedRelation1(Object ob)
|
Relation |
getAlignedRelation2(Object ob)
|
double |
getAlignedStrength1(Object ob)
|
double |
getAlignedStrength2(Object ob)
|
Enumeration<Cell> |
getElements()
|
String |
getExtension(String uri,
String label)
|
Parameters |
getExtensions()
Extensions are a way to read and add other information (metadata) to the alignment structure itself. |
URI |
getFile1()
|
URI |
getFile2()
|
String |
getLevel()
|
Object |
getOntology1()
The alignment has reference to the two aligned ontology. |
URI |
getOntology1URI()
|
Object |
getOntology2()
|
URI |
getOntology2URI()
|
String |
getType()
|
void |
harden(double threshold)
|
void |
init(Object onto1,
Object onto2)
Initialize the alignement before using it |
void |
init(Object onto1,
Object onto2,
Object cache)
Initialize the alignement before using it, with some ontology caching trick //@deprecated The OntologyCache is now internal, use init( onto1, onto2 ) instead |
Alignment |
inverse()
Algebra of alignment manipulation operations: compose, join, meet. |
Iterator<Cell> |
iterator()
|
Alignment |
join(Alignment align)
|
Alignment |
meet(Alignment align)
|
int |
nbCells()
|
void |
render(AlignmentVisitor renderer)
Exporting The alignments are exported for other purposes. |
void |
setExtension(String uri,
String label,
String value)
|
void |
setFile1(URI type)
Alignment type: Currently defined a sa String. |
void |
setFile2(URI type)
|
void |
setLevel(String level)
Alignment type: Currently defined a sa String. |
void |
setOntology1(Object ontology)
|
void |
setOntology2(Object ontology)
|
void |
setType(String type)
Alignment type: Currently defined a sa String. |
Method Detail |
---|
void init(Object onto1, Object onto2) throws AlignmentException
AlignmentException
void init(Object onto1, Object onto2, Object cache) throws AlignmentException
AlignmentException
void accept(AlignmentVisitor visitor) throws AlignmentException
AlignmentException
Object getOntology1()
Object getOntology2()
URI getOntology1URI() throws AlignmentException
AlignmentException
URI getOntology2URI() throws AlignmentException
AlignmentException
void setOntology1(Object ontology) throws AlignmentException
AlignmentException
void setOntology2(Object ontology) throws AlignmentException
AlignmentException
void setLevel(String level)
String getLevel()
void setType(String type)
String getType()
void setFile1(URI type)
void setFile2(URI type)
URI getFile1()
URI getFile2()
Cell addAlignCell(Object ob1, Object ob, String relation, double measure) throws AlignmentException
AlignmentException
Cell addAlignCell(Object ob1, Object ob2) throws AlignmentException
AlignmentException
Cell getAlignCell1(Object ob) throws AlignmentException
AlignmentException
Cell getAlignCell2(Object ob) throws AlignmentException
AlignmentException
Object getAlignedObject1(Object ob) throws AlignmentException
AlignmentException
Object getAlignedObject2(Object ob) throws AlignmentException
AlignmentException
Relation getAlignedRelation1(Object ob) throws AlignmentException
AlignmentException
Relation getAlignedRelation2(Object ob) throws AlignmentException
AlignmentException
double getAlignedStrength1(Object ob) throws AlignmentException
AlignmentException
double getAlignedStrength2(Object ob) throws AlignmentException
AlignmentException
Set<Cell> getAlignCells1(Object ob) throws AlignmentException
AlignmentException
Set<Cell> getAlignCells2(Object ob) throws AlignmentException
AlignmentException
Parameters getExtensions()
String getExtension(String uri, String label)
void setExtension(String uri, String label, String value)
Enumeration<Cell> getElements()
Iterator<Cell> iterator()
iterator
in interface Iterable<Cell>
int nbCells()
void cut(String method, double threshold) throws AlignmentException
AlignmentException
void cut(double threshold) throws AlignmentException
AlignmentException
void harden(double threshold) throws AlignmentException
AlignmentException
Alignment inverse() throws AlignmentException
AlignmentException
Alignment diff(Alignment align) throws AlignmentException
AlignmentException
Alignment meet(Alignment align) throws AlignmentException
AlignmentException
Alignment join(Alignment align) throws AlignmentException
AlignmentException
Alignment compose(Alignment align) throws AlignmentException
AlignmentException
void dump(ContentHandler h)
void render(AlignmentVisitor renderer) throws AlignmentException
AlignmentException
|
Alignment API and Server 3.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |