@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; DcsCollection that = (DcsCollection) o; if (coreMd != null ? !coreMd.equals(that.coreMd) : that.coreMd != null) return false; if (metadata != null ? !metadata.equals(that.metadata) : that.metadata != null) return false; if (metadataRef != null ? !metadataRef.equals(that.metadataRef) : that.metadataRef != null) return false; if (parent != null ? !parent.equals(that.parent) : that.parent != null) return false; return true; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; DcsDeliverableUnit that = (DcsDeliverableUnit) o; if (collections != null ? !collections.equals(that.collections) : that.collections != null) return false; if (coreMd != null ? !coreMd.equals(that.coreMd) : that.coreMd != null) return false; if (formerExternalRefs != null ? !formerExternalRefs.equals(that.formerExternalRefs) : that.formerExternalRefs != null) return false; if (isDigitalSurrogate != null ? !isDigitalSurrogate.equals(that.isDigitalSurrogate) : that.isDigitalSurrogate != null) return false; if (metadata != null ? !metadata.equals(that.metadata) : that.metadata != null) return false; if (metadataRefs != null ? !metadataRefs.equals(that.metadataRefs) : that.metadataRefs != null) return false; if (parents != null ? !parents.equals(that.parents) : that.parents != null) return false; if (relations != null ? !relations.equals(that.relations) : that.relations != null) return false; return true; }