|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBioOntology
This interface defines some rules to handle a ontology. Here we assume that the onotlogy can be represented by a simple directed acyclic graph, i.e a parent-child linking between the concepts (if A is child of B then B can't be a child of A).
Method Summary | |
---|---|
java.lang.String |
getFunction()
Returns the function of the ontology |
IBioOntologyTerm |
getRoot()
Returns the root of the ontology tree. |
IBioOntologyTerm |
getTerm(IBioOntologyTerm term)
Returns if exists the term in the ontology which matches the given one. |
IBioOntologyTerm |
getTerm(java.lang.String termName)
This method looks into the ontology if there is a term with the given name and returns it. |
void |
setRoot(IBioOntologyTerm root)
Sets the root of the ontology. |
Methods inherited from interface org.metaqtl.bio.IBioEntity |
---|
getName, getParent, getProperties, getType, setName, setProperties |
Methods inherited from interface org.metaqtl.bio.IBioAdaptable |
---|
getBioAdapter |
Method Detail |
---|
java.lang.String getFunction()
IBioOntologyTerm getRoot()
void setRoot(IBioOntologyTerm root)
root
- the root of the ontologyIBioOntologyTerm getTerm(IBioOntologyTerm term)
term
- the term to look for in the ontology.
IBioOntologyTerm getTerm(java.lang.String termName)
termName
- the name of the term to find.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |