@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; SequencerPartitionContainerProgressStep other = (SequencerPartitionContainerProgressStep) obj; if (input == null) { if (other.input != null) return false; } else if (!input.equals(other.input)) return false; return true; } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; ContainerQC other = (ContainerQC) obj; if (container == null) { if (other.container != null) return false; } else if (!container.equals(other.container)) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; RunPositionId other = (RunPositionId) obj; if (container == null) { if (other.container != null) return false; } else if (!container.equals(other.container)) return false; if (run == null) { if (other.run != null) return false; } else if (!run.equals(other.run)) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; RunPosition other = (RunPosition) obj; if (container == null) { if (other.container != null) return false; } else if (!container.equals(other.container)) return false; if (position == null) { if (other.position != null) return false; } else if (!position.equals(other.position)) return false; if (run == null) { if (other.run != null) return false; } else if (!run.equals(other.run)) return false; return true; }
/** * Equivalency is based on getProjectId() if set, otherwise on name, description and creation date. */ @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; PartitionImpl other = (PartitionImpl) obj; // If not saved, then compare resolved actual objects. Otherwise // just compare IDs. if (getId() == PartitionImpl.UNSAVED_ID || other.getId() == PartitionImpl.UNSAVED_ID) { if (loadingConcentration == null) { if (other.loadingConcentration != null) return false; } else if (!loadingConcentration.equals(other.loadingConcentration)) return false; if (loadingConcentrationUnits != other.loadingConcentrationUnits) return false; if (partitionNumber == null) { if (other.partitionNumber != null) return false; } else if (!partitionNumber.equals(other.partitionNumber)) return false; if (pool == null) { if (other.pool != null) return false; } else if (!pool.equals(other.pool)) return false; if (sequencerPartitionContainer == null) { if (other.sequencerPartitionContainer != null) return false; } else if (!sequencerPartitionContainer.equals(other.sequencerPartitionContainer)) return false; return true; } else { return this.getId() == other.getId(); } }