|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.metaqtl.bio.entity.BioEntity
org.metaqtl.bio.entity.OntologyTerm
public class OntologyTerm
| Field Summary |
|---|
| Fields inherited from class org.metaqtl.bio.entity.BioEntity |
|---|
name, parent, properties |
| Constructor Summary | |
|---|---|
OntologyTerm()
|
|
| Method Summary | |
|---|---|
IBioAdapter |
getBioAdapter()
|
IBioOntologyTerm[] |
getChildrenTerm()
Returns the children if the term has chilren, null otherwise. |
long |
getID()
Returns the id if the terms. |
IBioOntologyTerm |
getParentTerm()
Returns the parent of the term. |
int |
getType()
There are 2 main class of entities. |
boolean |
hasChildren()
Returns true if the term has children, false otherwise. |
void |
setChildren(OntologyTerm[] children)
Sets the children of the term. |
void |
setID(long id)
Sets the indentifient of the term. |
void |
setParentTerm(IBioOntologyTerm parentTerm)
Sets the parent of the term. |
| Methods inherited from class org.metaqtl.bio.entity.BioEntity |
|---|
getName, getParent, getProperties, newBioEntity, setName, setProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.metaqtl.bio.IBioEntity |
|---|
getName, getParent, getProperties, setName, setProperties |
| Constructor Detail |
|---|
public OntologyTerm()
| Method Detail |
|---|
public long getID()
IBioOntologyTerm
getID in interface IBioOntologyTermpublic IBioOntologyTerm[] getChildrenTerm()
IBioOntologyTerm
getChildrenTerm in interface IBioOntologyTermpublic boolean hasChildren()
IBioOntologyTerm
hasChildren in interface IBioOntologyTermpublic int getType()
IBioEntity
getType in interface IBioEntitygetType in class BioEntitypublic IBioAdapter getBioAdapter()
getBioAdapter in interface IBioAdaptablepublic void setID(long id)
id - the new identifient of the term.public void setChildren(OntologyTerm[] children)
children - the children of the term.public IBioOntologyTerm getParentTerm()
IBioOntologyTerm
getParentTerm in interface IBioOntologyTermpublic void setParentTerm(IBioOntologyTerm parentTerm)
parent -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||