/** * Performs a deep copy on <i>other</i>. */ public NotebookRestrictions(NotebookRestrictions other) { System.arraycopy(other.__isset_vector, 0, __isset_vector, 0, other.__isset_vector.length); this.noReadNotes = other.noReadNotes; this.noCreateNotes = other.noCreateNotes; this.noUpdateNotes = other.noUpdateNotes; this.noExpungeNotes = other.noExpungeNotes; this.noShareNotes = other.noShareNotes; this.noEmailNotes = other.noEmailNotes; this.noSendMessageToRecipients = other.noSendMessageToRecipients; this.noUpdateNotebook = other.noUpdateNotebook; this.noExpungeNotebook = other.noExpungeNotebook; this.noSetDefaultNotebook = other.noSetDefaultNotebook; this.noSetNotebookStack = other.noSetNotebookStack; this.noPublishToPublic = other.noPublishToPublic; this.noPublishToBusinessLibrary = other.noPublishToBusinessLibrary; this.noCreateTags = other.noCreateTags; this.noUpdateTags = other.noUpdateTags; this.noExpungeTags = other.noExpungeTags; this.noSetParentTag = other.noSetParentTag; this.noCreateSharedNotebooks = other.noCreateSharedNotebooks; if (other.isSetUpdateWhichSharedNotebookRestrictions()) { this.updateWhichSharedNotebookRestrictions = other.updateWhichSharedNotebookRestrictions; } if (other.isSetExpungeWhichSharedNotebookRestrictions()) { this.expungeWhichSharedNotebookRestrictions = other.expungeWhichSharedNotebookRestrictions; } }
/** * Performs a deep copy on <i>other</i>. */ public NotebookRestrictions(NotebookRestrictions other) { System.arraycopy(other.__isset_vector, 0, __isset_vector, 0, other.__isset_vector.length); this.noReadNotes = other.noReadNotes; this.noCreateNotes = other.noCreateNotes; this.noUpdateNotes = other.noUpdateNotes; this.noExpungeNotes = other.noExpungeNotes; this.noShareNotes = other.noShareNotes; this.noEmailNotes = other.noEmailNotes; this.noSendMessageToRecipients = other.noSendMessageToRecipients; this.noUpdateNotebook = other.noUpdateNotebook; this.noExpungeNotebook = other.noExpungeNotebook; this.noSetDefaultNotebook = other.noSetDefaultNotebook; this.noSetNotebookStack = other.noSetNotebookStack; this.noPublishToPublic = other.noPublishToPublic; this.noPublishToBusinessLibrary = other.noPublishToBusinessLibrary; this.noCreateTags = other.noCreateTags; this.noUpdateTags = other.noUpdateTags; this.noExpungeTags = other.noExpungeTags; this.noSetParentTag = other.noSetParentTag; this.noCreateSharedNotebooks = other.noCreateSharedNotebooks; if (other.isSetUpdateWhichSharedNotebookRestrictions()) { this.updateWhichSharedNotebookRestrictions = other.updateWhichSharedNotebookRestrictions; } if (other.isSetExpungeWhichSharedNotebookRestrictions()) { this.expungeWhichSharedNotebookRestrictions = other.expungeWhichSharedNotebookRestrictions; } }
first = false; if (isSetUpdateWhichSharedNotebookRestrictions()) { if (!first) sb.append(", "); sb.append("updateWhichSharedNotebookRestrictions:");
first = false; if (isSetUpdateWhichSharedNotebookRestrictions()) { if (!first) sb.append(", "); sb.append("updateWhichSharedNotebookRestrictions:");
lastComparison = Boolean.valueOf(isSetUpdateWhichSharedNotebookRestrictions()).compareTo(typedOther.isSetUpdateWhichSharedNotebookRestrictions()); if (lastComparison != 0) { return lastComparison; if (isSetUpdateWhichSharedNotebookRestrictions()) { lastComparison = TBaseHelper.compareTo(this.updateWhichSharedNotebookRestrictions, typedOther.updateWhichSharedNotebookRestrictions); if (lastComparison != 0) { return lastComparison;
lastComparison = Boolean.valueOf(isSetUpdateWhichSharedNotebookRestrictions()).compareTo(typedOther.isSetUpdateWhichSharedNotebookRestrictions()); if (lastComparison != 0) { return lastComparison; if (isSetUpdateWhichSharedNotebookRestrictions()) { lastComparison = TBaseHelper.compareTo(this.updateWhichSharedNotebookRestrictions, typedOther.updateWhichSharedNotebookRestrictions); if (lastComparison != 0) { return lastComparison;
boolean this_present_updateWhichSharedNotebookRestrictions = true && this.isSetUpdateWhichSharedNotebookRestrictions(); boolean that_present_updateWhichSharedNotebookRestrictions = true && that.isSetUpdateWhichSharedNotebookRestrictions(); if (this_present_updateWhichSharedNotebookRestrictions || that_present_updateWhichSharedNotebookRestrictions) { if (!(this_present_updateWhichSharedNotebookRestrictions && that_present_updateWhichSharedNotebookRestrictions))
boolean this_present_updateWhichSharedNotebookRestrictions = true && this.isSetUpdateWhichSharedNotebookRestrictions(); boolean that_present_updateWhichSharedNotebookRestrictions = true && that.isSetUpdateWhichSharedNotebookRestrictions(); if (this_present_updateWhichSharedNotebookRestrictions || that_present_updateWhichSharedNotebookRestrictions) { if (!(this_present_updateWhichSharedNotebookRestrictions && that_present_updateWhichSharedNotebookRestrictions))
if (isSetUpdateWhichSharedNotebookRestrictions()) { oprot.writeFieldBegin(UPDATE_WHICH_SHARED_NOTEBOOK_RESTRICTIONS_FIELD_DESC); oprot.writeI32(this.updateWhichSharedNotebookRestrictions.getValue());
if (isSetUpdateWhichSharedNotebookRestrictions()) { oprot.writeFieldBegin(UPDATE_WHICH_SHARED_NOTEBOOK_RESTRICTIONS_FIELD_DESC); oprot.writeI32(this.updateWhichSharedNotebookRestrictions.getValue());