public boolean equals()

in zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/thrift/RemoteInterpreterContext.java [730:836]


  public boolean equals(RemoteInterpreterContext that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_noteId = true && this.isSetNoteId();
    boolean that_present_noteId = true && that.isSetNoteId();
    if (this_present_noteId || that_present_noteId) {
      if (!(this_present_noteId && that_present_noteId))
        return false;
      if (!this.noteId.equals(that.noteId))
        return false;
    }

    boolean this_present_noteName = true && this.isSetNoteName();
    boolean that_present_noteName = true && that.isSetNoteName();
    if (this_present_noteName || that_present_noteName) {
      if (!(this_present_noteName && that_present_noteName))
        return false;
      if (!this.noteName.equals(that.noteName))
        return false;
    }

    boolean this_present_paragraphId = true && this.isSetParagraphId();
    boolean that_present_paragraphId = true && that.isSetParagraphId();
    if (this_present_paragraphId || that_present_paragraphId) {
      if (!(this_present_paragraphId && that_present_paragraphId))
        return false;
      if (!this.paragraphId.equals(that.paragraphId))
        return false;
    }

    boolean this_present_replName = true && this.isSetReplName();
    boolean that_present_replName = true && that.isSetReplName();
    if (this_present_replName || that_present_replName) {
      if (!(this_present_replName && that_present_replName))
        return false;
      if (!this.replName.equals(that.replName))
        return false;
    }

    boolean this_present_paragraphTitle = true && this.isSetParagraphTitle();
    boolean that_present_paragraphTitle = true && that.isSetParagraphTitle();
    if (this_present_paragraphTitle || that_present_paragraphTitle) {
      if (!(this_present_paragraphTitle && that_present_paragraphTitle))
        return false;
      if (!this.paragraphTitle.equals(that.paragraphTitle))
        return false;
    }

    boolean this_present_paragraphText = true && this.isSetParagraphText();
    boolean that_present_paragraphText = true && that.isSetParagraphText();
    if (this_present_paragraphText || that_present_paragraphText) {
      if (!(this_present_paragraphText && that_present_paragraphText))
        return false;
      if (!this.paragraphText.equals(that.paragraphText))
        return false;
    }

    boolean this_present_authenticationInfo = true && this.isSetAuthenticationInfo();
    boolean that_present_authenticationInfo = true && that.isSetAuthenticationInfo();
    if (this_present_authenticationInfo || that_present_authenticationInfo) {
      if (!(this_present_authenticationInfo && that_present_authenticationInfo))
        return false;
      if (!this.authenticationInfo.equals(that.authenticationInfo))
        return false;
    }

    boolean this_present_config = true && this.isSetConfig();
    boolean that_present_config = true && that.isSetConfig();
    if (this_present_config || that_present_config) {
      if (!(this_present_config && that_present_config))
        return false;
      if (!this.config.equals(that.config))
        return false;
    }

    boolean this_present_gui = true && this.isSetGui();
    boolean that_present_gui = true && that.isSetGui();
    if (this_present_gui || that_present_gui) {
      if (!(this_present_gui && that_present_gui))
        return false;
      if (!this.gui.equals(that.gui))
        return false;
    }

    boolean this_present_noteGui = true && this.isSetNoteGui();
    boolean that_present_noteGui = true && that.isSetNoteGui();
    if (this_present_noteGui || that_present_noteGui) {
      if (!(this_present_noteGui && that_present_noteGui))
        return false;
      if (!this.noteGui.equals(that.noteGui))
        return false;
    }

    boolean this_present_localProperties = true && this.isSetLocalProperties();
    boolean that_present_localProperties = true && that.isSetLocalProperties();
    if (this_present_localProperties || that_present_localProperties) {
      if (!(this_present_localProperties && that_present_localProperties))
        return false;
      if (!this.localProperties.equals(that.localProperties))
        return false;
    }

    return true;
  }