/** * Create an instance of {@link ApplicationWebsite } * */ public ApplicationWebsite createApplicationWebsite() { return new ApplicationWebsite(); }
@Override public int hashCode() { int result = applicationOrcid != null ? applicationOrcid.hashCode() : 0; result = 31 * result + (applicationName != null ? applicationName.hashCode() : 0); result = 31 * result + (applicationWebsite != null ? applicationWebsite.hashCode() : 0); result = 31 * result + (approvalDate != null ? approvalDate.hashCode() : 0); result = 31 * result + (scopePaths != null ? scopePaths.hashCode() : 0); return result; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof ApplicationSummary)) { return false; } ApplicationSummary that = (ApplicationSummary) o; if (applicationName != null ? !applicationName.equals(that.applicationName) : that.applicationName != null) { return false; } if (applicationOrcid != null ? !applicationOrcid.equals(that.applicationOrcid) : that.applicationOrcid != null) { return false; } if (applicationWebsite != null ? !applicationWebsite.equals(that.applicationWebsite) : that.applicationWebsite != null) { return false; } if (approvalDate != null ? !approvalDate.equals(that.approvalDate) : that.approvalDate != null) { return false; } if (scopePaths != null ? !scopePaths.equals(that.scopePaths) : that.scopePaths != null) { return false; } return true; }