|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.objex.panywhere.Chromosome
public class Chromosome
Class defines the makeup of a Chromosome object. Among other things defined by this class are the markers that contain the Allele pairs for each chromosome indicating which alleles have been inherited from which parent. This class was introcuded in release 1.01 of the Pedigree Javabean to enable the tracking, manipulation and rendering of genetic/haplotype data on the Pedigree.
| Constructor Summary | |
|---|---|
Chromosome()
Creates a new Chromosome instance. |
|
| Method Summary | |
|---|---|
void |
addMarker(ChromosomeMarker marker)
Adds the specified marker to the list of markers making up this Chromosome exists. |
Chromosome |
cloneChromosome()
A new Chromosome with the same marker and allele properties and this Chromosome or an empty chromosome if an error was encountered in the cloning process. |
ChromosomeMarker |
getMarker(java.lang.String name)
|
java.util.Map |
getMarkers()
Getter for property markers. |
java.lang.String |
getName()
Getter for property name. |
int |
getNextMarkerSequence()
Getter for property nextMarkerSequence. |
void |
setMarkers(java.util.Map rhs)
Setter for property markers. |
void |
setName(java.lang.String rhs)
Setter for property name. |
void |
setNextMarkerSequence(int rhs)
Setter for property nextMarkerSequence. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Chromosome()
| Method Detail |
|---|
public ChromosomeMarker getMarker(java.lang.String name)
name - The marker ID or name
public void addMarker(ChromosomeMarker marker)
marker - The new chromosome marker to be addedpublic java.util.Map getMarkers()
public void setMarkers(java.util.Map rhs)
rhs - A Map containg the new markers for the chromosomepublic java.lang.String getName()
public void setName(java.lang.String rhs)
rhs - New value of property name.public int getNextMarkerSequence()
public void setNextMarkerSequence(int rhs)
rhs - New value of property nextMarkerSequence.public Chromosome cloneChromosome()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||