|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Chromosome
Defines part of a Genomic.
| Field Summary | |
|---|---|
static java.lang.String |
SEX
sex |
| Fields inherited from interface net.sf.tostring0.IToString |
|---|
ANGBR_OPEN, ANGBRA_CLSE, BRA_CLSE, BRA_OPEN, BRCE_OPEN, BRCS_CLSE, COLON, LIST_SEPARATOR, MAX_ELEMENTS_DEFAULT, S_MT, S_PERCENT, SEPARATOR, SPACE |
| Method Summary | |
|---|---|
void |
addLocus(int index,
Locus locus)
Method to add a Locus at the specified index. |
boolean |
addLocus(Locus locus)
Method to add a Locus at the end of this Genomic. |
int |
getCount()
|
Genomic |
getGenomic()
|
java.util.Collection<Locus> |
getLoci()
Getter/setter typically used by reflection. |
Locus |
getLocus(int index)
|
void |
setGenomic(Genomic genomic)
|
void |
setLoci(java.util.Collection<Locus> loci)
This is now the preferred method to set the loci. |
| Methods inherited from interface net.sf.tostring0.IToString |
|---|
toString, toStringBrief, toStringId |
| Methods inherited from interface com.rubecula.darwin.domain.helper.SexLinked |
|---|
isSexLinked |
| Methods inherited from interface net.sf.tostring0.Identifiable |
|---|
getIdentifier |
| Field Detail |
|---|
static final java.lang.String SEX
| Method Detail |
|---|
void addLocus(int index,
Locus locus)
throws GeneticsException
index - the index at which the new object will appear.locus - a locus to be inserted into this Genomic.
GeneticsExceptionList.add(int, java.lang.Object)
boolean addLocus(Locus locus)
throws GeneticsException
locus - a locus to be inserted into this Genomic.
GeneticsExceptionaddLocus(int, Locus)int getCount()
Genomic getGenomic()
Genomic to which this chromosome belongs.java.util.Collection<Locus> getLoci()
Locus getLocus(int index)
index -
index (0..N)void setGenomic(Genomic genomic)
genomic - void setLoci(java.util.Collection<Locus> loci)
loci -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||