Examples of TagBarcodeImpl


Examples of uk.ac.bbsrc.tgac.miso.core.data.impl.TagBarcodeImpl

    return qt;
  }

  @Override
  public Collection<TagBarcode> listAllTagBarcodesByStrategyName(String name) {
    final TagBarcode tb = new TagBarcodeImpl();
    tb.setId(1L);
    tb.setName("Index 1");
    tb.setSequence("");
    tb.setPlatformType(PlatformType.ILLUMINA);
    tb.setStrategyName("TruSeq Single Index");
    return new ArrayList<TagBarcode>(){{add(tb);}};
  }
View Full Code Here

Examples of uk.ac.bbsrc.tgac.miso.core.data.impl.TagBarcodeImpl

    }
  }

  public class TagBarcodeMapper implements RowMapper<TagBarcode> {
    public TagBarcode mapRow(ResultSet rs, int rowNum) throws SQLException {
      TagBarcode tb = new TagBarcodeImpl();
      tb.setId(rs.getLong("tagId"));
      tb.setName(rs.getString("name"));
      tb.setSequence(rs.getString("sequence"));
      tb.setPlatformType(PlatformType.get(rs.getString("platformName")));
      tb.setStrategyName(rs.getString("strategyName"));
      return tb;
    }
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.