|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfleischhacker.uni.thesis.utils.alignment.Alignment
public class Alignment
Represents an alignment.
Method Summary | |
---|---|
void |
addCorrespondence(Correspondence correspondence)
Adds a correspondence |
int |
getCorrespondenceCount()
Returns the number of correspondences in this alignment |
java.util.Set<Correspondence> |
getCorrespondences()
Returns this alignment's correspondences as ArrayList |
java.lang.String |
getLevel()
Returns the level of this alignment |
java.lang.String |
getOntology1()
Returns the URI of ontology 1 |
java.lang.String |
getOntology2()
Returns the URI of ontology 2 |
java.lang.String |
getType()
Returns the type of this alignment |
void |
setLevel(java.lang.String level)
Sets the level of this alignment |
void |
setOntology1(java.lang.String uri)
Sets the URI for ontology 1. |
void |
setOntology2(java.lang.String uri)
Sets the URI for ontology 2. |
void |
setType(java.lang.String type)
Sets the type of this alignment |
java.lang.String |
toString()
Returns the alignment's string representation. |
org.w3c.dom.Document |
toXML()
Returns this alignment's XML representation as DOM document. |
java.lang.String |
toXMLString()
Returns the alignment's XML representation as string. |
boolean |
validate(org.semanticweb.owl.model.OWLOntology onto1,
org.semanticweb.owl.model.OWLOntology onto2)
Validates the aligment against the given ontologies. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void addCorrespondence(Correspondence correspondence)
correspondence
- correspondence to addpublic java.util.Set<Correspondence> getCorrespondences()
public int getCorrespondenceCount()
public java.lang.String toString()
toString
in class java.lang.Object
public org.w3c.dom.Document toXML() throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException
public java.lang.String toXMLString() throws javax.xml.transform.TransformerConfigurationException, javax.xml.parsers.ParserConfigurationException, javax.xml.transform.TransformerException
javax.xml.transform.TransformerConfigurationException
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException
public boolean validate(org.semanticweb.owl.model.OWLOntology onto1, org.semanticweb.owl.model.OWLOntology onto2) throws InvalidAlignmentException
onto1
- ontology 1onto2
- ontology 2
InvalidAlignmentException
public void setLevel(java.lang.String level)
level
- level to setpublic void setType(java.lang.String type)
type
- type to setpublic void setOntology1(java.lang.String uri)
uri
- URI of ontology 1 as stringpublic void setOntology2(java.lang.String uri)
uri
- URI of ontology 2 as stringpublic java.lang.String getOntology1()
public java.lang.String getOntology2()
public java.lang.String getLevel()
public java.lang.String getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |