@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof TSentryAuthorizable) return this.equals((TSentryAuthorizable)that); return false; }
if (!(this_present_oldAuthorizable && that_present_oldAuthorizable)) return false; if (!this.oldAuthorizable.equals(that.oldAuthorizable)) return false; if (!(this_present_newAuthorizable && that_present_newAuthorizable)) return false; if (!this.newAuthorizable.equals(that.newAuthorizable)) return false;
public boolean equals(TDropPrivilegesRequest that) { if (that == null) return false; boolean this_present_protocol_version = true; boolean that_present_protocol_version = true; if (this_present_protocol_version || that_present_protocol_version) { if (!(this_present_protocol_version && that_present_protocol_version)) return false; if (this.protocol_version != that.protocol_version) return false; } boolean this_present_requestorUserName = true && this.isSetRequestorUserName(); boolean that_present_requestorUserName = true && that.isSetRequestorUserName(); if (this_present_requestorUserName || that_present_requestorUserName) { if (!(this_present_requestorUserName && that_present_requestorUserName)) return false; if (!this.requestorUserName.equals(that.requestorUserName)) return false; } boolean this_present_authorizable = true && this.isSetAuthorizable(); boolean that_present_authorizable = true && that.isSetAuthorizable(); if (this_present_authorizable || that_present_authorizable) { if (!(this_present_authorizable && that_present_authorizable)) return false; if (!this.authorizable.equals(that.authorizable)) return false; } return true; }
if (!(this_present_authorizableHierarchy && that_present_authorizableHierarchy)) return false; if (!this.authorizableHierarchy.equals(that.authorizableHierarchy)) return false;
if (!(this_present_authorizableHierarchy && that_present_authorizableHierarchy)) return false; if (!this.authorizableHierarchy.equals(that.authorizableHierarchy)) return false;