Subversion Repositories SmartDukaan

Rev

Rev 10120 | Rev 10308 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10120 Rev 10215
Line 127... Line 127...
127
     * @param endDate
127
     * @param endDate
128
     */
128
     */
129
    public List<DetailedPurchaseScan> getPurchaseScansByGrnDate(long startDate, long endDate) throws org.apache.thrift.TException;
129
    public List<DetailedPurchaseScan> getPurchaseScansByGrnDate(long startDate, long endDate) throws org.apache.thrift.TException;
130
 
130
 
131
    /**
131
    /**
-
 
132
     * Returns the grn-ids between grn dates
-
 
133
     * 
-
 
134
     * @param startDate
-
 
135
     * @param endDate
-
 
136
     */
-
 
137
    public List<Long> getEmptyGrnsByDate(long startDate, long endDate) throws org.apache.thrift.TException;
-
 
138
 
-
 
139
    /**
132
     * Returns the invoices and the count of scans against on a given day.
140
     * Returns the invoices and the count of scans against on a given day.
133
     * 
141
     * 
134
     * @param date
142
     * @param date
135
     */
143
     */
136
    public List<InvoiceScan> fetchScansPerInvoiceNumber(long date) throws org.apache.thrift.TException;
144
    public List<InvoiceScan> fetchScansPerInvoiceNumber(long date) throws org.apache.thrift.TException;
Line 314... Line 322...
314
 
322
 
315
    public void getPurchaseScans(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPurchaseScans_call> resultHandler) throws org.apache.thrift.TException;
323
    public void getPurchaseScans(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPurchaseScans_call> resultHandler) throws org.apache.thrift.TException;
316
 
324
 
317
    public void getPurchaseScansByGrnDate(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPurchaseScansByGrnDate_call> resultHandler) throws org.apache.thrift.TException;
325
    public void getPurchaseScansByGrnDate(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getPurchaseScansByGrnDate_call> resultHandler) throws org.apache.thrift.TException;
318
 
326
 
-
 
327
    public void getEmptyGrnsByDate(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getEmptyGrnsByDate_call> resultHandler) throws org.apache.thrift.TException;
-
 
328
 
319
    public void fetchScansPerInvoiceNumber(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.fetchScansPerInvoiceNumber_call> resultHandler) throws org.apache.thrift.TException;
329
    public void fetchScansPerInvoiceNumber(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.fetchScansPerInvoiceNumber_call> resultHandler) throws org.apache.thrift.TException;
320
 
330
 
321
    public void getInventoryItemFromOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getInventoryItemFromOrder_call> resultHandler) throws org.apache.thrift.TException;
331
    public void getInventoryItemFromOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getInventoryItemFromOrder_call> resultHandler) throws org.apache.thrift.TException;
322
 
332
 
323
    public void getInventoryAge(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getInventoryAge_call> resultHandler) throws org.apache.thrift.TException;
333
    public void getInventoryAge(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getInventoryAge_call> resultHandler) throws org.apache.thrift.TException;
Line 725... Line 735...
725
        return result.success;
735
        return result.success;
726
      }
736
      }
727
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPurchaseScansByGrnDate failed: unknown result");
737
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getPurchaseScansByGrnDate failed: unknown result");
728
    }
738
    }
729
 
739
 
-
 
740
    public List<Long> getEmptyGrnsByDate(long startDate, long endDate) throws org.apache.thrift.TException
-
 
741
    {
-
 
742
      send_getEmptyGrnsByDate(startDate, endDate);
-
 
743
      return recv_getEmptyGrnsByDate();
-
 
744
    }
-
 
745
 
-
 
746
    public void send_getEmptyGrnsByDate(long startDate, long endDate) throws org.apache.thrift.TException
-
 
747
    {
-
 
748
      getEmptyGrnsByDate_args args = new getEmptyGrnsByDate_args();
-
 
749
      args.setStartDate(startDate);
-
 
750
      args.setEndDate(endDate);
-
 
751
      sendBase("getEmptyGrnsByDate", args);
-
 
752
    }
-
 
753
 
-
 
754
    public List<Long> recv_getEmptyGrnsByDate() throws org.apache.thrift.TException
-
 
755
    {
-
 
756
      getEmptyGrnsByDate_result result = new getEmptyGrnsByDate_result();
-
 
757
      receiveBase(result, "getEmptyGrnsByDate");
-
 
758
      if (result.isSetSuccess()) {
-
 
759
        return result.success;
-
 
760
      }
-
 
761
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getEmptyGrnsByDate failed: unknown result");
-
 
762
    }
-
 
763
 
730
    public List<InvoiceScan> fetchScansPerInvoiceNumber(long date) throws org.apache.thrift.TException
764
    public List<InvoiceScan> fetchScansPerInvoiceNumber(long date) throws org.apache.thrift.TException
731
    {
765
    {
732
      send_fetchScansPerInvoiceNumber(date);
766
      send_fetchScansPerInvoiceNumber(date);
733
      return recv_fetchScansPerInvoiceNumber();
767
      return recv_fetchScansPerInvoiceNumber();
734
    }
768
    }
Line 2164... Line 2198...
2164
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2198
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2165
        return (new Client(prot)).recv_getPurchaseScansByGrnDate();
2199
        return (new Client(prot)).recv_getPurchaseScansByGrnDate();
2166
      }
2200
      }
2167
    }
2201
    }
2168
 
2202
 
-
 
2203
    public void getEmptyGrnsByDate(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<getEmptyGrnsByDate_call> resultHandler) throws org.apache.thrift.TException {
-
 
2204
      checkReady();
-
 
2205
      getEmptyGrnsByDate_call method_call = new getEmptyGrnsByDate_call(startDate, endDate, resultHandler, this, ___protocolFactory, ___transport);
-
 
2206
      this.___currentMethod = method_call;
-
 
2207
      ___manager.call(method_call);
-
 
2208
    }
-
 
2209
 
-
 
2210
    public static class getEmptyGrnsByDate_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2211
      private long startDate;
-
 
2212
      private long endDate;
-
 
2213
      public getEmptyGrnsByDate_call(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<getEmptyGrnsByDate_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
2214
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2215
        this.startDate = startDate;
-
 
2216
        this.endDate = endDate;
-
 
2217
      }
-
 
2218
 
-
 
2219
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2220
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getEmptyGrnsByDate", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2221
        getEmptyGrnsByDate_args args = new getEmptyGrnsByDate_args();
-
 
2222
        args.setStartDate(startDate);
-
 
2223
        args.setEndDate(endDate);
-
 
2224
        args.write(prot);
-
 
2225
        prot.writeMessageEnd();
-
 
2226
      }
-
 
2227
 
-
 
2228
      public List<Long> getResult() throws org.apache.thrift.TException {
-
 
2229
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2230
          throw new IllegalStateException("Method call not finished!");
-
 
2231
        }
-
 
2232
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2233
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2234
        return (new Client(prot)).recv_getEmptyGrnsByDate();
-
 
2235
      }
-
 
2236
    }
-
 
2237
 
2169
    public void fetchScansPerInvoiceNumber(long date, org.apache.thrift.async.AsyncMethodCallback<fetchScansPerInvoiceNumber_call> resultHandler) throws org.apache.thrift.TException {
2238
    public void fetchScansPerInvoiceNumber(long date, org.apache.thrift.async.AsyncMethodCallback<fetchScansPerInvoiceNumber_call> resultHandler) throws org.apache.thrift.TException {
2170
      checkReady();
2239
      checkReady();
2171
      fetchScansPerInvoiceNumber_call method_call = new fetchScansPerInvoiceNumber_call(date, resultHandler, this, ___protocolFactory, ___transport);
2240
      fetchScansPerInvoiceNumber_call method_call = new fetchScansPerInvoiceNumber_call(date, resultHandler, this, ___protocolFactory, ___transport);
2172
      this.___currentMethod = method_call;
2241
      this.___currentMethod = method_call;
2173
      ___manager.call(method_call);
2242
      ___manager.call(method_call);
Line 3569... Line 3638...
3569
      processMap.put("getItemIds", new getItemIds());
3638
      processMap.put("getItemIds", new getItemIds());
3570
      processMap.put("getInventoryItemsFromLastScanType", new getInventoryItemsFromLastScanType());
3639
      processMap.put("getInventoryItemsFromLastScanType", new getInventoryItemsFromLastScanType());
3571
      processMap.put("getInventoryItemFromId", new getInventoryItemFromId());
3640
      processMap.put("getInventoryItemFromId", new getInventoryItemFromId());
3572
      processMap.put("getPurchaseScans", new getPurchaseScans());
3641
      processMap.put("getPurchaseScans", new getPurchaseScans());
3573
      processMap.put("getPurchaseScansByGrnDate", new getPurchaseScansByGrnDate());
3642
      processMap.put("getPurchaseScansByGrnDate", new getPurchaseScansByGrnDate());
-
 
3643
      processMap.put("getEmptyGrnsByDate", new getEmptyGrnsByDate());
3574
      processMap.put("fetchScansPerInvoiceNumber", new fetchScansPerInvoiceNumber());
3644
      processMap.put("fetchScansPerInvoiceNumber", new fetchScansPerInvoiceNumber());
3575
      processMap.put("getInventoryItemFromOrder", new getInventoryItemFromOrder());
3645
      processMap.put("getInventoryItemFromOrder", new getInventoryItemFromOrder());
3576
      processMap.put("getInventoryAge", new getInventoryAge());
3646
      processMap.put("getInventoryAge", new getInventoryAge());
3577
      processMap.put("getInventoryScansForItem", new getInventoryScansForItem());
3647
      processMap.put("getInventoryScansForItem", new getInventoryScansForItem());
3578
      processMap.put("getScanRecordsForSerialNumber", new getScanRecordsForSerialNumber());
3648
      processMap.put("getScanRecordsForSerialNumber", new getScanRecordsForSerialNumber());
Line 3831... Line 3901...
3831
        result.success = iface.getPurchaseScansByGrnDate(args.startDate, args.endDate);
3901
        result.success = iface.getPurchaseScansByGrnDate(args.startDate, args.endDate);
3832
        return result;
3902
        return result;
3833
      }
3903
      }
3834
    }
3904
    }
3835
 
3905
 
-
 
3906
    private static class getEmptyGrnsByDate<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getEmptyGrnsByDate_args> {
-
 
3907
      public getEmptyGrnsByDate() {
-
 
3908
        super("getEmptyGrnsByDate");
-
 
3909
      }
-
 
3910
 
-
 
3911
      protected getEmptyGrnsByDate_args getEmptyArgsInstance() {
-
 
3912
        return new getEmptyGrnsByDate_args();
-
 
3913
      }
-
 
3914
 
-
 
3915
      protected getEmptyGrnsByDate_result getResult(I iface, getEmptyGrnsByDate_args args) throws org.apache.thrift.TException {
-
 
3916
        getEmptyGrnsByDate_result result = new getEmptyGrnsByDate_result();
-
 
3917
        result.success = iface.getEmptyGrnsByDate(args.startDate, args.endDate);
-
 
3918
        return result;
-
 
3919
      }
-
 
3920
    }
-
 
3921
 
3836
    private static class fetchScansPerInvoiceNumber<I extends Iface> extends org.apache.thrift.ProcessFunction<I, fetchScansPerInvoiceNumber_args> {
3922
    private static class fetchScansPerInvoiceNumber<I extends Iface> extends org.apache.thrift.ProcessFunction<I, fetchScansPerInvoiceNumber_args> {
3837
      public fetchScansPerInvoiceNumber() {
3923
      public fetchScansPerInvoiceNumber() {
3838
        super("fetchScansPerInvoiceNumber");
3924
        super("fetchScansPerInvoiceNumber");
3839
      }
3925
      }
3840
 
3926
 
Line 13973... Line 14059...
13973
      }
14059
      }
13974
    }
14060
    }
13975
 
14061
 
13976
  }
14062
  }
13977
 
14063
 
-
 
14064
  public static class getEmptyGrnsByDate_args implements org.apache.thrift.TBase<getEmptyGrnsByDate_args, getEmptyGrnsByDate_args._Fields>, java.io.Serializable, Cloneable   {
-
 
14065
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getEmptyGrnsByDate_args");
-
 
14066
 
-
 
14067
    private static final org.apache.thrift.protocol.TField START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("startDate", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
14068
    private static final org.apache.thrift.protocol.TField END_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("endDate", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
14069
 
-
 
14070
    private long startDate; // required
-
 
14071
    private long endDate; // required
-
 
14072
 
-
 
14073
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
14074
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
14075
      START_DATE((short)1, "startDate"),
-
 
14076
      END_DATE((short)2, "endDate");
-
 
14077
 
-
 
14078
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
14079
 
-
 
14080
      static {
-
 
14081
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
14082
          byName.put(field.getFieldName(), field);
-
 
14083
        }
-
 
14084
      }
-
 
14085
 
-
 
14086
      /**
-
 
14087
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
14088
       */
-
 
14089
      public static _Fields findByThriftId(int fieldId) {
-
 
14090
        switch(fieldId) {
-
 
14091
          case 1: // START_DATE
-
 
14092
            return START_DATE;
-
 
14093
          case 2: // END_DATE
-
 
14094
            return END_DATE;
-
 
14095
          default:
-
 
14096
            return null;
-
 
14097
        }
-
 
14098
      }
-
 
14099
 
-
 
14100
      /**
-
 
14101
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
14102
       * if it is not found.
-
 
14103
       */
-
 
14104
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
14105
        _Fields fields = findByThriftId(fieldId);
-
 
14106
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
14107
        return fields;
-
 
14108
      }
-
 
14109
 
-
 
14110
      /**
-
 
14111
       * Find the _Fields constant that matches name, or null if its not found.
-
 
14112
       */
-
 
14113
      public static _Fields findByName(String name) {
-
 
14114
        return byName.get(name);
-
 
14115
      }
-
 
14116
 
-
 
14117
      private final short _thriftId;
-
 
14118
      private final String _fieldName;
-
 
14119
 
-
 
14120
      _Fields(short thriftId, String fieldName) {
-
 
14121
        _thriftId = thriftId;
-
 
14122
        _fieldName = fieldName;
-
 
14123
      }
-
 
14124
 
-
 
14125
      public short getThriftFieldId() {
-
 
14126
        return _thriftId;
-
 
14127
      }
-
 
14128
 
-
 
14129
      public String getFieldName() {
-
 
14130
        return _fieldName;
-
 
14131
      }
-
 
14132
    }
-
 
14133
 
-
 
14134
    // isset id assignments
-
 
14135
    private static final int __STARTDATE_ISSET_ID = 0;
-
 
14136
    private static final int __ENDDATE_ISSET_ID = 1;
-
 
14137
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
14138
 
-
 
14139
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
14140
    static {
-
 
14141
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
14142
      tmpMap.put(_Fields.START_DATE, new org.apache.thrift.meta_data.FieldMetaData("startDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
14143
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
14144
      tmpMap.put(_Fields.END_DATE, new org.apache.thrift.meta_data.FieldMetaData("endDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
14145
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
14146
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
14147
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getEmptyGrnsByDate_args.class, metaDataMap);
-
 
14148
    }
-
 
14149
 
-
 
14150
    public getEmptyGrnsByDate_args() {
-
 
14151
    }
-
 
14152
 
-
 
14153
    public getEmptyGrnsByDate_args(
-
 
14154
      long startDate,
-
 
14155
      long endDate)
-
 
14156
    {
-
 
14157
      this();
-
 
14158
      this.startDate = startDate;
-
 
14159
      setStartDateIsSet(true);
-
 
14160
      this.endDate = endDate;
-
 
14161
      setEndDateIsSet(true);
-
 
14162
    }
-
 
14163
 
-
 
14164
    /**
-
 
14165
     * Performs a deep copy on <i>other</i>.
-
 
14166
     */
-
 
14167
    public getEmptyGrnsByDate_args(getEmptyGrnsByDate_args other) {
-
 
14168
      __isset_bit_vector.clear();
-
 
14169
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
14170
      this.startDate = other.startDate;
-
 
14171
      this.endDate = other.endDate;
-
 
14172
    }
-
 
14173
 
-
 
14174
    public getEmptyGrnsByDate_args deepCopy() {
-
 
14175
      return new getEmptyGrnsByDate_args(this);
-
 
14176
    }
-
 
14177
 
-
 
14178
    @Override
-
 
14179
    public void clear() {
-
 
14180
      setStartDateIsSet(false);
-
 
14181
      this.startDate = 0;
-
 
14182
      setEndDateIsSet(false);
-
 
14183
      this.endDate = 0;
-
 
14184
    }
-
 
14185
 
-
 
14186
    public long getStartDate() {
-
 
14187
      return this.startDate;
-
 
14188
    }
-
 
14189
 
-
 
14190
    public void setStartDate(long startDate) {
-
 
14191
      this.startDate = startDate;
-
 
14192
      setStartDateIsSet(true);
-
 
14193
    }
-
 
14194
 
-
 
14195
    public void unsetStartDate() {
-
 
14196
      __isset_bit_vector.clear(__STARTDATE_ISSET_ID);
-
 
14197
    }
-
 
14198
 
-
 
14199
    /** Returns true if field startDate is set (has been assigned a value) and false otherwise */
-
 
14200
    public boolean isSetStartDate() {
-
 
14201
      return __isset_bit_vector.get(__STARTDATE_ISSET_ID);
-
 
14202
    }
-
 
14203
 
-
 
14204
    public void setStartDateIsSet(boolean value) {
-
 
14205
      __isset_bit_vector.set(__STARTDATE_ISSET_ID, value);
-
 
14206
    }
-
 
14207
 
-
 
14208
    public long getEndDate() {
-
 
14209
      return this.endDate;
-
 
14210
    }
-
 
14211
 
-
 
14212
    public void setEndDate(long endDate) {
-
 
14213
      this.endDate = endDate;
-
 
14214
      setEndDateIsSet(true);
-
 
14215
    }
-
 
14216
 
-
 
14217
    public void unsetEndDate() {
-
 
14218
      __isset_bit_vector.clear(__ENDDATE_ISSET_ID);
-
 
14219
    }
-
 
14220
 
-
 
14221
    /** Returns true if field endDate is set (has been assigned a value) and false otherwise */
-
 
14222
    public boolean isSetEndDate() {
-
 
14223
      return __isset_bit_vector.get(__ENDDATE_ISSET_ID);
-
 
14224
    }
-
 
14225
 
-
 
14226
    public void setEndDateIsSet(boolean value) {
-
 
14227
      __isset_bit_vector.set(__ENDDATE_ISSET_ID, value);
-
 
14228
    }
-
 
14229
 
-
 
14230
    public void setFieldValue(_Fields field, Object value) {
-
 
14231
      switch (field) {
-
 
14232
      case START_DATE:
-
 
14233
        if (value == null) {
-
 
14234
          unsetStartDate();
-
 
14235
        } else {
-
 
14236
          setStartDate((Long)value);
-
 
14237
        }
-
 
14238
        break;
-
 
14239
 
-
 
14240
      case END_DATE:
-
 
14241
        if (value == null) {
-
 
14242
          unsetEndDate();
-
 
14243
        } else {
-
 
14244
          setEndDate((Long)value);
-
 
14245
        }
-
 
14246
        break;
-
 
14247
 
-
 
14248
      }
-
 
14249
    }
-
 
14250
 
-
 
14251
    public Object getFieldValue(_Fields field) {
-
 
14252
      switch (field) {
-
 
14253
      case START_DATE:
-
 
14254
        return Long.valueOf(getStartDate());
-
 
14255
 
-
 
14256
      case END_DATE:
-
 
14257
        return Long.valueOf(getEndDate());
-
 
14258
 
-
 
14259
      }
-
 
14260
      throw new IllegalStateException();
-
 
14261
    }
-
 
14262
 
-
 
14263
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
14264
    public boolean isSet(_Fields field) {
-
 
14265
      if (field == null) {
-
 
14266
        throw new IllegalArgumentException();
-
 
14267
      }
-
 
14268
 
-
 
14269
      switch (field) {
-
 
14270
      case START_DATE:
-
 
14271
        return isSetStartDate();
-
 
14272
      case END_DATE:
-
 
14273
        return isSetEndDate();
-
 
14274
      }
-
 
14275
      throw new IllegalStateException();
-
 
14276
    }
-
 
14277
 
-
 
14278
    @Override
-
 
14279
    public boolean equals(Object that) {
-
 
14280
      if (that == null)
-
 
14281
        return false;
-
 
14282
      if (that instanceof getEmptyGrnsByDate_args)
-
 
14283
        return this.equals((getEmptyGrnsByDate_args)that);
-
 
14284
      return false;
-
 
14285
    }
-
 
14286
 
-
 
14287
    public boolean equals(getEmptyGrnsByDate_args that) {
-
 
14288
      if (that == null)
-
 
14289
        return false;
-
 
14290
 
-
 
14291
      boolean this_present_startDate = true;
-
 
14292
      boolean that_present_startDate = true;
-
 
14293
      if (this_present_startDate || that_present_startDate) {
-
 
14294
        if (!(this_present_startDate && that_present_startDate))
-
 
14295
          return false;
-
 
14296
        if (this.startDate != that.startDate)
-
 
14297
          return false;
-
 
14298
      }
-
 
14299
 
-
 
14300
      boolean this_present_endDate = true;
-
 
14301
      boolean that_present_endDate = true;
-
 
14302
      if (this_present_endDate || that_present_endDate) {
-
 
14303
        if (!(this_present_endDate && that_present_endDate))
-
 
14304
          return false;
-
 
14305
        if (this.endDate != that.endDate)
-
 
14306
          return false;
-
 
14307
      }
-
 
14308
 
-
 
14309
      return true;
-
 
14310
    }
-
 
14311
 
-
 
14312
    @Override
-
 
14313
    public int hashCode() {
-
 
14314
      return 0;
-
 
14315
    }
-
 
14316
 
-
 
14317
    public int compareTo(getEmptyGrnsByDate_args other) {
-
 
14318
      if (!getClass().equals(other.getClass())) {
-
 
14319
        return getClass().getName().compareTo(other.getClass().getName());
-
 
14320
      }
-
 
14321
 
-
 
14322
      int lastComparison = 0;
-
 
14323
      getEmptyGrnsByDate_args typedOther = (getEmptyGrnsByDate_args)other;
-
 
14324
 
-
 
14325
      lastComparison = Boolean.valueOf(isSetStartDate()).compareTo(typedOther.isSetStartDate());
-
 
14326
      if (lastComparison != 0) {
-
 
14327
        return lastComparison;
-
 
14328
      }
-
 
14329
      if (isSetStartDate()) {
-
 
14330
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startDate, typedOther.startDate);
-
 
14331
        if (lastComparison != 0) {
-
 
14332
          return lastComparison;
-
 
14333
        }
-
 
14334
      }
-
 
14335
      lastComparison = Boolean.valueOf(isSetEndDate()).compareTo(typedOther.isSetEndDate());
-
 
14336
      if (lastComparison != 0) {
-
 
14337
        return lastComparison;
-
 
14338
      }
-
 
14339
      if (isSetEndDate()) {
-
 
14340
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endDate, typedOther.endDate);
-
 
14341
        if (lastComparison != 0) {
-
 
14342
          return lastComparison;
-
 
14343
        }
-
 
14344
      }
-
 
14345
      return 0;
-
 
14346
    }
-
 
14347
 
-
 
14348
    public _Fields fieldForId(int fieldId) {
-
 
14349
      return _Fields.findByThriftId(fieldId);
-
 
14350
    }
-
 
14351
 
-
 
14352
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
14353
      org.apache.thrift.protocol.TField field;
-
 
14354
      iprot.readStructBegin();
-
 
14355
      while (true)
-
 
14356
      {
-
 
14357
        field = iprot.readFieldBegin();
-
 
14358
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
14359
          break;
-
 
14360
        }
-
 
14361
        switch (field.id) {
-
 
14362
          case 1: // START_DATE
-
 
14363
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
14364
              this.startDate = iprot.readI64();
-
 
14365
              setStartDateIsSet(true);
-
 
14366
            } else { 
-
 
14367
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
14368
            }
-
 
14369
            break;
-
 
14370
          case 2: // END_DATE
-
 
14371
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
14372
              this.endDate = iprot.readI64();
-
 
14373
              setEndDateIsSet(true);
-
 
14374
            } else { 
-
 
14375
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
14376
            }
-
 
14377
            break;
-
 
14378
          default:
-
 
14379
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
14380
        }
-
 
14381
        iprot.readFieldEnd();
-
 
14382
      }
-
 
14383
      iprot.readStructEnd();
-
 
14384
      validate();
-
 
14385
    }
-
 
14386
 
-
 
14387
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
14388
      validate();
-
 
14389
 
-
 
14390
      oprot.writeStructBegin(STRUCT_DESC);
-
 
14391
      oprot.writeFieldBegin(START_DATE_FIELD_DESC);
-
 
14392
      oprot.writeI64(this.startDate);
-
 
14393
      oprot.writeFieldEnd();
-
 
14394
      oprot.writeFieldBegin(END_DATE_FIELD_DESC);
-
 
14395
      oprot.writeI64(this.endDate);
-
 
14396
      oprot.writeFieldEnd();
-
 
14397
      oprot.writeFieldStop();
-
 
14398
      oprot.writeStructEnd();
-
 
14399
    }
-
 
14400
 
-
 
14401
    @Override
-
 
14402
    public String toString() {
-
 
14403
      StringBuilder sb = new StringBuilder("getEmptyGrnsByDate_args(");
-
 
14404
      boolean first = true;
-
 
14405
 
-
 
14406
      sb.append("startDate:");
-
 
14407
      sb.append(this.startDate);
-
 
14408
      first = false;
-
 
14409
      if (!first) sb.append(", ");
-
 
14410
      sb.append("endDate:");
-
 
14411
      sb.append(this.endDate);
-
 
14412
      first = false;
-
 
14413
      sb.append(")");
-
 
14414
      return sb.toString();
-
 
14415
    }
-
 
14416
 
-
 
14417
    public void validate() throws org.apache.thrift.TException {
-
 
14418
      // check for required fields
-
 
14419
    }
-
 
14420
 
-
 
14421
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
14422
      try {
-
 
14423
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
14424
      } catch (org.apache.thrift.TException te) {
-
 
14425
        throw new java.io.IOException(te);
-
 
14426
      }
-
 
14427
    }
-
 
14428
 
-
 
14429
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
14430
      try {
-
 
14431
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
14432
        __isset_bit_vector = new BitSet(1);
-
 
14433
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
14434
      } catch (org.apache.thrift.TException te) {
-
 
14435
        throw new java.io.IOException(te);
-
 
14436
      }
-
 
14437
    }
-
 
14438
 
-
 
14439
  }
-
 
14440
 
-
 
14441
  public static class getEmptyGrnsByDate_result implements org.apache.thrift.TBase<getEmptyGrnsByDate_result, getEmptyGrnsByDate_result._Fields>, java.io.Serializable, Cloneable   {
-
 
14442
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getEmptyGrnsByDate_result");
-
 
14443
 
-
 
14444
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
14445
 
-
 
14446
    private List<Long> success; // required
-
 
14447
 
-
 
14448
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
14449
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
14450
      SUCCESS((short)0, "success");
-
 
14451
 
-
 
14452
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
14453
 
-
 
14454
      static {
-
 
14455
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
14456
          byName.put(field.getFieldName(), field);
-
 
14457
        }
-
 
14458
      }
-
 
14459
 
-
 
14460
      /**
-
 
14461
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
14462
       */
-
 
14463
      public static _Fields findByThriftId(int fieldId) {
-
 
14464
        switch(fieldId) {
-
 
14465
          case 0: // SUCCESS
-
 
14466
            return SUCCESS;
-
 
14467
          default:
-
 
14468
            return null;
-
 
14469
        }
-
 
14470
      }
-
 
14471
 
-
 
14472
      /**
-
 
14473
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
14474
       * if it is not found.
-
 
14475
       */
-
 
14476
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
14477
        _Fields fields = findByThriftId(fieldId);
-
 
14478
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
14479
        return fields;
-
 
14480
      }
-
 
14481
 
-
 
14482
      /**
-
 
14483
       * Find the _Fields constant that matches name, or null if its not found.
-
 
14484
       */
-
 
14485
      public static _Fields findByName(String name) {
-
 
14486
        return byName.get(name);
-
 
14487
      }
-
 
14488
 
-
 
14489
      private final short _thriftId;
-
 
14490
      private final String _fieldName;
-
 
14491
 
-
 
14492
      _Fields(short thriftId, String fieldName) {
-
 
14493
        _thriftId = thriftId;
-
 
14494
        _fieldName = fieldName;
-
 
14495
      }
-
 
14496
 
-
 
14497
      public short getThriftFieldId() {
-
 
14498
        return _thriftId;
-
 
14499
      }
-
 
14500
 
-
 
14501
      public String getFieldName() {
-
 
14502
        return _fieldName;
-
 
14503
      }
-
 
14504
    }
-
 
14505
 
-
 
14506
    // isset id assignments
-
 
14507
 
-
 
14508
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
14509
    static {
-
 
14510
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
14511
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
14512
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
14513
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
14514
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
14515
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getEmptyGrnsByDate_result.class, metaDataMap);
-
 
14516
    }
-
 
14517
 
-
 
14518
    public getEmptyGrnsByDate_result() {
-
 
14519
    }
-
 
14520
 
-
 
14521
    public getEmptyGrnsByDate_result(
-
 
14522
      List<Long> success)
-
 
14523
    {
-
 
14524
      this();
-
 
14525
      this.success = success;
-
 
14526
    }
-
 
14527
 
-
 
14528
    /**
-
 
14529
     * Performs a deep copy on <i>other</i>.
-
 
14530
     */
-
 
14531
    public getEmptyGrnsByDate_result(getEmptyGrnsByDate_result other) {
-
 
14532
      if (other.isSetSuccess()) {
-
 
14533
        List<Long> __this__success = new ArrayList<Long>();
-
 
14534
        for (Long other_element : other.success) {
-
 
14535
          __this__success.add(other_element);
-
 
14536
        }
-
 
14537
        this.success = __this__success;
-
 
14538
      }
-
 
14539
    }
-
 
14540
 
-
 
14541
    public getEmptyGrnsByDate_result deepCopy() {
-
 
14542
      return new getEmptyGrnsByDate_result(this);
-
 
14543
    }
-
 
14544
 
-
 
14545
    @Override
-
 
14546
    public void clear() {
-
 
14547
      this.success = null;
-
 
14548
    }
-
 
14549
 
-
 
14550
    public int getSuccessSize() {
-
 
14551
      return (this.success == null) ? 0 : this.success.size();
-
 
14552
    }
-
 
14553
 
-
 
14554
    public java.util.Iterator<Long> getSuccessIterator() {
-
 
14555
      return (this.success == null) ? null : this.success.iterator();
-
 
14556
    }
-
 
14557
 
-
 
14558
    public void addToSuccess(long elem) {
-
 
14559
      if (this.success == null) {
-
 
14560
        this.success = new ArrayList<Long>();
-
 
14561
      }
-
 
14562
      this.success.add(elem);
-
 
14563
    }
-
 
14564
 
-
 
14565
    public List<Long> getSuccess() {
-
 
14566
      return this.success;
-
 
14567
    }
-
 
14568
 
-
 
14569
    public void setSuccess(List<Long> success) {
-
 
14570
      this.success = success;
-
 
14571
    }
-
 
14572
 
-
 
14573
    public void unsetSuccess() {
-
 
14574
      this.success = null;
-
 
14575
    }
-
 
14576
 
-
 
14577
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
14578
    public boolean isSetSuccess() {
-
 
14579
      return this.success != null;
-
 
14580
    }
-
 
14581
 
-
 
14582
    public void setSuccessIsSet(boolean value) {
-
 
14583
      if (!value) {
-
 
14584
        this.success = null;
-
 
14585
      }
-
 
14586
    }
-
 
14587
 
-
 
14588
    public void setFieldValue(_Fields field, Object value) {
-
 
14589
      switch (field) {
-
 
14590
      case SUCCESS:
-
 
14591
        if (value == null) {
-
 
14592
          unsetSuccess();
-
 
14593
        } else {
-
 
14594
          setSuccess((List<Long>)value);
-
 
14595
        }
-
 
14596
        break;
-
 
14597
 
-
 
14598
      }
-
 
14599
    }
-
 
14600
 
-
 
14601
    public Object getFieldValue(_Fields field) {
-
 
14602
      switch (field) {
-
 
14603
      case SUCCESS:
-
 
14604
        return getSuccess();
-
 
14605
 
-
 
14606
      }
-
 
14607
      throw new IllegalStateException();
-
 
14608
    }
-
 
14609
 
-
 
14610
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
14611
    public boolean isSet(_Fields field) {
-
 
14612
      if (field == null) {
-
 
14613
        throw new IllegalArgumentException();
-
 
14614
      }
-
 
14615
 
-
 
14616
      switch (field) {
-
 
14617
      case SUCCESS:
-
 
14618
        return isSetSuccess();
-
 
14619
      }
-
 
14620
      throw new IllegalStateException();
-
 
14621
    }
-
 
14622
 
-
 
14623
    @Override
-
 
14624
    public boolean equals(Object that) {
-
 
14625
      if (that == null)
-
 
14626
        return false;
-
 
14627
      if (that instanceof getEmptyGrnsByDate_result)
-
 
14628
        return this.equals((getEmptyGrnsByDate_result)that);
-
 
14629
      return false;
-
 
14630
    }
-
 
14631
 
-
 
14632
    public boolean equals(getEmptyGrnsByDate_result that) {
-
 
14633
      if (that == null)
-
 
14634
        return false;
-
 
14635
 
-
 
14636
      boolean this_present_success = true && this.isSetSuccess();
-
 
14637
      boolean that_present_success = true && that.isSetSuccess();
-
 
14638
      if (this_present_success || that_present_success) {
-
 
14639
        if (!(this_present_success && that_present_success))
-
 
14640
          return false;
-
 
14641
        if (!this.success.equals(that.success))
-
 
14642
          return false;
-
 
14643
      }
-
 
14644
 
-
 
14645
      return true;
-
 
14646
    }
-
 
14647
 
-
 
14648
    @Override
-
 
14649
    public int hashCode() {
-
 
14650
      return 0;
-
 
14651
    }
-
 
14652
 
-
 
14653
    public int compareTo(getEmptyGrnsByDate_result other) {
-
 
14654
      if (!getClass().equals(other.getClass())) {
-
 
14655
        return getClass().getName().compareTo(other.getClass().getName());
-
 
14656
      }
-
 
14657
 
-
 
14658
      int lastComparison = 0;
-
 
14659
      getEmptyGrnsByDate_result typedOther = (getEmptyGrnsByDate_result)other;
-
 
14660
 
-
 
14661
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
14662
      if (lastComparison != 0) {
-
 
14663
        return lastComparison;
-
 
14664
      }
-
 
14665
      if (isSetSuccess()) {
-
 
14666
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
14667
        if (lastComparison != 0) {
-
 
14668
          return lastComparison;
-
 
14669
        }
-
 
14670
      }
-
 
14671
      return 0;
-
 
14672
    }
-
 
14673
 
-
 
14674
    public _Fields fieldForId(int fieldId) {
-
 
14675
      return _Fields.findByThriftId(fieldId);
-
 
14676
    }
-
 
14677
 
-
 
14678
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
14679
      org.apache.thrift.protocol.TField field;
-
 
14680
      iprot.readStructBegin();
-
 
14681
      while (true)
-
 
14682
      {
-
 
14683
        field = iprot.readFieldBegin();
-
 
14684
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
14685
          break;
-
 
14686
        }
-
 
14687
        switch (field.id) {
-
 
14688
          case 0: // SUCCESS
-
 
14689
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
14690
              {
-
 
14691
                org.apache.thrift.protocol.TList _list20 = iprot.readListBegin();
-
 
14692
                this.success = new ArrayList<Long>(_list20.size);
-
 
14693
                for (int _i21 = 0; _i21 < _list20.size; ++_i21)
-
 
14694
                {
-
 
14695
                  long _elem22; // required
-
 
14696
                  _elem22 = iprot.readI64();
-
 
14697
                  this.success.add(_elem22);
-
 
14698
                }
-
 
14699
                iprot.readListEnd();
-
 
14700
              }
-
 
14701
            } else { 
-
 
14702
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
14703
            }
-
 
14704
            break;
-
 
14705
          default:
-
 
14706
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
14707
        }
-
 
14708
        iprot.readFieldEnd();
-
 
14709
      }
-
 
14710
      iprot.readStructEnd();
-
 
14711
      validate();
-
 
14712
    }
-
 
14713
 
-
 
14714
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
14715
      oprot.writeStructBegin(STRUCT_DESC);
-
 
14716
 
-
 
14717
      if (this.isSetSuccess()) {
-
 
14718
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
14719
        {
-
 
14720
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
-
 
14721
          for (long _iter23 : this.success)
-
 
14722
          {
-
 
14723
            oprot.writeI64(_iter23);
-
 
14724
          }
-
 
14725
          oprot.writeListEnd();
-
 
14726
        }
-
 
14727
        oprot.writeFieldEnd();
-
 
14728
      }
-
 
14729
      oprot.writeFieldStop();
-
 
14730
      oprot.writeStructEnd();
-
 
14731
    }
-
 
14732
 
-
 
14733
    @Override
-
 
14734
    public String toString() {
-
 
14735
      StringBuilder sb = new StringBuilder("getEmptyGrnsByDate_result(");
-
 
14736
      boolean first = true;
-
 
14737
 
-
 
14738
      sb.append("success:");
-
 
14739
      if (this.success == null) {
-
 
14740
        sb.append("null");
-
 
14741
      } else {
-
 
14742
        sb.append(this.success);
-
 
14743
      }
-
 
14744
      first = false;
-
 
14745
      sb.append(")");
-
 
14746
      return sb.toString();
-
 
14747
    }
-
 
14748
 
-
 
14749
    public void validate() throws org.apache.thrift.TException {
-
 
14750
      // check for required fields
-
 
14751
    }
-
 
14752
 
-
 
14753
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
14754
      try {
-
 
14755
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
14756
      } catch (org.apache.thrift.TException te) {
-
 
14757
        throw new java.io.IOException(te);
-
 
14758
      }
-
 
14759
    }
-
 
14760
 
-
 
14761
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
14762
      try {
-
 
14763
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
14764
      } catch (org.apache.thrift.TException te) {
-
 
14765
        throw new java.io.IOException(te);
-
 
14766
      }
-
 
14767
    }
-
 
14768
 
-
 
14769
  }
-
 
14770
 
13978
  public static class fetchScansPerInvoiceNumber_args implements org.apache.thrift.TBase<fetchScansPerInvoiceNumber_args, fetchScansPerInvoiceNumber_args._Fields>, java.io.Serializable, Cloneable   {
14771
  public static class fetchScansPerInvoiceNumber_args implements org.apache.thrift.TBase<fetchScansPerInvoiceNumber_args, fetchScansPerInvoiceNumber_args._Fields>, java.io.Serializable, Cloneable   {
13979
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fetchScansPerInvoiceNumber_args");
14772
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fetchScansPerInvoiceNumber_args");
13980
 
14773
 
13981
    private static final org.apache.thrift.protocol.TField DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("date", org.apache.thrift.protocol.TType.I64, (short)1);
14774
    private static final org.apache.thrift.protocol.TField DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("date", org.apache.thrift.protocol.TType.I64, (short)1);
13982
 
14775
 
Line 14517... Line 15310...
14517
        }
15310
        }
14518
        switch (field.id) {
15311
        switch (field.id) {
14519
          case 0: // SUCCESS
15312
          case 0: // SUCCESS
14520
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
15313
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
14521
              {
15314
              {
14522
                org.apache.thrift.protocol.TList _list20 = iprot.readListBegin();
15315
                org.apache.thrift.protocol.TList _list24 = iprot.readListBegin();
14523
                this.success = new ArrayList<InvoiceScan>(_list20.size);
15316
                this.success = new ArrayList<InvoiceScan>(_list24.size);
14524
                for (int _i21 = 0; _i21 < _list20.size; ++_i21)
15317
                for (int _i25 = 0; _i25 < _list24.size; ++_i25)
14525
                {
15318
                {
14526
                  InvoiceScan _elem22; // required
15319
                  InvoiceScan _elem26; // required
14527
                  _elem22 = new InvoiceScan();
15320
                  _elem26 = new InvoiceScan();
14528
                  _elem22.read(iprot);
15321
                  _elem26.read(iprot);
14529
                  this.success.add(_elem22);
15322
                  this.success.add(_elem26);
14530
                }
15323
                }
14531
                iprot.readListEnd();
15324
                iprot.readListEnd();
14532
              }
15325
              }
14533
            } else { 
15326
            } else { 
14534
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
15327
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 14548... Line 15341...
14548
 
15341
 
14549
      if (this.isSetSuccess()) {
15342
      if (this.isSetSuccess()) {
14550
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
15343
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
14551
        {
15344
        {
14552
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
15345
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
14553
          for (InvoiceScan _iter23 : this.success)
15346
          for (InvoiceScan _iter27 : this.success)
14554
          {
15347
          {
14555
            _iter23.write(oprot);
15348
            _iter27.write(oprot);
14556
          }
15349
          }
14557
          oprot.writeListEnd();
15350
          oprot.writeListEnd();
14558
        }
15351
        }
14559
        oprot.writeFieldEnd();
15352
        oprot.writeFieldEnd();
14560
      }
15353
      }
Line 15724... Line 16517...
15724
        }
16517
        }
15725
        switch (field.id) {
16518
        switch (field.id) {
15726
          case 0: // SUCCESS
16519
          case 0: // SUCCESS
15727
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
16520
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
15728
              {
16521
              {
15729
                org.apache.thrift.protocol.TList _list24 = iprot.readListBegin();
16522
                org.apache.thrift.protocol.TList _list28 = iprot.readListBegin();
15730
                this.success = new ArrayList<InventoryAge>(_list24.size);
16523
                this.success = new ArrayList<InventoryAge>(_list28.size);
15731
                for (int _i25 = 0; _i25 < _list24.size; ++_i25)
16524
                for (int _i29 = 0; _i29 < _list28.size; ++_i29)
15732
                {
16525
                {
15733
                  InventoryAge _elem26; // required
16526
                  InventoryAge _elem30; // required
15734
                  _elem26 = new InventoryAge();
16527
                  _elem30 = new InventoryAge();
15735
                  _elem26.read(iprot);
16528
                  _elem30.read(iprot);
15736
                  this.success.add(_elem26);
16529
                  this.success.add(_elem30);
15737
                }
16530
                }
15738
                iprot.readListEnd();
16531
                iprot.readListEnd();
15739
              }
16532
              }
15740
            } else { 
16533
            } else { 
15741
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
16534
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 15755... Line 16548...
15755
 
16548
 
15756
      if (this.isSetSuccess()) {
16549
      if (this.isSetSuccess()) {
15757
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
16550
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
15758
        {
16551
        {
15759
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
16552
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
15760
          for (InventoryAge _iter27 : this.success)
16553
          for (InventoryAge _iter31 : this.success)
15761
          {
16554
          {
15762
            _iter27.write(oprot);
16555
            _iter31.write(oprot);
15763
          }
16556
          }
15764
          oprot.writeListEnd();
16557
          oprot.writeListEnd();
15765
        }
16558
        }
15766
        oprot.writeFieldEnd();
16559
        oprot.writeFieldEnd();
15767
      }
16560
      }
Line 16513... Line 17306...
16513
        }
17306
        }
16514
        switch (field.id) {
17307
        switch (field.id) {
16515
          case 0: // SUCCESS
17308
          case 0: // SUCCESS
16516
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
17309
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
16517
              {
17310
              {
16518
                org.apache.thrift.protocol.TList _list28 = iprot.readListBegin();
17311
                org.apache.thrift.protocol.TList _list32 = iprot.readListBegin();
16519
                this.success = new ArrayList<Scan>(_list28.size);
17312
                this.success = new ArrayList<Scan>(_list32.size);
16520
                for (int _i29 = 0; _i29 < _list28.size; ++_i29)
17313
                for (int _i33 = 0; _i33 < _list32.size; ++_i33)
16521
                {
17314
                {
16522
                  Scan _elem30; // required
17315
                  Scan _elem34; // required
16523
                  _elem30 = new Scan();
17316
                  _elem34 = new Scan();
16524
                  _elem30.read(iprot);
17317
                  _elem34.read(iprot);
16525
                  this.success.add(_elem30);
17318
                  this.success.add(_elem34);
16526
                }
17319
                }
16527
                iprot.readListEnd();
17320
                iprot.readListEnd();
16528
              }
17321
              }
16529
            } else { 
17322
            } else { 
16530
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
17323
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 16544... Line 17337...
16544
 
17337
 
16545
      if (this.isSetSuccess()) {
17338
      if (this.isSetSuccess()) {
16546
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
17339
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
16547
        {
17340
        {
16548
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
17341
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
16549
          for (Scan _iter31 : this.success)
17342
          for (Scan _iter35 : this.success)
16550
          {
17343
          {
16551
            _iter31.write(oprot);
17344
            _iter35.write(oprot);
16552
          }
17345
          }
16553
          oprot.writeListEnd();
17346
          oprot.writeListEnd();
16554
        }
17347
        }
16555
        oprot.writeFieldEnd();
17348
        oprot.writeFieldEnd();
16556
      }
17349
      }
Line 17138... Line 17931...
17138
        }
17931
        }
17139
        switch (field.id) {
17932
        switch (field.id) {
17140
          case 0: // SUCCESS
17933
          case 0: // SUCCESS
17141
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
17934
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
17142
              {
17935
              {
17143
                org.apache.thrift.protocol.TList _list32 = iprot.readListBegin();
17936
                org.apache.thrift.protocol.TList _list36 = iprot.readListBegin();
17144
                this.success = new ArrayList<Scan>(_list32.size);
17937
                this.success = new ArrayList<Scan>(_list36.size);
17145
                for (int _i33 = 0; _i33 < _list32.size; ++_i33)
17938
                for (int _i37 = 0; _i37 < _list36.size; ++_i37)
17146
                {
17939
                {
17147
                  Scan _elem34; // required
17940
                  Scan _elem38; // required
17148
                  _elem34 = new Scan();
17941
                  _elem38 = new Scan();
17149
                  _elem34.read(iprot);
17942
                  _elem38.read(iprot);
17150
                  this.success.add(_elem34);
17943
                  this.success.add(_elem38);
17151
                }
17944
                }
17152
                iprot.readListEnd();
17945
                iprot.readListEnd();
17153
              }
17946
              }
17154
            } else { 
17947
            } else { 
17155
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
17948
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 17169... Line 17962...
17169
 
17962
 
17170
      if (this.isSetSuccess()) {
17963
      if (this.isSetSuccess()) {
17171
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
17964
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
17172
        {
17965
        {
17173
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
17966
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
17174
          for (Scan _iter35 : this.success)
17967
          for (Scan _iter39 : this.success)
17175
          {
17968
          {
17176
            _iter35.write(oprot);
17969
            _iter39.write(oprot);
17177
          }
17970
          }
17178
          oprot.writeListEnd();
17971
          oprot.writeListEnd();
17179
        }
17972
        }
17180
        oprot.writeFieldEnd();
17973
        oprot.writeFieldEnd();
17181
      }
17974
      }
Line 17608... Line 18401...
17608
        }
18401
        }
17609
        switch (field.id) {
18402
        switch (field.id) {
17610
          case 1: // SALE_RETURN_ITEMS
18403
          case 1: // SALE_RETURN_ITEMS
17611
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18404
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
17612
              {
18405
              {
17613
                org.apache.thrift.protocol.TList _list36 = iprot.readListBegin();
18406
                org.apache.thrift.protocol.TList _list40 = iprot.readListBegin();
17614
                this.saleReturnItems = new ArrayList<InventoryItem>(_list36.size);
18407
                this.saleReturnItems = new ArrayList<InventoryItem>(_list40.size);
17615
                for (int _i37 = 0; _i37 < _list36.size; ++_i37)
18408
                for (int _i41 = 0; _i41 < _list40.size; ++_i41)
17616
                {
18409
                {
17617
                  InventoryItem _elem38; // required
18410
                  InventoryItem _elem42; // required
17618
                  _elem38 = new InventoryItem();
18411
                  _elem42 = new InventoryItem();
17619
                  _elem38.read(iprot);
18412
                  _elem42.read(iprot);
17620
                  this.saleReturnItems.add(_elem38);
18413
                  this.saleReturnItems.add(_elem42);
17621
                }
18414
                }
17622
                iprot.readListEnd();
18415
                iprot.readListEnd();
17623
              }
18416
              }
17624
            } else { 
18417
            } else { 
17625
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
18418
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 17656... Line 18449...
17656
      oprot.writeStructBegin(STRUCT_DESC);
18449
      oprot.writeStructBegin(STRUCT_DESC);
17657
      if (this.saleReturnItems != null) {
18450
      if (this.saleReturnItems != null) {
17658
        oprot.writeFieldBegin(SALE_RETURN_ITEMS_FIELD_DESC);
18451
        oprot.writeFieldBegin(SALE_RETURN_ITEMS_FIELD_DESC);
17659
        {
18452
        {
17660
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.saleReturnItems.size()));
18453
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.saleReturnItems.size()));
17661
          for (InventoryItem _iter39 : this.saleReturnItems)
18454
          for (InventoryItem _iter43 : this.saleReturnItems)
17662
          {
18455
          {
17663
            _iter39.write(oprot);
18456
            _iter43.write(oprot);
17664
          }
18457
          }
17665
          oprot.writeListEnd();
18458
          oprot.writeListEnd();
17666
        }
18459
        }
17667
        oprot.writeFieldEnd();
18460
        oprot.writeFieldEnd();
17668
      }
18461
      }
Line 18403... Line 19196...
18403
        }
19196
        }
18404
        switch (field.id) {
19197
        switch (field.id) {
18405
          case 1: // LOST_ITEMS
19198
          case 1: // LOST_ITEMS
18406
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
19199
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18407
              {
19200
              {
18408
                org.apache.thrift.protocol.TList _list40 = iprot.readListBegin();
19201
                org.apache.thrift.protocol.TList _list44 = iprot.readListBegin();
18409
                this.lostItems = new ArrayList<InventoryItem>(_list40.size);
19202
                this.lostItems = new ArrayList<InventoryItem>(_list44.size);
18410
                for (int _i41 = 0; _i41 < _list40.size; ++_i41)
19203
                for (int _i45 = 0; _i45 < _list44.size; ++_i45)
18411
                {
19204
                {
18412
                  InventoryItem _elem42; // required
19205
                  InventoryItem _elem46; // required
18413
                  _elem42 = new InventoryItem();
19206
                  _elem46 = new InventoryItem();
18414
                  _elem42.read(iprot);
19207
                  _elem46.read(iprot);
18415
                  this.lostItems.add(_elem42);
19208
                  this.lostItems.add(_elem46);
18416
                }
19209
                }
18417
                iprot.readListEnd();
19210
                iprot.readListEnd();
18418
              }
19211
              }
18419
            } else { 
19212
            } else { 
18420
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
19213
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 18451... Line 19244...
18451
      oprot.writeStructBegin(STRUCT_DESC);
19244
      oprot.writeStructBegin(STRUCT_DESC);
18452
      if (this.lostItems != null) {
19245
      if (this.lostItems != null) {
18453
        oprot.writeFieldBegin(LOST_ITEMS_FIELD_DESC);
19246
        oprot.writeFieldBegin(LOST_ITEMS_FIELD_DESC);
18454
        {
19247
        {
18455
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.lostItems.size()));
19248
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.lostItems.size()));
18456
          for (InventoryItem _iter43 : this.lostItems)
19249
          for (InventoryItem _iter47 : this.lostItems)
18457
          {
19250
          {
18458
            _iter43.write(oprot);
19251
            _iter47.write(oprot);
18459
          }
19252
          }
18460
          oprot.writeListEnd();
19253
          oprot.writeListEnd();
18461
        }
19254
        }
18462
        oprot.writeFieldEnd();
19255
        oprot.writeFieldEnd();
18463
      }
19256
      }
Line 19353... Line 20146...
19353
        }
20146
        }
19354
        switch (field.id) {
20147
        switch (field.id) {
19355
          case 0: // SUCCESS
20148
          case 0: // SUCCESS
19356
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
20149
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
19357
              {
20150
              {
19358
                org.apache.thrift.protocol.TList _list44 = iprot.readListBegin();
20151
                org.apache.thrift.protocol.TList _list48 = iprot.readListBegin();
19359
                this.success = new ArrayList<InventoryAvailability>(_list44.size);
20152
                this.success = new ArrayList<InventoryAvailability>(_list48.size);
19360
                for (int _i45 = 0; _i45 < _list44.size; ++_i45)
20153
                for (int _i49 = 0; _i49 < _list48.size; ++_i49)
19361
                {
20154
                {
19362
                  InventoryAvailability _elem46; // required
20155
                  InventoryAvailability _elem50; // required
19363
                  _elem46 = new InventoryAvailability();
20156
                  _elem50 = new InventoryAvailability();
19364
                  _elem46.read(iprot);
20157
                  _elem50.read(iprot);
19365
                  this.success.add(_elem46);
20158
                  this.success.add(_elem50);
19366
                }
20159
                }
19367
                iprot.readListEnd();
20160
                iprot.readListEnd();
19368
              }
20161
              }
19369
            } else { 
20162
            } else { 
19370
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
20163
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 19384... Line 20177...
19384
 
20177
 
19385
      if (this.isSetSuccess()) {
20178
      if (this.isSetSuccess()) {
19386
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
20179
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
19387
        {
20180
        {
19388
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
20181
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
19389
          for (InventoryAvailability _iter47 : this.success)
20182
          for (InventoryAvailability _iter51 : this.success)
19390
          {
20183
          {
19391
            _iter47.write(oprot);
20184
            _iter51.write(oprot);
19392
          }
20185
          }
19393
          oprot.writeListEnd();
20186
          oprot.writeListEnd();
19394
        }
20187
        }
19395
        oprot.writeFieldEnd();
20188
        oprot.writeFieldEnd();
19396
      }
20189
      }
Line 19978... Line 20771...
19978
        }
20771
        }
19979
        switch (field.id) {
20772
        switch (field.id) {
19980
          case 0: // SUCCESS
20773
          case 0: // SUCCESS
19981
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
20774
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
19982
              {
20775
              {
19983
                org.apache.thrift.protocol.TList _list48 = iprot.readListBegin();
20776
                org.apache.thrift.protocol.TList _list52 = iprot.readListBegin();
19984
                this.success = new ArrayList<InventoryAvailability>(_list48.size);
20777
                this.success = new ArrayList<InventoryAvailability>(_list52.size);
19985
                for (int _i49 = 0; _i49 < _list48.size; ++_i49)
20778
                for (int _i53 = 0; _i53 < _list52.size; ++_i53)
19986
                {
20779
                {
19987
                  InventoryAvailability _elem50; // required
20780
                  InventoryAvailability _elem54; // required
19988
                  _elem50 = new InventoryAvailability();
20781
                  _elem54 = new InventoryAvailability();
19989
                  _elem50.read(iprot);
20782
                  _elem54.read(iprot);
19990
                  this.success.add(_elem50);
20783
                  this.success.add(_elem54);
19991
                }
20784
                }
19992
                iprot.readListEnd();
20785
                iprot.readListEnd();
19993
              }
20786
              }
19994
            } else { 
20787
            } else { 
19995
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
20788
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 20009... Line 20802...
20009
 
20802
 
20010
      if (this.isSetSuccess()) {
20803
      if (this.isSetSuccess()) {
20011
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
20804
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
20012
        {
20805
        {
20013
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
20806
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
20014
          for (InventoryAvailability _iter51 : this.success)
20807
          for (InventoryAvailability _iter55 : this.success)
20015
          {
20808
          {
20016
            _iter51.write(oprot);
20809
            _iter55.write(oprot);
20017
          }
20810
          }
20018
          oprot.writeListEnd();
20811
          oprot.writeListEnd();
20019
        }
20812
        }
20020
        oprot.writeFieldEnd();
20813
        oprot.writeFieldEnd();
20021
      }
20814
      }
Line 20603... Line 21396...
20603
        }
21396
        }
20604
        switch (field.id) {
21397
        switch (field.id) {
20605
          case 0: // SUCCESS
21398
          case 0: // SUCCESS
20606
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
21399
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
20607
              {
21400
              {
20608
                org.apache.thrift.protocol.TList _list52 = iprot.readListBegin();
21401
                org.apache.thrift.protocol.TList _list56 = iprot.readListBegin();
20609
                this.success = new ArrayList<InventoryAvailability>(_list52.size);
21402
                this.success = new ArrayList<InventoryAvailability>(_list56.size);
20610
                for (int _i53 = 0; _i53 < _list52.size; ++_i53)
21403
                for (int _i57 = 0; _i57 < _list56.size; ++_i57)
20611
                {
21404
                {
20612
                  InventoryAvailability _elem54; // required
21405
                  InventoryAvailability _elem58; // required
20613
                  _elem54 = new InventoryAvailability();
21406
                  _elem58 = new InventoryAvailability();
20614
                  _elem54.read(iprot);
21407
                  _elem58.read(iprot);
20615
                  this.success.add(_elem54);
21408
                  this.success.add(_elem58);
20616
                }
21409
                }
20617
                iprot.readListEnd();
21410
                iprot.readListEnd();
20618
              }
21411
              }
20619
            } else { 
21412
            } else { 
20620
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
21413
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 20634... Line 21427...
20634
 
21427
 
20635
      if (this.isSetSuccess()) {
21428
      if (this.isSetSuccess()) {
20636
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
21429
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
20637
        {
21430
        {
20638
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
21431
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
20639
          for (InventoryAvailability _iter55 : this.success)
21432
          for (InventoryAvailability _iter59 : this.success)
20640
          {
21433
          {
20641
            _iter55.write(oprot);
21434
            _iter59.write(oprot);
20642
          }
21435
          }
20643
          oprot.writeListEnd();
21436
          oprot.writeListEnd();
20644
        }
21437
        }
20645
        oprot.writeFieldEnd();
21438
        oprot.writeFieldEnd();
20646
      }
21439
      }
Line 21226... Line 22019...
21226
        }
22019
        }
21227
        switch (field.id) {
22020
        switch (field.id) {
21228
          case 0: // SUCCESS
22021
          case 0: // SUCCESS
21229
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
22022
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
21230
              {
22023
              {
21231
                org.apache.thrift.protocol.TList _list56 = iprot.readListBegin();
22024
                org.apache.thrift.protocol.TList _list60 = iprot.readListBegin();
21232
                this.success = new ArrayList<InventoryAvailability>(_list56.size);
22025
                this.success = new ArrayList<InventoryAvailability>(_list60.size);
21233
                for (int _i57 = 0; _i57 < _list56.size; ++_i57)
22026
                for (int _i61 = 0; _i61 < _list60.size; ++_i61)
21234
                {
22027
                {
21235
                  InventoryAvailability _elem58; // required
22028
                  InventoryAvailability _elem62; // required
21236
                  _elem58 = new InventoryAvailability();
22029
                  _elem62 = new InventoryAvailability();
21237
                  _elem58.read(iprot);
22030
                  _elem62.read(iprot);
21238
                  this.success.add(_elem58);
22031
                  this.success.add(_elem62);
21239
                }
22032
                }
21240
                iprot.readListEnd();
22033
                iprot.readListEnd();
21241
              }
22034
              }
21242
            } else { 
22035
            } else { 
21243
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
22036
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 21257... Line 22050...
21257
 
22050
 
21258
      if (this.isSetSuccess()) {
22051
      if (this.isSetSuccess()) {
21259
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
22052
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
21260
        {
22053
        {
21261
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
22054
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
21262
          for (InventoryAvailability _iter59 : this.success)
22055
          for (InventoryAvailability _iter63 : this.success)
21263
          {
22056
          {
21264
            _iter59.write(oprot);
22057
            _iter63.write(oprot);
21265
          }
22058
          }
21266
          oprot.writeListEnd();
22059
          oprot.writeListEnd();
21267
        }
22060
        }
21268
        oprot.writeFieldEnd();
22061
        oprot.writeFieldEnd();
21269
      }
22062
      }
Line 23873... Line 24666...
23873
        }
24666
        }
23874
        switch (field.id) {
24667
        switch (field.id) {
23875
          case 0: // SUCCESS
24668
          case 0: // SUCCESS
23876
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
24669
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
23877
              {
24670
              {
23878
                org.apache.thrift.protocol.TList _list60 = iprot.readListBegin();
24671
                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
23879
                this.success = new ArrayList<InventoryMovement>(_list60.size);
24672
                this.success = new ArrayList<InventoryMovement>(_list64.size);
23880
                for (int _i61 = 0; _i61 < _list60.size; ++_i61)
24673
                for (int _i65 = 0; _i65 < _list64.size; ++_i65)
23881
                {
24674
                {
23882
                  InventoryMovement _elem62; // required
24675
                  InventoryMovement _elem66; // required
23883
                  _elem62 = new InventoryMovement();
24676
                  _elem66 = new InventoryMovement();
23884
                  _elem62.read(iprot);
24677
                  _elem66.read(iprot);
23885
                  this.success.add(_elem62);
24678
                  this.success.add(_elem66);
23886
                }
24679
                }
23887
                iprot.readListEnd();
24680
                iprot.readListEnd();
23888
              }
24681
              }
23889
            } else { 
24682
            } else { 
23890
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
24683
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 23904... Line 24697...
23904
 
24697
 
23905
      if (this.isSetSuccess()) {
24698
      if (this.isSetSuccess()) {
23906
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
24699
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
23907
        {
24700
        {
23908
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
24701
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
23909
          for (InventoryMovement _iter63 : this.success)
24702
          for (InventoryMovement _iter67 : this.success)
23910
          {
24703
          {
23911
            _iter63.write(oprot);
24704
            _iter67.write(oprot);
23912
          }
24705
          }
23913
          oprot.writeListEnd();
24706
          oprot.writeListEnd();
23914
        }
24707
        }
23915
        oprot.writeFieldEnd();
24708
        oprot.writeFieldEnd();
23916
      }
24709
      }
Line 24581... Line 25374...
24581
        }
25374
        }
24582
        switch (field.id) {
25375
        switch (field.id) {
24583
          case 0: // SUCCESS
25376
          case 0: // SUCCESS
24584
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25377
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
24585
              {
25378
              {
24586
                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
25379
                org.apache.thrift.protocol.TList _list68 = iprot.readListBegin();
24587
                this.success = new ArrayList<InventoryMovement>(_list64.size);
25380
                this.success = new ArrayList<InventoryMovement>(_list68.size);
24588
                for (int _i65 = 0; _i65 < _list64.size; ++_i65)
25381
                for (int _i69 = 0; _i69 < _list68.size; ++_i69)
24589
                {
25382
                {
24590
                  InventoryMovement _elem66; // required
25383
                  InventoryMovement _elem70; // required
24591
                  _elem66 = new InventoryMovement();
25384
                  _elem70 = new InventoryMovement();
24592
                  _elem66.read(iprot);
25385
                  _elem70.read(iprot);
24593
                  this.success.add(_elem66);
25386
                  this.success.add(_elem70);
24594
                }
25387
                }
24595
                iprot.readListEnd();
25388
                iprot.readListEnd();
24596
              }
25389
              }
24597
            } else { 
25390
            } else { 
24598
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
25391
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 24612... Line 25405...
24612
 
25405
 
24613
      if (this.isSetSuccess()) {
25406
      if (this.isSetSuccess()) {
24614
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
25407
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
24615
        {
25408
        {
24616
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
25409
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
24617
          for (InventoryMovement _iter67 : this.success)
25410
          for (InventoryMovement _iter71 : this.success)
24618
          {
25411
          {
24619
            _iter67.write(oprot);
25412
            _iter71.write(oprot);
24620
          }
25413
          }
24621
          oprot.writeListEnd();
25414
          oprot.writeListEnd();
24622
        }
25415
        }
24623
        oprot.writeFieldEnd();
25416
        oprot.writeFieldEnd();
24624
      }
25417
      }
Line 25289... Line 26082...
25289
        }
26082
        }
25290
        switch (field.id) {
26083
        switch (field.id) {
25291
          case 0: // SUCCESS
26084
          case 0: // SUCCESS
25292
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26085
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25293
              {
26086
              {
25294
                org.apache.thrift.protocol.TList _list68 = iprot.readListBegin();
26087
                org.apache.thrift.protocol.TList _list72 = iprot.readListBegin();
25295
                this.success = new ArrayList<InventoryMovement>(_list68.size);
26088
                this.success = new ArrayList<InventoryMovement>(_list72.size);
25296
                for (int _i69 = 0; _i69 < _list68.size; ++_i69)
26089
                for (int _i73 = 0; _i73 < _list72.size; ++_i73)
25297
                {
26090
                {
25298
                  InventoryMovement _elem70; // required
26091
                  InventoryMovement _elem74; // required
25299
                  _elem70 = new InventoryMovement();
26092
                  _elem74 = new InventoryMovement();
25300
                  _elem70.read(iprot);
26093
                  _elem74.read(iprot);
25301
                  this.success.add(_elem70);
26094
                  this.success.add(_elem74);
25302
                }
26095
                }
25303
                iprot.readListEnd();
26096
                iprot.readListEnd();
25304
              }
26097
              }
25305
            } else { 
26098
            } else { 
25306
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
26099
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 25320... Line 26113...
25320
 
26113
 
25321
      if (this.isSetSuccess()) {
26114
      if (this.isSetSuccess()) {
25322
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26115
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
25323
        {
26116
        {
25324
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26117
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
25325
          for (InventoryMovement _iter71 : this.success)
26118
          for (InventoryMovement _iter75 : this.success)
25326
          {
26119
          {
25327
            _iter71.write(oprot);
26120
            _iter75.write(oprot);
25328
          }
26121
          }
25329
          oprot.writeListEnd();
26122
          oprot.writeListEnd();
25330
        }
26123
        }
25331
        oprot.writeFieldEnd();
26124
        oprot.writeFieldEnd();
25332
      }
26125
      }
Line 25997... Line 26790...
25997
        }
26790
        }
25998
        switch (field.id) {
26791
        switch (field.id) {
25999
          case 0: // SUCCESS
26792
          case 0: // SUCCESS
26000
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26793
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26001
              {
26794
              {
26002
                org.apache.thrift.protocol.TList _list72 = iprot.readListBegin();
26795
                org.apache.thrift.protocol.TList _list76 = iprot.readListBegin();
26003
                this.success = new ArrayList<InventoryMovement>(_list72.size);
26796
                this.success = new ArrayList<InventoryMovement>(_list76.size);
26004
                for (int _i73 = 0; _i73 < _list72.size; ++_i73)
26797
                for (int _i77 = 0; _i77 < _list76.size; ++_i77)
26005
                {
26798
                {
26006
                  InventoryMovement _elem74; // required
26799
                  InventoryMovement _elem78; // required
26007
                  _elem74 = new InventoryMovement();
26800
                  _elem78 = new InventoryMovement();
26008
                  _elem74.read(iprot);
26801
                  _elem78.read(iprot);
26009
                  this.success.add(_elem74);
26802
                  this.success.add(_elem78);
26010
                }
26803
                }
26011
                iprot.readListEnd();
26804
                iprot.readListEnd();
26012
              }
26805
              }
26013
            } else { 
26806
            } else { 
26014
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
26807
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 26028... Line 26821...
26028
 
26821
 
26029
      if (this.isSetSuccess()) {
26822
      if (this.isSetSuccess()) {
26030
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26823
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26031
        {
26824
        {
26032
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26825
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26033
          for (InventoryMovement _iter75 : this.success)
26826
          for (InventoryMovement _iter79 : this.success)
26034
          {
26827
          {
26035
            _iter75.write(oprot);
26828
            _iter79.write(oprot);
26036
          }
26829
          }
26037
          oprot.writeListEnd();
26830
          oprot.writeListEnd();
26038
        }
26831
        }
26039
        oprot.writeFieldEnd();
26832
        oprot.writeFieldEnd();
26040
      }
26833
      }
Line 28911... Line 29704...
28911
      }
29704
      }
28912
    }
29705
    }
28913
 
29706
 
28914
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
29707
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
28915
      try {
29708
      try {
28916
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
28917
        __isset_bit_vector = new BitSet(1);
-
 
28918
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
29709
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
28919
      } catch (org.apache.thrift.TException te) {
29710
      } catch (org.apache.thrift.TException te) {
28920
        throw new java.io.IOException(te);
29711
        throw new java.io.IOException(te);
28921
      }
29712
      }
28922
    }
29713
    }
Line 31349... Line 32140...
31349
        }
32140
        }
31350
        switch (field.id) {
32141
        switch (field.id) {
31351
          case 0: // SUCCESS
32142
          case 0: // SUCCESS
31352
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32143
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31353
              {
32144
              {
31354
                org.apache.thrift.protocol.TList _list76 = iprot.readListBegin();
32145
                org.apache.thrift.protocol.TList _list80 = iprot.readListBegin();
31355
                this.success = new ArrayList<TransferLot>(_list76.size);
32146
                this.success = new ArrayList<TransferLot>(_list80.size);
31356
                for (int _i77 = 0; _i77 < _list76.size; ++_i77)
32147
                for (int _i81 = 0; _i81 < _list80.size; ++_i81)
31357
                {
32148
                {
31358
                  TransferLot _elem78; // required
32149
                  TransferLot _elem82; // required
31359
                  _elem78 = new TransferLot();
32150
                  _elem82 = new TransferLot();
31360
                  _elem78.read(iprot);
32151
                  _elem82.read(iprot);
31361
                  this.success.add(_elem78);
32152
                  this.success.add(_elem82);
31362
                }
32153
                }
31363
                iprot.readListEnd();
32154
                iprot.readListEnd();
31364
              }
32155
              }
31365
            } else { 
32156
            } else { 
31366
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
32157
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 31388... Line 32179...
31388
 
32179
 
31389
      if (this.isSetSuccess()) {
32180
      if (this.isSetSuccess()) {
31390
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32181
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
31391
        {
32182
        {
31392
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
32183
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
31393
          for (TransferLot _iter79 : this.success)
32184
          for (TransferLot _iter83 : this.success)
31394
          {
32185
          {
31395
            _iter79.write(oprot);
32186
            _iter83.write(oprot);
31396
          }
32187
          }
31397
          oprot.writeListEnd();
32188
          oprot.writeListEnd();
31398
        }
32189
        }
31399
        oprot.writeFieldEnd();
32190
        oprot.writeFieldEnd();
31400
      } else if (this.isSetWex()) {
32191
      } else if (this.isSetWex()) {
Line 31994... Line 32785...
31994
        }
32785
        }
31995
        switch (field.id) {
32786
        switch (field.id) {
31996
          case 0: // SUCCESS
32787
          case 0: // SUCCESS
31997
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32788
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
31998
              {
32789
              {
31999
                org.apache.thrift.protocol.TList _list80 = iprot.readListBegin();
32790
                org.apache.thrift.protocol.TList _list84 = iprot.readListBegin();
32000
                this.success = new ArrayList<Long>(_list80.size);
32791
                this.success = new ArrayList<Long>(_list84.size);
32001
                for (int _i81 = 0; _i81 < _list80.size; ++_i81)
32792
                for (int _i85 = 0; _i85 < _list84.size; ++_i85)
32002
                {
32793
                {
32003
                  long _elem82; // required
32794
                  long _elem86; // required
32004
                  _elem82 = iprot.readI64();
32795
                  _elem86 = iprot.readI64();
32005
                  this.success.add(_elem82);
32796
                  this.success.add(_elem86);
32006
                }
32797
                }
32007
                iprot.readListEnd();
32798
                iprot.readListEnd();
32008
              }
32799
              }
32009
            } else { 
32800
            } else { 
32010
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
32801
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 32024... Line 32815...
32024
 
32815
 
32025
      if (this.isSetSuccess()) {
32816
      if (this.isSetSuccess()) {
32026
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32817
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32027
        {
32818
        {
32028
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
32819
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
32029
          for (long _iter83 : this.success)
32820
          for (long _iter87 : this.success)
32030
          {
32821
          {
32031
            oprot.writeI64(_iter83);
32822
            oprot.writeI64(_iter87);
32032
          }
32823
          }
32033
          oprot.writeListEnd();
32824
          oprot.writeListEnd();
32034
        }
32825
        }
32035
        oprot.writeFieldEnd();
32826
        oprot.writeFieldEnd();
32036
      }
32827
      }
Line 32623... Line 33414...
32623
        }
33414
        }
32624
        switch (field.id) {
33415
        switch (field.id) {
32625
          case 0: // SUCCESS
33416
          case 0: // SUCCESS
32626
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
33417
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
32627
              {
33418
              {
32628
                org.apache.thrift.protocol.TMap _map84 = iprot.readMapBegin();
33419
                org.apache.thrift.protocol.TMap _map88 = iprot.readMapBegin();
32629
                this.success = new HashMap<Long,Long>(2*_map84.size);
33420
                this.success = new HashMap<Long,Long>(2*_map88.size);
32630
                for (int _i85 = 0; _i85 < _map84.size; ++_i85)
33421
                for (int _i89 = 0; _i89 < _map88.size; ++_i89)
32631
                {
33422
                {
32632
                  long _key86; // required
33423
                  long _key90; // required
32633
                  long _val87; // required
33424
                  long _val91; // required
32634
                  _key86 = iprot.readI64();
33425
                  _key90 = iprot.readI64();
32635
                  _val87 = iprot.readI64();
33426
                  _val91 = iprot.readI64();
32636
                  this.success.put(_key86, _val87);
33427
                  this.success.put(_key90, _val91);
32637
                }
33428
                }
32638
                iprot.readMapEnd();
33429
                iprot.readMapEnd();
32639
              }
33430
              }
32640
            } else { 
33431
            } else { 
32641
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33432
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 32655... Line 33446...
32655
 
33446
 
32656
      if (this.isSetSuccess()) {
33447
      if (this.isSetSuccess()) {
32657
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33448
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32658
        {
33449
        {
32659
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
33450
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
32660
          for (Map.Entry<Long, Long> _iter88 : this.success.entrySet())
33451
          for (Map.Entry<Long, Long> _iter92 : this.success.entrySet())
32661
          {
33452
          {
32662
            oprot.writeI64(_iter88.getKey());
33453
            oprot.writeI64(_iter92.getKey());
32663
            oprot.writeI64(_iter88.getValue());
33454
            oprot.writeI64(_iter92.getValue());
32664
          }
33455
          }
32665
          oprot.writeMapEnd();
33456
          oprot.writeMapEnd();
32666
        }
33457
        }
32667
        oprot.writeFieldEnd();
33458
        oprot.writeFieldEnd();
32668
      }
33459
      }
Line 34382... Line 35173...
34382
        }
35173
        }
34383
        switch (field.id) {
35174
        switch (field.id) {
34384
          case 1: // INVENTORY_ITEMS
35175
          case 1: // INVENTORY_ITEMS
34385
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35176
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34386
              {
35177
              {
34387
                org.apache.thrift.protocol.TList _list89 = iprot.readListBegin();
35178
                org.apache.thrift.protocol.TList _list93 = iprot.readListBegin();
34388
                this.inventoryItems = new ArrayList<InventoryItem>(_list89.size);
35179
                this.inventoryItems = new ArrayList<InventoryItem>(_list93.size);
34389
                for (int _i90 = 0; _i90 < _list89.size; ++_i90)
35180
                for (int _i94 = 0; _i94 < _list93.size; ++_i94)
34390
                {
35181
                {
34391
                  InventoryItem _elem91; // required
35182
                  InventoryItem _elem95; // required
34392
                  _elem91 = new InventoryItem();
35183
                  _elem95 = new InventoryItem();
34393
                  _elem91.read(iprot);
35184
                  _elem95.read(iprot);
34394
                  this.inventoryItems.add(_elem91);
35185
                  this.inventoryItems.add(_elem95);
34395
                }
35186
                }
34396
                iprot.readListEnd();
35187
                iprot.readListEnd();
34397
              }
35188
              }
34398
            } else { 
35189
            } else { 
34399
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
35190
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 34429... Line 35220...
34429
      oprot.writeStructBegin(STRUCT_DESC);
35220
      oprot.writeStructBegin(STRUCT_DESC);
34430
      if (this.inventoryItems != null) {
35221
      if (this.inventoryItems != null) {
34431
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
35222
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
34432
        {
35223
        {
34433
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
35224
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
34434
          for (InventoryItem _iter92 : this.inventoryItems)
35225
          for (InventoryItem _iter96 : this.inventoryItems)
34435
          {
35226
          {
34436
            _iter92.write(oprot);
35227
            _iter96.write(oprot);
34437
          }
35228
          }
34438
          oprot.writeListEnd();
35229
          oprot.writeListEnd();
34439
        }
35230
        }
34440
        oprot.writeFieldEnd();
35231
        oprot.writeFieldEnd();
34441
      }
35232
      }
Line 35196... Line 35987...
35196
        }
35987
        }
35197
        switch (field.id) {
35988
        switch (field.id) {
35198
          case 1: // INVENTORY_ITEMS
35989
          case 1: // INVENTORY_ITEMS
35199
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35990
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35200
              {
35991
              {
35201
                org.apache.thrift.protocol.TList _list93 = iprot.readListBegin();
35992
                org.apache.thrift.protocol.TList _list97 = iprot.readListBegin();
35202
                this.inventoryItems = new ArrayList<InventoryItem>(_list93.size);
35993
                this.inventoryItems = new ArrayList<InventoryItem>(_list97.size);
35203
                for (int _i94 = 0; _i94 < _list93.size; ++_i94)
35994
                for (int _i98 = 0; _i98 < _list97.size; ++_i98)
35204
                {
35995
                {
35205
                  InventoryItem _elem95; // required
35996
                  InventoryItem _elem99; // required
35206
                  _elem95 = new InventoryItem();
35997
                  _elem99 = new InventoryItem();
35207
                  _elem95.read(iprot);
35998
                  _elem99.read(iprot);
35208
                  this.inventoryItems.add(_elem95);
35999
                  this.inventoryItems.add(_elem99);
35209
                }
36000
                }
35210
                iprot.readListEnd();
36001
                iprot.readListEnd();
35211
              }
36002
              }
35212
            } else { 
36003
            } else { 
35213
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
36004
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 35243... Line 36034...
35243
      oprot.writeStructBegin(STRUCT_DESC);
36034
      oprot.writeStructBegin(STRUCT_DESC);
35244
      if (this.inventoryItems != null) {
36035
      if (this.inventoryItems != null) {
35245
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
36036
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
35246
        {
36037
        {
35247
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
36038
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
35248
          for (InventoryItem _iter96 : this.inventoryItems)
36039
          for (InventoryItem _iter100 : this.inventoryItems)
35249
          {
36040
          {
35250
            _iter96.write(oprot);
36041
            _iter100.write(oprot);
35251
          }
36042
          }
35252
          oprot.writeListEnd();
36043
          oprot.writeListEnd();
35253
        }
36044
        }
35254
        oprot.writeFieldEnd();
36045
        oprot.writeFieldEnd();
35255
      }
36046
      }
Line 35930... Line 36721...
35930
        }
36721
        }
35931
        switch (field.id) {
36722
        switch (field.id) {
35932
          case 1: // INVENTORY_ITEMS
36723
          case 1: // INVENTORY_ITEMS
35933
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36724
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35934
              {
36725
              {
35935
                org.apache.thrift.protocol.TList _list97 = iprot.readListBegin();
36726
                org.apache.thrift.protocol.TList _list101 = iprot.readListBegin();
35936
                this.inventoryItems = new ArrayList<InventoryItem>(_list97.size);
36727
                this.inventoryItems = new ArrayList<InventoryItem>(_list101.size);
35937
                for (int _i98 = 0; _i98 < _list97.size; ++_i98)
36728
                for (int _i102 = 0; _i102 < _list101.size; ++_i102)
35938
                {
36729
                {
35939
                  InventoryItem _elem99; // required
36730
                  InventoryItem _elem103; // required
35940
                  _elem99 = new InventoryItem();
36731
                  _elem103 = new InventoryItem();
35941
                  _elem99.read(iprot);
36732
                  _elem103.read(iprot);
35942
                  this.inventoryItems.add(_elem99);
36733
                  this.inventoryItems.add(_elem103);
35943
                }
36734
                }
35944
                iprot.readListEnd();
36735
                iprot.readListEnd();
35945
              }
36736
              }
35946
            } else { 
36737
            } else { 
35947
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
36738
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 35970... Line 36761...
35970
      oprot.writeStructBegin(STRUCT_DESC);
36761
      oprot.writeStructBegin(STRUCT_DESC);
35971
      if (this.inventoryItems != null) {
36762
      if (this.inventoryItems != null) {
35972
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
36763
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
35973
        {
36764
        {
35974
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
36765
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
35975
          for (InventoryItem _iter100 : this.inventoryItems)
36766
          for (InventoryItem _iter104 : this.inventoryItems)
35976
          {
36767
          {
35977
            _iter100.write(oprot);
36768
            _iter104.write(oprot);
35978
          }
36769
          }
35979
          oprot.writeListEnd();
36770
          oprot.writeListEnd();
35980
        }
36771
        }
35981
        oprot.writeFieldEnd();
36772
        oprot.writeFieldEnd();
35982
      }
36773
      }
Line 37625... Line 38416...
37625
        }
38416
        }
37626
        switch (field.id) {
38417
        switch (field.id) {
37627
          case 0: // SUCCESS
38418
          case 0: // SUCCESS
37628
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38419
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37629
              {
38420
              {
37630
                org.apache.thrift.protocol.TList _list101 = iprot.readListBegin();
38421
                org.apache.thrift.protocol.TList _list105 = iprot.readListBegin();
37631
                this.success = new ArrayList<InTransitInventory>(_list101.size);
38422
                this.success = new ArrayList<InTransitInventory>(_list105.size);
37632
                for (int _i102 = 0; _i102 < _list101.size; ++_i102)
38423
                for (int _i106 = 0; _i106 < _list105.size; ++_i106)
37633
                {
38424
                {
37634
                  InTransitInventory _elem103; // required
38425
                  InTransitInventory _elem107; // required
37635
                  _elem103 = new InTransitInventory();
38426
                  _elem107 = new InTransitInventory();
37636
                  _elem103.read(iprot);
38427
                  _elem107.read(iprot);
37637
                  this.success.add(_elem103);
38428
                  this.success.add(_elem107);
37638
                }
38429
                }
37639
                iprot.readListEnd();
38430
                iprot.readListEnd();
37640
              }
38431
              }
37641
            } else { 
38432
            } else { 
37642
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38433
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 37656... Line 38447...
37656
 
38447
 
37657
      if (this.isSetSuccess()) {
38448
      if (this.isSetSuccess()) {
37658
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38449
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37659
        {
38450
        {
37660
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
38451
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
37661
          for (InTransitInventory _iter104 : this.success)
38452
          for (InTransitInventory _iter108 : this.success)
37662
          {
38453
          {
37663
            _iter104.write(oprot);
38454
            _iter108.write(oprot);
37664
          }
38455
          }
37665
          oprot.writeListEnd();
38456
          oprot.writeListEnd();
37666
        }
38457
        }
37667
        oprot.writeFieldEnd();
38458
        oprot.writeFieldEnd();
37668
      }
38459
      }
Line 39164... Line 39955...
39164
        }
39955
        }
39165
        switch (field.id) {
39956
        switch (field.id) {
39166
          case 0: // SUCCESS
39957
          case 0: // SUCCESS
39167
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39958
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39168
              {
39959
              {
39169
                org.apache.thrift.protocol.TList _list105 = iprot.readListBegin();
39960
                org.apache.thrift.protocol.TList _list109 = iprot.readListBegin();
39170
                this.success = new ArrayList<InventoryAvailability>(_list105.size);
39961
                this.success = new ArrayList<InventoryAvailability>(_list109.size);
39171
                for (int _i106 = 0; _i106 < _list105.size; ++_i106)
39962
                for (int _i110 = 0; _i110 < _list109.size; ++_i110)
39172
                {
39963
                {
39173
                  InventoryAvailability _elem107; // required
39964
                  InventoryAvailability _elem111; // required
39174
                  _elem107 = new InventoryAvailability();
39965
                  _elem111 = new InventoryAvailability();
39175
                  _elem107.read(iprot);
39966
                  _elem111.read(iprot);
39176
                  this.success.add(_elem107);
39967
                  this.success.add(_elem111);
39177
                }
39968
                }
39178
                iprot.readListEnd();
39969
                iprot.readListEnd();
39179
              }
39970
              }
39180
            } else { 
39971
            } else { 
39181
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
39972
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39203... Line 39994...
39203
 
39994
 
39204
      if (this.isSetSuccess()) {
39995
      if (this.isSetSuccess()) {
39205
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39996
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39206
        {
39997
        {
39207
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39998
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39208
          for (InventoryAvailability _iter108 : this.success)
39999
          for (InventoryAvailability _iter112 : this.success)
39209
          {
40000
          {
39210
            _iter108.write(oprot);
40001
            _iter112.write(oprot);
39211
          }
40002
          }
39212
          oprot.writeListEnd();
40003
          oprot.writeListEnd();
39213
        }
40004
        }
39214
        oprot.writeFieldEnd();
40005
        oprot.writeFieldEnd();
39215
      } else if (this.isSetWex()) {
40006
      } else if (this.isSetWex()) {
Line 41161... Line 41952...
41161
        }
41952
        }
41162
        switch (field.id) {
41953
        switch (field.id) {
41163
          case 0: // SUCCESS
41954
          case 0: // SUCCESS
41164
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41955
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41165
              {
41956
              {
41166
                org.apache.thrift.protocol.TList _list109 = iprot.readListBegin();
41957
                org.apache.thrift.protocol.TList _list113 = iprot.readListBegin();
41167
                this.success = new ArrayList<InventoryItem>(_list109.size);
41958
                this.success = new ArrayList<InventoryItem>(_list113.size);
41168
                for (int _i110 = 0; _i110 < _list109.size; ++_i110)
41959
                for (int _i114 = 0; _i114 < _list113.size; ++_i114)
41169
                {
41960
                {
41170
                  InventoryItem _elem111; // required
41961
                  InventoryItem _elem115; // required
41171
                  _elem111 = new InventoryItem();
41962
                  _elem115 = new InventoryItem();
41172
                  _elem111.read(iprot);
41963
                  _elem115.read(iprot);
41173
                  this.success.add(_elem111);
41964
                  this.success.add(_elem115);
41174
                }
41965
                }
41175
                iprot.readListEnd();
41966
                iprot.readListEnd();
41176
              }
41967
              }
41177
            } else { 
41968
            } else { 
41178
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41969
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41200... Line 41991...
41200
 
41991
 
41201
      if (this.isSetSuccess()) {
41992
      if (this.isSetSuccess()) {
41202
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41993
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41203
        {
41994
        {
41204
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41995
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41205
          for (InventoryItem _iter112 : this.success)
41996
          for (InventoryItem _iter116 : this.success)
41206
          {
41997
          {
41207
            _iter112.write(oprot);
41998
            _iter116.write(oprot);
41208
          }
41999
          }
41209
          oprot.writeListEnd();
42000
          oprot.writeListEnd();
41210
        }
42001
        }
41211
        oprot.writeFieldEnd();
42002
        oprot.writeFieldEnd();
41212
      } else if (this.isSetWex()) {
42003
      } else if (this.isSetWex()) {
Line 41583... Line 42374...
41583
        }
42374
        }
41584
        switch (field.id) {
42375
        switch (field.id) {
41585
          case 1: // INVENTORY_ITEMS
42376
          case 1: // INVENTORY_ITEMS
41586
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42377
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41587
              {
42378
              {
41588
                org.apache.thrift.protocol.TList _list113 = iprot.readListBegin();
42379
                org.apache.thrift.protocol.TList _list117 = iprot.readListBegin();
41589
                this.inventoryItems = new ArrayList<InventoryItem>(_list113.size);
42380
                this.inventoryItems = new ArrayList<InventoryItem>(_list117.size);
41590
                for (int _i114 = 0; _i114 < _list113.size; ++_i114)
42381
                for (int _i118 = 0; _i118 < _list117.size; ++_i118)
41591
                {
42382
                {
41592
                  InventoryItem _elem115; // required
42383
                  InventoryItem _elem119; // required
41593
                  _elem115 = new InventoryItem();
42384
                  _elem119 = new InventoryItem();
41594
                  _elem115.read(iprot);
42385
                  _elem119.read(iprot);
41595
                  this.inventoryItems.add(_elem115);
42386
                  this.inventoryItems.add(_elem119);
41596
                }
42387
                }
41597
                iprot.readListEnd();
42388
                iprot.readListEnd();
41598
              }
42389
              }
41599
            } else { 
42390
            } else { 
41600
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42391
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41623... Line 42414...
41623
      oprot.writeStructBegin(STRUCT_DESC);
42414
      oprot.writeStructBegin(STRUCT_DESC);
41624
      if (this.inventoryItems != null) {
42415
      if (this.inventoryItems != null) {
41625
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
42416
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
41626
        {
42417
        {
41627
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
42418
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
41628
          for (InventoryItem _iter116 : this.inventoryItems)
42419
          for (InventoryItem _iter120 : this.inventoryItems)
41629
          {
42420
          {
41630
            _iter116.write(oprot);
42421
            _iter120.write(oprot);
41631
          }
42422
          }
41632
          oprot.writeListEnd();
42423
          oprot.writeListEnd();
41633
        }
42424
        }
41634
        oprot.writeFieldEnd();
42425
        oprot.writeFieldEnd();
41635
      }
42426
      }