/** * Performs a deep copy on <i>other</i>. */ public NotebookDescriptor(NotebookDescriptor other) { System.arraycopy(other.__isset_vector, 0, __isset_vector, 0, other.__isset_vector.length); if (other.isSetGuid()) { this.guid = other.guid; } if (other.isSetNotebookDisplayName()) { this.notebookDisplayName = other.notebookDisplayName; } if (other.isSetContactName()) { this.contactName = other.contactName; } this.hasSharedNotebook = other.hasSharedNotebook; this.joinedUserCount = other.joinedUserCount; }
/** * Performs a deep copy on <i>other</i>. */ public NotebookDescriptor(NotebookDescriptor other) { System.arraycopy(other.__isset_vector, 0, __isset_vector, 0, other.__isset_vector.length); if (other.isSetGuid()) { this.guid = other.guid; } if (other.isSetNotebookDisplayName()) { this.notebookDisplayName = other.notebookDisplayName; } if (other.isSetContactName()) { this.contactName = other.contactName; } this.hasSharedNotebook = other.hasSharedNotebook; this.joinedUserCount = other.joinedUserCount; }
if (isSetContactName()) { if (!first) sb.append(", "); sb.append("contactName:");
if (isSetContactName()) { if (!first) sb.append(", "); sb.append("contactName:");
lastComparison = Boolean.valueOf(isSetContactName()).compareTo(typedOther.isSetContactName()); if (lastComparison != 0) { return lastComparison; if (isSetContactName()) { lastComparison = TBaseHelper.compareTo(this.contactName, typedOther.contactName); if (lastComparison != 0) { return lastComparison;
lastComparison = Boolean.valueOf(isSetContactName()).compareTo(typedOther.isSetContactName()); if (lastComparison != 0) { return lastComparison; if (isSetContactName()) { lastComparison = TBaseHelper.compareTo(this.contactName, typedOther.contactName); if (lastComparison != 0) { return lastComparison;
boolean this_present_contactName = true && this.isSetContactName(); boolean that_present_contactName = true && that.isSetContactName(); if (this_present_contactName || that_present_contactName) { if (!(this_present_contactName && that_present_contactName))
boolean this_present_contactName = true && this.isSetContactName(); boolean that_present_contactName = true && that.isSetContactName(); if (this_present_contactName || that_present_contactName) { if (!(this_present_contactName && that_present_contactName))
if (isSetContactName()) { oprot.writeFieldBegin(CONTACT_NAME_FIELD_DESC); oprot.writeString(this.contactName);
if (isSetContactName()) { oprot.writeFieldBegin(CONTACT_NAME_FIELD_DESC); oprot.writeString(this.contactName);