Package uk.ac.bbsrc.tgac.miso.core.data

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


    return libraryQC.getId();
  }

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


    return e;
  }

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

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

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

        if (!isLazy()) {
          s.setLibrary(libraryDAO.get(rs.getLong("library_libraryId")));
        }
      }
      catch (IOException e) {
        e.printStackTrace();
      }
View Full Code Here

TOP

Related Classes of uk.ac.bbsrc.tgac.miso.core.data.LibraryQC

Copyright © 2018 www.massapicom. 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.