|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.sanger.cgp.standalonecsa.beans.VariantGroup
public class VariantGroup
Grouping of variants for different displays. Two types are in use:
- VariantType.SUBSTITUTION_PATH
- VariantType.OTHER_PATH
Constructor Summary | |
---|---|
VariantGroup(VariantType type)
Should be constructed using constants for VariantType . |
Method Summary | |
---|---|
void |
addVariant(uk.ac.sanger.cgp.autocsa.beans.Mutation mut,
uk.ac.sanger.cgp.autocsa.beans.MutationDetails mutDet)
Adds Mutation and MutationDetails objects in a controlled manner. |
VariantType |
getGroupType()
Get the VariantType of this group |
java.util.List |
getVarDetailsList()
Get the list of MutationDetails objects. |
java.util.List |
getVariantList()
Get the list of Mutation objects. |
int |
variantsInGroup()
Get the number of variants in this group. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VariantGroup(VariantType type)
VariantType
. Two types are in use:
VariantType.SUBSTITUTION_PATH
VariantType.OTHER_PATH
type
- populate with elements of VariantType
Method Detail |
---|
public void addVariant(uk.ac.sanger.cgp.autocsa.beans.Mutation mut, uk.ac.sanger.cgp.autocsa.beans.MutationDetails mutDet)
mut
- a Mutation objectmutDet
- a MutationDetails objectpublic VariantType getGroupType()
VariantType
of this group
public java.util.List getVarDetailsList()
public java.util.List getVariantList()
public int variantsInGroup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |