/** * 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; } }
if (isSetExpungeWhichSharedNotebookRestrictions()) { if (!first) sb.append(", "); sb.append("expungeWhichSharedNotebookRestrictions:");
if (isSetExpungeWhichSharedNotebookRestrictions()) { if (!first) sb.append(", "); sb.append("expungeWhichSharedNotebookRestrictions:");
lastComparison = Boolean.valueOf(isSetExpungeWhichSharedNotebookRestrictions()).compareTo(typedOther.isSetExpungeWhichSharedNotebookRestrictions()); if (lastComparison != 0) { return lastComparison; if (isSetExpungeWhichSharedNotebookRestrictions()) { lastComparison = TBaseHelper.compareTo(this.expungeWhichSharedNotebookRestrictions, typedOther.expungeWhichSharedNotebookRestrictions); if (lastComparison != 0) { return lastComparison;
lastComparison = Boolean.valueOf(isSetExpungeWhichSharedNotebookRestrictions()).compareTo(typedOther.isSetExpungeWhichSharedNotebookRestrictions()); if (lastComparison != 0) { return lastComparison; if (isSetExpungeWhichSharedNotebookRestrictions()) { lastComparison = TBaseHelper.compareTo(this.expungeWhichSharedNotebookRestrictions, typedOther.expungeWhichSharedNotebookRestrictions); if (lastComparison != 0) { return lastComparison;
boolean this_present_expungeWhichSharedNotebookRestrictions = true && this.isSetExpungeWhichSharedNotebookRestrictions(); boolean that_present_expungeWhichSharedNotebookRestrictions = true && that.isSetExpungeWhichSharedNotebookRestrictions(); if (this_present_expungeWhichSharedNotebookRestrictions || that_present_expungeWhichSharedNotebookRestrictions) { if (!(this_present_expungeWhichSharedNotebookRestrictions && that_present_expungeWhichSharedNotebookRestrictions))
boolean this_present_expungeWhichSharedNotebookRestrictions = true && this.isSetExpungeWhichSharedNotebookRestrictions(); boolean that_present_expungeWhichSharedNotebookRestrictions = true && that.isSetExpungeWhichSharedNotebookRestrictions(); if (this_present_expungeWhichSharedNotebookRestrictions || that_present_expungeWhichSharedNotebookRestrictions) { if (!(this_present_expungeWhichSharedNotebookRestrictions && that_present_expungeWhichSharedNotebookRestrictions))
if (isSetExpungeWhichSharedNotebookRestrictions()) { oprot.writeFieldBegin(EXPUNGE_WHICH_SHARED_NOTEBOOK_RESTRICTIONS_FIELD_DESC); oprot.writeI32(this.expungeWhichSharedNotebookRestrictions.getValue());
if (isSetExpungeWhichSharedNotebookRestrictions()) { oprot.writeFieldBegin(EXPUNGE_WHICH_SHARED_NOTEBOOK_RESTRICTIONS_FIELD_DESC); oprot.writeI32(this.expungeWhichSharedNotebookRestrictions.getValue());