Examples of SampleQC


Examples of uk.ac.bbsrc.tgac.miso.core.data.SampleQC

        if ((element = lookupCache(cacheManager).get(DbUtils.hashCodeCacheKeyFor(id))) != null) {
          log.debug("Cache hit on map for SampleQC " + id);
          return (SampleQC)element.getObjectValue();
        }
      }
      SampleQC s = dataObjectFactory.getSampleQC();
      s.setId(id);
      s.setQcCreator(rs.getString("qcUserName"));
      s.setQcDate(rs.getDate("qcDate"));
      s.setResults(rs.getDouble("results"));

      try {
        s.setQcType(getSampleQcTypeById(rs.getLong("qcMethod")));

        if (!isLazy()) {
          s.setSample(sampleDAO.get(rs.getLong("sample_sampleId")));
        }
      }
      catch (IOException e) {
        e.printStackTrace();
      }
View Full Code Here

Examples of uk.ac.bbsrc.tgac.miso.core.data.SampleQC

    return sampleQC.getId();
  }

  public SampleQC get(long qcId) throws IOException {
    List eResults = template.query(SAMPLE_QC_SELECT_BY_ID, new Object[]{qcId}, new SampleQcMapper());
    SampleQC e = eResults.size() > 0 ? (SampleQC) eResults.get(0) : null;
    return e;
  }
View Full Code Here

Examples of uk.ac.bbsrc.tgac.miso.core.data.SampleQC

    return e;
  }

  public SampleQC lazyGet(long qcId) throws IOException {
    List eResults = template.query(SAMPLE_QC_SELECT_BY_ID, new Object[]{qcId}, new SampleQcMapper(true));
    SampleQC e = eResults.size() > 0 ? (SampleQC) eResults.get(0) : null;
    return e;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.