Study implements SecureEntity, BiomeEntity { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Study study = (Study) o; if (id != study.id) return false; if (isPublic != study.isPublic) return false; if (projectId.equals(study.projectId)) return false; if (submissionAccountId.equals(study.submissionAccountId)) return false; if (!centreName.equals(study.centreName)) return false; if (!experimentalFactor.equals(study.experimentalFactor)) return false; if (!lastMetadataReceived.equals(study.lastMetadataReceived)) return false; if (!firstCreated.equals(study.firstCreated)) return false; if (!publicReleaseDate.equals(study.publicReleaseDate)) return false; if (!studyAbstract.equals(study.studyAbstract)) return false; if (studyId != null ? !studyId.equals(study.studyId) : study.studyId != null) return false; if (!studyName.equals(study.studyName)) return false; if (studyStatus != study.studyStatus) return false; if (!resultDirectory.equals(study.resultDirectory)) return false; return true; } Study(); long getId(); void setId(long id); String getStudyId(); void setStudyId(String studyId); String getStudyName(); void setStudyName(String studyName); String getProjectId(); void setProjectId(String projectId); String getSubmissionAccountId(); void setSubmissionAccountId(String submissionAccountId); String getStudyStatusAsString(); void setStudyStatusAsString(String enumType); StudyStatus getStudyStatus(); void setStudyStatus(StudyStatus studyStatus); Date getPublicReleaseDate(); void setPublicReleaseDate(Date publicReleaseDate); Set<Publication> getPublications(); void setPublications(Set<Publication> publications); void addPublication(Publication publication); Set<Sample> getSamples(); void setSamples(Set<Sample> samples); void addSample(Sample sample); String getCentreName(); void setCentreName(String centreName); String getStudyAbstract(); @Transient String getShortStudyAbstract(); void setStudyAbstract(String studyAbstract); String getExperimentalFactor(); void setExperimentalFactor(String experimentalFactor); @Override @Transient String getSecureEntityId(); boolean isPublic(); Integer isPublicInt(); void setPublic(Integer isPublicInt); String getPrivacy(); Date getLastMetadataReceived(); String getFormattedLastReceived(); void setLastMetadataReceived(Date lastMetadataReceived); DataOrigination getDataOrigination(); void setDataOrigination(DataOrigination dataOrigination); String getAuthorName(); void setAuthorName(String authorName); String getAuthorEmailAddress(); void setAuthorEmailAddress(String authorEmailAddress); String getResultDirectory(); void setResultDirectory(String resultDirectory); Long getSampleCount(); void setSampleCount(Long sampleCount); Biome getBiome(); void setBiome(Biome biome); String getBiomeIconCSSClass(); void setBiomeIconCSSClass(String biomeIconCSSClass); String getBiomeIconTitle(); void setBiomeIconTitle(String biomeIconTitle); Date getFirstCreated(); void setFirstCreated(Date firstCreated); @Override boolean equals(Object o); @Override int hashCode();  }
@Test @Ignore public void testEquals() throws Exception { }