Exemplo n.º 1
0
 /** Performs a deep copy on <i>other</i>. */
 public SliceRange(SliceRange other) {
   __isset_bit_vector.clear();
   __isset_bit_vector.or(other.__isset_bit_vector);
   if (other.isSetStart()) {
     this.start = new byte[other.start.length];
     System.arraycopy(other.start, 0, start, 0, other.start.length);
   }
   if (other.isSetFinish()) {
     this.finish = new byte[other.finish.length];
     System.arraycopy(other.finish, 0, finish, 0, other.finish.length);
   }
   this.reversed = other.reversed;
   this.count = other.count;
 }
Exemplo n.º 2
0
 /** Performs a deep copy on <i>other</i>. */
 public KeyCount(KeyCount other) {
   __isset_bit_vector.clear();
   __isset_bit_vector.or(other.__isset_bit_vector);
   if (other.isSetKey()) {
     this.key = new byte[other.key.length];
     System.arraycopy(other.key, 0, key, 0, other.key.length);
   }
   this.count = other.count;
 }
Exemplo n.º 3
0
 /** Performs a deep copy on <i>other</i>. */
 public Deletion(Deletion other) {
   __isset_bit_vector.clear();
   __isset_bit_vector.or(other.__isset_bit_vector);
   this.timestamp = other.timestamp;
   if (other.isSetSuper_column()) {
     this.super_column = new byte[other.super_column.length];
     System.arraycopy(other.super_column, 0, super_column, 0, other.super_column.length);
   }
   if (other.isSetPredicate()) {
     this.predicate = new SlicePredicate(other.predicate);
   }
 }
 /** Performs a deep copy on <i>other</i>. */
 public NotesMetadataResultSpec(NotesMetadataResultSpec other) {
   System.arraycopy(other.__isset_vector, 0, __isset_vector, 0, other.__isset_vector.length);
   this.includeTitle = other.includeTitle;
   this.includeContentLength = other.includeContentLength;
   this.includeCreated = other.includeCreated;
   this.includeUpdated = other.includeUpdated;
   this.includeUpdateSequenceNum = other.includeUpdateSequenceNum;
   this.includeNotebookGuid = other.includeNotebookGuid;
   this.includeTagGuids = other.includeTagGuids;
   this.includeAttributes = other.includeAttributes;
   this.includeLargestResourceMime = other.includeLargestResourceMime;
   this.includeLargestResourceSize = other.includeLargestResourceSize;
 }
Exemplo n.º 5
0
 /** Performs a deep copy on <i>other</i>. */
 public SuperColumn(SuperColumn other) {
   if (other.isSetName()) {
     this.name = ByteBuffer.wrap(new byte[other.name.limit() - other.name.arrayOffset()]);
     System.arraycopy(
         other.name.array(),
         other.name.arrayOffset(),
         name.array(),
         0,
         other.name.limit() - other.name.arrayOffset());
   }
   if (other.isSetColumns()) {
     List<Column> __this__columns = new ArrayList<Column>();
     for (Column other_element : other.columns) {
       __this__columns.add(new Column(other_element));
     }
     this.columns = __this__columns;
   }
 }