Examples of KitType


Examples of uk.ac.bbsrc.tgac.miso.core.data.type.KitType

      }
      Kit kit = null;

      try {
        KitDescriptor kd = getKitDescriptorById(rs.getInt("kitDescriptorId"));
        KitType kitType = kd.getKitType();

        if (kitType.equals(KitType.CLUSTERING)) {
          kit = new ClusterKit();
        }
        else if (kitType.equals(KitType.EMPCR)) {
          kit = new EmPcrKit();
        }
        else if (kitType.equals(KitType.LIBRARY)) {
          kit = new LibraryKit();
        }
        else if (kitType.equals(KitType.MULTIPLEXING)) {
          kit = new MultiplexingKit();
        }
        else if (kitType.equals(KitType.SEQUENCING)) {
          kit = new SequencingKit();
        }
        else {
          throw new SQLException("Unsupported KitType: "+kitType.getKey());
        }

        kit.setId(id);
        kit.setIdentificationBarcode(rs.getString("identificationBarcode"));
        kit.setLocationBarcode(rs.getString("locationBarcode"));
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.