object.annotation
Class GoLink

java.lang.Object
  extended by object.annotation.GoLink
All Implemented Interfaces:
java.io.Serializable

public class GoLink
extends java.lang.Object
implements java.io.Serializable

Description
Resume the relation between a Gene and the Term of the Gene Ontology
Infos : KLB - IPMC - 12/2003

See Also:
Gene, Term, Serialized Form

Field Summary
private  int gene_id
          ID of Gene object
private  Term term
          Term describing the Gene Ontology link with the gene
 
Constructor Summary
GoLink()
          Default constructor
GoLink(int gene_id, Term term)
          Constructs a GoLink object from a gene_id and a Term from the Gene Ontology
 
Method Summary
 int getGene_id()
          ID of Gene object
 Term getTerm()
          Term describing the Gene Ontology link with the gene
 void setGene_id(int gene_id)
           
 void setTerm(Term term)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gene_id

private int gene_id
ID of Gene object


term

private Term term
Term describing the Gene Ontology link with the gene

Constructor Detail

GoLink

public GoLink()
Default constructor


GoLink

public GoLink(int gene_id,
              Term term)
Constructs a GoLink object from a gene_id and a Term from the Gene Ontology

Parameters:
gene_id - ID of existing Gene Object
term - Term Object of the Gene Ontology
See Also:
Term
Method Detail

getGene_id

public int getGene_id()
ID of Gene object


setGene_id

public void setGene_id(int gene_id)

getTerm

public Term getTerm()
Term describing the Gene Ontology link with the gene


setTerm

public void setTerm(Term term)