Subversion Repositories SmartDukaan

Rev

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

Rev 10215 Rev 10308
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
132
     * Returns the empty grn-ids between grn dates
133
     * 
133
     * 
134
     * @param startDate
134
     * @param startDate
135
     * @param endDate
135
     * @param endDate
136
     */
136
     */
137
    public List<Long> getEmptyGrnsByDate(long startDate, long endDate) throws org.apache.thrift.TException;
137
    public List<Long> getEmptyGrnsByDate(long startDate, long endDate) throws org.apache.thrift.TException;
Line 216... Line 216...
216
     * @param date
216
     * @param date
217
     */
217
     */
218
    public List<InventoryAvailability> getHistoricNonSerializedInventoryByScans(long date) throws org.apache.thrift.TException;
218
    public List<InventoryAvailability> getHistoricNonSerializedInventoryByScans(long date) throws org.apache.thrift.TException;
219
 
219
 
220
    /**
220
    /**
-
 
221
     * Get inventory for Serialized items in our warehouses at a given date using entries in ScanNew table
-
 
222
     * 
-
 
223
     * @param date
-
 
224
     */
-
 
225
    public List<InventoryAvailability> getOurHistoricSerializedInventoryByScans(long date) throws org.apache.thrift.TException;
-
 
226
 
-
 
227
    /**
-
 
228
     * Get inventory for Non Serialized items in our warehouses at a given date using entries in ScanNew table
-
 
229
     * 
-
 
230
     * @param date
-
 
231
     */
-
 
232
    public List<InventoryAvailability> getOurHistoricNonSerializedInventoryByScans(long date) throws org.apache.thrift.TException;
-
 
233
 
-
 
234
    /**
221
     * Insert Purchase/Sale Entries for product billed by Hotspot using OURS_EXTERNAL Billing
235
     * Insert Purchase/Sale Entries for product billed by Hotspot using OURS_EXTERNAL Billing
222
     * 
236
     * 
223
     * @param itemId
237
     * @param itemId
224
     * @param serialNumber
238
     * @param serialNumber
225
     * @param itemNumber
239
     * @param itemNumber
Line 237... Line 251...
237
     * @param orderId
251
     * @param orderId
238
     * @param unitPrice
252
     * @param unitPrice
239
     */
253
     */
240
    public void scanForOursExternalSaleReturn(long orderId, double unitPrice) throws WarehouseServiceException, org.apache.thrift.TException;
254
    public void scanForOursExternalSaleReturn(long orderId, double unitPrice) throws WarehouseServiceException, org.apache.thrift.TException;
241
 
255
 
-
 
256
    /**
-
 
257
     * This returns movement for each non serialized item in the specified window.(Doesn't include Hotspot and Amazon w/h)
-
 
258
     * 
-
 
259
     * @param startDate
-
 
260
     * @param endDate
-
 
261
     */
242
    public List<InventoryMovement> getMovementNonSerializedInventoryByScans(long startDate, long endDate) throws org.apache.thrift.TException;
262
    public List<InventoryMovement> getMovementNonSerializedInventoryByScans(long startDate, long endDate) throws org.apache.thrift.TException;
243
 
263
 
-
 
264
    /**
-
 
265
     * This returns movement for each serialized item in the specified window.(Doesn't include Hotspot and Amazon w/h)
-
 
266
     * 
-
 
267
     * @param startDate
-
 
268
     * @param endDate
-
 
269
     */
244
    public List<InventoryMovement> getMovementSerializedInventoryByScans(long startDate, long endDate) throws org.apache.thrift.TException;
270
    public List<InventoryMovement> getMovementSerializedInventoryByScans(long startDate, long endDate) throws org.apache.thrift.TException;
245
 
271
 
-
 
272
    /**
-
 
273
     * This returns movement for each serialized item in the specified window.(Doesn't include Amazon w/h)
-
 
274
     * 
-
 
275
     * @param startDate
-
 
276
     * @param endDate
-
 
277
     */
246
    public List<InventoryMovement> getCompleteMovementSerializedInventoryByScans(long startDate, long endDate) throws org.apache.thrift.TException;
278
    public List<InventoryMovement> getCompleteMovementSerializedInventoryByScans(long startDate, long endDate) throws org.apache.thrift.TException;
247
 
279
 
-
 
280
    /**
-
 
281
     * This returns movement for each non serialized item in the specified window.(Doesn't include Amazon w/h)
-
 
282
     * 
-
 
283
     * @param startDate
-
 
284
     * @param endDate
-
 
285
     */
248
    public List<InventoryMovement> getCompleteMovementNonSerializedInventoryByScans(long startDate, long endDate) throws org.apache.thrift.TException;
286
    public List<InventoryMovement> getCompleteMovementNonSerializedInventoryByScans(long startDate, long endDate) throws org.apache.thrift.TException;
249
 
287
 
250
    public InventoryItem scanfreebie(long orderId, long freebieItemId, long freebieWarehouseId, ScanType scanType) throws WarehouseServiceException, org.apache.thrift.TException;
288
    public InventoryItem scanfreebie(long orderId, long freebieItemId, long freebieWarehouseId, ScanType scanType) throws WarehouseServiceException, org.apache.thrift.TException;
251
 
289
 
252
    public void reshipfreebie(long oldOrderId, long newOrderId, long freebieItemId, ScanType scanType) throws WarehouseServiceException, org.apache.thrift.TException;
290
    public void reshipfreebie(long oldOrderId, long newOrderId, long freebieItemId, ScanType scanType) throws WarehouseServiceException, org.apache.thrift.TException;
Line 346... Line 384...
346
 
384
 
347
    public void getHistoricSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
385
    public void getHistoricSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
348
 
386
 
349
    public void getHistoricNonSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
387
    public void getHistoricNonSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
350
 
388
 
-
 
389
    public void getOurHistoricSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOurHistoricSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
-
 
390
 
-
 
391
    public void getOurHistoricNonSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOurHistoricNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
-
 
392
 
351
    public void scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, double nlc, long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForOursExternalSale_call> resultHandler) throws org.apache.thrift.TException;
393
    public void scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, double nlc, long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForOursExternalSale_call> resultHandler) throws org.apache.thrift.TException;
352
 
394
 
353
    public void scanForOursExternalSaleReturn(long orderId, double unitPrice, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForOursExternalSaleReturn_call> resultHandler) throws org.apache.thrift.TException;
395
    public void scanForOursExternalSaleReturn(long orderId, double unitPrice, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForOursExternalSaleReturn_call> resultHandler) throws org.apache.thrift.TException;
354
 
396
 
355
    public void getMovementNonSerializedInventoryByScans(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMovementNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
397
    public void getMovementNonSerializedInventoryByScans(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMovementNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
Line 1020... Line 1062...
1020
        return result.success;
1062
        return result.success;
1021
      }
1063
      }
1022
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getHistoricNonSerializedInventoryByScans failed: unknown result");
1064
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getHistoricNonSerializedInventoryByScans failed: unknown result");
1023
    }
1065
    }
1024
 
1066
 
-
 
1067
    public List<InventoryAvailability> getOurHistoricSerializedInventoryByScans(long date) throws org.apache.thrift.TException
-
 
1068
    {
-
 
1069
      send_getOurHistoricSerializedInventoryByScans(date);
-
 
1070
      return recv_getOurHistoricSerializedInventoryByScans();
-
 
1071
    }
-
 
1072
 
-
 
1073
    public void send_getOurHistoricSerializedInventoryByScans(long date) throws org.apache.thrift.TException
-
 
1074
    {
-
 
1075
      getOurHistoricSerializedInventoryByScans_args args = new getOurHistoricSerializedInventoryByScans_args();
-
 
1076
      args.setDate(date);
-
 
1077
      sendBase("getOurHistoricSerializedInventoryByScans", args);
-
 
1078
    }
-
 
1079
 
-
 
1080
    public List<InventoryAvailability> recv_getOurHistoricSerializedInventoryByScans() throws org.apache.thrift.TException
-
 
1081
    {
-
 
1082
      getOurHistoricSerializedInventoryByScans_result result = new getOurHistoricSerializedInventoryByScans_result();
-
 
1083
      receiveBase(result, "getOurHistoricSerializedInventoryByScans");
-
 
1084
      if (result.isSetSuccess()) {
-
 
1085
        return result.success;
-
 
1086
      }
-
 
1087
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOurHistoricSerializedInventoryByScans failed: unknown result");
-
 
1088
    }
-
 
1089
 
-
 
1090
    public List<InventoryAvailability> getOurHistoricNonSerializedInventoryByScans(long date) throws org.apache.thrift.TException
-
 
1091
    {
-
 
1092
      send_getOurHistoricNonSerializedInventoryByScans(date);
-
 
1093
      return recv_getOurHistoricNonSerializedInventoryByScans();
-
 
1094
    }
-
 
1095
 
-
 
1096
    public void send_getOurHistoricNonSerializedInventoryByScans(long date) throws org.apache.thrift.TException
-
 
1097
    {
-
 
1098
      getOurHistoricNonSerializedInventoryByScans_args args = new getOurHistoricNonSerializedInventoryByScans_args();
-
 
1099
      args.setDate(date);
-
 
1100
      sendBase("getOurHistoricNonSerializedInventoryByScans", args);
-
 
1101
    }
-
 
1102
 
-
 
1103
    public List<InventoryAvailability> recv_getOurHistoricNonSerializedInventoryByScans() throws org.apache.thrift.TException
-
 
1104
    {
-
 
1105
      getOurHistoricNonSerializedInventoryByScans_result result = new getOurHistoricNonSerializedInventoryByScans_result();
-
 
1106
      receiveBase(result, "getOurHistoricNonSerializedInventoryByScans");
-
 
1107
      if (result.isSetSuccess()) {
-
 
1108
        return result.success;
-
 
1109
      }
-
 
1110
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOurHistoricNonSerializedInventoryByScans failed: unknown result");
-
 
1111
    }
-
 
1112
 
1025
    public InventoryItem scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, double nlc, long orderId) throws WarehouseServiceException, org.apache.thrift.TException
1113
    public InventoryItem scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, double nlc, long orderId) throws WarehouseServiceException, org.apache.thrift.TException
1026
    {
1114
    {
1027
      send_scanForOursExternalSale(itemId, serialNumber, itemNumber, invoiceNumber, warehouseId, unitPrice, nlc, orderId);
1115
      send_scanForOursExternalSale(itemId, serialNumber, itemNumber, invoiceNumber, warehouseId, unitPrice, nlc, orderId);
1028
      return recv_scanForOursExternalSale();
1116
      return recv_scanForOursExternalSale();
1029
    }
1117
    }
Line 2600... Line 2688...
2600
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2688
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2601
        return (new Client(prot)).recv_getHistoricNonSerializedInventoryByScans();
2689
        return (new Client(prot)).recv_getHistoricNonSerializedInventoryByScans();
2602
      }
2690
      }
2603
    }
2691
    }
2604
 
2692
 
-
 
2693
    public void getOurHistoricSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<getOurHistoricSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException {
-
 
2694
      checkReady();
-
 
2695
      getOurHistoricSerializedInventoryByScans_call method_call = new getOurHistoricSerializedInventoryByScans_call(date, resultHandler, this, ___protocolFactory, ___transport);
-
 
2696
      this.___currentMethod = method_call;
-
 
2697
      ___manager.call(method_call);
-
 
2698
    }
-
 
2699
 
-
 
2700
    public static class getOurHistoricSerializedInventoryByScans_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2701
      private long date;
-
 
2702
      public getOurHistoricSerializedInventoryByScans_call(long date, org.apache.thrift.async.AsyncMethodCallback<getOurHistoricSerializedInventoryByScans_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 {
-
 
2703
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2704
        this.date = date;
-
 
2705
      }
-
 
2706
 
-
 
2707
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2708
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOurHistoricSerializedInventoryByScans", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2709
        getOurHistoricSerializedInventoryByScans_args args = new getOurHistoricSerializedInventoryByScans_args();
-
 
2710
        args.setDate(date);
-
 
2711
        args.write(prot);
-
 
2712
        prot.writeMessageEnd();
-
 
2713
      }
-
 
2714
 
-
 
2715
      public List<InventoryAvailability> getResult() throws org.apache.thrift.TException {
-
 
2716
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2717
          throw new IllegalStateException("Method call not finished!");
-
 
2718
        }
-
 
2719
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2720
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2721
        return (new Client(prot)).recv_getOurHistoricSerializedInventoryByScans();
-
 
2722
      }
-
 
2723
    }
-
 
2724
 
-
 
2725
    public void getOurHistoricNonSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<getOurHistoricNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException {
-
 
2726
      checkReady();
-
 
2727
      getOurHistoricNonSerializedInventoryByScans_call method_call = new getOurHistoricNonSerializedInventoryByScans_call(date, resultHandler, this, ___protocolFactory, ___transport);
-
 
2728
      this.___currentMethod = method_call;
-
 
2729
      ___manager.call(method_call);
-
 
2730
    }
-
 
2731
 
-
 
2732
    public static class getOurHistoricNonSerializedInventoryByScans_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2733
      private long date;
-
 
2734
      public getOurHistoricNonSerializedInventoryByScans_call(long date, org.apache.thrift.async.AsyncMethodCallback<getOurHistoricNonSerializedInventoryByScans_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 {
-
 
2735
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2736
        this.date = date;
-
 
2737
      }
-
 
2738
 
-
 
2739
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
2740
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOurHistoricNonSerializedInventoryByScans", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
2741
        getOurHistoricNonSerializedInventoryByScans_args args = new getOurHistoricNonSerializedInventoryByScans_args();
-
 
2742
        args.setDate(date);
-
 
2743
        args.write(prot);
-
 
2744
        prot.writeMessageEnd();
-
 
2745
      }
-
 
2746
 
-
 
2747
      public List<InventoryAvailability> getResult() throws org.apache.thrift.TException {
-
 
2748
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
2749
          throw new IllegalStateException("Method call not finished!");
-
 
2750
        }
-
 
2751
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
2752
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
2753
        return (new Client(prot)).recv_getOurHistoricNonSerializedInventoryByScans();
-
 
2754
      }
-
 
2755
    }
-
 
2756
 
2605
    public void scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, double nlc, long orderId, org.apache.thrift.async.AsyncMethodCallback<scanForOursExternalSale_call> resultHandler) throws org.apache.thrift.TException {
2757
    public void scanForOursExternalSale(long itemId, String serialNumber, String itemNumber, String invoiceNumber, long warehouseId, double unitPrice, double nlc, long orderId, org.apache.thrift.async.AsyncMethodCallback<scanForOursExternalSale_call> resultHandler) throws org.apache.thrift.TException {
2606
      checkReady();
2758
      checkReady();
2607
      scanForOursExternalSale_call method_call = new scanForOursExternalSale_call(itemId, serialNumber, itemNumber, invoiceNumber, warehouseId, unitPrice, nlc, orderId, resultHandler, this, ___protocolFactory, ___transport);
2759
      scanForOursExternalSale_call method_call = new scanForOursExternalSale_call(itemId, serialNumber, itemNumber, invoiceNumber, warehouseId, unitPrice, nlc, orderId, resultHandler, this, ___protocolFactory, ___transport);
2608
      this.___currentMethod = method_call;
2760
      this.___currentMethod = method_call;
2609
      ___manager.call(method_call);
2761
      ___manager.call(method_call);
Line 3650... Line 3802...
3650
      processMap.put("scanForLostItem", new scanForLostItem());
3802
      processMap.put("scanForLostItem", new scanForLostItem());
3651
      processMap.put("getCurrentSerializedInventoryByScans", new getCurrentSerializedInventoryByScans());
3803
      processMap.put("getCurrentSerializedInventoryByScans", new getCurrentSerializedInventoryByScans());
3652
      processMap.put("getCurrentNonSerializedInventoryByScans", new getCurrentNonSerializedInventoryByScans());
3804
      processMap.put("getCurrentNonSerializedInventoryByScans", new getCurrentNonSerializedInventoryByScans());
3653
      processMap.put("getHistoricSerializedInventoryByScans", new getHistoricSerializedInventoryByScans());
3805
      processMap.put("getHistoricSerializedInventoryByScans", new getHistoricSerializedInventoryByScans());
3654
      processMap.put("getHistoricNonSerializedInventoryByScans", new getHistoricNonSerializedInventoryByScans());
3806
      processMap.put("getHistoricNonSerializedInventoryByScans", new getHistoricNonSerializedInventoryByScans());
-
 
3807
      processMap.put("getOurHistoricSerializedInventoryByScans", new getOurHistoricSerializedInventoryByScans());
-
 
3808
      processMap.put("getOurHistoricNonSerializedInventoryByScans", new getOurHistoricNonSerializedInventoryByScans());
3655
      processMap.put("scanForOursExternalSale", new scanForOursExternalSale());
3809
      processMap.put("scanForOursExternalSale", new scanForOursExternalSale());
3656
      processMap.put("scanForOursExternalSaleReturn", new scanForOursExternalSaleReturn());
3810
      processMap.put("scanForOursExternalSaleReturn", new scanForOursExternalSaleReturn());
3657
      processMap.put("getMovementNonSerializedInventoryByScans", new getMovementNonSerializedInventoryByScans());
3811
      processMap.put("getMovementNonSerializedInventoryByScans", new getMovementNonSerializedInventoryByScans());
3658
      processMap.put("getMovementSerializedInventoryByScans", new getMovementSerializedInventoryByScans());
3812
      processMap.put("getMovementSerializedInventoryByScans", new getMovementSerializedInventoryByScans());
3659
      processMap.put("getCompleteMovementSerializedInventoryByScans", new getCompleteMovementSerializedInventoryByScans());
3813
      processMap.put("getCompleteMovementSerializedInventoryByScans", new getCompleteMovementSerializedInventoryByScans());
Line 4105... Line 4259...
4105
        result.success = iface.getHistoricNonSerializedInventoryByScans(args.date);
4259
        result.success = iface.getHistoricNonSerializedInventoryByScans(args.date);
4106
        return result;
4260
        return result;
4107
      }
4261
      }
4108
    }
4262
    }
4109
 
4263
 
-
 
4264
    private static class getOurHistoricSerializedInventoryByScans<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOurHistoricSerializedInventoryByScans_args> {
-
 
4265
      public getOurHistoricSerializedInventoryByScans() {
-
 
4266
        super("getOurHistoricSerializedInventoryByScans");
-
 
4267
      }
-
 
4268
 
-
 
4269
      protected getOurHistoricSerializedInventoryByScans_args getEmptyArgsInstance() {
-
 
4270
        return new getOurHistoricSerializedInventoryByScans_args();
-
 
4271
      }
-
 
4272
 
-
 
4273
      protected getOurHistoricSerializedInventoryByScans_result getResult(I iface, getOurHistoricSerializedInventoryByScans_args args) throws org.apache.thrift.TException {
-
 
4274
        getOurHistoricSerializedInventoryByScans_result result = new getOurHistoricSerializedInventoryByScans_result();
-
 
4275
        result.success = iface.getOurHistoricSerializedInventoryByScans(args.date);
-
 
4276
        return result;
-
 
4277
      }
-
 
4278
    }
-
 
4279
 
-
 
4280
    private static class getOurHistoricNonSerializedInventoryByScans<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOurHistoricNonSerializedInventoryByScans_args> {
-
 
4281
      public getOurHistoricNonSerializedInventoryByScans() {
-
 
4282
        super("getOurHistoricNonSerializedInventoryByScans");
-
 
4283
      }
-
 
4284
 
-
 
4285
      protected getOurHistoricNonSerializedInventoryByScans_args getEmptyArgsInstance() {
-
 
4286
        return new getOurHistoricNonSerializedInventoryByScans_args();
-
 
4287
      }
-
 
4288
 
-
 
4289
      protected getOurHistoricNonSerializedInventoryByScans_result getResult(I iface, getOurHistoricNonSerializedInventoryByScans_args args) throws org.apache.thrift.TException {
-
 
4290
        getOurHistoricNonSerializedInventoryByScans_result result = new getOurHistoricNonSerializedInventoryByScans_result();
-
 
4291
        result.success = iface.getOurHistoricNonSerializedInventoryByScans(args.date);
-
 
4292
        return result;
-
 
4293
      }
-
 
4294
    }
-
 
4295
 
4110
    private static class scanForOursExternalSale<I extends Iface> extends org.apache.thrift.ProcessFunction<I, scanForOursExternalSale_args> {
4296
    private static class scanForOursExternalSale<I extends Iface> extends org.apache.thrift.ProcessFunction<I, scanForOursExternalSale_args> {
4111
      public scanForOursExternalSale() {
4297
      public scanForOursExternalSale() {
4112
        super("scanForOursExternalSale");
4298
        super("scanForOursExternalSale");
4113
      }
4299
      }
4114
 
4300
 
Line 22100... Line 22286...
22100
      }
22286
      }
22101
    }
22287
    }
22102
 
22288
 
22103
  }
22289
  }
22104
 
22290
 
-
 
22291
  public static class getOurHistoricSerializedInventoryByScans_args implements org.apache.thrift.TBase<getOurHistoricSerializedInventoryByScans_args, getOurHistoricSerializedInventoryByScans_args._Fields>, java.io.Serializable, Cloneable   {
-
 
22292
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOurHistoricSerializedInventoryByScans_args");
-
 
22293
 
-
 
22294
    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);
-
 
22295
 
-
 
22296
    private long date; // required
-
 
22297
 
-
 
22298
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
22299
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
22300
      DATE((short)1, "date");
-
 
22301
 
-
 
22302
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
22303
 
-
 
22304
      static {
-
 
22305
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
22306
          byName.put(field.getFieldName(), field);
-
 
22307
        }
-
 
22308
      }
-
 
22309
 
-
 
22310
      /**
-
 
22311
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
22312
       */
-
 
22313
      public static _Fields findByThriftId(int fieldId) {
-
 
22314
        switch(fieldId) {
-
 
22315
          case 1: // DATE
-
 
22316
            return DATE;
-
 
22317
          default:
-
 
22318
            return null;
-
 
22319
        }
-
 
22320
      }
-
 
22321
 
-
 
22322
      /**
-
 
22323
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
22324
       * if it is not found.
-
 
22325
       */
-
 
22326
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
22327
        _Fields fields = findByThriftId(fieldId);
-
 
22328
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
22329
        return fields;
-
 
22330
      }
-
 
22331
 
-
 
22332
      /**
-
 
22333
       * Find the _Fields constant that matches name, or null if its not found.
-
 
22334
       */
-
 
22335
      public static _Fields findByName(String name) {
-
 
22336
        return byName.get(name);
-
 
22337
      }
-
 
22338
 
-
 
22339
      private final short _thriftId;
-
 
22340
      private final String _fieldName;
-
 
22341
 
-
 
22342
      _Fields(short thriftId, String fieldName) {
-
 
22343
        _thriftId = thriftId;
-
 
22344
        _fieldName = fieldName;
-
 
22345
      }
-
 
22346
 
-
 
22347
      public short getThriftFieldId() {
-
 
22348
        return _thriftId;
-
 
22349
      }
-
 
22350
 
-
 
22351
      public String getFieldName() {
-
 
22352
        return _fieldName;
-
 
22353
      }
-
 
22354
    }
-
 
22355
 
-
 
22356
    // isset id assignments
-
 
22357
    private static final int __DATE_ISSET_ID = 0;
-
 
22358
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
22359
 
-
 
22360
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
22361
    static {
-
 
22362
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
22363
      tmpMap.put(_Fields.DATE, new org.apache.thrift.meta_data.FieldMetaData("date", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
22364
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
22365
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
22366
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOurHistoricSerializedInventoryByScans_args.class, metaDataMap);
-
 
22367
    }
-
 
22368
 
-
 
22369
    public getOurHistoricSerializedInventoryByScans_args() {
-
 
22370
    }
-
 
22371
 
-
 
22372
    public getOurHistoricSerializedInventoryByScans_args(
-
 
22373
      long date)
-
 
22374
    {
-
 
22375
      this();
-
 
22376
      this.date = date;
-
 
22377
      setDateIsSet(true);
-
 
22378
    }
-
 
22379
 
-
 
22380
    /**
-
 
22381
     * Performs a deep copy on <i>other</i>.
-
 
22382
     */
-
 
22383
    public getOurHistoricSerializedInventoryByScans_args(getOurHistoricSerializedInventoryByScans_args other) {
-
 
22384
      __isset_bit_vector.clear();
-
 
22385
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
22386
      this.date = other.date;
-
 
22387
    }
-
 
22388
 
-
 
22389
    public getOurHistoricSerializedInventoryByScans_args deepCopy() {
-
 
22390
      return new getOurHistoricSerializedInventoryByScans_args(this);
-
 
22391
    }
-
 
22392
 
-
 
22393
    @Override
-
 
22394
    public void clear() {
-
 
22395
      setDateIsSet(false);
-
 
22396
      this.date = 0;
-
 
22397
    }
-
 
22398
 
-
 
22399
    public long getDate() {
-
 
22400
      return this.date;
-
 
22401
    }
-
 
22402
 
-
 
22403
    public void setDate(long date) {
-
 
22404
      this.date = date;
-
 
22405
      setDateIsSet(true);
-
 
22406
    }
-
 
22407
 
-
 
22408
    public void unsetDate() {
-
 
22409
      __isset_bit_vector.clear(__DATE_ISSET_ID);
-
 
22410
    }
-
 
22411
 
-
 
22412
    /** Returns true if field date is set (has been assigned a value) and false otherwise */
-
 
22413
    public boolean isSetDate() {
-
 
22414
      return __isset_bit_vector.get(__DATE_ISSET_ID);
-
 
22415
    }
-
 
22416
 
-
 
22417
    public void setDateIsSet(boolean value) {
-
 
22418
      __isset_bit_vector.set(__DATE_ISSET_ID, value);
-
 
22419
    }
-
 
22420
 
-
 
22421
    public void setFieldValue(_Fields field, Object value) {
-
 
22422
      switch (field) {
-
 
22423
      case DATE:
-
 
22424
        if (value == null) {
-
 
22425
          unsetDate();
-
 
22426
        } else {
-
 
22427
          setDate((Long)value);
-
 
22428
        }
-
 
22429
        break;
-
 
22430
 
-
 
22431
      }
-
 
22432
    }
-
 
22433
 
-
 
22434
    public Object getFieldValue(_Fields field) {
-
 
22435
      switch (field) {
-
 
22436
      case DATE:
-
 
22437
        return Long.valueOf(getDate());
-
 
22438
 
-
 
22439
      }
-
 
22440
      throw new IllegalStateException();
-
 
22441
    }
-
 
22442
 
-
 
22443
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
22444
    public boolean isSet(_Fields field) {
-
 
22445
      if (field == null) {
-
 
22446
        throw new IllegalArgumentException();
-
 
22447
      }
-
 
22448
 
-
 
22449
      switch (field) {
-
 
22450
      case DATE:
-
 
22451
        return isSetDate();
-
 
22452
      }
-
 
22453
      throw new IllegalStateException();
-
 
22454
    }
-
 
22455
 
-
 
22456
    @Override
-
 
22457
    public boolean equals(Object that) {
-
 
22458
      if (that == null)
-
 
22459
        return false;
-
 
22460
      if (that instanceof getOurHistoricSerializedInventoryByScans_args)
-
 
22461
        return this.equals((getOurHistoricSerializedInventoryByScans_args)that);
-
 
22462
      return false;
-
 
22463
    }
-
 
22464
 
-
 
22465
    public boolean equals(getOurHistoricSerializedInventoryByScans_args that) {
-
 
22466
      if (that == null)
-
 
22467
        return false;
-
 
22468
 
-
 
22469
      boolean this_present_date = true;
-
 
22470
      boolean that_present_date = true;
-
 
22471
      if (this_present_date || that_present_date) {
-
 
22472
        if (!(this_present_date && that_present_date))
-
 
22473
          return false;
-
 
22474
        if (this.date != that.date)
-
 
22475
          return false;
-
 
22476
      }
-
 
22477
 
-
 
22478
      return true;
-
 
22479
    }
-
 
22480
 
-
 
22481
    @Override
-
 
22482
    public int hashCode() {
-
 
22483
      return 0;
-
 
22484
    }
-
 
22485
 
-
 
22486
    public int compareTo(getOurHistoricSerializedInventoryByScans_args other) {
-
 
22487
      if (!getClass().equals(other.getClass())) {
-
 
22488
        return getClass().getName().compareTo(other.getClass().getName());
-
 
22489
      }
-
 
22490
 
-
 
22491
      int lastComparison = 0;
-
 
22492
      getOurHistoricSerializedInventoryByScans_args typedOther = (getOurHistoricSerializedInventoryByScans_args)other;
-
 
22493
 
-
 
22494
      lastComparison = Boolean.valueOf(isSetDate()).compareTo(typedOther.isSetDate());
-
 
22495
      if (lastComparison != 0) {
-
 
22496
        return lastComparison;
-
 
22497
      }
-
 
22498
      if (isSetDate()) {
-
 
22499
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.date, typedOther.date);
-
 
22500
        if (lastComparison != 0) {
-
 
22501
          return lastComparison;
-
 
22502
        }
-
 
22503
      }
-
 
22504
      return 0;
-
 
22505
    }
-
 
22506
 
-
 
22507
    public _Fields fieldForId(int fieldId) {
-
 
22508
      return _Fields.findByThriftId(fieldId);
-
 
22509
    }
-
 
22510
 
-
 
22511
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
22512
      org.apache.thrift.protocol.TField field;
-
 
22513
      iprot.readStructBegin();
-
 
22514
      while (true)
-
 
22515
      {
-
 
22516
        field = iprot.readFieldBegin();
-
 
22517
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
22518
          break;
-
 
22519
        }
-
 
22520
        switch (field.id) {
-
 
22521
          case 1: // DATE
-
 
22522
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
22523
              this.date = iprot.readI64();
-
 
22524
              setDateIsSet(true);
-
 
22525
            } else { 
-
 
22526
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
22527
            }
-
 
22528
            break;
-
 
22529
          default:
-
 
22530
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
22531
        }
-
 
22532
        iprot.readFieldEnd();
-
 
22533
      }
-
 
22534
      iprot.readStructEnd();
-
 
22535
      validate();
-
 
22536
    }
-
 
22537
 
-
 
22538
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
22539
      validate();
-
 
22540
 
-
 
22541
      oprot.writeStructBegin(STRUCT_DESC);
-
 
22542
      oprot.writeFieldBegin(DATE_FIELD_DESC);
-
 
22543
      oprot.writeI64(this.date);
-
 
22544
      oprot.writeFieldEnd();
-
 
22545
      oprot.writeFieldStop();
-
 
22546
      oprot.writeStructEnd();
-
 
22547
    }
-
 
22548
 
-
 
22549
    @Override
-
 
22550
    public String toString() {
-
 
22551
      StringBuilder sb = new StringBuilder("getOurHistoricSerializedInventoryByScans_args(");
-
 
22552
      boolean first = true;
-
 
22553
 
-
 
22554
      sb.append("date:");
-
 
22555
      sb.append(this.date);
-
 
22556
      first = false;
-
 
22557
      sb.append(")");
-
 
22558
      return sb.toString();
-
 
22559
    }
-
 
22560
 
-
 
22561
    public void validate() throws org.apache.thrift.TException {
-
 
22562
      // check for required fields
-
 
22563
    }
-
 
22564
 
-
 
22565
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
22566
      try {
-
 
22567
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
22568
      } catch (org.apache.thrift.TException te) {
-
 
22569
        throw new java.io.IOException(te);
-
 
22570
      }
-
 
22571
    }
-
 
22572
 
-
 
22573
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
22574
      try {
-
 
22575
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
22576
        __isset_bit_vector = new BitSet(1);
-
 
22577
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
22578
      } catch (org.apache.thrift.TException te) {
-
 
22579
        throw new java.io.IOException(te);
-
 
22580
      }
-
 
22581
    }
-
 
22582
 
-
 
22583
  }
-
 
22584
 
-
 
22585
  public static class getOurHistoricSerializedInventoryByScans_result implements org.apache.thrift.TBase<getOurHistoricSerializedInventoryByScans_result, getOurHistoricSerializedInventoryByScans_result._Fields>, java.io.Serializable, Cloneable   {
-
 
22586
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOurHistoricSerializedInventoryByScans_result");
-
 
22587
 
-
 
22588
    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);
-
 
22589
 
-
 
22590
    private List<InventoryAvailability> success; // required
-
 
22591
 
-
 
22592
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
22593
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
22594
      SUCCESS((short)0, "success");
-
 
22595
 
-
 
22596
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
22597
 
-
 
22598
      static {
-
 
22599
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
22600
          byName.put(field.getFieldName(), field);
-
 
22601
        }
-
 
22602
      }
-
 
22603
 
-
 
22604
      /**
-
 
22605
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
22606
       */
-
 
22607
      public static _Fields findByThriftId(int fieldId) {
-
 
22608
        switch(fieldId) {
-
 
22609
          case 0: // SUCCESS
-
 
22610
            return SUCCESS;
-
 
22611
          default:
-
 
22612
            return null;
-
 
22613
        }
-
 
22614
      }
-
 
22615
 
-
 
22616
      /**
-
 
22617
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
22618
       * if it is not found.
-
 
22619
       */
-
 
22620
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
22621
        _Fields fields = findByThriftId(fieldId);
-
 
22622
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
22623
        return fields;
-
 
22624
      }
-
 
22625
 
-
 
22626
      /**
-
 
22627
       * Find the _Fields constant that matches name, or null if its not found.
-
 
22628
       */
-
 
22629
      public static _Fields findByName(String name) {
-
 
22630
        return byName.get(name);
-
 
22631
      }
-
 
22632
 
-
 
22633
      private final short _thriftId;
-
 
22634
      private final String _fieldName;
-
 
22635
 
-
 
22636
      _Fields(short thriftId, String fieldName) {
-
 
22637
        _thriftId = thriftId;
-
 
22638
        _fieldName = fieldName;
-
 
22639
      }
-
 
22640
 
-
 
22641
      public short getThriftFieldId() {
-
 
22642
        return _thriftId;
-
 
22643
      }
-
 
22644
 
-
 
22645
      public String getFieldName() {
-
 
22646
        return _fieldName;
-
 
22647
      }
-
 
22648
    }
-
 
22649
 
-
 
22650
    // isset id assignments
-
 
22651
 
-
 
22652
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
22653
    static {
-
 
22654
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
22655
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
22656
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
22657
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, InventoryAvailability.class))));
-
 
22658
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
22659
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOurHistoricSerializedInventoryByScans_result.class, metaDataMap);
-
 
22660
    }
-
 
22661
 
-
 
22662
    public getOurHistoricSerializedInventoryByScans_result() {
-
 
22663
    }
-
 
22664
 
-
 
22665
    public getOurHistoricSerializedInventoryByScans_result(
-
 
22666
      List<InventoryAvailability> success)
-
 
22667
    {
-
 
22668
      this();
-
 
22669
      this.success = success;
-
 
22670
    }
-
 
22671
 
-
 
22672
    /**
-
 
22673
     * Performs a deep copy on <i>other</i>.
-
 
22674
     */
-
 
22675
    public getOurHistoricSerializedInventoryByScans_result(getOurHistoricSerializedInventoryByScans_result other) {
-
 
22676
      if (other.isSetSuccess()) {
-
 
22677
        List<InventoryAvailability> __this__success = new ArrayList<InventoryAvailability>();
-
 
22678
        for (InventoryAvailability other_element : other.success) {
-
 
22679
          __this__success.add(new InventoryAvailability(other_element));
-
 
22680
        }
-
 
22681
        this.success = __this__success;
-
 
22682
      }
-
 
22683
    }
-
 
22684
 
-
 
22685
    public getOurHistoricSerializedInventoryByScans_result deepCopy() {
-
 
22686
      return new getOurHistoricSerializedInventoryByScans_result(this);
-
 
22687
    }
-
 
22688
 
-
 
22689
    @Override
-
 
22690
    public void clear() {
-
 
22691
      this.success = null;
-
 
22692
    }
-
 
22693
 
-
 
22694
    public int getSuccessSize() {
-
 
22695
      return (this.success == null) ? 0 : this.success.size();
-
 
22696
    }
-
 
22697
 
-
 
22698
    public java.util.Iterator<InventoryAvailability> getSuccessIterator() {
-
 
22699
      return (this.success == null) ? null : this.success.iterator();
-
 
22700
    }
-
 
22701
 
-
 
22702
    public void addToSuccess(InventoryAvailability elem) {
-
 
22703
      if (this.success == null) {
-
 
22704
        this.success = new ArrayList<InventoryAvailability>();
-
 
22705
      }
-
 
22706
      this.success.add(elem);
-
 
22707
    }
-
 
22708
 
-
 
22709
    public List<InventoryAvailability> getSuccess() {
-
 
22710
      return this.success;
-
 
22711
    }
-
 
22712
 
-
 
22713
    public void setSuccess(List<InventoryAvailability> success) {
-
 
22714
      this.success = success;
-
 
22715
    }
-
 
22716
 
-
 
22717
    public void unsetSuccess() {
-
 
22718
      this.success = null;
-
 
22719
    }
-
 
22720
 
-
 
22721
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
22722
    public boolean isSetSuccess() {
-
 
22723
      return this.success != null;
-
 
22724
    }
-
 
22725
 
-
 
22726
    public void setSuccessIsSet(boolean value) {
-
 
22727
      if (!value) {
-
 
22728
        this.success = null;
-
 
22729
      }
-
 
22730
    }
-
 
22731
 
-
 
22732
    public void setFieldValue(_Fields field, Object value) {
-
 
22733
      switch (field) {
-
 
22734
      case SUCCESS:
-
 
22735
        if (value == null) {
-
 
22736
          unsetSuccess();
-
 
22737
        } else {
-
 
22738
          setSuccess((List<InventoryAvailability>)value);
-
 
22739
        }
-
 
22740
        break;
-
 
22741
 
-
 
22742
      }
-
 
22743
    }
-
 
22744
 
-
 
22745
    public Object getFieldValue(_Fields field) {
-
 
22746
      switch (field) {
-
 
22747
      case SUCCESS:
-
 
22748
        return getSuccess();
-
 
22749
 
-
 
22750
      }
-
 
22751
      throw new IllegalStateException();
-
 
22752
    }
-
 
22753
 
-
 
22754
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
22755
    public boolean isSet(_Fields field) {
-
 
22756
      if (field == null) {
-
 
22757
        throw new IllegalArgumentException();
-
 
22758
      }
-
 
22759
 
-
 
22760
      switch (field) {
-
 
22761
      case SUCCESS:
-
 
22762
        return isSetSuccess();
-
 
22763
      }
-
 
22764
      throw new IllegalStateException();
-
 
22765
    }
-
 
22766
 
-
 
22767
    @Override
-
 
22768
    public boolean equals(Object that) {
-
 
22769
      if (that == null)
-
 
22770
        return false;
-
 
22771
      if (that instanceof getOurHistoricSerializedInventoryByScans_result)
-
 
22772
        return this.equals((getOurHistoricSerializedInventoryByScans_result)that);
-
 
22773
      return false;
-
 
22774
    }
-
 
22775
 
-
 
22776
    public boolean equals(getOurHistoricSerializedInventoryByScans_result that) {
-
 
22777
      if (that == null)
-
 
22778
        return false;
-
 
22779
 
-
 
22780
      boolean this_present_success = true && this.isSetSuccess();
-
 
22781
      boolean that_present_success = true && that.isSetSuccess();
-
 
22782
      if (this_present_success || that_present_success) {
-
 
22783
        if (!(this_present_success && that_present_success))
-
 
22784
          return false;
-
 
22785
        if (!this.success.equals(that.success))
-
 
22786
          return false;
-
 
22787
      }
-
 
22788
 
-
 
22789
      return true;
-
 
22790
    }
-
 
22791
 
-
 
22792
    @Override
-
 
22793
    public int hashCode() {
-
 
22794
      return 0;
-
 
22795
    }
-
 
22796
 
-
 
22797
    public int compareTo(getOurHistoricSerializedInventoryByScans_result other) {
-
 
22798
      if (!getClass().equals(other.getClass())) {
-
 
22799
        return getClass().getName().compareTo(other.getClass().getName());
-
 
22800
      }
-
 
22801
 
-
 
22802
      int lastComparison = 0;
-
 
22803
      getOurHistoricSerializedInventoryByScans_result typedOther = (getOurHistoricSerializedInventoryByScans_result)other;
-
 
22804
 
-
 
22805
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
22806
      if (lastComparison != 0) {
-
 
22807
        return lastComparison;
-
 
22808
      }
-
 
22809
      if (isSetSuccess()) {
-
 
22810
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
22811
        if (lastComparison != 0) {
-
 
22812
          return lastComparison;
-
 
22813
        }
-
 
22814
      }
-
 
22815
      return 0;
-
 
22816
    }
-
 
22817
 
-
 
22818
    public _Fields fieldForId(int fieldId) {
-
 
22819
      return _Fields.findByThriftId(fieldId);
-
 
22820
    }
-
 
22821
 
-
 
22822
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
22823
      org.apache.thrift.protocol.TField field;
-
 
22824
      iprot.readStructBegin();
-
 
22825
      while (true)
-
 
22826
      {
-
 
22827
        field = iprot.readFieldBegin();
-
 
22828
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
22829
          break;
-
 
22830
        }
-
 
22831
        switch (field.id) {
-
 
22832
          case 0: // SUCCESS
-
 
22833
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
22834
              {
-
 
22835
                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
-
 
22836
                this.success = new ArrayList<InventoryAvailability>(_list64.size);
-
 
22837
                for (int _i65 = 0; _i65 < _list64.size; ++_i65)
-
 
22838
                {
-
 
22839
                  InventoryAvailability _elem66; // required
-
 
22840
                  _elem66 = new InventoryAvailability();
-
 
22841
                  _elem66.read(iprot);
-
 
22842
                  this.success.add(_elem66);
-
 
22843
                }
-
 
22844
                iprot.readListEnd();
-
 
22845
              }
-
 
22846
            } else { 
-
 
22847
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
22848
            }
-
 
22849
            break;
-
 
22850
          default:
-
 
22851
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
22852
        }
-
 
22853
        iprot.readFieldEnd();
-
 
22854
      }
-
 
22855
      iprot.readStructEnd();
-
 
22856
      validate();
-
 
22857
    }
-
 
22858
 
-
 
22859
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
22860
      oprot.writeStructBegin(STRUCT_DESC);
-
 
22861
 
-
 
22862
      if (this.isSetSuccess()) {
-
 
22863
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
22864
        {
-
 
22865
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
22866
          for (InventoryAvailability _iter67 : this.success)
-
 
22867
          {
-
 
22868
            _iter67.write(oprot);
-
 
22869
          }
-
 
22870
          oprot.writeListEnd();
-
 
22871
        }
-
 
22872
        oprot.writeFieldEnd();
-
 
22873
      }
-
 
22874
      oprot.writeFieldStop();
-
 
22875
      oprot.writeStructEnd();
-
 
22876
    }
-
 
22877
 
-
 
22878
    @Override
-
 
22879
    public String toString() {
-
 
22880
      StringBuilder sb = new StringBuilder("getOurHistoricSerializedInventoryByScans_result(");
-
 
22881
      boolean first = true;
-
 
22882
 
-
 
22883
      sb.append("success:");
-
 
22884
      if (this.success == null) {
-
 
22885
        sb.append("null");
-
 
22886
      } else {
-
 
22887
        sb.append(this.success);
-
 
22888
      }
-
 
22889
      first = false;
-
 
22890
      sb.append(")");
-
 
22891
      return sb.toString();
-
 
22892
    }
-
 
22893
 
-
 
22894
    public void validate() throws org.apache.thrift.TException {
-
 
22895
      // check for required fields
-
 
22896
    }
-
 
22897
 
-
 
22898
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
22899
      try {
-
 
22900
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
22901
      } catch (org.apache.thrift.TException te) {
-
 
22902
        throw new java.io.IOException(te);
-
 
22903
      }
-
 
22904
    }
-
 
22905
 
-
 
22906
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
22907
      try {
-
 
22908
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
22909
      } catch (org.apache.thrift.TException te) {
-
 
22910
        throw new java.io.IOException(te);
-
 
22911
      }
-
 
22912
    }
-
 
22913
 
-
 
22914
  }
-
 
22915
 
-
 
22916
  public static class getOurHistoricNonSerializedInventoryByScans_args implements org.apache.thrift.TBase<getOurHistoricNonSerializedInventoryByScans_args, getOurHistoricNonSerializedInventoryByScans_args._Fields>, java.io.Serializable, Cloneable   {
-
 
22917
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOurHistoricNonSerializedInventoryByScans_args");
-
 
22918
 
-
 
22919
    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);
-
 
22920
 
-
 
22921
    private long date; // required
-
 
22922
 
-
 
22923
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
22924
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
22925
      DATE((short)1, "date");
-
 
22926
 
-
 
22927
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
22928
 
-
 
22929
      static {
-
 
22930
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
22931
          byName.put(field.getFieldName(), field);
-
 
22932
        }
-
 
22933
      }
-
 
22934
 
-
 
22935
      /**
-
 
22936
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
22937
       */
-
 
22938
      public static _Fields findByThriftId(int fieldId) {
-
 
22939
        switch(fieldId) {
-
 
22940
          case 1: // DATE
-
 
22941
            return DATE;
-
 
22942
          default:
-
 
22943
            return null;
-
 
22944
        }
-
 
22945
      }
-
 
22946
 
-
 
22947
      /**
-
 
22948
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
22949
       * if it is not found.
-
 
22950
       */
-
 
22951
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
22952
        _Fields fields = findByThriftId(fieldId);
-
 
22953
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
22954
        return fields;
-
 
22955
      }
-
 
22956
 
-
 
22957
      /**
-
 
22958
       * Find the _Fields constant that matches name, or null if its not found.
-
 
22959
       */
-
 
22960
      public static _Fields findByName(String name) {
-
 
22961
        return byName.get(name);
-
 
22962
      }
-
 
22963
 
-
 
22964
      private final short _thriftId;
-
 
22965
      private final String _fieldName;
-
 
22966
 
-
 
22967
      _Fields(short thriftId, String fieldName) {
-
 
22968
        _thriftId = thriftId;
-
 
22969
        _fieldName = fieldName;
-
 
22970
      }
-
 
22971
 
-
 
22972
      public short getThriftFieldId() {
-
 
22973
        return _thriftId;
-
 
22974
      }
-
 
22975
 
-
 
22976
      public String getFieldName() {
-
 
22977
        return _fieldName;
-
 
22978
      }
-
 
22979
    }
-
 
22980
 
-
 
22981
    // isset id assignments
-
 
22982
    private static final int __DATE_ISSET_ID = 0;
-
 
22983
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
22984
 
-
 
22985
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
22986
    static {
-
 
22987
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
22988
      tmpMap.put(_Fields.DATE, new org.apache.thrift.meta_data.FieldMetaData("date", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
22989
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
22990
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
22991
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOurHistoricNonSerializedInventoryByScans_args.class, metaDataMap);
-
 
22992
    }
-
 
22993
 
-
 
22994
    public getOurHistoricNonSerializedInventoryByScans_args() {
-
 
22995
    }
-
 
22996
 
-
 
22997
    public getOurHistoricNonSerializedInventoryByScans_args(
-
 
22998
      long date)
-
 
22999
    {
-
 
23000
      this();
-
 
23001
      this.date = date;
-
 
23002
      setDateIsSet(true);
-
 
23003
    }
-
 
23004
 
-
 
23005
    /**
-
 
23006
     * Performs a deep copy on <i>other</i>.
-
 
23007
     */
-
 
23008
    public getOurHistoricNonSerializedInventoryByScans_args(getOurHistoricNonSerializedInventoryByScans_args other) {
-
 
23009
      __isset_bit_vector.clear();
-
 
23010
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
23011
      this.date = other.date;
-
 
23012
    }
-
 
23013
 
-
 
23014
    public getOurHistoricNonSerializedInventoryByScans_args deepCopy() {
-
 
23015
      return new getOurHistoricNonSerializedInventoryByScans_args(this);
-
 
23016
    }
-
 
23017
 
-
 
23018
    @Override
-
 
23019
    public void clear() {
-
 
23020
      setDateIsSet(false);
-
 
23021
      this.date = 0;
-
 
23022
    }
-
 
23023
 
-
 
23024
    public long getDate() {
-
 
23025
      return this.date;
-
 
23026
    }
-
 
23027
 
-
 
23028
    public void setDate(long date) {
-
 
23029
      this.date = date;
-
 
23030
      setDateIsSet(true);
-
 
23031
    }
-
 
23032
 
-
 
23033
    public void unsetDate() {
-
 
23034
      __isset_bit_vector.clear(__DATE_ISSET_ID);
-
 
23035
    }
-
 
23036
 
-
 
23037
    /** Returns true if field date is set (has been assigned a value) and false otherwise */
-
 
23038
    public boolean isSetDate() {
-
 
23039
      return __isset_bit_vector.get(__DATE_ISSET_ID);
-
 
23040
    }
-
 
23041
 
-
 
23042
    public void setDateIsSet(boolean value) {
-
 
23043
      __isset_bit_vector.set(__DATE_ISSET_ID, value);
-
 
23044
    }
-
 
23045
 
-
 
23046
    public void setFieldValue(_Fields field, Object value) {
-
 
23047
      switch (field) {
-
 
23048
      case DATE:
-
 
23049
        if (value == null) {
-
 
23050
          unsetDate();
-
 
23051
        } else {
-
 
23052
          setDate((Long)value);
-
 
23053
        }
-
 
23054
        break;
-
 
23055
 
-
 
23056
      }
-
 
23057
    }
-
 
23058
 
-
 
23059
    public Object getFieldValue(_Fields field) {
-
 
23060
      switch (field) {
-
 
23061
      case DATE:
-
 
23062
        return Long.valueOf(getDate());
-
 
23063
 
-
 
23064
      }
-
 
23065
      throw new IllegalStateException();
-
 
23066
    }
-
 
23067
 
-
 
23068
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
23069
    public boolean isSet(_Fields field) {
-
 
23070
      if (field == null) {
-
 
23071
        throw new IllegalArgumentException();
-
 
23072
      }
-
 
23073
 
-
 
23074
      switch (field) {
-
 
23075
      case DATE:
-
 
23076
        return isSetDate();
-
 
23077
      }
-
 
23078
      throw new IllegalStateException();
-
 
23079
    }
-
 
23080
 
-
 
23081
    @Override
-
 
23082
    public boolean equals(Object that) {
-
 
23083
      if (that == null)
-
 
23084
        return false;
-
 
23085
      if (that instanceof getOurHistoricNonSerializedInventoryByScans_args)
-
 
23086
        return this.equals((getOurHistoricNonSerializedInventoryByScans_args)that);
-
 
23087
      return false;
-
 
23088
    }
-
 
23089
 
-
 
23090
    public boolean equals(getOurHistoricNonSerializedInventoryByScans_args that) {
-
 
23091
      if (that == null)
-
 
23092
        return false;
-
 
23093
 
-
 
23094
      boolean this_present_date = true;
-
 
23095
      boolean that_present_date = true;
-
 
23096
      if (this_present_date || that_present_date) {
-
 
23097
        if (!(this_present_date && that_present_date))
-
 
23098
          return false;
-
 
23099
        if (this.date != that.date)
-
 
23100
          return false;
-
 
23101
      }
-
 
23102
 
-
 
23103
      return true;
-
 
23104
    }
-
 
23105
 
-
 
23106
    @Override
-
 
23107
    public int hashCode() {
-
 
23108
      return 0;
-
 
23109
    }
-
 
23110
 
-
 
23111
    public int compareTo(getOurHistoricNonSerializedInventoryByScans_args other) {
-
 
23112
      if (!getClass().equals(other.getClass())) {
-
 
23113
        return getClass().getName().compareTo(other.getClass().getName());
-
 
23114
      }
-
 
23115
 
-
 
23116
      int lastComparison = 0;
-
 
23117
      getOurHistoricNonSerializedInventoryByScans_args typedOther = (getOurHistoricNonSerializedInventoryByScans_args)other;
-
 
23118
 
-
 
23119
      lastComparison = Boolean.valueOf(isSetDate()).compareTo(typedOther.isSetDate());
-
 
23120
      if (lastComparison != 0) {
-
 
23121
        return lastComparison;
-
 
23122
      }
-
 
23123
      if (isSetDate()) {
-
 
23124
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.date, typedOther.date);
-
 
23125
        if (lastComparison != 0) {
-
 
23126
          return lastComparison;
-
 
23127
        }
-
 
23128
      }
-
 
23129
      return 0;
-
 
23130
    }
-
 
23131
 
-
 
23132
    public _Fields fieldForId(int fieldId) {
-
 
23133
      return _Fields.findByThriftId(fieldId);
-
 
23134
    }
-
 
23135
 
-
 
23136
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
23137
      org.apache.thrift.protocol.TField field;
-
 
23138
      iprot.readStructBegin();
-
 
23139
      while (true)
-
 
23140
      {
-
 
23141
        field = iprot.readFieldBegin();
-
 
23142
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
23143
          break;
-
 
23144
        }
-
 
23145
        switch (field.id) {
-
 
23146
          case 1: // DATE
-
 
23147
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
23148
              this.date = iprot.readI64();
-
 
23149
              setDateIsSet(true);
-
 
23150
            } else { 
-
 
23151
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
23152
            }
-
 
23153
            break;
-
 
23154
          default:
-
 
23155
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
23156
        }
-
 
23157
        iprot.readFieldEnd();
-
 
23158
      }
-
 
23159
      iprot.readStructEnd();
-
 
23160
      validate();
-
 
23161
    }
-
 
23162
 
-
 
23163
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
23164
      validate();
-
 
23165
 
-
 
23166
      oprot.writeStructBegin(STRUCT_DESC);
-
 
23167
      oprot.writeFieldBegin(DATE_FIELD_DESC);
-
 
23168
      oprot.writeI64(this.date);
-
 
23169
      oprot.writeFieldEnd();
-
 
23170
      oprot.writeFieldStop();
-
 
23171
      oprot.writeStructEnd();
-
 
23172
    }
-
 
23173
 
-
 
23174
    @Override
-
 
23175
    public String toString() {
-
 
23176
      StringBuilder sb = new StringBuilder("getOurHistoricNonSerializedInventoryByScans_args(");
-
 
23177
      boolean first = true;
-
 
23178
 
-
 
23179
      sb.append("date:");
-
 
23180
      sb.append(this.date);
-
 
23181
      first = false;
-
 
23182
      sb.append(")");
-
 
23183
      return sb.toString();
-
 
23184
    }
-
 
23185
 
-
 
23186
    public void validate() throws org.apache.thrift.TException {
-
 
23187
      // check for required fields
-
 
23188
    }
-
 
23189
 
-
 
23190
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
23191
      try {
-
 
23192
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
23193
      } catch (org.apache.thrift.TException te) {
-
 
23194
        throw new java.io.IOException(te);
-
 
23195
      }
-
 
23196
    }
-
 
23197
 
-
 
23198
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
23199
      try {
-
 
23200
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
23201
      } catch (org.apache.thrift.TException te) {
-
 
23202
        throw new java.io.IOException(te);
-
 
23203
      }
-
 
23204
    }
-
 
23205
 
-
 
23206
  }
-
 
23207
 
-
 
23208
  public static class getOurHistoricNonSerializedInventoryByScans_result implements org.apache.thrift.TBase<getOurHistoricNonSerializedInventoryByScans_result, getOurHistoricNonSerializedInventoryByScans_result._Fields>, java.io.Serializable, Cloneable   {
-
 
23209
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOurHistoricNonSerializedInventoryByScans_result");
-
 
23210
 
-
 
23211
    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);
-
 
23212
 
-
 
23213
    private List<InventoryAvailability> success; // required
-
 
23214
 
-
 
23215
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
23216
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
23217
      SUCCESS((short)0, "success");
-
 
23218
 
-
 
23219
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
23220
 
-
 
23221
      static {
-
 
23222
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
23223
          byName.put(field.getFieldName(), field);
-
 
23224
        }
-
 
23225
      }
-
 
23226
 
-
 
23227
      /**
-
 
23228
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
23229
       */
-
 
23230
      public static _Fields findByThriftId(int fieldId) {
-
 
23231
        switch(fieldId) {
-
 
23232
          case 0: // SUCCESS
-
 
23233
            return SUCCESS;
-
 
23234
          default:
-
 
23235
            return null;
-
 
23236
        }
-
 
23237
      }
-
 
23238
 
-
 
23239
      /**
-
 
23240
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
23241
       * if it is not found.
-
 
23242
       */
-
 
23243
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
23244
        _Fields fields = findByThriftId(fieldId);
-
 
23245
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
23246
        return fields;
-
 
23247
      }
-
 
23248
 
-
 
23249
      /**
-
 
23250
       * Find the _Fields constant that matches name, or null if its not found.
-
 
23251
       */
-
 
23252
      public static _Fields findByName(String name) {
-
 
23253
        return byName.get(name);
-
 
23254
      }
-
 
23255
 
-
 
23256
      private final short _thriftId;
-
 
23257
      private final String _fieldName;
-
 
23258
 
-
 
23259
      _Fields(short thriftId, String fieldName) {
-
 
23260
        _thriftId = thriftId;
-
 
23261
        _fieldName = fieldName;
-
 
23262
      }
-
 
23263
 
-
 
23264
      public short getThriftFieldId() {
-
 
23265
        return _thriftId;
-
 
23266
      }
-
 
23267
 
-
 
23268
      public String getFieldName() {
-
 
23269
        return _fieldName;
-
 
23270
      }
-
 
23271
    }
-
 
23272
 
-
 
23273
    // isset id assignments
-
 
23274
 
-
 
23275
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
23276
    static {
-
 
23277
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
23278
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
23279
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
23280
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, InventoryAvailability.class))));
-
 
23281
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
23282
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOurHistoricNonSerializedInventoryByScans_result.class, metaDataMap);
-
 
23283
    }
-
 
23284
 
-
 
23285
    public getOurHistoricNonSerializedInventoryByScans_result() {
-
 
23286
    }
-
 
23287
 
-
 
23288
    public getOurHistoricNonSerializedInventoryByScans_result(
-
 
23289
      List<InventoryAvailability> success)
-
 
23290
    {
-
 
23291
      this();
-
 
23292
      this.success = success;
-
 
23293
    }
-
 
23294
 
-
 
23295
    /**
-
 
23296
     * Performs a deep copy on <i>other</i>.
-
 
23297
     */
-
 
23298
    public getOurHistoricNonSerializedInventoryByScans_result(getOurHistoricNonSerializedInventoryByScans_result other) {
-
 
23299
      if (other.isSetSuccess()) {
-
 
23300
        List<InventoryAvailability> __this__success = new ArrayList<InventoryAvailability>();
-
 
23301
        for (InventoryAvailability other_element : other.success) {
-
 
23302
          __this__success.add(new InventoryAvailability(other_element));
-
 
23303
        }
-
 
23304
        this.success = __this__success;
-
 
23305
      }
-
 
23306
    }
-
 
23307
 
-
 
23308
    public getOurHistoricNonSerializedInventoryByScans_result deepCopy() {
-
 
23309
      return new getOurHistoricNonSerializedInventoryByScans_result(this);
-
 
23310
    }
-
 
23311
 
-
 
23312
    @Override
-
 
23313
    public void clear() {
-
 
23314
      this.success = null;
-
 
23315
    }
-
 
23316
 
-
 
23317
    public int getSuccessSize() {
-
 
23318
      return (this.success == null) ? 0 : this.success.size();
-
 
23319
    }
-
 
23320
 
-
 
23321
    public java.util.Iterator<InventoryAvailability> getSuccessIterator() {
-
 
23322
      return (this.success == null) ? null : this.success.iterator();
-
 
23323
    }
-
 
23324
 
-
 
23325
    public void addToSuccess(InventoryAvailability elem) {
-
 
23326
      if (this.success == null) {
-
 
23327
        this.success = new ArrayList<InventoryAvailability>();
-
 
23328
      }
-
 
23329
      this.success.add(elem);
-
 
23330
    }
-
 
23331
 
-
 
23332
    public List<InventoryAvailability> getSuccess() {
-
 
23333
      return this.success;
-
 
23334
    }
-
 
23335
 
-
 
23336
    public void setSuccess(List<InventoryAvailability> success) {
-
 
23337
      this.success = success;
-
 
23338
    }
-
 
23339
 
-
 
23340
    public void unsetSuccess() {
-
 
23341
      this.success = null;
-
 
23342
    }
-
 
23343
 
-
 
23344
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
23345
    public boolean isSetSuccess() {
-
 
23346
      return this.success != null;
-
 
23347
    }
-
 
23348
 
-
 
23349
    public void setSuccessIsSet(boolean value) {
-
 
23350
      if (!value) {
-
 
23351
        this.success = null;
-
 
23352
      }
-
 
23353
    }
-
 
23354
 
-
 
23355
    public void setFieldValue(_Fields field, Object value) {
-
 
23356
      switch (field) {
-
 
23357
      case SUCCESS:
-
 
23358
        if (value == null) {
-
 
23359
          unsetSuccess();
-
 
23360
        } else {
-
 
23361
          setSuccess((List<InventoryAvailability>)value);
-
 
23362
        }
-
 
23363
        break;
-
 
23364
 
-
 
23365
      }
-
 
23366
    }
-
 
23367
 
-
 
23368
    public Object getFieldValue(_Fields field) {
-
 
23369
      switch (field) {
-
 
23370
      case SUCCESS:
-
 
23371
        return getSuccess();
-
 
23372
 
-
 
23373
      }
-
 
23374
      throw new IllegalStateException();
-
 
23375
    }
-
 
23376
 
-
 
23377
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
23378
    public boolean isSet(_Fields field) {
-
 
23379
      if (field == null) {
-
 
23380
        throw new IllegalArgumentException();
-
 
23381
      }
-
 
23382
 
-
 
23383
      switch (field) {
-
 
23384
      case SUCCESS:
-
 
23385
        return isSetSuccess();
-
 
23386
      }
-
 
23387
      throw new IllegalStateException();
-
 
23388
    }
-
 
23389
 
-
 
23390
    @Override
-
 
23391
    public boolean equals(Object that) {
-
 
23392
      if (that == null)
-
 
23393
        return false;
-
 
23394
      if (that instanceof getOurHistoricNonSerializedInventoryByScans_result)
-
 
23395
        return this.equals((getOurHistoricNonSerializedInventoryByScans_result)that);
-
 
23396
      return false;
-
 
23397
    }
-
 
23398
 
-
 
23399
    public boolean equals(getOurHistoricNonSerializedInventoryByScans_result that) {
-
 
23400
      if (that == null)
-
 
23401
        return false;
-
 
23402
 
-
 
23403
      boolean this_present_success = true && this.isSetSuccess();
-
 
23404
      boolean that_present_success = true && that.isSetSuccess();
-
 
23405
      if (this_present_success || that_present_success) {
-
 
23406
        if (!(this_present_success && that_present_success))
-
 
23407
          return false;
-
 
23408
        if (!this.success.equals(that.success))
-
 
23409
          return false;
-
 
23410
      }
-
 
23411
 
-
 
23412
      return true;
-
 
23413
    }
-
 
23414
 
-
 
23415
    @Override
-
 
23416
    public int hashCode() {
-
 
23417
      return 0;
-
 
23418
    }
-
 
23419
 
-
 
23420
    public int compareTo(getOurHistoricNonSerializedInventoryByScans_result other) {
-
 
23421
      if (!getClass().equals(other.getClass())) {
-
 
23422
        return getClass().getName().compareTo(other.getClass().getName());
-
 
23423
      }
-
 
23424
 
-
 
23425
      int lastComparison = 0;
-
 
23426
      getOurHistoricNonSerializedInventoryByScans_result typedOther = (getOurHistoricNonSerializedInventoryByScans_result)other;
-
 
23427
 
-
 
23428
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
23429
      if (lastComparison != 0) {
-
 
23430
        return lastComparison;
-
 
23431
      }
-
 
23432
      if (isSetSuccess()) {
-
 
23433
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
23434
        if (lastComparison != 0) {
-
 
23435
          return lastComparison;
-
 
23436
        }
-
 
23437
      }
-
 
23438
      return 0;
-
 
23439
    }
-
 
23440
 
-
 
23441
    public _Fields fieldForId(int fieldId) {
-
 
23442
      return _Fields.findByThriftId(fieldId);
-
 
23443
    }
-
 
23444
 
-
 
23445
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
23446
      org.apache.thrift.protocol.TField field;
-
 
23447
      iprot.readStructBegin();
-
 
23448
      while (true)
-
 
23449
      {
-
 
23450
        field = iprot.readFieldBegin();
-
 
23451
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
23452
          break;
-
 
23453
        }
-
 
23454
        switch (field.id) {
-
 
23455
          case 0: // SUCCESS
-
 
23456
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
23457
              {
-
 
23458
                org.apache.thrift.protocol.TList _list68 = iprot.readListBegin();
-
 
23459
                this.success = new ArrayList<InventoryAvailability>(_list68.size);
-
 
23460
                for (int _i69 = 0; _i69 < _list68.size; ++_i69)
-
 
23461
                {
-
 
23462
                  InventoryAvailability _elem70; // required
-
 
23463
                  _elem70 = new InventoryAvailability();
-
 
23464
                  _elem70.read(iprot);
-
 
23465
                  this.success.add(_elem70);
-
 
23466
                }
-
 
23467
                iprot.readListEnd();
-
 
23468
              }
-
 
23469
            } else { 
-
 
23470
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
23471
            }
-
 
23472
            break;
-
 
23473
          default:
-
 
23474
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
23475
        }
-
 
23476
        iprot.readFieldEnd();
-
 
23477
      }
-
 
23478
      iprot.readStructEnd();
-
 
23479
      validate();
-
 
23480
    }
-
 
23481
 
-
 
23482
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
23483
      oprot.writeStructBegin(STRUCT_DESC);
-
 
23484
 
-
 
23485
      if (this.isSetSuccess()) {
-
 
23486
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
23487
        {
-
 
23488
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
23489
          for (InventoryAvailability _iter71 : this.success)
-
 
23490
          {
-
 
23491
            _iter71.write(oprot);
-
 
23492
          }
-
 
23493
          oprot.writeListEnd();
-
 
23494
        }
-
 
23495
        oprot.writeFieldEnd();
-
 
23496
      }
-
 
23497
      oprot.writeFieldStop();
-
 
23498
      oprot.writeStructEnd();
-
 
23499
    }
-
 
23500
 
-
 
23501
    @Override
-
 
23502
    public String toString() {
-
 
23503
      StringBuilder sb = new StringBuilder("getOurHistoricNonSerializedInventoryByScans_result(");
-
 
23504
      boolean first = true;
-
 
23505
 
-
 
23506
      sb.append("success:");
-
 
23507
      if (this.success == null) {
-
 
23508
        sb.append("null");
-
 
23509
      } else {
-
 
23510
        sb.append(this.success);
-
 
23511
      }
-
 
23512
      first = false;
-
 
23513
      sb.append(")");
-
 
23514
      return sb.toString();
-
 
23515
    }
-
 
23516
 
-
 
23517
    public void validate() throws org.apache.thrift.TException {
-
 
23518
      // check for required fields
-
 
23519
    }
-
 
23520
 
-
 
23521
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
23522
      try {
-
 
23523
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
23524
      } catch (org.apache.thrift.TException te) {
-
 
23525
        throw new java.io.IOException(te);
-
 
23526
      }
-
 
23527
    }
-
 
23528
 
-
 
23529
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
23530
      try {
-
 
23531
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
23532
      } catch (org.apache.thrift.TException te) {
-
 
23533
        throw new java.io.IOException(te);
-
 
23534
      }
-
 
23535
    }
-
 
23536
 
-
 
23537
  }
-
 
23538
 
22105
  public static class scanForOursExternalSale_args implements org.apache.thrift.TBase<scanForOursExternalSale_args, scanForOursExternalSale_args._Fields>, java.io.Serializable, Cloneable   {
23539
  public static class scanForOursExternalSale_args implements org.apache.thrift.TBase<scanForOursExternalSale_args, scanForOursExternalSale_args._Fields>, java.io.Serializable, Cloneable   {
22106
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("scanForOursExternalSale_args");
23540
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("scanForOursExternalSale_args");
22107
 
23541
 
22108
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
23542
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
22109
    private static final org.apache.thrift.protocol.TField SERIAL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("serialNumber", org.apache.thrift.protocol.TType.STRING, (short)2);
23543
    private static final org.apache.thrift.protocol.TField SERIAL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("serialNumber", org.apache.thrift.protocol.TType.STRING, (short)2);
Line 24666... Line 26100...
24666
        }
26100
        }
24667
        switch (field.id) {
26101
        switch (field.id) {
24668
          case 0: // SUCCESS
26102
          case 0: // SUCCESS
24669
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26103
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
24670
              {
26104
              {
24671
                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
26105
                org.apache.thrift.protocol.TList _list72 = iprot.readListBegin();
24672
                this.success = new ArrayList<InventoryMovement>(_list64.size);
26106
                this.success = new ArrayList<InventoryMovement>(_list72.size);
24673
                for (int _i65 = 0; _i65 < _list64.size; ++_i65)
26107
                for (int _i73 = 0; _i73 < _list72.size; ++_i73)
24674
                {
26108
                {
24675
                  InventoryMovement _elem66; // required
26109
                  InventoryMovement _elem74; // required
24676
                  _elem66 = new InventoryMovement();
26110
                  _elem74 = new InventoryMovement();
24677
                  _elem66.read(iprot);
26111
                  _elem74.read(iprot);
24678
                  this.success.add(_elem66);
26112
                  this.success.add(_elem74);
24679
                }
26113
                }
24680
                iprot.readListEnd();
26114
                iprot.readListEnd();
24681
              }
26115
              }
24682
            } else { 
26116
            } else { 
24683
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
26117
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 24697... Line 26131...
24697
 
26131
 
24698
      if (this.isSetSuccess()) {
26132
      if (this.isSetSuccess()) {
24699
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26133
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
24700
        {
26134
        {
24701
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26135
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
24702
          for (InventoryMovement _iter67 : this.success)
26136
          for (InventoryMovement _iter75 : this.success)
24703
          {
26137
          {
24704
            _iter67.write(oprot);
26138
            _iter75.write(oprot);
24705
          }
26139
          }
24706
          oprot.writeListEnd();
26140
          oprot.writeListEnd();
24707
        }
26141
        }
24708
        oprot.writeFieldEnd();
26142
        oprot.writeFieldEnd();
24709
      }
26143
      }
Line 25114... Line 26548...
25114
      }
26548
      }
25115
    }
26549
    }
25116
 
26550
 
25117
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
26551
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
25118
      try {
26552
      try {
25119
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
25120
        __isset_bit_vector = new BitSet(1);
-
 
25121
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
26553
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
25122
      } catch (org.apache.thrift.TException te) {
26554
      } catch (org.apache.thrift.TException te) {
25123
        throw new java.io.IOException(te);
26555
        throw new java.io.IOException(te);
25124
      }
26556
      }
25125
    }
26557
    }
Line 25374... Line 26806...
25374
        }
26806
        }
25375
        switch (field.id) {
26807
        switch (field.id) {
25376
          case 0: // SUCCESS
26808
          case 0: // SUCCESS
25377
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26809
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25378
              {
26810
              {
25379
                org.apache.thrift.protocol.TList _list68 = iprot.readListBegin();
26811
                org.apache.thrift.protocol.TList _list76 = iprot.readListBegin();
25380
                this.success = new ArrayList<InventoryMovement>(_list68.size);
26812
                this.success = new ArrayList<InventoryMovement>(_list76.size);
25381
                for (int _i69 = 0; _i69 < _list68.size; ++_i69)
26813
                for (int _i77 = 0; _i77 < _list76.size; ++_i77)
25382
                {
26814
                {
25383
                  InventoryMovement _elem70; // required
26815
                  InventoryMovement _elem78; // required
25384
                  _elem70 = new InventoryMovement();
26816
                  _elem78 = new InventoryMovement();
25385
                  _elem70.read(iprot);
26817
                  _elem78.read(iprot);
25386
                  this.success.add(_elem70);
26818
                  this.success.add(_elem78);
25387
                }
26819
                }
25388
                iprot.readListEnd();
26820
                iprot.readListEnd();
25389
              }
26821
              }
25390
            } else { 
26822
            } else { 
25391
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
26823
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 25405... Line 26837...
25405
 
26837
 
25406
      if (this.isSetSuccess()) {
26838
      if (this.isSetSuccess()) {
25407
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26839
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
25408
        {
26840
        {
25409
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26841
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
25410
          for (InventoryMovement _iter71 : this.success)
26842
          for (InventoryMovement _iter79 : this.success)
25411
          {
26843
          {
25412
            _iter71.write(oprot);
26844
            _iter79.write(oprot);
25413
          }
26845
          }
25414
          oprot.writeListEnd();
26846
          oprot.writeListEnd();
25415
        }
26847
        }
25416
        oprot.writeFieldEnd();
26848
        oprot.writeFieldEnd();
25417
      }
26849
      }
Line 25822... Line 27254...
25822
      }
27254
      }
25823
    }
27255
    }
25824
 
27256
 
25825
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
27257
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
25826
      try {
27258
      try {
25827
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
25828
        __isset_bit_vector = new BitSet(1);
-
 
25829
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
27259
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
25830
      } catch (org.apache.thrift.TException te) {
27260
      } catch (org.apache.thrift.TException te) {
25831
        throw new java.io.IOException(te);
27261
        throw new java.io.IOException(te);
25832
      }
27262
      }
25833
    }
27263
    }
Line 26082... Line 27512...
26082
        }
27512
        }
26083
        switch (field.id) {
27513
        switch (field.id) {
26084
          case 0: // SUCCESS
27514
          case 0: // SUCCESS
26085
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
27515
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26086
              {
27516
              {
26087
                org.apache.thrift.protocol.TList _list72 = iprot.readListBegin();
27517
                org.apache.thrift.protocol.TList _list80 = iprot.readListBegin();
26088
                this.success = new ArrayList<InventoryMovement>(_list72.size);
27518
                this.success = new ArrayList<InventoryMovement>(_list80.size);
26089
                for (int _i73 = 0; _i73 < _list72.size; ++_i73)
27519
                for (int _i81 = 0; _i81 < _list80.size; ++_i81)
26090
                {
27520
                {
26091
                  InventoryMovement _elem74; // required
27521
                  InventoryMovement _elem82; // required
26092
                  _elem74 = new InventoryMovement();
27522
                  _elem82 = new InventoryMovement();
26093
                  _elem74.read(iprot);
27523
                  _elem82.read(iprot);
26094
                  this.success.add(_elem74);
27524
                  this.success.add(_elem82);
26095
                }
27525
                }
26096
                iprot.readListEnd();
27526
                iprot.readListEnd();
26097
              }
27527
              }
26098
            } else { 
27528
            } else { 
26099
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
27529
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 26113... Line 27543...
26113
 
27543
 
26114
      if (this.isSetSuccess()) {
27544
      if (this.isSetSuccess()) {
26115
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
27545
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26116
        {
27546
        {
26117
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
27547
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26118
          for (InventoryMovement _iter75 : this.success)
27548
          for (InventoryMovement _iter83 : this.success)
26119
          {
27549
          {
26120
            _iter75.write(oprot);
27550
            _iter83.write(oprot);
26121
          }
27551
          }
26122
          oprot.writeListEnd();
27552
          oprot.writeListEnd();
26123
        }
27553
        }
26124
        oprot.writeFieldEnd();
27554
        oprot.writeFieldEnd();
26125
      }
27555
      }
Line 26530... Line 27960...
26530
      }
27960
      }
26531
    }
27961
    }
26532
 
27962
 
26533
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
27963
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
26534
      try {
27964
      try {
26535
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
26536
        __isset_bit_vector = new BitSet(1);
-
 
26537
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
27965
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
26538
      } catch (org.apache.thrift.TException te) {
27966
      } catch (org.apache.thrift.TException te) {
26539
        throw new java.io.IOException(te);
27967
        throw new java.io.IOException(te);
26540
      }
27968
      }
26541
    }
27969
    }
Line 26790... Line 28218...
26790
        }
28218
        }
26791
        switch (field.id) {
28219
        switch (field.id) {
26792
          case 0: // SUCCESS
28220
          case 0: // SUCCESS
26793
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
28221
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
26794
              {
28222
              {
26795
                org.apache.thrift.protocol.TList _list76 = iprot.readListBegin();
28223
                org.apache.thrift.protocol.TList _list84 = iprot.readListBegin();
26796
                this.success = new ArrayList<InventoryMovement>(_list76.size);
28224
                this.success = new ArrayList<InventoryMovement>(_list84.size);
26797
                for (int _i77 = 0; _i77 < _list76.size; ++_i77)
28225
                for (int _i85 = 0; _i85 < _list84.size; ++_i85)
26798
                {
28226
                {
26799
                  InventoryMovement _elem78; // required
28227
                  InventoryMovement _elem86; // required
26800
                  _elem78 = new InventoryMovement();
28228
                  _elem86 = new InventoryMovement();
26801
                  _elem78.read(iprot);
28229
                  _elem86.read(iprot);
26802
                  this.success.add(_elem78);
28230
                  this.success.add(_elem86);
26803
                }
28231
                }
26804
                iprot.readListEnd();
28232
                iprot.readListEnd();
26805
              }
28233
              }
26806
            } else { 
28234
            } else { 
26807
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
28235
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 26821... Line 28249...
26821
 
28249
 
26822
      if (this.isSetSuccess()) {
28250
      if (this.isSetSuccess()) {
26823
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
28251
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
26824
        {
28252
        {
26825
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
28253
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
26826
          for (InventoryMovement _iter79 : this.success)
28254
          for (InventoryMovement _iter87 : this.success)
26827
          {
28255
          {
26828
            _iter79.write(oprot);
28256
            _iter87.write(oprot);
26829
          }
28257
          }
26830
          oprot.writeListEnd();
28258
          oprot.writeListEnd();
26831
        }
28259
        }
26832
        oprot.writeFieldEnd();
28260
        oprot.writeFieldEnd();
26833
      }
28261
      }
Line 28363... Line 29791...
28363
      }
29791
      }
28364
    }
29792
    }
28365
 
29793
 
28366
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
29794
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
28367
      try {
29795
      try {
28368
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
28369
        __isset_bit_vector = new BitSet(1);
-
 
28370
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
29796
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
28371
      } catch (org.apache.thrift.TException te) {
29797
      } catch (org.apache.thrift.TException te) {
28372
        throw new java.io.IOException(te);
29798
        throw new java.io.IOException(te);
28373
      }
29799
      }
28374
    }
29800
    }
Line 29704... Line 31130...
29704
      }
31130
      }
29705
    }
31131
    }
29706
 
31132
 
29707
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
31133
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
29708
      try {
31134
      try {
-
 
31135
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
31136
        __isset_bit_vector = new BitSet(1);
29709
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
31137
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
29710
      } catch (org.apache.thrift.TException te) {
31138
      } catch (org.apache.thrift.TException te) {
29711
        throw new java.io.IOException(te);
31139
        throw new java.io.IOException(te);
29712
      }
31140
      }
29713
    }
31141
    }
Line 32140... Line 33568...
32140
        }
33568
        }
32141
        switch (field.id) {
33569
        switch (field.id) {
32142
          case 0: // SUCCESS
33570
          case 0: // SUCCESS
32143
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33571
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32144
              {
33572
              {
32145
                org.apache.thrift.protocol.TList _list80 = iprot.readListBegin();
33573
                org.apache.thrift.protocol.TList _list88 = iprot.readListBegin();
32146
                this.success = new ArrayList<TransferLot>(_list80.size);
33574
                this.success = new ArrayList<TransferLot>(_list88.size);
32147
                for (int _i81 = 0; _i81 < _list80.size; ++_i81)
33575
                for (int _i89 = 0; _i89 < _list88.size; ++_i89)
32148
                {
33576
                {
32149
                  TransferLot _elem82; // required
33577
                  TransferLot _elem90; // required
32150
                  _elem82 = new TransferLot();
33578
                  _elem90 = new TransferLot();
32151
                  _elem82.read(iprot);
33579
                  _elem90.read(iprot);
32152
                  this.success.add(_elem82);
33580
                  this.success.add(_elem90);
32153
                }
33581
                }
32154
                iprot.readListEnd();
33582
                iprot.readListEnd();
32155
              }
33583
              }
32156
            } else { 
33584
            } else { 
32157
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33585
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 32179... Line 33607...
32179
 
33607
 
32180
      if (this.isSetSuccess()) {
33608
      if (this.isSetSuccess()) {
32181
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33609
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32182
        {
33610
        {
32183
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
33611
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
32184
          for (TransferLot _iter83 : this.success)
33612
          for (TransferLot _iter91 : this.success)
32185
          {
33613
          {
32186
            _iter83.write(oprot);
33614
            _iter91.write(oprot);
32187
          }
33615
          }
32188
          oprot.writeListEnd();
33616
          oprot.writeListEnd();
32189
        }
33617
        }
32190
        oprot.writeFieldEnd();
33618
        oprot.writeFieldEnd();
32191
      } else if (this.isSetWex()) {
33619
      } else if (this.isSetWex()) {
Line 32785... Line 34213...
32785
        }
34213
        }
32786
        switch (field.id) {
34214
        switch (field.id) {
32787
          case 0: // SUCCESS
34215
          case 0: // SUCCESS
32788
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34216
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
32789
              {
34217
              {
32790
                org.apache.thrift.protocol.TList _list84 = iprot.readListBegin();
34218
                org.apache.thrift.protocol.TList _list92 = iprot.readListBegin();
32791
                this.success = new ArrayList<Long>(_list84.size);
34219
                this.success = new ArrayList<Long>(_list92.size);
32792
                for (int _i85 = 0; _i85 < _list84.size; ++_i85)
34220
                for (int _i93 = 0; _i93 < _list92.size; ++_i93)
32793
                {
34221
                {
32794
                  long _elem86; // required
34222
                  long _elem94; // required
32795
                  _elem86 = iprot.readI64();
34223
                  _elem94 = iprot.readI64();
32796
                  this.success.add(_elem86);
34224
                  this.success.add(_elem94);
32797
                }
34225
                }
32798
                iprot.readListEnd();
34226
                iprot.readListEnd();
32799
              }
34227
              }
32800
            } else { 
34228
            } else { 
32801
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
34229
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 32815... Line 34243...
32815
 
34243
 
32816
      if (this.isSetSuccess()) {
34244
      if (this.isSetSuccess()) {
32817
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34245
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
32818
        {
34246
        {
32819
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
34247
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
32820
          for (long _iter87 : this.success)
34248
          for (long _iter95 : this.success)
32821
          {
34249
          {
32822
            oprot.writeI64(_iter87);
34250
            oprot.writeI64(_iter95);
32823
          }
34251
          }
32824
          oprot.writeListEnd();
34252
          oprot.writeListEnd();
32825
        }
34253
        }
32826
        oprot.writeFieldEnd();
34254
        oprot.writeFieldEnd();
32827
      }
34255
      }
Line 33414... Line 34842...
33414
        }
34842
        }
33415
        switch (field.id) {
34843
        switch (field.id) {
33416
          case 0: // SUCCESS
34844
          case 0: // SUCCESS
33417
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
34845
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
33418
              {
34846
              {
33419
                org.apache.thrift.protocol.TMap _map88 = iprot.readMapBegin();
34847
                org.apache.thrift.protocol.TMap _map96 = iprot.readMapBegin();
33420
                this.success = new HashMap<Long,Long>(2*_map88.size);
34848
                this.success = new HashMap<Long,Long>(2*_map96.size);
33421
                for (int _i89 = 0; _i89 < _map88.size; ++_i89)
34849
                for (int _i97 = 0; _i97 < _map96.size; ++_i97)
33422
                {
34850
                {
33423
                  long _key90; // required
34851
                  long _key98; // required
33424
                  long _val91; // required
34852
                  long _val99; // required
33425
                  _key90 = iprot.readI64();
34853
                  _key98 = iprot.readI64();
33426
                  _val91 = iprot.readI64();
34854
                  _val99 = iprot.readI64();
33427
                  this.success.put(_key90, _val91);
34855
                  this.success.put(_key98, _val99);
33428
                }
34856
                }
33429
                iprot.readMapEnd();
34857
                iprot.readMapEnd();
33430
              }
34858
              }
33431
            } else { 
34859
            } else { 
33432
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
34860
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 33446... Line 34874...
33446
 
34874
 
33447
      if (this.isSetSuccess()) {
34875
      if (this.isSetSuccess()) {
33448
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34876
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33449
        {
34877
        {
33450
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
34878
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.I64, this.success.size()));
33451
          for (Map.Entry<Long, Long> _iter92 : this.success.entrySet())
34879
          for (Map.Entry<Long, Long> _iter100 : this.success.entrySet())
33452
          {
34880
          {
33453
            oprot.writeI64(_iter92.getKey());
34881
            oprot.writeI64(_iter100.getKey());
33454
            oprot.writeI64(_iter92.getValue());
34882
            oprot.writeI64(_iter100.getValue());
33455
          }
34883
          }
33456
          oprot.writeMapEnd();
34884
          oprot.writeMapEnd();
33457
        }
34885
        }
33458
        oprot.writeFieldEnd();
34886
        oprot.writeFieldEnd();
33459
      }
34887
      }
Line 35173... Line 36601...
35173
        }
36601
        }
35174
        switch (field.id) {
36602
        switch (field.id) {
35175
          case 1: // INVENTORY_ITEMS
36603
          case 1: // INVENTORY_ITEMS
35176
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36604
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35177
              {
36605
              {
35178
                org.apache.thrift.protocol.TList _list93 = iprot.readListBegin();
36606
                org.apache.thrift.protocol.TList _list101 = iprot.readListBegin();
35179
                this.inventoryItems = new ArrayList<InventoryItem>(_list93.size);
36607
                this.inventoryItems = new ArrayList<InventoryItem>(_list101.size);
35180
                for (int _i94 = 0; _i94 < _list93.size; ++_i94)
36608
                for (int _i102 = 0; _i102 < _list101.size; ++_i102)
35181
                {
36609
                {
35182
                  InventoryItem _elem95; // required
36610
                  InventoryItem _elem103; // required
35183
                  _elem95 = new InventoryItem();
36611
                  _elem103 = new InventoryItem();
35184
                  _elem95.read(iprot);
36612
                  _elem103.read(iprot);
35185
                  this.inventoryItems.add(_elem95);
36613
                  this.inventoryItems.add(_elem103);
35186
                }
36614
                }
35187
                iprot.readListEnd();
36615
                iprot.readListEnd();
35188
              }
36616
              }
35189
            } else { 
36617
            } else { 
35190
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
36618
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 35220... Line 36648...
35220
      oprot.writeStructBegin(STRUCT_DESC);
36648
      oprot.writeStructBegin(STRUCT_DESC);
35221
      if (this.inventoryItems != null) {
36649
      if (this.inventoryItems != null) {
35222
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
36650
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
35223
        {
36651
        {
35224
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
36652
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
35225
          for (InventoryItem _iter96 : this.inventoryItems)
36653
          for (InventoryItem _iter104 : this.inventoryItems)
35226
          {
36654
          {
35227
            _iter96.write(oprot);
36655
            _iter104.write(oprot);
35228
          }
36656
          }
35229
          oprot.writeListEnd();
36657
          oprot.writeListEnd();
35230
        }
36658
        }
35231
        oprot.writeFieldEnd();
36659
        oprot.writeFieldEnd();
35232
      }
36660
      }
Line 35987... Line 37415...
35987
        }
37415
        }
35988
        switch (field.id) {
37416
        switch (field.id) {
35989
          case 1: // INVENTORY_ITEMS
37417
          case 1: // INVENTORY_ITEMS
35990
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37418
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
35991
              {
37419
              {
35992
                org.apache.thrift.protocol.TList _list97 = iprot.readListBegin();
37420
                org.apache.thrift.protocol.TList _list105 = iprot.readListBegin();
35993
                this.inventoryItems = new ArrayList<InventoryItem>(_list97.size);
37421
                this.inventoryItems = new ArrayList<InventoryItem>(_list105.size);
35994
                for (int _i98 = 0; _i98 < _list97.size; ++_i98)
37422
                for (int _i106 = 0; _i106 < _list105.size; ++_i106)
35995
                {
37423
                {
35996
                  InventoryItem _elem99; // required
37424
                  InventoryItem _elem107; // required
35997
                  _elem99 = new InventoryItem();
37425
                  _elem107 = new InventoryItem();
35998
                  _elem99.read(iprot);
37426
                  _elem107.read(iprot);
35999
                  this.inventoryItems.add(_elem99);
37427
                  this.inventoryItems.add(_elem107);
36000
                }
37428
                }
36001
                iprot.readListEnd();
37429
                iprot.readListEnd();
36002
              }
37430
              }
36003
            } else { 
37431
            } else { 
36004
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
37432
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 36034... Line 37462...
36034
      oprot.writeStructBegin(STRUCT_DESC);
37462
      oprot.writeStructBegin(STRUCT_DESC);
36035
      if (this.inventoryItems != null) {
37463
      if (this.inventoryItems != null) {
36036
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
37464
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
36037
        {
37465
        {
36038
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
37466
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
36039
          for (InventoryItem _iter100 : this.inventoryItems)
37467
          for (InventoryItem _iter108 : this.inventoryItems)
36040
          {
37468
          {
36041
            _iter100.write(oprot);
37469
            _iter108.write(oprot);
36042
          }
37470
          }
36043
          oprot.writeListEnd();
37471
          oprot.writeListEnd();
36044
        }
37472
        }
36045
        oprot.writeFieldEnd();
37473
        oprot.writeFieldEnd();
36046
      }
37474
      }
Line 36721... Line 38149...
36721
        }
38149
        }
36722
        switch (field.id) {
38150
        switch (field.id) {
36723
          case 1: // INVENTORY_ITEMS
38151
          case 1: // INVENTORY_ITEMS
36724
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38152
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36725
              {
38153
              {
36726
                org.apache.thrift.protocol.TList _list101 = iprot.readListBegin();
38154
                org.apache.thrift.protocol.TList _list109 = iprot.readListBegin();
36727
                this.inventoryItems = new ArrayList<InventoryItem>(_list101.size);
38155
                this.inventoryItems = new ArrayList<InventoryItem>(_list109.size);
36728
                for (int _i102 = 0; _i102 < _list101.size; ++_i102)
38156
                for (int _i110 = 0; _i110 < _list109.size; ++_i110)
36729
                {
38157
                {
36730
                  InventoryItem _elem103; // required
38158
                  InventoryItem _elem111; // required
36731
                  _elem103 = new InventoryItem();
38159
                  _elem111 = new InventoryItem();
36732
                  _elem103.read(iprot);
38160
                  _elem111.read(iprot);
36733
                  this.inventoryItems.add(_elem103);
38161
                  this.inventoryItems.add(_elem111);
36734
                }
38162
                }
36735
                iprot.readListEnd();
38163
                iprot.readListEnd();
36736
              }
38164
              }
36737
            } else { 
38165
            } else { 
36738
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38166
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 36761... Line 38189...
36761
      oprot.writeStructBegin(STRUCT_DESC);
38189
      oprot.writeStructBegin(STRUCT_DESC);
36762
      if (this.inventoryItems != null) {
38190
      if (this.inventoryItems != null) {
36763
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
38191
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
36764
        {
38192
        {
36765
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
38193
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
36766
          for (InventoryItem _iter104 : this.inventoryItems)
38194
          for (InventoryItem _iter112 : this.inventoryItems)
36767
          {
38195
          {
36768
            _iter104.write(oprot);
38196
            _iter112.write(oprot);
36769
          }
38197
          }
36770
          oprot.writeListEnd();
38198
          oprot.writeListEnd();
36771
        }
38199
        }
36772
        oprot.writeFieldEnd();
38200
        oprot.writeFieldEnd();
36773
      }
38201
      }
Line 38416... Line 39844...
38416
        }
39844
        }
38417
        switch (field.id) {
39845
        switch (field.id) {
38418
          case 0: // SUCCESS
39846
          case 0: // SUCCESS
38419
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39847
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38420
              {
39848
              {
38421
                org.apache.thrift.protocol.TList _list105 = iprot.readListBegin();
39849
                org.apache.thrift.protocol.TList _list113 = iprot.readListBegin();
38422
                this.success = new ArrayList<InTransitInventory>(_list105.size);
39850
                this.success = new ArrayList<InTransitInventory>(_list113.size);
38423
                for (int _i106 = 0; _i106 < _list105.size; ++_i106)
39851
                for (int _i114 = 0; _i114 < _list113.size; ++_i114)
38424
                {
39852
                {
38425
                  InTransitInventory _elem107; // required
39853
                  InTransitInventory _elem115; // required
38426
                  _elem107 = new InTransitInventory();
39854
                  _elem115 = new InTransitInventory();
38427
                  _elem107.read(iprot);
39855
                  _elem115.read(iprot);
38428
                  this.success.add(_elem107);
39856
                  this.success.add(_elem115);
38429
                }
39857
                }
38430
                iprot.readListEnd();
39858
                iprot.readListEnd();
38431
              }
39859
              }
38432
            } else { 
39860
            } else { 
38433
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
39861
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 38447... Line 39875...
38447
 
39875
 
38448
      if (this.isSetSuccess()) {
39876
      if (this.isSetSuccess()) {
38449
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39877
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38450
        {
39878
        {
38451
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39879
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
38452
          for (InTransitInventory _iter108 : this.success)
39880
          for (InTransitInventory _iter116 : this.success)
38453
          {
39881
          {
38454
            _iter108.write(oprot);
39882
            _iter116.write(oprot);
38455
          }
39883
          }
38456
          oprot.writeListEnd();
39884
          oprot.writeListEnd();
38457
        }
39885
        }
38458
        oprot.writeFieldEnd();
39886
        oprot.writeFieldEnd();
38459
      }
39887
      }
Line 39955... Line 41383...
39955
        }
41383
        }
39956
        switch (field.id) {
41384
        switch (field.id) {
39957
          case 0: // SUCCESS
41385
          case 0: // SUCCESS
39958
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41386
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39959
              {
41387
              {
39960
                org.apache.thrift.protocol.TList _list109 = iprot.readListBegin();
41388
                org.apache.thrift.protocol.TList _list117 = iprot.readListBegin();
39961
                this.success = new ArrayList<InventoryAvailability>(_list109.size);
41389
                this.success = new ArrayList<InventoryAvailability>(_list117.size);
39962
                for (int _i110 = 0; _i110 < _list109.size; ++_i110)
41390
                for (int _i118 = 0; _i118 < _list117.size; ++_i118)
39963
                {
41391
                {
39964
                  InventoryAvailability _elem111; // required
41392
                  InventoryAvailability _elem119; // required
39965
                  _elem111 = new InventoryAvailability();
41393
                  _elem119 = new InventoryAvailability();
39966
                  _elem111.read(iprot);
41394
                  _elem119.read(iprot);
39967
                  this.success.add(_elem111);
41395
                  this.success.add(_elem119);
39968
                }
41396
                }
39969
                iprot.readListEnd();
41397
                iprot.readListEnd();
39970
              }
41398
              }
39971
            } else { 
41399
            } else { 
39972
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41400
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39994... Line 41422...
39994
 
41422
 
39995
      if (this.isSetSuccess()) {
41423
      if (this.isSetSuccess()) {
39996
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41424
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39997
        {
41425
        {
39998
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41426
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
39999
          for (InventoryAvailability _iter112 : this.success)
41427
          for (InventoryAvailability _iter120 : this.success)
40000
          {
41428
          {
40001
            _iter112.write(oprot);
41429
            _iter120.write(oprot);
40002
          }
41430
          }
40003
          oprot.writeListEnd();
41431
          oprot.writeListEnd();
40004
        }
41432
        }
40005
        oprot.writeFieldEnd();
41433
        oprot.writeFieldEnd();
40006
      } else if (this.isSetWex()) {
41434
      } else if (this.isSetWex()) {
Line 41952... Line 43380...
41952
        }
43380
        }
41953
        switch (field.id) {
43381
        switch (field.id) {
41954
          case 0: // SUCCESS
43382
          case 0: // SUCCESS
41955
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43383
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41956
              {
43384
              {
41957
                org.apache.thrift.protocol.TList _list113 = iprot.readListBegin();
43385
                org.apache.thrift.protocol.TList _list121 = iprot.readListBegin();
41958
                this.success = new ArrayList<InventoryItem>(_list113.size);
43386
                this.success = new ArrayList<InventoryItem>(_list121.size);
41959
                for (int _i114 = 0; _i114 < _list113.size; ++_i114)
43387
                for (int _i122 = 0; _i122 < _list121.size; ++_i122)
41960
                {
43388
                {
41961
                  InventoryItem _elem115; // required
43389
                  InventoryItem _elem123; // required
41962
                  _elem115 = new InventoryItem();
43390
                  _elem123 = new InventoryItem();
41963
                  _elem115.read(iprot);
43391
                  _elem123.read(iprot);
41964
                  this.success.add(_elem115);
43392
                  this.success.add(_elem123);
41965
                }
43393
                }
41966
                iprot.readListEnd();
43394
                iprot.readListEnd();
41967
              }
43395
              }
41968
            } else { 
43396
            } else { 
41969
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43397
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 41991... Line 43419...
41991
 
43419
 
41992
      if (this.isSetSuccess()) {
43420
      if (this.isSetSuccess()) {
41993
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43421
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41994
        {
43422
        {
41995
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43423
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41996
          for (InventoryItem _iter116 : this.success)
43424
          for (InventoryItem _iter124 : this.success)
41997
          {
43425
          {
41998
            _iter116.write(oprot);
43426
            _iter124.write(oprot);
41999
          }
43427
          }
42000
          oprot.writeListEnd();
43428
          oprot.writeListEnd();
42001
        }
43429
        }
42002
        oprot.writeFieldEnd();
43430
        oprot.writeFieldEnd();
42003
      } else if (this.isSetWex()) {
43431
      } else if (this.isSetWex()) {
Line 42374... Line 43802...
42374
        }
43802
        }
42375
        switch (field.id) {
43803
        switch (field.id) {
42376
          case 1: // INVENTORY_ITEMS
43804
          case 1: // INVENTORY_ITEMS
42377
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43805
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42378
              {
43806
              {
42379
                org.apache.thrift.protocol.TList _list117 = iprot.readListBegin();
43807
                org.apache.thrift.protocol.TList _list125 = iprot.readListBegin();
42380
                this.inventoryItems = new ArrayList<InventoryItem>(_list117.size);
43808
                this.inventoryItems = new ArrayList<InventoryItem>(_list125.size);
42381
                for (int _i118 = 0; _i118 < _list117.size; ++_i118)
43809
                for (int _i126 = 0; _i126 < _list125.size; ++_i126)
42382
                {
43810
                {
42383
                  InventoryItem _elem119; // required
43811
                  InventoryItem _elem127; // required
42384
                  _elem119 = new InventoryItem();
43812
                  _elem127 = new InventoryItem();
42385
                  _elem119.read(iprot);
43813
                  _elem127.read(iprot);
42386
                  this.inventoryItems.add(_elem119);
43814
                  this.inventoryItems.add(_elem127);
42387
                }
43815
                }
42388
                iprot.readListEnd();
43816
                iprot.readListEnd();
42389
              }
43817
              }
42390
            } else { 
43818
            } else { 
42391
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43819
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42414... Line 43842...
42414
      oprot.writeStructBegin(STRUCT_DESC);
43842
      oprot.writeStructBegin(STRUCT_DESC);
42415
      if (this.inventoryItems != null) {
43843
      if (this.inventoryItems != null) {
42416
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
43844
        oprot.writeFieldBegin(INVENTORY_ITEMS_FIELD_DESC);
42417
        {
43845
        {
42418
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
43846
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.inventoryItems.size()));
42419
          for (InventoryItem _iter120 : this.inventoryItems)
43847
          for (InventoryItem _iter128 : this.inventoryItems)
42420
          {
43848
          {
42421
            _iter120.write(oprot);
43849
            _iter128.write(oprot);
42422
          }
43850
          }
42423
          oprot.writeListEnd();
43851
          oprot.writeListEnd();
42424
        }
43852
        }
42425
        oprot.writeFieldEnd();
43853
        oprot.writeFieldEnd();
42426
      }
43854
      }