|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.bio.chado.ChadoCV
public class ChadoCV
Objects of this class represent a controlled vocabulary from chado.
| Constructor Summary | |
|---|---|
ChadoCV(java.lang.String cvName)
Create a new ChadoCV. |
|
| Method Summary | |
|---|---|
void |
addByChadoId(java.lang.Integer cvtermId,
ChadoCVTerm chadoCvTerm)
Add a cvterm and its chado id to this cv. |
java.util.Set<ChadoCVTerm> |
getAllCVTerms()
Return a Set of all the CVTerms in this CV. |
ChadoCVTerm |
getByChadoId(java.lang.Integer cvtermId)
Return the ChadoCVTerm object for a given cvterm_id. |
java.lang.String |
getCvName()
Return the cvName that was passed to the constructor. |
java.util.Set<ChadoCVTerm> |
getRootCVTerms()
Return a Set of the root CVTerms in this CV - ie. those with no parents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChadoCV(java.lang.String cvName)
cvName - the name of the cv in chado that this object represents.| Method Detail |
|---|
public final java.lang.String getCvName()
public void addByChadoId(java.lang.Integer cvtermId,
ChadoCVTerm chadoCvTerm)
cvtermId - the chado id = cvterm.cvterm_idchadoCvTerm - the ChadoCVTerm objectpublic ChadoCVTerm getByChadoId(java.lang.Integer cvtermId)
cvtermId - the chado id = cvterm.cvterm_id
public java.util.Set<ChadoCVTerm> getRootCVTerms()
public java.util.Set<ChadoCVTerm> getAllCVTerms()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||