object.annotation
Class Chromosome

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

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

Description
Chromosome Object
Infos : KLB - IPMC - 08/2003

See Also:
Gene, Serialized Form

Field Summary
private  int chromosome_id
          ID of Chromosome object
private  java.lang.String chromosome_name
          Description of this Chromosome
private  java.lang.String coord
          Coord of this Chromosome on the HTML map displayed in the Chromosome visualisation application part
private  java.lang.String coord2
          Coord of this Chromosome on the HTML map displayed in the Viewer manager chromosome application part
private  int length
          Length of this Chromosome
private  int organism_id
          Organism owner of this Chromosome
 
Constructor Summary
Chromosome()
          Default constructor
Chromosome(int chromosome_id)
          Constructs a Chromosome object from a Chromosome ID
 
Method Summary
 java.util.Vector getAllCytoband()
          This function return a vector containing all Cytoband object for this Chromosome Object
ordered by start position across the Chromosome Object.
 java.util.Vector getAllGenes()
          This function return a vector containing all Genes object for this Chromosome Object
 int getChromosome_id()
          ID of Chromosome object
 java.lang.String getChromosome_name()
          Description of this Chromosome
 java.lang.String getCoord()
          Coord of this Chromosome on th e HTML map displayed in the Chromosome visualisation application part
 java.lang.String getCoord2()
          Coord of this Chromosome on the HTML map displayed in the Viewer manager chromosome application part
 int getLength()
          Length of this Chromosome
 int getOrganism_id()
          Organism owner of this Chromosome
 void setChromosome_id(int chromosome_id)
           
 void setChromosome_name(java.lang.String chromosome_name)
           
 void setCoord(java.lang.String coord)
           
 void setCoord2(java.lang.String coord2)
           
 void setLength(int length)
           
 void setOrganism_id(int organism_id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chromosome_id

private int chromosome_id
ID of Chromosome object


organism_id

private int organism_id
Organism owner of this Chromosome


chromosome_name

private java.lang.String chromosome_name
Description of this Chromosome


length

private int length
Length of this Chromosome


coord

private java.lang.String coord
Coord of this Chromosome on the HTML map displayed in the Chromosome visualisation application part


coord2

private java.lang.String coord2
Coord of this Chromosome on the HTML map displayed in the Viewer manager chromosome application part

Constructor Detail

Chromosome

public Chromosome()
Default constructor


Chromosome

public Chromosome(int chromosome_id)
Constructs a Chromosome object from a Chromosome ID

Parameters:
chromosome_id - ID of an existing Chromosome Object
Method Detail

getChromosome_id

public int getChromosome_id()
ID of Chromosome object


setChromosome_id

public void setChromosome_id(int chromosome_id)

getOrganism_id

public int getOrganism_id()
Organism owner of this Chromosome


setOrganism_id

public void setOrganism_id(int organism_id)

getChromosome_name

public java.lang.String getChromosome_name()
Description of this Chromosome


setChromosome_name

public void setChromosome_name(java.lang.String chromosome_name)

getLength

public int getLength()
Length of this Chromosome


setLength

public void setLength(int length)

getCoord

public java.lang.String getCoord()
Coord of this Chromosome on th e HTML map displayed in the Chromosome visualisation application part


setCoord

public void setCoord(java.lang.String coord)

getCoord2

public java.lang.String getCoord2()
Coord of this Chromosome on the HTML map displayed in the Viewer manager chromosome application part


setCoord2

public void setCoord2(java.lang.String coord2)

getAllGenes

public java.util.Vector getAllGenes()
This function return a vector containing all Genes object for this Chromosome Object

Returns:
allGenes Vector containing all Genes object for this Chromosome Object
See Also:
Gene, Gene.Gene(int)

getAllCytoband

public java.util.Vector getAllCytoband()
This function return a vector containing all Cytoband object for this Chromosome Object
ordered by start position across the Chromosome Object.

Returns:
allCytoband Vector containing all Cytoband object for this Chromosome Object
See Also:
Cytoband, Cytoband.Cytoband(int)