public boolean equals(BusinessNotebook that) { if (that == null) return false; boolean this_present_notebookDescription = true && this.isSetNotebookDescription(); boolean that_present_notebookDescription = true && that.isSetNotebookDescription(); if (this_present_notebookDescription || that_present_notebookDescription) { if (!(this_present_notebookDescription && that_present_notebookDescription)) return false; if (!this.notebookDescription.equals(that.notebookDescription)) return false; } boolean this_present_privilege = true && this.isSetPrivilege(); boolean that_present_privilege = true && that.isSetPrivilege(); if (this_present_privilege || that_present_privilege) { if (!(this_present_privilege && that_present_privilege)) return false; if (!this.privilege.equals(that.privilege)) return false; } boolean this_present_recommended = true && this.isSetRecommended(); boolean that_present_recommended = true && that.isSetRecommended(); if (this_present_recommended || that_present_recommended) { if (!(this_present_recommended && that_present_recommended)) return false; if (this.recommended != that.recommended) return false; } return true; }
public boolean equals(BusinessNotebook that) { if (that == null) return false; boolean this_present_notebookDescription = true && this.isSetNotebookDescription(); boolean that_present_notebookDescription = true && that.isSetNotebookDescription(); if (this_present_notebookDescription || that_present_notebookDescription) { if (!(this_present_notebookDescription && that_present_notebookDescription)) return false; if (!this.notebookDescription.equals(that.notebookDescription)) return false; } boolean this_present_privilege = true && this.isSetPrivilege(); boolean that_present_privilege = true && that.isSetPrivilege(); if (this_present_privilege || that_present_privilege) { if (!(this_present_privilege && that_present_privilege)) return false; if (!this.privilege.equals(that.privilege)) return false; } boolean this_present_recommended = true && this.isSetRecommended(); boolean that_present_recommended = true && that.isSetRecommended(); if (this_present_recommended || that_present_recommended) { if (!(this_present_recommended && that_present_recommended)) return false; if (this.recommended != that.recommended) return false; } return true; }
if (!(this_present_privilege && that_present_privilege)) return false; if (!this.privilege.equals(that.privilege)) return false;
if (!(this_present_privilege && that_present_privilege)) return false; if (!this.privilege.equals(that.privilege)) return false;