/** * @param cytoband * @return reporterResultset Returns reporterResultset for this cytoband. */ public Collection getRepoterResultsets(String cytoband) { if (cytoband != null) { CytobandResultset cytobandResultset = (CytobandResultset) cytobands.get(cytoband); return cytobandResultset.getReporterResultsets(); } return null; }
/** * @param cytobandResultset Removes cytobandResultset to this CopyNumberResultsContainer object. */ public void removeCytobandResultset(CytobandResultset cytobandResultset) { if (cytobandResultset != null && cytobandResultset.getCytoband() != null) { cytobands.remove(cytobandResultset.getCytoband().toString()); if (cytobandResultset.getReporterNames() != null) { reporterNames.removeAll(cytobandResultset.getReporterNames()); } } }
/** @param cytobandResultset Adds cytobandResultset to this CopyNumberResultsContainer object. */ public void addCytobandResultset(CytobandResultset cytobandResultset) { if (cytobandResultset != null && cytobandResultset.getCytoband() != null) { cytobands.put(cytobandResultset.getCytoband().getValue().toString(), cytobandResultset); if (cytobandResultset.getReporterNames() != null) { reporterNames.addAll(cytobandResultset.getReporterNames()); } } }
/** * @param cytoband,reporterName * @return groupResultset Returns groupResultset for this reporterName & cytoband. */ public Collection getGroupByResultsets(String cytoband, String reporterName) { if (cytoband != null && reporterName != null) { CytobandResultset cytobandResultset = (CytobandResultset) cytobands.get(cytoband); if (cytobandResultset != null) { ReporterResultset reporterResultset = (ReporterResultset) cytobandResultset.getRepoterResultset(reporterName); return reporterResultset.getGroupByResultsets(); } } return null; }
public SampleCopyNumberValuesResultset getSampleCopyNumberValuesResultsets( String cytoband, String reporterName, String groupType, String bioSpecimenID) { if (cytoband != null && reporterName != null && groupType != null && bioSpecimenID != null) { CytobandResultset cytobandResultset = (CytobandResultset) cytobands.get(cytoband); if (cytobandResultset != null) { ReporterResultset reporterResultset = cytobandResultset.getRepoterResultset(reporterName); if (reporterResultset != null) { ViewByGroupResultset groupResultset = (ViewByGroupResultset) reporterResultset.getGroupByResultset(groupType); if (groupResultset != null) { return (SampleCopyNumberValuesResultset) groupResultset.getBioSpecimenResultset(bioSpecimenID); } } } } return null; }