|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.thalia.bio.entity.BioEntity
org.thalia.bio.entity.OntologyTerm
public class OntologyTerm
Field Summary |
---|
Fields inherited from class org.thalia.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.thalia.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.thalia.bio.IBioEntity |
---|
getName, getParent, getProperties, setName, setProperties |
Constructor Detail |
---|
public OntologyTerm()
Method Detail |
---|
public long getID()
IBioOntologyTerm
getID
in interface IBioOntologyTerm
public IBioOntologyTerm[] getChildrenTerm()
IBioOntologyTerm
getChildrenTerm
in interface IBioOntologyTerm
public boolean hasChildren()
IBioOntologyTerm
hasChildren
in interface IBioOntologyTerm
public int getType()
IBioEntity
getType
in interface IBioEntity
getType
in class BioEntity
public IBioAdapter getBioAdapter()
getBioAdapter
in interface IBioAdaptable
public 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 IBioOntologyTerm
public void setParentTerm(IBioOntologyTerm parentTerm)
parent
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |