if (isSetRestrictions()) { if (!first) sb.append(", "); sb.append("restrictions:");
if (isSetRestrictions()) { if (!first) sb.append(", "); sb.append("restrictions:");
this.contact = new User(other.contact); if (other.isSetRestrictions()) { this.restrictions = new NotebookRestrictions(other.restrictions);
this.contact = new User(other.contact); if (other.isSetRestrictions()) { this.restrictions = new NotebookRestrictions(other.restrictions);
lastComparison = Boolean.valueOf(isSetRestrictions()).compareTo(typedOther.isSetRestrictions()); if (lastComparison != 0) { return lastComparison; if (isSetRestrictions()) { lastComparison = TBaseHelper.compareTo(this.restrictions, typedOther.restrictions); if (lastComparison != 0) { return lastComparison;
lastComparison = Boolean.valueOf(isSetRestrictions()).compareTo(typedOther.isSetRestrictions()); if (lastComparison != 0) { return lastComparison; if (isSetRestrictions()) { lastComparison = TBaseHelper.compareTo(this.restrictions, typedOther.restrictions); if (lastComparison != 0) { return lastComparison;
boolean this_present_restrictions = true && this.isSetRestrictions(); boolean that_present_restrictions = true && that.isSetRestrictions(); if (this_present_restrictions || that_present_restrictions) { if (!(this_present_restrictions && that_present_restrictions))
boolean this_present_restrictions = true && this.isSetRestrictions(); boolean that_present_restrictions = true && that.isSetRestrictions(); if (this_present_restrictions || that_present_restrictions) { if (!(this_present_restrictions && that_present_restrictions))
if (isSetRestrictions()) { oprot.writeFieldBegin(RESTRICTIONS_FIELD_DESC); this.restrictions.write(oprot);
if (isSetRestrictions()) { oprot.writeFieldBegin(RESTRICTIONS_FIELD_DESC); this.restrictions.write(oprot);