public boolean equals(Comment that) { if (that == null) return false; boolean this_present_content = true && this.isSetContent(); boolean that_present_content = true && that.isSetContent(); if (this_present_content || that_present_content) { if (!(this_present_content && that_present_content)) return false; if (!this.content.equals(that.content)) return false; } boolean this_present_markup = true && this.isSetMarkup(); boolean that_present_markup = true && that.isSetMarkup(); if (this_present_markup || that_present_markup) { if (!(this_present_markup && that_present_markup)) return false; if (!this.markup.equals(that.markup)) return false; } return true; }
public boolean equals(Comment that) { if (that == null) return false; boolean this_present_content = true && this.isSetContent(); boolean that_present_content = true && that.isSetContent(); if (this_present_content || that_present_content) { if (!(this_present_content && that_present_content)) return false; if (!this.content.equals(that.content)) return false; } boolean this_present_markup = true && this.isSetMarkup(); boolean that_present_markup = true && that.isSetMarkup(); if (this_present_markup || that_present_markup) { if (!(this_present_markup && that_present_markup)) return false; if (!this.markup.equals(that.markup)) return false; } return true; }