/** * @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; }