org.intermine.bio.chado
Class ChadoCVTerm

java.lang.Object
  extended by org.intermine.bio.chado.ChadoCVTerm

public class ChadoCVTerm
extends java.lang.Object

Objects of this class represent one row of the chado cvterm table.


Constructor Summary
ChadoCVTerm(java.lang.String name)
          Create a new cv term object
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 java.util.Set<ChadoCVTerm> getAllChildren()
          Return a Set of all the child ChadoCVTerms of this term.
 java.util.Set<ChadoCVTerm> getAllParents()
          Return a Set of all the parent ChadoCVTerms of this term.
 java.util.Set<ChadoCVTerm> getDirectChildren()
          Get the direct children of this term.
 java.util.Set<ChadoCVTerm> getDirectParents()
          Get the direct parents of this term.
 java.lang.String getName()
          Return the name of this term.
 int hashCode()
          
 void setDirectChildren(java.util.Set<ChadoCVTerm> directChildren)
          Set the direct children of this term.
 void setDirectParents(java.util.Set<ChadoCVTerm> directParents)
          Set the direct parents of this term.
 void setName(java.lang.String name)
          Set the name of this term.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChadoCVTerm

public ChadoCVTerm(java.lang.String name)
Create a new cv term object

Parameters:
name - the name (from the chado cvterm table)
Method Detail

getName

public final java.lang.String getName()
Return the name of this term.

Returns:
the name

setName

public final void setName(java.lang.String name)
Set the name of this term.

Parameters:
name - the name to set

getDirectParents

public final java.util.Set<ChadoCVTerm> getDirectParents()
Get the direct parents of this term.

Returns:
the direct parents

setDirectParents

public final void setDirectParents(java.util.Set<ChadoCVTerm> directParents)
Set the direct parents of this term.

Parameters:
directParents - the parents to set

getDirectChildren

public final java.util.Set<ChadoCVTerm> getDirectChildren()
Get the direct children of this term.

Returns:
the direct children

setDirectChildren

public final void setDirectChildren(java.util.Set<ChadoCVTerm> directChildren)
Set the direct children of this term.

Parameters:
directChildren - the children to set

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

getAllParents

public java.util.Set<ChadoCVTerm> getAllParents()
Return a Set of all the parent ChadoCVTerms of this term.

Returns:
all the parent terms

getAllChildren

public java.util.Set<ChadoCVTerm> getAllChildren()
Return a Set of all the child ChadoCVTerms of this term.

Returns:
all the child terms