Ejemplo n.º 1
0
 /**
  * @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;
 }
Ejemplo n.º 2
0
 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;
 }