|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.adfconverter.tools.checker.ontology.MGEDOntologyChecker
Check if a term is in the MGED ontology using Ontology helper from MAGEstk (read daml file) From TestMOE of MAGESTK
| Constructor Summary | |
MGEDOntologyChecker()
Creates a new instance of testMGEDOE |
|
MGEDOntologyChecker(java.lang.String _OntologyFilePath)
Creates a new instance of MGEDOntologyChecker |
|
MGEDOntologyChecker(java.lang.String _OntologyFilePath,
java.io.File _ADFMGEDOntology,
java.lang.String _descriptionFile,
boolean _isOntologyCheckerEnable)
Creates a new instance of MGEDOntologyChecker |
|
| Method Summary | |
void |
assignFirstValue(org.biomage.tools.helpers.MGEDOntologyEntry entry)
Assign first value to current entry if assignable |
boolean |
checkOntologyEntry(ADFConverterLogger log,
Extendable MAGEobj,
OntologyEntry oentry,
java.lang.String link)
Check the ontology term in a an OntologyEntry |
boolean |
checkontologyTerm(ADFConverterLogger log,
java.lang.String type,
DataBuffer value)
Check if a term belong to the MGED ontology |
OntologyEntry |
createOntologyEntry(java.lang.String type,
java.lang.String value)
Creates an ontology entry object |
void |
setIdentifierRule(java.lang.String databaseRule)
Set the database identifier generation rule. |
void |
testAssigningValues(java.util.Vector mgedOntClassEntries)
Tests if Ontoloy class entries are correct |
java.util.Vector |
testInitOfMGEDOE(java.util.Vector mgedOntClassNames)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MGEDOntologyChecker()
public MGEDOntologyChecker(java.lang.String _OntologyFilePath)
throws java.lang.Exception
_OntologyFilePath - The path to the ontology daml file
java.lang.Exception - if error during ontology file reading
public MGEDOntologyChecker(java.lang.String _OntologyFilePath,
java.io.File _ADFMGEDOntology,
java.lang.String _descriptionFile,
boolean _isOntologyCheckerEnable)
throws java.lang.Exception
_OntologyFilePath - The path to the ontology daml file_ADFMGEDOntology - the path to the ADF MGEDOntology link file_descriptionFile - the path to the file describing the file structure
java.lang.Exception - if error during ontology file reading| Method Detail |
public void assignFirstValue(org.biomage.tools.helpers.MGEDOntologyEntry entry)
entry -
public boolean checkOntologyEntry(ADFConverterLogger log,
Extendable MAGEobj,
OntologyEntry oentry,
java.lang.String link)
log - the log for text outputMAGEobj - The MAGE Object associated to the Ontology entryoentry - The ontology entry itselflink - the link for MAGE and MGED classes
public boolean checkontologyTerm(ADFConverterLogger log,
java.lang.String type,
DataBuffer value)
log - the logger to report informationtype - the ontology typevalue - the ontlogy value
public OntologyEntry createOntologyEntry(java.lang.String type,
java.lang.String value)
type - the type of the ontologyvalue - the value of the ontology
public void setIdentifierRule(java.lang.String databaseRule)
throws java.lang.Exception
databaseRule - the database identifier rule
java.lang.Exception - if an error occurs during ontology manager initialisationpublic void testAssigningValues(java.util.Vector mgedOntClassEntries)
mgedOntClassEntries - Vector of Entries to testpublic java.util.Vector testInitOfMGEDOE(java.util.Vector mgedOntClassNames)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||