@Override public boolean equals(Object obj) { if (obj == null) return false; if (obj == this) return true; if (!(obj instanceof Pool)) return false; Pool other = (Pool) obj; return new EqualsBuilder().appendSuper(super.equals(obj)).append(description, other.getDescription()) .append(poolDilutions, other.getPoolDilutions()) .append(concentration, other.getConcentration()) .append(identificationBarcode, other.getIdentificationBarcode()) .append(qcPassed, other.getQcPassed()) .isEquals(); }
dto.setConcentration(from.getConcentration() == null ? null : from.getConcentration().toString()); dto.setConcentrationUnits(from.getConcentrationUnits()); dto.setQcPassed(from.getQcPassed()); dto.setCreationDate(formatDate(from.getCreationDate())); if (from.getVolume() != null) {
managed.setIdentificationBarcode(LimsUtils.nullifyStringIfBlank(pool.getIdentificationBarcode())); managed.setPlatformType(pool.getPlatformType()); managed.setQcPassed(pool.getQcPassed()); managed.setVolume(pool.getVolume()); managed.setVolumeUnits(pool.getVolumeUnits());