Subversion Repositories SmartDukaan

Rev

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

Rev 7308 Rev 7311
Line 949... Line 949...
949
 
949
 
950
    public List<TelecomCircle> getAllCircles() throws org.apache.thrift.TException;
950
    public List<TelecomCircle> getAllCircles() throws org.apache.thrift.TException;
951
 
951
 
952
    public boolean deleteFrcs(List<Long> frcIdsToDelete) throws org.apache.thrift.TException;
952
    public boolean deleteFrcs(List<Long> frcIdsToDelete) throws org.apache.thrift.TException;
953
 
953
 
-
 
954
    public void addAmazonOrder(AmazonOrder amazonOrder) throws org.apache.thrift.TException;
-
 
955
 
-
 
956
    public boolean getOrderForAmazonOrderCode(long orderId, String status) throws org.apache.thrift.TException;
-
 
957
 
-
 
958
    public List<Order> getAmazonOrdersShipped(long interval) throws org.apache.thrift.TException;
-
 
959
 
-
 
960
    public List<Order> getAmazonOrdersCancelled(long interval) throws org.apache.thrift.TException;
-
 
961
 
954
  }
962
  }
955
 
963
 
956
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
964
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
957
 
965
 
958
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
966
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1291... Line 1299...
1291
 
1299
 
1292
    public void getAllCircles(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllCircles_call> resultHandler) throws org.apache.thrift.TException;
1300
    public void getAllCircles(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllCircles_call> resultHandler) throws org.apache.thrift.TException;
1293
 
1301
 
1294
    public void deleteFrcs(List<Long> frcIdsToDelete, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteFrcs_call> resultHandler) throws org.apache.thrift.TException;
1302
    public void deleteFrcs(List<Long> frcIdsToDelete, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteFrcs_call> resultHandler) throws org.apache.thrift.TException;
1295
 
1303
 
-
 
1304
    public void addAmazonOrder(AmazonOrder amazonOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addAmazonOrder_call> resultHandler) throws org.apache.thrift.TException;
-
 
1305
 
-
 
1306
    public void getOrderForAmazonOrderCode(long orderId, String status, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderForAmazonOrderCode_call> resultHandler) throws org.apache.thrift.TException;
-
 
1307
 
-
 
1308
    public void getAmazonOrdersShipped(long interval, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonOrdersShipped_call> resultHandler) throws org.apache.thrift.TException;
-
 
1309
 
-
 
1310
    public void getAmazonOrdersCancelled(long interval, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonOrdersCancelled_call> resultHandler) throws org.apache.thrift.TException;
-
 
1311
 
1296
  }
1312
  }
1297
 
1313
 
1298
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1314
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1299
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1315
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1300
      public Factory() {}
1316
      public Factory() {}
Line 5547... Line 5563...
5547
        return result.success;
5563
        return result.success;
5548
      }
5564
      }
5549
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteFrcs failed: unknown result");
5565
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteFrcs failed: unknown result");
5550
    }
5566
    }
5551
 
5567
 
-
 
5568
    public void addAmazonOrder(AmazonOrder amazonOrder) throws org.apache.thrift.TException
-
 
5569
    {
-
 
5570
      send_addAmazonOrder(amazonOrder);
-
 
5571
      recv_addAmazonOrder();
-
 
5572
    }
-
 
5573
 
-
 
5574
    public void send_addAmazonOrder(AmazonOrder amazonOrder) throws org.apache.thrift.TException
-
 
5575
    {
-
 
5576
      addAmazonOrder_args args = new addAmazonOrder_args();
-
 
5577
      args.setAmazonOrder(amazonOrder);
-
 
5578
      sendBase("addAmazonOrder", args);
-
 
5579
    }
-
 
5580
 
-
 
5581
    public void recv_addAmazonOrder() throws org.apache.thrift.TException
-
 
5582
    {
-
 
5583
      addAmazonOrder_result result = new addAmazonOrder_result();
-
 
5584
      receiveBase(result, "addAmazonOrder");
-
 
5585
      return;
-
 
5586
    }
-
 
5587
 
-
 
5588
    public boolean getOrderForAmazonOrderCode(long orderId, String status) throws org.apache.thrift.TException
-
 
5589
    {
-
 
5590
      send_getOrderForAmazonOrderCode(orderId, status);
-
 
5591
      return recv_getOrderForAmazonOrderCode();
-
 
5592
    }
-
 
5593
 
-
 
5594
    public void send_getOrderForAmazonOrderCode(long orderId, String status) throws org.apache.thrift.TException
-
 
5595
    {
-
 
5596
      getOrderForAmazonOrderCode_args args = new getOrderForAmazonOrderCode_args();
-
 
5597
      args.setOrderId(orderId);
-
 
5598
      args.setStatus(status);
-
 
5599
      sendBase("getOrderForAmazonOrderCode", args);
-
 
5600
    }
-
 
5601
 
-
 
5602
    public boolean recv_getOrderForAmazonOrderCode() throws org.apache.thrift.TException
-
 
5603
    {
-
 
5604
      getOrderForAmazonOrderCode_result result = new getOrderForAmazonOrderCode_result();
-
 
5605
      receiveBase(result, "getOrderForAmazonOrderCode");
-
 
5606
      if (result.isSetSuccess()) {
-
 
5607
        return result.success;
-
 
5608
      }
-
 
5609
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrderForAmazonOrderCode failed: unknown result");
-
 
5610
    }
-
 
5611
 
-
 
5612
    public List<Order> getAmazonOrdersShipped(long interval) throws org.apache.thrift.TException
-
 
5613
    {
-
 
5614
      send_getAmazonOrdersShipped(interval);
-
 
5615
      return recv_getAmazonOrdersShipped();
-
 
5616
    }
-
 
5617
 
-
 
5618
    public void send_getAmazonOrdersShipped(long interval) throws org.apache.thrift.TException
-
 
5619
    {
-
 
5620
      getAmazonOrdersShipped_args args = new getAmazonOrdersShipped_args();
-
 
5621
      args.setInterval(interval);
-
 
5622
      sendBase("getAmazonOrdersShipped", args);
-
 
5623
    }
-
 
5624
 
-
 
5625
    public List<Order> recv_getAmazonOrdersShipped() throws org.apache.thrift.TException
-
 
5626
    {
-
 
5627
      getAmazonOrdersShipped_result result = new getAmazonOrdersShipped_result();
-
 
5628
      receiveBase(result, "getAmazonOrdersShipped");
-
 
5629
      if (result.isSetSuccess()) {
-
 
5630
        return result.success;
-
 
5631
      }
-
 
5632
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAmazonOrdersShipped failed: unknown result");
-
 
5633
    }
-
 
5634
 
-
 
5635
    public List<Order> getAmazonOrdersCancelled(long interval) throws org.apache.thrift.TException
-
 
5636
    {
-
 
5637
      send_getAmazonOrdersCancelled(interval);
-
 
5638
      return recv_getAmazonOrdersCancelled();
-
 
5639
    }
-
 
5640
 
-
 
5641
    public void send_getAmazonOrdersCancelled(long interval) throws org.apache.thrift.TException
-
 
5642
    {
-
 
5643
      getAmazonOrdersCancelled_args args = new getAmazonOrdersCancelled_args();
-
 
5644
      args.setInterval(interval);
-
 
5645
      sendBase("getAmazonOrdersCancelled", args);
-
 
5646
    }
-
 
5647
 
-
 
5648
    public List<Order> recv_getAmazonOrdersCancelled() throws org.apache.thrift.TException
-
 
5649
    {
-
 
5650
      getAmazonOrdersCancelled_result result = new getAmazonOrdersCancelled_result();
-
 
5651
      receiveBase(result, "getAmazonOrdersCancelled");
-
 
5652
      if (result.isSetSuccess()) {
-
 
5653
        return result.success;
-
 
5654
      }
-
 
5655
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAmazonOrdersCancelled failed: unknown result");
-
 
5656
    }
-
 
5657
 
5552
  }
5658
  }
5553
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5659
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5554
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5660
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5555
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5661
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5556
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
5662
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 11465... Line 11571...
11465
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11571
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11466
        return (new Client(prot)).recv_deleteFrcs();
11572
        return (new Client(prot)).recv_deleteFrcs();
11467
      }
11573
      }
11468
    }
11574
    }
11469
 
11575
 
-
 
11576
    public void addAmazonOrder(AmazonOrder amazonOrder, org.apache.thrift.async.AsyncMethodCallback<addAmazonOrder_call> resultHandler) throws org.apache.thrift.TException {
-
 
11577
      checkReady();
-
 
11578
      addAmazonOrder_call method_call = new addAmazonOrder_call(amazonOrder, resultHandler, this, ___protocolFactory, ___transport);
-
 
11579
      this.___currentMethod = method_call;
-
 
11580
      ___manager.call(method_call);
-
 
11581
    }
-
 
11582
 
-
 
11583
    public static class addAmazonOrder_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
11584
      private AmazonOrder amazonOrder;
-
 
11585
      public addAmazonOrder_call(AmazonOrder amazonOrder, org.apache.thrift.async.AsyncMethodCallback<addAmazonOrder_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 {
-
 
11586
        super(client, protocolFactory, transport, resultHandler, false);
-
 
11587
        this.amazonOrder = amazonOrder;
-
 
11588
      }
-
 
11589
 
-
 
11590
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
11591
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addAmazonOrder", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
11592
        addAmazonOrder_args args = new addAmazonOrder_args();
-
 
11593
        args.setAmazonOrder(amazonOrder);
-
 
11594
        args.write(prot);
-
 
11595
        prot.writeMessageEnd();
-
 
11596
      }
-
 
11597
 
-
 
11598
      public void getResult() throws org.apache.thrift.TException {
-
 
11599
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
11600
          throw new IllegalStateException("Method call not finished!");
-
 
11601
        }
-
 
11602
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
11603
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
11604
        (new Client(prot)).recv_addAmazonOrder();
-
 
11605
      }
-
 
11606
    }
-
 
11607
 
-
 
11608
    public void getOrderForAmazonOrderCode(long orderId, String status, org.apache.thrift.async.AsyncMethodCallback<getOrderForAmazonOrderCode_call> resultHandler) throws org.apache.thrift.TException {
-
 
11609
      checkReady();
-
 
11610
      getOrderForAmazonOrderCode_call method_call = new getOrderForAmazonOrderCode_call(orderId, status, resultHandler, this, ___protocolFactory, ___transport);
-
 
11611
      this.___currentMethod = method_call;
-
 
11612
      ___manager.call(method_call);
-
 
11613
    }
-
 
11614
 
-
 
11615
    public static class getOrderForAmazonOrderCode_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
11616
      private long orderId;
-
 
11617
      private String status;
-
 
11618
      public getOrderForAmazonOrderCode_call(long orderId, String status, org.apache.thrift.async.AsyncMethodCallback<getOrderForAmazonOrderCode_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 {
-
 
11619
        super(client, protocolFactory, transport, resultHandler, false);
-
 
11620
        this.orderId = orderId;
-
 
11621
        this.status = status;
-
 
11622
      }
-
 
11623
 
-
 
11624
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
11625
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOrderForAmazonOrderCode", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
11626
        getOrderForAmazonOrderCode_args args = new getOrderForAmazonOrderCode_args();
-
 
11627
        args.setOrderId(orderId);
-
 
11628
        args.setStatus(status);
-
 
11629
        args.write(prot);
-
 
11630
        prot.writeMessageEnd();
-
 
11631
      }
-
 
11632
 
-
 
11633
      public boolean getResult() throws org.apache.thrift.TException {
-
 
11634
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
11635
          throw new IllegalStateException("Method call not finished!");
-
 
11636
        }
-
 
11637
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
11638
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
11639
        return (new Client(prot)).recv_getOrderForAmazonOrderCode();
-
 
11640
      }
-
 
11641
    }
-
 
11642
 
-
 
11643
    public void getAmazonOrdersShipped(long interval, org.apache.thrift.async.AsyncMethodCallback<getAmazonOrdersShipped_call> resultHandler) throws org.apache.thrift.TException {
-
 
11644
      checkReady();
-
 
11645
      getAmazonOrdersShipped_call method_call = new getAmazonOrdersShipped_call(interval, resultHandler, this, ___protocolFactory, ___transport);
-
 
11646
      this.___currentMethod = method_call;
-
 
11647
      ___manager.call(method_call);
-
 
11648
    }
-
 
11649
 
-
 
11650
    public static class getAmazonOrdersShipped_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
11651
      private long interval;
-
 
11652
      public getAmazonOrdersShipped_call(long interval, org.apache.thrift.async.AsyncMethodCallback<getAmazonOrdersShipped_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 {
-
 
11653
        super(client, protocolFactory, transport, resultHandler, false);
-
 
11654
        this.interval = interval;
-
 
11655
      }
-
 
11656
 
-
 
11657
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
11658
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAmazonOrdersShipped", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
11659
        getAmazonOrdersShipped_args args = new getAmazonOrdersShipped_args();
-
 
11660
        args.setInterval(interval);
-
 
11661
        args.write(prot);
-
 
11662
        prot.writeMessageEnd();
-
 
11663
      }
-
 
11664
 
-
 
11665
      public List<Order> getResult() throws org.apache.thrift.TException {
-
 
11666
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
11667
          throw new IllegalStateException("Method call not finished!");
-
 
11668
        }
-
 
11669
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
11670
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
11671
        return (new Client(prot)).recv_getAmazonOrdersShipped();
-
 
11672
      }
-
 
11673
    }
-
 
11674
 
-
 
11675
    public void getAmazonOrdersCancelled(long interval, org.apache.thrift.async.AsyncMethodCallback<getAmazonOrdersCancelled_call> resultHandler) throws org.apache.thrift.TException {
-
 
11676
      checkReady();
-
 
11677
      getAmazonOrdersCancelled_call method_call = new getAmazonOrdersCancelled_call(interval, resultHandler, this, ___protocolFactory, ___transport);
-
 
11678
      this.___currentMethod = method_call;
-
 
11679
      ___manager.call(method_call);
-
 
11680
    }
-
 
11681
 
-
 
11682
    public static class getAmazonOrdersCancelled_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
11683
      private long interval;
-
 
11684
      public getAmazonOrdersCancelled_call(long interval, org.apache.thrift.async.AsyncMethodCallback<getAmazonOrdersCancelled_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 {
-
 
11685
        super(client, protocolFactory, transport, resultHandler, false);
-
 
11686
        this.interval = interval;
-
 
11687
      }
-
 
11688
 
-
 
11689
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
11690
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAmazonOrdersCancelled", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
11691
        getAmazonOrdersCancelled_args args = new getAmazonOrdersCancelled_args();
-
 
11692
        args.setInterval(interval);
-
 
11693
        args.write(prot);
-
 
11694
        prot.writeMessageEnd();
-
 
11695
      }
-
 
11696
 
-
 
11697
      public List<Order> getResult() throws org.apache.thrift.TException {
-
 
11698
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
11699
          throw new IllegalStateException("Method call not finished!");
-
 
11700
        }
-
 
11701
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
11702
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
11703
        return (new Client(prot)).recv_getAmazonOrdersCancelled();
-
 
11704
      }
-
 
11705
    }
-
 
11706
 
11470
  }
11707
  }
11471
 
11708
 
11472
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
11709
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
11473
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
11710
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
11474
    public Processor(I iface) {
11711
    public Processor(I iface) {
Line 11647... Line 11884...
11647
      processMap.put("topupCompanyWallet", new topupCompanyWallet());
11884
      processMap.put("topupCompanyWallet", new topupCompanyWallet());
11648
      processMap.put("getWalletBalanceForCompany", new getWalletBalanceForCompany());
11885
      processMap.put("getWalletBalanceForCompany", new getWalletBalanceForCompany());
11649
      processMap.put("getSourceDetail", new getSourceDetail());
11886
      processMap.put("getSourceDetail", new getSourceDetail());
11650
      processMap.put("getAllCircles", new getAllCircles());
11887
      processMap.put("getAllCircles", new getAllCircles());
11651
      processMap.put("deleteFrcs", new deleteFrcs());
11888
      processMap.put("deleteFrcs", new deleteFrcs());
-
 
11889
      processMap.put("addAmazonOrder", new addAmazonOrder());
-
 
11890
      processMap.put("getOrderForAmazonOrderCode", new getOrderForAmazonOrderCode());
-
 
11891
      processMap.put("getAmazonOrdersShipped", new getAmazonOrdersShipped());
-
 
11892
      processMap.put("getAmazonOrdersCancelled", new getAmazonOrdersCancelled());
11652
      return processMap;
11893
      return processMap;
11653
    }
11894
    }
11654
 
11895
 
11655
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
11896
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
11656
      public createTransaction() {
11897
      public createTransaction() {
Line 14786... Line 15027...
14786
        result.setSuccessIsSet(true);
15027
        result.setSuccessIsSet(true);
14787
        return result;
15028
        return result;
14788
      }
15029
      }
14789
    }
15030
    }
14790
 
15031
 
-
 
15032
    private static class addAmazonOrder<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addAmazonOrder_args> {
-
 
15033
      public addAmazonOrder() {
-
 
15034
        super("addAmazonOrder");
-
 
15035
      }
-
 
15036
 
-
 
15037
      protected addAmazonOrder_args getEmptyArgsInstance() {
-
 
15038
        return new addAmazonOrder_args();
-
 
15039
      }
-
 
15040
 
-
 
15041
      protected addAmazonOrder_result getResult(I iface, addAmazonOrder_args args) throws org.apache.thrift.TException {
-
 
15042
        addAmazonOrder_result result = new addAmazonOrder_result();
-
 
15043
        iface.addAmazonOrder(args.amazonOrder);
-
 
15044
        return result;
-
 
15045
      }
-
 
15046
    }
-
 
15047
 
-
 
15048
    private static class getOrderForAmazonOrderCode<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrderForAmazonOrderCode_args> {
-
 
15049
      public getOrderForAmazonOrderCode() {
-
 
15050
        super("getOrderForAmazonOrderCode");
-
 
15051
      }
-
 
15052
 
-
 
15053
      protected getOrderForAmazonOrderCode_args getEmptyArgsInstance() {
-
 
15054
        return new getOrderForAmazonOrderCode_args();
-
 
15055
      }
-
 
15056
 
-
 
15057
      protected getOrderForAmazonOrderCode_result getResult(I iface, getOrderForAmazonOrderCode_args args) throws org.apache.thrift.TException {
-
 
15058
        getOrderForAmazonOrderCode_result result = new getOrderForAmazonOrderCode_result();
-
 
15059
        result.success = iface.getOrderForAmazonOrderCode(args.orderId, args.status);
-
 
15060
        result.setSuccessIsSet(true);
-
 
15061
        return result;
-
 
15062
      }
-
 
15063
    }
-
 
15064
 
-
 
15065
    private static class getAmazonOrdersShipped<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAmazonOrdersShipped_args> {
-
 
15066
      public getAmazonOrdersShipped() {
-
 
15067
        super("getAmazonOrdersShipped");
-
 
15068
      }
-
 
15069
 
-
 
15070
      protected getAmazonOrdersShipped_args getEmptyArgsInstance() {
-
 
15071
        return new getAmazonOrdersShipped_args();
-
 
15072
      }
-
 
15073
 
-
 
15074
      protected getAmazonOrdersShipped_result getResult(I iface, getAmazonOrdersShipped_args args) throws org.apache.thrift.TException {
-
 
15075
        getAmazonOrdersShipped_result result = new getAmazonOrdersShipped_result();
-
 
15076
        result.success = iface.getAmazonOrdersShipped(args.interval);
-
 
15077
        return result;
-
 
15078
      }
-
 
15079
    }
-
 
15080
 
-
 
15081
    private static class getAmazonOrdersCancelled<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAmazonOrdersCancelled_args> {
-
 
15082
      public getAmazonOrdersCancelled() {
-
 
15083
        super("getAmazonOrdersCancelled");
-
 
15084
      }
-
 
15085
 
-
 
15086
      protected getAmazonOrdersCancelled_args getEmptyArgsInstance() {
-
 
15087
        return new getAmazonOrdersCancelled_args();
-
 
15088
      }
-
 
15089
 
-
 
15090
      protected getAmazonOrdersCancelled_result getResult(I iface, getAmazonOrdersCancelled_args args) throws org.apache.thrift.TException {
-
 
15091
        getAmazonOrdersCancelled_result result = new getAmazonOrdersCancelled_result();
-
 
15092
        result.success = iface.getAmazonOrdersCancelled(args.interval);
-
 
15093
        return result;
-
 
15094
      }
-
 
15095
    }
-
 
15096
 
14791
  }
15097
  }
14792
 
15098
 
14793
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
15099
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
14794
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
15100
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
14795
 
15101
 
Line 63927... Line 64233...
63927
      }
64233
      }
63928
    }
64234
    }
63929
 
64235
 
63930
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
64236
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
63931
      try {
64237
      try {
63932
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
63933
        __isset_bit_vector = new BitSet(1);
-
 
63934
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
64238
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
63935
      } catch (org.apache.thrift.TException te) {
64239
      } catch (org.apache.thrift.TException te) {
63936
        throw new java.io.IOException(te);
64240
        throw new java.io.IOException(te);
63937
      }
64241
      }
63938
    }
64242
    }
Line 64685... Line 64989...
64685
      }
64989
      }
64686
    }
64990
    }
64687
 
64991
 
64688
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
64992
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
64689
      try {
64993
      try {
64690
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
64691
        __isset_bit_vector = new BitSet(1);
-
 
64692
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
64994
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
64693
      } catch (org.apache.thrift.TException te) {
64995
      } catch (org.apache.thrift.TException te) {
64694
        throw new java.io.IOException(te);
64996
        throw new java.io.IOException(te);
64695
      }
64997
      }
64696
    }
64998
    }
Line 65360... Line 65662...
65360
      }
65662
      }
65361
    }
65663
    }
65362
 
65664
 
65363
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
65665
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
65364
      try {
65666
      try {
65365
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
65366
        __isset_bit_vector = new BitSet(1);
-
 
65367
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
65667
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
65368
      } catch (org.apache.thrift.TException te) {
65668
      } catch (org.apache.thrift.TException te) {
65369
        throw new java.io.IOException(te);
65669
        throw new java.io.IOException(te);
65370
      }
65670
      }
65371
    }
65671
    }
Line 74702... Line 75002...
74702
      }
75002
      }
74703
    }
75003
    }
74704
 
75004
 
74705
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
75005
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
74706
      try {
75006
      try {
-
 
75007
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
75008
        __isset_bit_vector = new BitSet(1);
74707
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
75009
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
74708
      } catch (org.apache.thrift.TException te) {
75010
      } catch (org.apache.thrift.TException te) {
74709
        throw new java.io.IOException(te);
75011
        throw new java.io.IOException(te);
74710
      }
75012
      }
74711
    }
75013
    }
Line 103634... Line 103936...
103634
      }
103936
      }
103635
    }
103937
    }
103636
 
103938
 
103637
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
103939
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
103638
      try {
103940
      try {
103639
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
103640
        __isset_bit_vector = new BitSet(1);
-
 
103641
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
103941
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
103642
      } catch (org.apache.thrift.TException te) {
103942
      } catch (org.apache.thrift.TException te) {
103643
        throw new java.io.IOException(te);
103943
        throw new java.io.IOException(te);
103644
      }
103944
      }
103645
    }
103945
    }
Line 136857... Line 137157...
136857
      first = false;
137157
      first = false;
136858
      sb.append(")");
137158
      sb.append(")");
136859
      return sb.toString();
137159
      return sb.toString();
136860
    }
137160
    }
136861
 
137161
 
-
 
137162
    public void validate() throws org.apache.thrift.TException {
-
 
137163
      // check for required fields
-
 
137164
    }
-
 
137165
 
-
 
137166
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
137167
      try {
-
 
137168
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
137169
      } catch (org.apache.thrift.TException te) {
-
 
137170
        throw new java.io.IOException(te);
-
 
137171
      }
-
 
137172
    }
-
 
137173
 
-
 
137174
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
137175
      try {
-
 
137176
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
137177
      } catch (org.apache.thrift.TException te) {
-
 
137178
        throw new java.io.IOException(te);
-
 
137179
      }
-
 
137180
    }
-
 
137181
 
-
 
137182
  }
-
 
137183
 
-
 
137184
  public static class addAmazonOrder_args implements org.apache.thrift.TBase<addAmazonOrder_args, addAmazonOrder_args._Fields>, java.io.Serializable, Cloneable   {
-
 
137185
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addAmazonOrder_args");
-
 
137186
 
-
 
137187
    private static final org.apache.thrift.protocol.TField AMAZON_ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField("amazonOrder", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
137188
 
-
 
137189
    private AmazonOrder amazonOrder; // required
-
 
137190
 
-
 
137191
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
137192
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
137193
      AMAZON_ORDER((short)1, "amazonOrder");
-
 
137194
 
-
 
137195
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
137196
 
-
 
137197
      static {
-
 
137198
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
137199
          byName.put(field.getFieldName(), field);
-
 
137200
        }
-
 
137201
      }
-
 
137202
 
-
 
137203
      /**
-
 
137204
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
137205
       */
-
 
137206
      public static _Fields findByThriftId(int fieldId) {
-
 
137207
        switch(fieldId) {
-
 
137208
          case 1: // AMAZON_ORDER
-
 
137209
            return AMAZON_ORDER;
-
 
137210
          default:
-
 
137211
            return null;
-
 
137212
        }
-
 
137213
      }
-
 
137214
 
-
 
137215
      /**
-
 
137216
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
137217
       * if it is not found.
-
 
137218
       */
-
 
137219
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
137220
        _Fields fields = findByThriftId(fieldId);
-
 
137221
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
137222
        return fields;
-
 
137223
      }
-
 
137224
 
-
 
137225
      /**
-
 
137226
       * Find the _Fields constant that matches name, or null if its not found.
-
 
137227
       */
-
 
137228
      public static _Fields findByName(String name) {
-
 
137229
        return byName.get(name);
-
 
137230
      }
-
 
137231
 
-
 
137232
      private final short _thriftId;
-
 
137233
      private final String _fieldName;
-
 
137234
 
-
 
137235
      _Fields(short thriftId, String fieldName) {
-
 
137236
        _thriftId = thriftId;
-
 
137237
        _fieldName = fieldName;
-
 
137238
      }
-
 
137239
 
-
 
137240
      public short getThriftFieldId() {
-
 
137241
        return _thriftId;
-
 
137242
      }
-
 
137243
 
-
 
137244
      public String getFieldName() {
-
 
137245
        return _fieldName;
-
 
137246
      }
-
 
137247
    }
-
 
137248
 
-
 
137249
    // isset id assignments
-
 
137250
 
-
 
137251
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
137252
    static {
-
 
137253
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
137254
      tmpMap.put(_Fields.AMAZON_ORDER, new org.apache.thrift.meta_data.FieldMetaData("amazonOrder", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
137255
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AmazonOrder.class)));
-
 
137256
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
137257
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addAmazonOrder_args.class, metaDataMap);
-
 
137258
    }
-
 
137259
 
-
 
137260
    public addAmazonOrder_args() {
-
 
137261
    }
-
 
137262
 
-
 
137263
    public addAmazonOrder_args(
-
 
137264
      AmazonOrder amazonOrder)
-
 
137265
    {
-
 
137266
      this();
-
 
137267
      this.amazonOrder = amazonOrder;
-
 
137268
    }
-
 
137269
 
-
 
137270
    /**
-
 
137271
     * Performs a deep copy on <i>other</i>.
-
 
137272
     */
-
 
137273
    public addAmazonOrder_args(addAmazonOrder_args other) {
-
 
137274
      if (other.isSetAmazonOrder()) {
-
 
137275
        this.amazonOrder = new AmazonOrder(other.amazonOrder);
-
 
137276
      }
-
 
137277
    }
-
 
137278
 
-
 
137279
    public addAmazonOrder_args deepCopy() {
-
 
137280
      return new addAmazonOrder_args(this);
-
 
137281
    }
-
 
137282
 
-
 
137283
    @Override
-
 
137284
    public void clear() {
-
 
137285
      this.amazonOrder = null;
-
 
137286
    }
-
 
137287
 
-
 
137288
    public AmazonOrder getAmazonOrder() {
-
 
137289
      return this.amazonOrder;
-
 
137290
    }
-
 
137291
 
-
 
137292
    public void setAmazonOrder(AmazonOrder amazonOrder) {
-
 
137293
      this.amazonOrder = amazonOrder;
-
 
137294
    }
-
 
137295
 
-
 
137296
    public void unsetAmazonOrder() {
-
 
137297
      this.amazonOrder = null;
-
 
137298
    }
-
 
137299
 
-
 
137300
    /** Returns true if field amazonOrder is set (has been assigned a value) and false otherwise */
-
 
137301
    public boolean isSetAmazonOrder() {
-
 
137302
      return this.amazonOrder != null;
-
 
137303
    }
-
 
137304
 
-
 
137305
    public void setAmazonOrderIsSet(boolean value) {
-
 
137306
      if (!value) {
-
 
137307
        this.amazonOrder = null;
-
 
137308
      }
-
 
137309
    }
-
 
137310
 
-
 
137311
    public void setFieldValue(_Fields field, Object value) {
-
 
137312
      switch (field) {
-
 
137313
      case AMAZON_ORDER:
-
 
137314
        if (value == null) {
-
 
137315
          unsetAmazonOrder();
-
 
137316
        } else {
-
 
137317
          setAmazonOrder((AmazonOrder)value);
-
 
137318
        }
-
 
137319
        break;
-
 
137320
 
-
 
137321
      }
-
 
137322
    }
-
 
137323
 
-
 
137324
    public Object getFieldValue(_Fields field) {
-
 
137325
      switch (field) {
-
 
137326
      case AMAZON_ORDER:
-
 
137327
        return getAmazonOrder();
-
 
137328
 
-
 
137329
      }
-
 
137330
      throw new IllegalStateException();
-
 
137331
    }
-
 
137332
 
-
 
137333
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
137334
    public boolean isSet(_Fields field) {
-
 
137335
      if (field == null) {
-
 
137336
        throw new IllegalArgumentException();
-
 
137337
      }
-
 
137338
 
-
 
137339
      switch (field) {
-
 
137340
      case AMAZON_ORDER:
-
 
137341
        return isSetAmazonOrder();
-
 
137342
      }
-
 
137343
      throw new IllegalStateException();
-
 
137344
    }
-
 
137345
 
-
 
137346
    @Override
-
 
137347
    public boolean equals(Object that) {
-
 
137348
      if (that == null)
-
 
137349
        return false;
-
 
137350
      if (that instanceof addAmazonOrder_args)
-
 
137351
        return this.equals((addAmazonOrder_args)that);
-
 
137352
      return false;
-
 
137353
    }
-
 
137354
 
-
 
137355
    public boolean equals(addAmazonOrder_args that) {
-
 
137356
      if (that == null)
-
 
137357
        return false;
-
 
137358
 
-
 
137359
      boolean this_present_amazonOrder = true && this.isSetAmazonOrder();
-
 
137360
      boolean that_present_amazonOrder = true && that.isSetAmazonOrder();
-
 
137361
      if (this_present_amazonOrder || that_present_amazonOrder) {
-
 
137362
        if (!(this_present_amazonOrder && that_present_amazonOrder))
-
 
137363
          return false;
-
 
137364
        if (!this.amazonOrder.equals(that.amazonOrder))
-
 
137365
          return false;
-
 
137366
      }
-
 
137367
 
-
 
137368
      return true;
-
 
137369
    }
-
 
137370
 
-
 
137371
    @Override
-
 
137372
    public int hashCode() {
-
 
137373
      return 0;
-
 
137374
    }
-
 
137375
 
-
 
137376
    public int compareTo(addAmazonOrder_args other) {
-
 
137377
      if (!getClass().equals(other.getClass())) {
-
 
137378
        return getClass().getName().compareTo(other.getClass().getName());
-
 
137379
      }
-
 
137380
 
-
 
137381
      int lastComparison = 0;
-
 
137382
      addAmazonOrder_args typedOther = (addAmazonOrder_args)other;
-
 
137383
 
-
 
137384
      lastComparison = Boolean.valueOf(isSetAmazonOrder()).compareTo(typedOther.isSetAmazonOrder());
-
 
137385
      if (lastComparison != 0) {
-
 
137386
        return lastComparison;
-
 
137387
      }
-
 
137388
      if (isSetAmazonOrder()) {
-
 
137389
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.amazonOrder, typedOther.amazonOrder);
-
 
137390
        if (lastComparison != 0) {
-
 
137391
          return lastComparison;
-
 
137392
        }
-
 
137393
      }
-
 
137394
      return 0;
-
 
137395
    }
-
 
137396
 
-
 
137397
    public _Fields fieldForId(int fieldId) {
-
 
137398
      return _Fields.findByThriftId(fieldId);
-
 
137399
    }
-
 
137400
 
-
 
137401
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
137402
      org.apache.thrift.protocol.TField field;
-
 
137403
      iprot.readStructBegin();
-
 
137404
      while (true)
-
 
137405
      {
-
 
137406
        field = iprot.readFieldBegin();
-
 
137407
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
137408
          break;
-
 
137409
        }
-
 
137410
        switch (field.id) {
-
 
137411
          case 1: // AMAZON_ORDER
-
 
137412
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
137413
              this.amazonOrder = new AmazonOrder();
-
 
137414
              this.amazonOrder.read(iprot);
-
 
137415
            } else { 
-
 
137416
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
137417
            }
-
 
137418
            break;
-
 
137419
          default:
-
 
137420
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
137421
        }
-
 
137422
        iprot.readFieldEnd();
-
 
137423
      }
-
 
137424
      iprot.readStructEnd();
-
 
137425
      validate();
-
 
137426
    }
-
 
137427
 
-
 
137428
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
137429
      validate();
-
 
137430
 
-
 
137431
      oprot.writeStructBegin(STRUCT_DESC);
-
 
137432
      if (this.amazonOrder != null) {
-
 
137433
        oprot.writeFieldBegin(AMAZON_ORDER_FIELD_DESC);
-
 
137434
        this.amazonOrder.write(oprot);
-
 
137435
        oprot.writeFieldEnd();
-
 
137436
      }
-
 
137437
      oprot.writeFieldStop();
-
 
137438
      oprot.writeStructEnd();
-
 
137439
    }
-
 
137440
 
-
 
137441
    @Override
-
 
137442
    public String toString() {
-
 
137443
      StringBuilder sb = new StringBuilder("addAmazonOrder_args(");
-
 
137444
      boolean first = true;
-
 
137445
 
-
 
137446
      sb.append("amazonOrder:");
-
 
137447
      if (this.amazonOrder == null) {
-
 
137448
        sb.append("null");
-
 
137449
      } else {
-
 
137450
        sb.append(this.amazonOrder);
-
 
137451
      }
-
 
137452
      first = false;
-
 
137453
      sb.append(")");
-
 
137454
      return sb.toString();
-
 
137455
    }
-
 
137456
 
-
 
137457
    public void validate() throws org.apache.thrift.TException {
-
 
137458
      // check for required fields
-
 
137459
    }
-
 
137460
 
-
 
137461
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
137462
      try {
-
 
137463
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
137464
      } catch (org.apache.thrift.TException te) {
-
 
137465
        throw new java.io.IOException(te);
-
 
137466
      }
-
 
137467
    }
-
 
137468
 
-
 
137469
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
137470
      try {
-
 
137471
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
137472
      } catch (org.apache.thrift.TException te) {
-
 
137473
        throw new java.io.IOException(te);
-
 
137474
      }
-
 
137475
    }
-
 
137476
 
-
 
137477
  }
-
 
137478
 
-
 
137479
  public static class addAmazonOrder_result implements org.apache.thrift.TBase<addAmazonOrder_result, addAmazonOrder_result._Fields>, java.io.Serializable, Cloneable   {
-
 
137480
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addAmazonOrder_result");
-
 
137481
 
-
 
137482
 
-
 
137483
 
-
 
137484
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
137485
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
137486
;
-
 
137487
 
-
 
137488
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
137489
 
-
 
137490
      static {
-
 
137491
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
137492
          byName.put(field.getFieldName(), field);
-
 
137493
        }
-
 
137494
      }
-
 
137495
 
-
 
137496
      /**
-
 
137497
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
137498
       */
-
 
137499
      public static _Fields findByThriftId(int fieldId) {
-
 
137500
        switch(fieldId) {
-
 
137501
          default:
-
 
137502
            return null;
-
 
137503
        }
-
 
137504
      }
-
 
137505
 
-
 
137506
      /**
-
 
137507
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
137508
       * if it is not found.
-
 
137509
       */
-
 
137510
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
137511
        _Fields fields = findByThriftId(fieldId);
-
 
137512
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
137513
        return fields;
-
 
137514
      }
-
 
137515
 
-
 
137516
      /**
-
 
137517
       * Find the _Fields constant that matches name, or null if its not found.
-
 
137518
       */
-
 
137519
      public static _Fields findByName(String name) {
-
 
137520
        return byName.get(name);
-
 
137521
      }
-
 
137522
 
-
 
137523
      private final short _thriftId;
-
 
137524
      private final String _fieldName;
-
 
137525
 
-
 
137526
      _Fields(short thriftId, String fieldName) {
-
 
137527
        _thriftId = thriftId;
-
 
137528
        _fieldName = fieldName;
-
 
137529
      }
-
 
137530
 
-
 
137531
      public short getThriftFieldId() {
-
 
137532
        return _thriftId;
-
 
137533
      }
-
 
137534
 
-
 
137535
      public String getFieldName() {
-
 
137536
        return _fieldName;
-
 
137537
      }
-
 
137538
    }
-
 
137539
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
137540
    static {
-
 
137541
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
137542
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
137543
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addAmazonOrder_result.class, metaDataMap);
-
 
137544
    }
-
 
137545
 
-
 
137546
    public addAmazonOrder_result() {
-
 
137547
    }
-
 
137548
 
-
 
137549
    /**
-
 
137550
     * Performs a deep copy on <i>other</i>.
-
 
137551
     */
-
 
137552
    public addAmazonOrder_result(addAmazonOrder_result other) {
-
 
137553
    }
-
 
137554
 
-
 
137555
    public addAmazonOrder_result deepCopy() {
-
 
137556
      return new addAmazonOrder_result(this);
-
 
137557
    }
-
 
137558
 
-
 
137559
    @Override
-
 
137560
    public void clear() {
-
 
137561
    }
-
 
137562
 
-
 
137563
    public void setFieldValue(_Fields field, Object value) {
-
 
137564
      switch (field) {
-
 
137565
      }
-
 
137566
    }
-
 
137567
 
-
 
137568
    public Object getFieldValue(_Fields field) {
-
 
137569
      switch (field) {
-
 
137570
      }
-
 
137571
      throw new IllegalStateException();
-
 
137572
    }
-
 
137573
 
-
 
137574
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
137575
    public boolean isSet(_Fields field) {
-
 
137576
      if (field == null) {
-
 
137577
        throw new IllegalArgumentException();
-
 
137578
      }
-
 
137579
 
-
 
137580
      switch (field) {
-
 
137581
      }
-
 
137582
      throw new IllegalStateException();
-
 
137583
    }
-
 
137584
 
-
 
137585
    @Override
-
 
137586
    public boolean equals(Object that) {
-
 
137587
      if (that == null)
-
 
137588
        return false;
-
 
137589
      if (that instanceof addAmazonOrder_result)
-
 
137590
        return this.equals((addAmazonOrder_result)that);
-
 
137591
      return false;
-
 
137592
    }
-
 
137593
 
-
 
137594
    public boolean equals(addAmazonOrder_result that) {
-
 
137595
      if (that == null)
-
 
137596
        return false;
-
 
137597
 
-
 
137598
      return true;
-
 
137599
    }
-
 
137600
 
-
 
137601
    @Override
-
 
137602
    public int hashCode() {
-
 
137603
      return 0;
-
 
137604
    }
-
 
137605
 
-
 
137606
    public int compareTo(addAmazonOrder_result other) {
-
 
137607
      if (!getClass().equals(other.getClass())) {
-
 
137608
        return getClass().getName().compareTo(other.getClass().getName());
-
 
137609
      }
-
 
137610
 
-
 
137611
      int lastComparison = 0;
-
 
137612
      addAmazonOrder_result typedOther = (addAmazonOrder_result)other;
-
 
137613
 
-
 
137614
      return 0;
-
 
137615
    }
-
 
137616
 
-
 
137617
    public _Fields fieldForId(int fieldId) {
-
 
137618
      return _Fields.findByThriftId(fieldId);
-
 
137619
    }
-
 
137620
 
-
 
137621
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
137622
      org.apache.thrift.protocol.TField field;
-
 
137623
      iprot.readStructBegin();
-
 
137624
      while (true)
-
 
137625
      {
-
 
137626
        field = iprot.readFieldBegin();
-
 
137627
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
137628
          break;
-
 
137629
        }
-
 
137630
        switch (field.id) {
-
 
137631
          default:
-
 
137632
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
137633
        }
-
 
137634
        iprot.readFieldEnd();
-
 
137635
      }
-
 
137636
      iprot.readStructEnd();
-
 
137637
      validate();
-
 
137638
    }
-
 
137639
 
-
 
137640
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
137641
      oprot.writeStructBegin(STRUCT_DESC);
-
 
137642
 
-
 
137643
      oprot.writeFieldStop();
-
 
137644
      oprot.writeStructEnd();
-
 
137645
    }
-
 
137646
 
-
 
137647
    @Override
-
 
137648
    public String toString() {
-
 
137649
      StringBuilder sb = new StringBuilder("addAmazonOrder_result(");
-
 
137650
      boolean first = true;
-
 
137651
 
-
 
137652
      sb.append(")");
-
 
137653
      return sb.toString();
-
 
137654
    }
-
 
137655
 
-
 
137656
    public void validate() throws org.apache.thrift.TException {
-
 
137657
      // check for required fields
-
 
137658
    }
-
 
137659
 
-
 
137660
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
137661
      try {
-
 
137662
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
137663
      } catch (org.apache.thrift.TException te) {
-
 
137664
        throw new java.io.IOException(te);
-
 
137665
      }
-
 
137666
    }
-
 
137667
 
-
 
137668
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
137669
      try {
-
 
137670
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
137671
      } catch (org.apache.thrift.TException te) {
-
 
137672
        throw new java.io.IOException(te);
-
 
137673
      }
-
 
137674
    }
-
 
137675
 
-
 
137676
  }
-
 
137677
 
-
 
137678
  public static class getOrderForAmazonOrderCode_args implements org.apache.thrift.TBase<getOrderForAmazonOrderCode_args, getOrderForAmazonOrderCode_args._Fields>, java.io.Serializable, Cloneable   {
-
 
137679
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrderForAmazonOrderCode_args");
-
 
137680
 
-
 
137681
    private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
137682
    private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.STRING, (short)2);
-
 
137683
 
-
 
137684
    private long orderId; // required
-
 
137685
    private String status; // required
-
 
137686
 
-
 
137687
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
137688
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
137689
      ORDER_ID((short)1, "orderId"),
-
 
137690
      STATUS((short)2, "status");
-
 
137691
 
-
 
137692
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
137693
 
-
 
137694
      static {
-
 
137695
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
137696
          byName.put(field.getFieldName(), field);
-
 
137697
        }
-
 
137698
      }
-
 
137699
 
-
 
137700
      /**
-
 
137701
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
137702
       */
-
 
137703
      public static _Fields findByThriftId(int fieldId) {
-
 
137704
        switch(fieldId) {
-
 
137705
          case 1: // ORDER_ID
-
 
137706
            return ORDER_ID;
-
 
137707
          case 2: // STATUS
-
 
137708
            return STATUS;
-
 
137709
          default:
-
 
137710
            return null;
-
 
137711
        }
-
 
137712
      }
-
 
137713
 
-
 
137714
      /**
-
 
137715
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
137716
       * if it is not found.
-
 
137717
       */
-
 
137718
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
137719
        _Fields fields = findByThriftId(fieldId);
-
 
137720
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
137721
        return fields;
-
 
137722
      }
-
 
137723
 
-
 
137724
      /**
-
 
137725
       * Find the _Fields constant that matches name, or null if its not found.
-
 
137726
       */
-
 
137727
      public static _Fields findByName(String name) {
-
 
137728
        return byName.get(name);
-
 
137729
      }
-
 
137730
 
-
 
137731
      private final short _thriftId;
-
 
137732
      private final String _fieldName;
-
 
137733
 
-
 
137734
      _Fields(short thriftId, String fieldName) {
-
 
137735
        _thriftId = thriftId;
-
 
137736
        _fieldName = fieldName;
-
 
137737
      }
-
 
137738
 
-
 
137739
      public short getThriftFieldId() {
-
 
137740
        return _thriftId;
-
 
137741
      }
-
 
137742
 
-
 
137743
      public String getFieldName() {
-
 
137744
        return _fieldName;
-
 
137745
      }
-
 
137746
    }
-
 
137747
 
-
 
137748
    // isset id assignments
-
 
137749
    private static final int __ORDERID_ISSET_ID = 0;
-
 
137750
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
137751
 
-
 
137752
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
137753
    static {
-
 
137754
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
137755
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
137756
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
137757
      tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
137758
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
137759
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
137760
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrderForAmazonOrderCode_args.class, metaDataMap);
-
 
137761
    }
-
 
137762
 
-
 
137763
    public getOrderForAmazonOrderCode_args() {
-
 
137764
    }
-
 
137765
 
-
 
137766
    public getOrderForAmazonOrderCode_args(
-
 
137767
      long orderId,
-
 
137768
      String status)
-
 
137769
    {
-
 
137770
      this();
-
 
137771
      this.orderId = orderId;
-
 
137772
      setOrderIdIsSet(true);
-
 
137773
      this.status = status;
-
 
137774
    }
-
 
137775
 
-
 
137776
    /**
-
 
137777
     * Performs a deep copy on <i>other</i>.
-
 
137778
     */
-
 
137779
    public getOrderForAmazonOrderCode_args(getOrderForAmazonOrderCode_args other) {
-
 
137780
      __isset_bit_vector.clear();
-
 
137781
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
137782
      this.orderId = other.orderId;
-
 
137783
      if (other.isSetStatus()) {
-
 
137784
        this.status = other.status;
-
 
137785
      }
-
 
137786
    }
-
 
137787
 
-
 
137788
    public getOrderForAmazonOrderCode_args deepCopy() {
-
 
137789
      return new getOrderForAmazonOrderCode_args(this);
-
 
137790
    }
-
 
137791
 
-
 
137792
    @Override
-
 
137793
    public void clear() {
-
 
137794
      setOrderIdIsSet(false);
-
 
137795
      this.orderId = 0;
-
 
137796
      this.status = null;
-
 
137797
    }
-
 
137798
 
-
 
137799
    public long getOrderId() {
-
 
137800
      return this.orderId;
-
 
137801
    }
-
 
137802
 
-
 
137803
    public void setOrderId(long orderId) {
-
 
137804
      this.orderId = orderId;
-
 
137805
      setOrderIdIsSet(true);
-
 
137806
    }
-
 
137807
 
-
 
137808
    public void unsetOrderId() {
-
 
137809
      __isset_bit_vector.clear(__ORDERID_ISSET_ID);
-
 
137810
    }
-
 
137811
 
-
 
137812
    /** Returns true if field orderId is set (has been assigned a value) and false otherwise */
-
 
137813
    public boolean isSetOrderId() {
-
 
137814
      return __isset_bit_vector.get(__ORDERID_ISSET_ID);
-
 
137815
    }
-
 
137816
 
-
 
137817
    public void setOrderIdIsSet(boolean value) {
-
 
137818
      __isset_bit_vector.set(__ORDERID_ISSET_ID, value);
-
 
137819
    }
-
 
137820
 
-
 
137821
    public String getStatus() {
-
 
137822
      return this.status;
-
 
137823
    }
-
 
137824
 
-
 
137825
    public void setStatus(String status) {
-
 
137826
      this.status = status;
-
 
137827
    }
-
 
137828
 
-
 
137829
    public void unsetStatus() {
-
 
137830
      this.status = null;
-
 
137831
    }
-
 
137832
 
-
 
137833
    /** Returns true if field status is set (has been assigned a value) and false otherwise */
-
 
137834
    public boolean isSetStatus() {
-
 
137835
      return this.status != null;
-
 
137836
    }
-
 
137837
 
-
 
137838
    public void setStatusIsSet(boolean value) {
-
 
137839
      if (!value) {
-
 
137840
        this.status = null;
-
 
137841
      }
-
 
137842
    }
-
 
137843
 
-
 
137844
    public void setFieldValue(_Fields field, Object value) {
-
 
137845
      switch (field) {
-
 
137846
      case ORDER_ID:
-
 
137847
        if (value == null) {
-
 
137848
          unsetOrderId();
-
 
137849
        } else {
-
 
137850
          setOrderId((Long)value);
-
 
137851
        }
-
 
137852
        break;
-
 
137853
 
-
 
137854
      case STATUS:
-
 
137855
        if (value == null) {
-
 
137856
          unsetStatus();
-
 
137857
        } else {
-
 
137858
          setStatus((String)value);
-
 
137859
        }
-
 
137860
        break;
-
 
137861
 
-
 
137862
      }
-
 
137863
    }
-
 
137864
 
-
 
137865
    public Object getFieldValue(_Fields field) {
-
 
137866
      switch (field) {
-
 
137867
      case ORDER_ID:
-
 
137868
        return Long.valueOf(getOrderId());
-
 
137869
 
-
 
137870
      case STATUS:
-
 
137871
        return getStatus();
-
 
137872
 
-
 
137873
      }
-
 
137874
      throw new IllegalStateException();
-
 
137875
    }
-
 
137876
 
-
 
137877
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
137878
    public boolean isSet(_Fields field) {
-
 
137879
      if (field == null) {
-
 
137880
        throw new IllegalArgumentException();
-
 
137881
      }
-
 
137882
 
-
 
137883
      switch (field) {
-
 
137884
      case ORDER_ID:
-
 
137885
        return isSetOrderId();
-
 
137886
      case STATUS:
-
 
137887
        return isSetStatus();
-
 
137888
      }
-
 
137889
      throw new IllegalStateException();
-
 
137890
    }
-
 
137891
 
-
 
137892
    @Override
-
 
137893
    public boolean equals(Object that) {
-
 
137894
      if (that == null)
-
 
137895
        return false;
-
 
137896
      if (that instanceof getOrderForAmazonOrderCode_args)
-
 
137897
        return this.equals((getOrderForAmazonOrderCode_args)that);
-
 
137898
      return false;
-
 
137899
    }
-
 
137900
 
-
 
137901
    public boolean equals(getOrderForAmazonOrderCode_args that) {
-
 
137902
      if (that == null)
-
 
137903
        return false;
-
 
137904
 
-
 
137905
      boolean this_present_orderId = true;
-
 
137906
      boolean that_present_orderId = true;
-
 
137907
      if (this_present_orderId || that_present_orderId) {
-
 
137908
        if (!(this_present_orderId && that_present_orderId))
-
 
137909
          return false;
-
 
137910
        if (this.orderId != that.orderId)
-
 
137911
          return false;
-
 
137912
      }
-
 
137913
 
-
 
137914
      boolean this_present_status = true && this.isSetStatus();
-
 
137915
      boolean that_present_status = true && that.isSetStatus();
-
 
137916
      if (this_present_status || that_present_status) {
-
 
137917
        if (!(this_present_status && that_present_status))
-
 
137918
          return false;
-
 
137919
        if (!this.status.equals(that.status))
-
 
137920
          return false;
-
 
137921
      }
-
 
137922
 
-
 
137923
      return true;
-
 
137924
    }
-
 
137925
 
-
 
137926
    @Override
-
 
137927
    public int hashCode() {
-
 
137928
      return 0;
-
 
137929
    }
-
 
137930
 
-
 
137931
    public int compareTo(getOrderForAmazonOrderCode_args other) {
-
 
137932
      if (!getClass().equals(other.getClass())) {
-
 
137933
        return getClass().getName().compareTo(other.getClass().getName());
-
 
137934
      }
-
 
137935
 
-
 
137936
      int lastComparison = 0;
-
 
137937
      getOrderForAmazonOrderCode_args typedOther = (getOrderForAmazonOrderCode_args)other;
-
 
137938
 
-
 
137939
      lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
-
 
137940
      if (lastComparison != 0) {
-
 
137941
        return lastComparison;
-
 
137942
      }
-
 
137943
      if (isSetOrderId()) {
-
 
137944
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
-
 
137945
        if (lastComparison != 0) {
-
 
137946
          return lastComparison;
-
 
137947
        }
-
 
137948
      }
-
 
137949
      lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
-
 
137950
      if (lastComparison != 0) {
-
 
137951
        return lastComparison;
-
 
137952
      }
-
 
137953
      if (isSetStatus()) {
-
 
137954
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
-
 
137955
        if (lastComparison != 0) {
-
 
137956
          return lastComparison;
-
 
137957
        }
-
 
137958
      }
-
 
137959
      return 0;
-
 
137960
    }
-
 
137961
 
-
 
137962
    public _Fields fieldForId(int fieldId) {
-
 
137963
      return _Fields.findByThriftId(fieldId);
-
 
137964
    }
-
 
137965
 
-
 
137966
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
137967
      org.apache.thrift.protocol.TField field;
-
 
137968
      iprot.readStructBegin();
-
 
137969
      while (true)
-
 
137970
      {
-
 
137971
        field = iprot.readFieldBegin();
-
 
137972
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
137973
          break;
-
 
137974
        }
-
 
137975
        switch (field.id) {
-
 
137976
          case 1: // ORDER_ID
-
 
137977
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
137978
              this.orderId = iprot.readI64();
-
 
137979
              setOrderIdIsSet(true);
-
 
137980
            } else { 
-
 
137981
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
137982
            }
-
 
137983
            break;
-
 
137984
          case 2: // STATUS
-
 
137985
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
137986
              this.status = iprot.readString();
-
 
137987
            } else { 
-
 
137988
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
137989
            }
-
 
137990
            break;
-
 
137991
          default:
-
 
137992
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
137993
        }
-
 
137994
        iprot.readFieldEnd();
-
 
137995
      }
-
 
137996
      iprot.readStructEnd();
-
 
137997
      validate();
-
 
137998
    }
-
 
137999
 
-
 
138000
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
138001
      validate();
-
 
138002
 
-
 
138003
      oprot.writeStructBegin(STRUCT_DESC);
-
 
138004
      oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
-
 
138005
      oprot.writeI64(this.orderId);
-
 
138006
      oprot.writeFieldEnd();
-
 
138007
      if (this.status != null) {
-
 
138008
        oprot.writeFieldBegin(STATUS_FIELD_DESC);
-
 
138009
        oprot.writeString(this.status);
-
 
138010
        oprot.writeFieldEnd();
-
 
138011
      }
-
 
138012
      oprot.writeFieldStop();
-
 
138013
      oprot.writeStructEnd();
-
 
138014
    }
-
 
138015
 
-
 
138016
    @Override
-
 
138017
    public String toString() {
-
 
138018
      StringBuilder sb = new StringBuilder("getOrderForAmazonOrderCode_args(");
-
 
138019
      boolean first = true;
-
 
138020
 
-
 
138021
      sb.append("orderId:");
-
 
138022
      sb.append(this.orderId);
-
 
138023
      first = false;
-
 
138024
      if (!first) sb.append(", ");
-
 
138025
      sb.append("status:");
-
 
138026
      if (this.status == null) {
-
 
138027
        sb.append("null");
-
 
138028
      } else {
-
 
138029
        sb.append(this.status);
-
 
138030
      }
-
 
138031
      first = false;
-
 
138032
      sb.append(")");
-
 
138033
      return sb.toString();
-
 
138034
    }
-
 
138035
 
-
 
138036
    public void validate() throws org.apache.thrift.TException {
-
 
138037
      // check for required fields
-
 
138038
    }
-
 
138039
 
-
 
138040
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
138041
      try {
-
 
138042
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
138043
      } catch (org.apache.thrift.TException te) {
-
 
138044
        throw new java.io.IOException(te);
-
 
138045
      }
-
 
138046
    }
-
 
138047
 
-
 
138048
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
138049
      try {
-
 
138050
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
138051
        __isset_bit_vector = new BitSet(1);
-
 
138052
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
138053
      } catch (org.apache.thrift.TException te) {
-
 
138054
        throw new java.io.IOException(te);
-
 
138055
      }
-
 
138056
    }
-
 
138057
 
-
 
138058
  }
-
 
138059
 
-
 
138060
  public static class getOrderForAmazonOrderCode_result implements org.apache.thrift.TBase<getOrderForAmazonOrderCode_result, getOrderForAmazonOrderCode_result._Fields>, java.io.Serializable, Cloneable   {
-
 
138061
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrderForAmazonOrderCode_result");
-
 
138062
 
-
 
138063
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
138064
 
-
 
138065
    private boolean success; // required
-
 
138066
 
-
 
138067
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
138068
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
138069
      SUCCESS((short)0, "success");
-
 
138070
 
-
 
138071
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
138072
 
-
 
138073
      static {
-
 
138074
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
138075
          byName.put(field.getFieldName(), field);
-
 
138076
        }
-
 
138077
      }
-
 
138078
 
-
 
138079
      /**
-
 
138080
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
138081
       */
-
 
138082
      public static _Fields findByThriftId(int fieldId) {
-
 
138083
        switch(fieldId) {
-
 
138084
          case 0: // SUCCESS
-
 
138085
            return SUCCESS;
-
 
138086
          default:
-
 
138087
            return null;
-
 
138088
        }
-
 
138089
      }
-
 
138090
 
-
 
138091
      /**
-
 
138092
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
138093
       * if it is not found.
-
 
138094
       */
-
 
138095
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
138096
        _Fields fields = findByThriftId(fieldId);
-
 
138097
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
138098
        return fields;
-
 
138099
      }
-
 
138100
 
-
 
138101
      /**
-
 
138102
       * Find the _Fields constant that matches name, or null if its not found.
-
 
138103
       */
-
 
138104
      public static _Fields findByName(String name) {
-
 
138105
        return byName.get(name);
-
 
138106
      }
-
 
138107
 
-
 
138108
      private final short _thriftId;
-
 
138109
      private final String _fieldName;
-
 
138110
 
-
 
138111
      _Fields(short thriftId, String fieldName) {
-
 
138112
        _thriftId = thriftId;
-
 
138113
        _fieldName = fieldName;
-
 
138114
      }
-
 
138115
 
-
 
138116
      public short getThriftFieldId() {
-
 
138117
        return _thriftId;
-
 
138118
      }
-
 
138119
 
-
 
138120
      public String getFieldName() {
-
 
138121
        return _fieldName;
-
 
138122
      }
-
 
138123
    }
-
 
138124
 
-
 
138125
    // isset id assignments
-
 
138126
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
138127
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
138128
 
-
 
138129
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
138130
    static {
-
 
138131
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
138132
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
138133
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
138134
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
138135
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrderForAmazonOrderCode_result.class, metaDataMap);
-
 
138136
    }
-
 
138137
 
-
 
138138
    public getOrderForAmazonOrderCode_result() {
-
 
138139
    }
-
 
138140
 
-
 
138141
    public getOrderForAmazonOrderCode_result(
-
 
138142
      boolean success)
-
 
138143
    {
-
 
138144
      this();
-
 
138145
      this.success = success;
-
 
138146
      setSuccessIsSet(true);
-
 
138147
    }
-
 
138148
 
-
 
138149
    /**
-
 
138150
     * Performs a deep copy on <i>other</i>.
-
 
138151
     */
-
 
138152
    public getOrderForAmazonOrderCode_result(getOrderForAmazonOrderCode_result other) {
-
 
138153
      __isset_bit_vector.clear();
-
 
138154
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
138155
      this.success = other.success;
-
 
138156
    }
-
 
138157
 
-
 
138158
    public getOrderForAmazonOrderCode_result deepCopy() {
-
 
138159
      return new getOrderForAmazonOrderCode_result(this);
-
 
138160
    }
-
 
138161
 
-
 
138162
    @Override
-
 
138163
    public void clear() {
-
 
138164
      setSuccessIsSet(false);
-
 
138165
      this.success = false;
-
 
138166
    }
-
 
138167
 
-
 
138168
    public boolean isSuccess() {
-
 
138169
      return this.success;
-
 
138170
    }
-
 
138171
 
-
 
138172
    public void setSuccess(boolean success) {
-
 
138173
      this.success = success;
-
 
138174
      setSuccessIsSet(true);
-
 
138175
    }
-
 
138176
 
-
 
138177
    public void unsetSuccess() {
-
 
138178
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
138179
    }
-
 
138180
 
-
 
138181
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
138182
    public boolean isSetSuccess() {
-
 
138183
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
138184
    }
-
 
138185
 
-
 
138186
    public void setSuccessIsSet(boolean value) {
-
 
138187
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
138188
    }
-
 
138189
 
-
 
138190
    public void setFieldValue(_Fields field, Object value) {
-
 
138191
      switch (field) {
-
 
138192
      case SUCCESS:
-
 
138193
        if (value == null) {
-
 
138194
          unsetSuccess();
-
 
138195
        } else {
-
 
138196
          setSuccess((Boolean)value);
-
 
138197
        }
-
 
138198
        break;
-
 
138199
 
-
 
138200
      }
-
 
138201
    }
-
 
138202
 
-
 
138203
    public Object getFieldValue(_Fields field) {
-
 
138204
      switch (field) {
-
 
138205
      case SUCCESS:
-
 
138206
        return Boolean.valueOf(isSuccess());
-
 
138207
 
-
 
138208
      }
-
 
138209
      throw new IllegalStateException();
-
 
138210
    }
-
 
138211
 
-
 
138212
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
138213
    public boolean isSet(_Fields field) {
-
 
138214
      if (field == null) {
-
 
138215
        throw new IllegalArgumentException();
-
 
138216
      }
-
 
138217
 
-
 
138218
      switch (field) {
-
 
138219
      case SUCCESS:
-
 
138220
        return isSetSuccess();
-
 
138221
      }
-
 
138222
      throw new IllegalStateException();
-
 
138223
    }
-
 
138224
 
-
 
138225
    @Override
-
 
138226
    public boolean equals(Object that) {
-
 
138227
      if (that == null)
-
 
138228
        return false;
-
 
138229
      if (that instanceof getOrderForAmazonOrderCode_result)
-
 
138230
        return this.equals((getOrderForAmazonOrderCode_result)that);
-
 
138231
      return false;
-
 
138232
    }
-
 
138233
 
-
 
138234
    public boolean equals(getOrderForAmazonOrderCode_result that) {
-
 
138235
      if (that == null)
-
 
138236
        return false;
-
 
138237
 
-
 
138238
      boolean this_present_success = true;
-
 
138239
      boolean that_present_success = true;
-
 
138240
      if (this_present_success || that_present_success) {
-
 
138241
        if (!(this_present_success && that_present_success))
-
 
138242
          return false;
-
 
138243
        if (this.success != that.success)
-
 
138244
          return false;
-
 
138245
      }
-
 
138246
 
-
 
138247
      return true;
-
 
138248
    }
-
 
138249
 
-
 
138250
    @Override
-
 
138251
    public int hashCode() {
-
 
138252
      return 0;
-
 
138253
    }
-
 
138254
 
-
 
138255
    public int compareTo(getOrderForAmazonOrderCode_result other) {
-
 
138256
      if (!getClass().equals(other.getClass())) {
-
 
138257
        return getClass().getName().compareTo(other.getClass().getName());
-
 
138258
      }
-
 
138259
 
-
 
138260
      int lastComparison = 0;
-
 
138261
      getOrderForAmazonOrderCode_result typedOther = (getOrderForAmazonOrderCode_result)other;
-
 
138262
 
-
 
138263
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
138264
      if (lastComparison != 0) {
-
 
138265
        return lastComparison;
-
 
138266
      }
-
 
138267
      if (isSetSuccess()) {
-
 
138268
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
138269
        if (lastComparison != 0) {
-
 
138270
          return lastComparison;
-
 
138271
        }
-
 
138272
      }
-
 
138273
      return 0;
-
 
138274
    }
-
 
138275
 
-
 
138276
    public _Fields fieldForId(int fieldId) {
-
 
138277
      return _Fields.findByThriftId(fieldId);
-
 
138278
    }
-
 
138279
 
-
 
138280
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
138281
      org.apache.thrift.protocol.TField field;
-
 
138282
      iprot.readStructBegin();
-
 
138283
      while (true)
-
 
138284
      {
-
 
138285
        field = iprot.readFieldBegin();
-
 
138286
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
138287
          break;
-
 
138288
        }
-
 
138289
        switch (field.id) {
-
 
138290
          case 0: // SUCCESS
-
 
138291
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
138292
              this.success = iprot.readBool();
-
 
138293
              setSuccessIsSet(true);
-
 
138294
            } else { 
-
 
138295
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
138296
            }
-
 
138297
            break;
-
 
138298
          default:
-
 
138299
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
138300
        }
-
 
138301
        iprot.readFieldEnd();
-
 
138302
      }
-
 
138303
      iprot.readStructEnd();
-
 
138304
      validate();
-
 
138305
    }
-
 
138306
 
-
 
138307
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
138308
      oprot.writeStructBegin(STRUCT_DESC);
-
 
138309
 
-
 
138310
      if (this.isSetSuccess()) {
-
 
138311
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
138312
        oprot.writeBool(this.success);
-
 
138313
        oprot.writeFieldEnd();
-
 
138314
      }
-
 
138315
      oprot.writeFieldStop();
-
 
138316
      oprot.writeStructEnd();
-
 
138317
    }
-
 
138318
 
-
 
138319
    @Override
-
 
138320
    public String toString() {
-
 
138321
      StringBuilder sb = new StringBuilder("getOrderForAmazonOrderCode_result(");
-
 
138322
      boolean first = true;
-
 
138323
 
-
 
138324
      sb.append("success:");
-
 
138325
      sb.append(this.success);
-
 
138326
      first = false;
-
 
138327
      sb.append(")");
-
 
138328
      return sb.toString();
-
 
138329
    }
-
 
138330
 
-
 
138331
    public void validate() throws org.apache.thrift.TException {
-
 
138332
      // check for required fields
-
 
138333
    }
-
 
138334
 
-
 
138335
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
138336
      try {
-
 
138337
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
138338
      } catch (org.apache.thrift.TException te) {
-
 
138339
        throw new java.io.IOException(te);
-
 
138340
      }
-
 
138341
    }
-
 
138342
 
-
 
138343
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
138344
      try {
-
 
138345
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
138346
      } catch (org.apache.thrift.TException te) {
-
 
138347
        throw new java.io.IOException(te);
-
 
138348
      }
-
 
138349
    }
-
 
138350
 
-
 
138351
  }
-
 
138352
 
-
 
138353
  public static class getAmazonOrdersShipped_args implements org.apache.thrift.TBase<getAmazonOrdersShipped_args, getAmazonOrdersShipped_args._Fields>, java.io.Serializable, Cloneable   {
-
 
138354
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAmazonOrdersShipped_args");
-
 
138355
 
-
 
138356
    private static final org.apache.thrift.protocol.TField INTERVAL_FIELD_DESC = new org.apache.thrift.protocol.TField("interval", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
138357
 
-
 
138358
    private long interval; // required
-
 
138359
 
-
 
138360
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
138361
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
138362
      INTERVAL((short)1, "interval");
-
 
138363
 
-
 
138364
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
138365
 
-
 
138366
      static {
-
 
138367
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
138368
          byName.put(field.getFieldName(), field);
-
 
138369
        }
-
 
138370
      }
-
 
138371
 
-
 
138372
      /**
-
 
138373
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
138374
       */
-
 
138375
      public static _Fields findByThriftId(int fieldId) {
-
 
138376
        switch(fieldId) {
-
 
138377
          case 1: // INTERVAL
-
 
138378
            return INTERVAL;
-
 
138379
          default:
-
 
138380
            return null;
-
 
138381
        }
-
 
138382
      }
-
 
138383
 
-
 
138384
      /**
-
 
138385
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
138386
       * if it is not found.
-
 
138387
       */
-
 
138388
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
138389
        _Fields fields = findByThriftId(fieldId);
-
 
138390
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
138391
        return fields;
-
 
138392
      }
-
 
138393
 
-
 
138394
      /**
-
 
138395
       * Find the _Fields constant that matches name, or null if its not found.
-
 
138396
       */
-
 
138397
      public static _Fields findByName(String name) {
-
 
138398
        return byName.get(name);
-
 
138399
      }
-
 
138400
 
-
 
138401
      private final short _thriftId;
-
 
138402
      private final String _fieldName;
-
 
138403
 
-
 
138404
      _Fields(short thriftId, String fieldName) {
-
 
138405
        _thriftId = thriftId;
-
 
138406
        _fieldName = fieldName;
-
 
138407
      }
-
 
138408
 
-
 
138409
      public short getThriftFieldId() {
-
 
138410
        return _thriftId;
-
 
138411
      }
-
 
138412
 
-
 
138413
      public String getFieldName() {
-
 
138414
        return _fieldName;
-
 
138415
      }
-
 
138416
    }
-
 
138417
 
-
 
138418
    // isset id assignments
-
 
138419
    private static final int __INTERVAL_ISSET_ID = 0;
-
 
138420
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
138421
 
-
 
138422
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
138423
    static {
-
 
138424
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
138425
      tmpMap.put(_Fields.INTERVAL, new org.apache.thrift.meta_data.FieldMetaData("interval", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
138426
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
138427
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
138428
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAmazonOrdersShipped_args.class, metaDataMap);
-
 
138429
    }
-
 
138430
 
-
 
138431
    public getAmazonOrdersShipped_args() {
-
 
138432
    }
-
 
138433
 
-
 
138434
    public getAmazonOrdersShipped_args(
-
 
138435
      long interval)
-
 
138436
    {
-
 
138437
      this();
-
 
138438
      this.interval = interval;
-
 
138439
      setIntervalIsSet(true);
-
 
138440
    }
-
 
138441
 
-
 
138442
    /**
-
 
138443
     * Performs a deep copy on <i>other</i>.
-
 
138444
     */
-
 
138445
    public getAmazonOrdersShipped_args(getAmazonOrdersShipped_args other) {
-
 
138446
      __isset_bit_vector.clear();
-
 
138447
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
138448
      this.interval = other.interval;
-
 
138449
    }
-
 
138450
 
-
 
138451
    public getAmazonOrdersShipped_args deepCopy() {
-
 
138452
      return new getAmazonOrdersShipped_args(this);
-
 
138453
    }
-
 
138454
 
-
 
138455
    @Override
-
 
138456
    public void clear() {
-
 
138457
      setIntervalIsSet(false);
-
 
138458
      this.interval = 0;
-
 
138459
    }
-
 
138460
 
-
 
138461
    public long getInterval() {
-
 
138462
      return this.interval;
-
 
138463
    }
-
 
138464
 
-
 
138465
    public void setInterval(long interval) {
-
 
138466
      this.interval = interval;
-
 
138467
      setIntervalIsSet(true);
-
 
138468
    }
-
 
138469
 
-
 
138470
    public void unsetInterval() {
-
 
138471
      __isset_bit_vector.clear(__INTERVAL_ISSET_ID);
-
 
138472
    }
-
 
138473
 
-
 
138474
    /** Returns true if field interval is set (has been assigned a value) and false otherwise */
-
 
138475
    public boolean isSetInterval() {
-
 
138476
      return __isset_bit_vector.get(__INTERVAL_ISSET_ID);
-
 
138477
    }
-
 
138478
 
-
 
138479
    public void setIntervalIsSet(boolean value) {
-
 
138480
      __isset_bit_vector.set(__INTERVAL_ISSET_ID, value);
-
 
138481
    }
-
 
138482
 
-
 
138483
    public void setFieldValue(_Fields field, Object value) {
-
 
138484
      switch (field) {
-
 
138485
      case INTERVAL:
-
 
138486
        if (value == null) {
-
 
138487
          unsetInterval();
-
 
138488
        } else {
-
 
138489
          setInterval((Long)value);
-
 
138490
        }
-
 
138491
        break;
-
 
138492
 
-
 
138493
      }
-
 
138494
    }
-
 
138495
 
-
 
138496
    public Object getFieldValue(_Fields field) {
-
 
138497
      switch (field) {
-
 
138498
      case INTERVAL:
-
 
138499
        return Long.valueOf(getInterval());
-
 
138500
 
-
 
138501
      }
-
 
138502
      throw new IllegalStateException();
-
 
138503
    }
-
 
138504
 
-
 
138505
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
138506
    public boolean isSet(_Fields field) {
-
 
138507
      if (field == null) {
-
 
138508
        throw new IllegalArgumentException();
-
 
138509
      }
-
 
138510
 
-
 
138511
      switch (field) {
-
 
138512
      case INTERVAL:
-
 
138513
        return isSetInterval();
-
 
138514
      }
-
 
138515
      throw new IllegalStateException();
-
 
138516
    }
-
 
138517
 
-
 
138518
    @Override
-
 
138519
    public boolean equals(Object that) {
-
 
138520
      if (that == null)
-
 
138521
        return false;
-
 
138522
      if (that instanceof getAmazonOrdersShipped_args)
-
 
138523
        return this.equals((getAmazonOrdersShipped_args)that);
-
 
138524
      return false;
-
 
138525
    }
-
 
138526
 
-
 
138527
    public boolean equals(getAmazonOrdersShipped_args that) {
-
 
138528
      if (that == null)
-
 
138529
        return false;
-
 
138530
 
-
 
138531
      boolean this_present_interval = true;
-
 
138532
      boolean that_present_interval = true;
-
 
138533
      if (this_present_interval || that_present_interval) {
-
 
138534
        if (!(this_present_interval && that_present_interval))
-
 
138535
          return false;
-
 
138536
        if (this.interval != that.interval)
-
 
138537
          return false;
-
 
138538
      }
-
 
138539
 
-
 
138540
      return true;
-
 
138541
    }
-
 
138542
 
-
 
138543
    @Override
-
 
138544
    public int hashCode() {
-
 
138545
      return 0;
-
 
138546
    }
-
 
138547
 
-
 
138548
    public int compareTo(getAmazonOrdersShipped_args other) {
-
 
138549
      if (!getClass().equals(other.getClass())) {
-
 
138550
        return getClass().getName().compareTo(other.getClass().getName());
-
 
138551
      }
-
 
138552
 
-
 
138553
      int lastComparison = 0;
-
 
138554
      getAmazonOrdersShipped_args typedOther = (getAmazonOrdersShipped_args)other;
-
 
138555
 
-
 
138556
      lastComparison = Boolean.valueOf(isSetInterval()).compareTo(typedOther.isSetInterval());
-
 
138557
      if (lastComparison != 0) {
-
 
138558
        return lastComparison;
-
 
138559
      }
-
 
138560
      if (isSetInterval()) {
-
 
138561
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.interval, typedOther.interval);
-
 
138562
        if (lastComparison != 0) {
-
 
138563
          return lastComparison;
-
 
138564
        }
-
 
138565
      }
-
 
138566
      return 0;
-
 
138567
    }
-
 
138568
 
-
 
138569
    public _Fields fieldForId(int fieldId) {
-
 
138570
      return _Fields.findByThriftId(fieldId);
-
 
138571
    }
-
 
138572
 
-
 
138573
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
138574
      org.apache.thrift.protocol.TField field;
-
 
138575
      iprot.readStructBegin();
-
 
138576
      while (true)
-
 
138577
      {
-
 
138578
        field = iprot.readFieldBegin();
-
 
138579
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
138580
          break;
-
 
138581
        }
-
 
138582
        switch (field.id) {
-
 
138583
          case 1: // INTERVAL
-
 
138584
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
138585
              this.interval = iprot.readI64();
-
 
138586
              setIntervalIsSet(true);
-
 
138587
            } else { 
-
 
138588
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
138589
            }
-
 
138590
            break;
-
 
138591
          default:
-
 
138592
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
138593
        }
-
 
138594
        iprot.readFieldEnd();
-
 
138595
      }
-
 
138596
      iprot.readStructEnd();
-
 
138597
      validate();
-
 
138598
    }
-
 
138599
 
-
 
138600
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
138601
      validate();
-
 
138602
 
-
 
138603
      oprot.writeStructBegin(STRUCT_DESC);
-
 
138604
      oprot.writeFieldBegin(INTERVAL_FIELD_DESC);
-
 
138605
      oprot.writeI64(this.interval);
-
 
138606
      oprot.writeFieldEnd();
-
 
138607
      oprot.writeFieldStop();
-
 
138608
      oprot.writeStructEnd();
-
 
138609
    }
-
 
138610
 
-
 
138611
    @Override
-
 
138612
    public String toString() {
-
 
138613
      StringBuilder sb = new StringBuilder("getAmazonOrdersShipped_args(");
-
 
138614
      boolean first = true;
-
 
138615
 
-
 
138616
      sb.append("interval:");
-
 
138617
      sb.append(this.interval);
-
 
138618
      first = false;
-
 
138619
      sb.append(")");
-
 
138620
      return sb.toString();
-
 
138621
    }
-
 
138622
 
-
 
138623
    public void validate() throws org.apache.thrift.TException {
-
 
138624
      // check for required fields
-
 
138625
    }
-
 
138626
 
-
 
138627
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
138628
      try {
-
 
138629
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
138630
      } catch (org.apache.thrift.TException te) {
-
 
138631
        throw new java.io.IOException(te);
-
 
138632
      }
-
 
138633
    }
-
 
138634
 
-
 
138635
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
138636
      try {
-
 
138637
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
138638
        __isset_bit_vector = new BitSet(1);
-
 
138639
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
138640
      } catch (org.apache.thrift.TException te) {
-
 
138641
        throw new java.io.IOException(te);
-
 
138642
      }
-
 
138643
    }
-
 
138644
 
-
 
138645
  }
-
 
138646
 
-
 
138647
  public static class getAmazonOrdersShipped_result implements org.apache.thrift.TBase<getAmazonOrdersShipped_result, getAmazonOrdersShipped_result._Fields>, java.io.Serializable, Cloneable   {
-
 
138648
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAmazonOrdersShipped_result");
-
 
138649
 
-
 
138650
    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);
-
 
138651
 
-
 
138652
    private List<Order> success; // required
-
 
138653
 
-
 
138654
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
138655
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
138656
      SUCCESS((short)0, "success");
-
 
138657
 
-
 
138658
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
138659
 
-
 
138660
      static {
-
 
138661
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
138662
          byName.put(field.getFieldName(), field);
-
 
138663
        }
-
 
138664
      }
-
 
138665
 
-
 
138666
      /**
-
 
138667
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
138668
       */
-
 
138669
      public static _Fields findByThriftId(int fieldId) {
-
 
138670
        switch(fieldId) {
-
 
138671
          case 0: // SUCCESS
-
 
138672
            return SUCCESS;
-
 
138673
          default:
-
 
138674
            return null;
-
 
138675
        }
-
 
138676
      }
-
 
138677
 
-
 
138678
      /**
-
 
138679
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
138680
       * if it is not found.
-
 
138681
       */
-
 
138682
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
138683
        _Fields fields = findByThriftId(fieldId);
-
 
138684
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
138685
        return fields;
-
 
138686
      }
-
 
138687
 
-
 
138688
      /**
-
 
138689
       * Find the _Fields constant that matches name, or null if its not found.
-
 
138690
       */
-
 
138691
      public static _Fields findByName(String name) {
-
 
138692
        return byName.get(name);
-
 
138693
      }
-
 
138694
 
-
 
138695
      private final short _thriftId;
-
 
138696
      private final String _fieldName;
-
 
138697
 
-
 
138698
      _Fields(short thriftId, String fieldName) {
-
 
138699
        _thriftId = thriftId;
-
 
138700
        _fieldName = fieldName;
-
 
138701
      }
-
 
138702
 
-
 
138703
      public short getThriftFieldId() {
-
 
138704
        return _thriftId;
-
 
138705
      }
-
 
138706
 
-
 
138707
      public String getFieldName() {
-
 
138708
        return _fieldName;
-
 
138709
      }
-
 
138710
    }
-
 
138711
 
-
 
138712
    // isset id assignments
-
 
138713
 
-
 
138714
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
138715
    static {
-
 
138716
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
138717
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
138718
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
138719
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
138720
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
138721
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAmazonOrdersShipped_result.class, metaDataMap);
-
 
138722
    }
-
 
138723
 
-
 
138724
    public getAmazonOrdersShipped_result() {
-
 
138725
    }
-
 
138726
 
-
 
138727
    public getAmazonOrdersShipped_result(
-
 
138728
      List<Order> success)
-
 
138729
    {
-
 
138730
      this();
-
 
138731
      this.success = success;
-
 
138732
    }
-
 
138733
 
-
 
138734
    /**
-
 
138735
     * Performs a deep copy on <i>other</i>.
-
 
138736
     */
-
 
138737
    public getAmazonOrdersShipped_result(getAmazonOrdersShipped_result other) {
-
 
138738
      if (other.isSetSuccess()) {
-
 
138739
        List<Order> __this__success = new ArrayList<Order>();
-
 
138740
        for (Order other_element : other.success) {
-
 
138741
          __this__success.add(new Order(other_element));
-
 
138742
        }
-
 
138743
        this.success = __this__success;
-
 
138744
      }
-
 
138745
    }
-
 
138746
 
-
 
138747
    public getAmazonOrdersShipped_result deepCopy() {
-
 
138748
      return new getAmazonOrdersShipped_result(this);
-
 
138749
    }
-
 
138750
 
-
 
138751
    @Override
-
 
138752
    public void clear() {
-
 
138753
      this.success = null;
-
 
138754
    }
-
 
138755
 
-
 
138756
    public int getSuccessSize() {
-
 
138757
      return (this.success == null) ? 0 : this.success.size();
-
 
138758
    }
-
 
138759
 
-
 
138760
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
138761
      return (this.success == null) ? null : this.success.iterator();
-
 
138762
    }
-
 
138763
 
-
 
138764
    public void addToSuccess(Order elem) {
-
 
138765
      if (this.success == null) {
-
 
138766
        this.success = new ArrayList<Order>();
-
 
138767
      }
-
 
138768
      this.success.add(elem);
-
 
138769
    }
-
 
138770
 
-
 
138771
    public List<Order> getSuccess() {
-
 
138772
      return this.success;
-
 
138773
    }
-
 
138774
 
-
 
138775
    public void setSuccess(List<Order> success) {
-
 
138776
      this.success = success;
-
 
138777
    }
-
 
138778
 
-
 
138779
    public void unsetSuccess() {
-
 
138780
      this.success = null;
-
 
138781
    }
-
 
138782
 
-
 
138783
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
138784
    public boolean isSetSuccess() {
-
 
138785
      return this.success != null;
-
 
138786
    }
-
 
138787
 
-
 
138788
    public void setSuccessIsSet(boolean value) {
-
 
138789
      if (!value) {
-
 
138790
        this.success = null;
-
 
138791
      }
-
 
138792
    }
-
 
138793
 
-
 
138794
    public void setFieldValue(_Fields field, Object value) {
-
 
138795
      switch (field) {
-
 
138796
      case SUCCESS:
-
 
138797
        if (value == null) {
-
 
138798
          unsetSuccess();
-
 
138799
        } else {
-
 
138800
          setSuccess((List<Order>)value);
-
 
138801
        }
-
 
138802
        break;
-
 
138803
 
-
 
138804
      }
-
 
138805
    }
-
 
138806
 
-
 
138807
    public Object getFieldValue(_Fields field) {
-
 
138808
      switch (field) {
-
 
138809
      case SUCCESS:
-
 
138810
        return getSuccess();
-
 
138811
 
-
 
138812
      }
-
 
138813
      throw new IllegalStateException();
-
 
138814
    }
-
 
138815
 
-
 
138816
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
138817
    public boolean isSet(_Fields field) {
-
 
138818
      if (field == null) {
-
 
138819
        throw new IllegalArgumentException();
-
 
138820
      }
-
 
138821
 
-
 
138822
      switch (field) {
-
 
138823
      case SUCCESS:
-
 
138824
        return isSetSuccess();
-
 
138825
      }
-
 
138826
      throw new IllegalStateException();
-
 
138827
    }
-
 
138828
 
-
 
138829
    @Override
-
 
138830
    public boolean equals(Object that) {
-
 
138831
      if (that == null)
-
 
138832
        return false;
-
 
138833
      if (that instanceof getAmazonOrdersShipped_result)
-
 
138834
        return this.equals((getAmazonOrdersShipped_result)that);
-
 
138835
      return false;
-
 
138836
    }
-
 
138837
 
-
 
138838
    public boolean equals(getAmazonOrdersShipped_result that) {
-
 
138839
      if (that == null)
-
 
138840
        return false;
-
 
138841
 
-
 
138842
      boolean this_present_success = true && this.isSetSuccess();
-
 
138843
      boolean that_present_success = true && that.isSetSuccess();
-
 
138844
      if (this_present_success || that_present_success) {
-
 
138845
        if (!(this_present_success && that_present_success))
-
 
138846
          return false;
-
 
138847
        if (!this.success.equals(that.success))
-
 
138848
          return false;
-
 
138849
      }
-
 
138850
 
-
 
138851
      return true;
-
 
138852
    }
-
 
138853
 
-
 
138854
    @Override
-
 
138855
    public int hashCode() {
-
 
138856
      return 0;
-
 
138857
    }
-
 
138858
 
-
 
138859
    public int compareTo(getAmazonOrdersShipped_result other) {
-
 
138860
      if (!getClass().equals(other.getClass())) {
-
 
138861
        return getClass().getName().compareTo(other.getClass().getName());
-
 
138862
      }
-
 
138863
 
-
 
138864
      int lastComparison = 0;
-
 
138865
      getAmazonOrdersShipped_result typedOther = (getAmazonOrdersShipped_result)other;
-
 
138866
 
-
 
138867
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
138868
      if (lastComparison != 0) {
-
 
138869
        return lastComparison;
-
 
138870
      }
-
 
138871
      if (isSetSuccess()) {
-
 
138872
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
138873
        if (lastComparison != 0) {
-
 
138874
          return lastComparison;
-
 
138875
        }
-
 
138876
      }
-
 
138877
      return 0;
-
 
138878
    }
-
 
138879
 
-
 
138880
    public _Fields fieldForId(int fieldId) {
-
 
138881
      return _Fields.findByThriftId(fieldId);
-
 
138882
    }
-
 
138883
 
-
 
138884
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
138885
      org.apache.thrift.protocol.TField field;
-
 
138886
      iprot.readStructBegin();
-
 
138887
      while (true)
-
 
138888
      {
-
 
138889
        field = iprot.readFieldBegin();
-
 
138890
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
138891
          break;
-
 
138892
        }
-
 
138893
        switch (field.id) {
-
 
138894
          case 0: // SUCCESS
-
 
138895
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
138896
              {
-
 
138897
                org.apache.thrift.protocol.TList _list442 = iprot.readListBegin();
-
 
138898
                this.success = new ArrayList<Order>(_list442.size);
-
 
138899
                for (int _i443 = 0; _i443 < _list442.size; ++_i443)
-
 
138900
                {
-
 
138901
                  Order _elem444; // required
-
 
138902
                  _elem444 = new Order();
-
 
138903
                  _elem444.read(iprot);
-
 
138904
                  this.success.add(_elem444);
-
 
138905
                }
-
 
138906
                iprot.readListEnd();
-
 
138907
              }
-
 
138908
            } else { 
-
 
138909
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
138910
            }
-
 
138911
            break;
-
 
138912
          default:
-
 
138913
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
138914
        }
-
 
138915
        iprot.readFieldEnd();
-
 
138916
      }
-
 
138917
      iprot.readStructEnd();
-
 
138918
      validate();
-
 
138919
    }
-
 
138920
 
-
 
138921
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
138922
      oprot.writeStructBegin(STRUCT_DESC);
-
 
138923
 
-
 
138924
      if (this.isSetSuccess()) {
-
 
138925
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
138926
        {
-
 
138927
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
138928
          for (Order _iter445 : this.success)
-
 
138929
          {
-
 
138930
            _iter445.write(oprot);
-
 
138931
          }
-
 
138932
          oprot.writeListEnd();
-
 
138933
        }
-
 
138934
        oprot.writeFieldEnd();
-
 
138935
      }
-
 
138936
      oprot.writeFieldStop();
-
 
138937
      oprot.writeStructEnd();
-
 
138938
    }
-
 
138939
 
-
 
138940
    @Override
-
 
138941
    public String toString() {
-
 
138942
      StringBuilder sb = new StringBuilder("getAmazonOrdersShipped_result(");
-
 
138943
      boolean first = true;
-
 
138944
 
-
 
138945
      sb.append("success:");
-
 
138946
      if (this.success == null) {
-
 
138947
        sb.append("null");
-
 
138948
      } else {
-
 
138949
        sb.append(this.success);
-
 
138950
      }
-
 
138951
      first = false;
-
 
138952
      sb.append(")");
-
 
138953
      return sb.toString();
-
 
138954
    }
-
 
138955
 
-
 
138956
    public void validate() throws org.apache.thrift.TException {
-
 
138957
      // check for required fields
-
 
138958
    }
-
 
138959
 
-
 
138960
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
138961
      try {
-
 
138962
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
138963
      } catch (org.apache.thrift.TException te) {
-
 
138964
        throw new java.io.IOException(te);
-
 
138965
      }
-
 
138966
    }
-
 
138967
 
-
 
138968
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
138969
      try {
-
 
138970
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
138971
      } catch (org.apache.thrift.TException te) {
-
 
138972
        throw new java.io.IOException(te);
-
 
138973
      }
-
 
138974
    }
-
 
138975
 
-
 
138976
  }
-
 
138977
 
-
 
138978
  public static class getAmazonOrdersCancelled_args implements org.apache.thrift.TBase<getAmazonOrdersCancelled_args, getAmazonOrdersCancelled_args._Fields>, java.io.Serializable, Cloneable   {
-
 
138979
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAmazonOrdersCancelled_args");
-
 
138980
 
-
 
138981
    private static final org.apache.thrift.protocol.TField INTERVAL_FIELD_DESC = new org.apache.thrift.protocol.TField("interval", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
138982
 
-
 
138983
    private long interval; // required
-
 
138984
 
-
 
138985
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
138986
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
138987
      INTERVAL((short)1, "interval");
-
 
138988
 
-
 
138989
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
138990
 
-
 
138991
      static {
-
 
138992
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
138993
          byName.put(field.getFieldName(), field);
-
 
138994
        }
-
 
138995
      }
-
 
138996
 
-
 
138997
      /**
-
 
138998
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
138999
       */
-
 
139000
      public static _Fields findByThriftId(int fieldId) {
-
 
139001
        switch(fieldId) {
-
 
139002
          case 1: // INTERVAL
-
 
139003
            return INTERVAL;
-
 
139004
          default:
-
 
139005
            return null;
-
 
139006
        }
-
 
139007
      }
-
 
139008
 
-
 
139009
      /**
-
 
139010
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
139011
       * if it is not found.
-
 
139012
       */
-
 
139013
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
139014
        _Fields fields = findByThriftId(fieldId);
-
 
139015
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
139016
        return fields;
-
 
139017
      }
-
 
139018
 
-
 
139019
      /**
-
 
139020
       * Find the _Fields constant that matches name, or null if its not found.
-
 
139021
       */
-
 
139022
      public static _Fields findByName(String name) {
-
 
139023
        return byName.get(name);
-
 
139024
      }
-
 
139025
 
-
 
139026
      private final short _thriftId;
-
 
139027
      private final String _fieldName;
-
 
139028
 
-
 
139029
      _Fields(short thriftId, String fieldName) {
-
 
139030
        _thriftId = thriftId;
-
 
139031
        _fieldName = fieldName;
-
 
139032
      }
-
 
139033
 
-
 
139034
      public short getThriftFieldId() {
-
 
139035
        return _thriftId;
-
 
139036
      }
-
 
139037
 
-
 
139038
      public String getFieldName() {
-
 
139039
        return _fieldName;
-
 
139040
      }
-
 
139041
    }
-
 
139042
 
-
 
139043
    // isset id assignments
-
 
139044
    private static final int __INTERVAL_ISSET_ID = 0;
-
 
139045
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
139046
 
-
 
139047
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
139048
    static {
-
 
139049
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
139050
      tmpMap.put(_Fields.INTERVAL, new org.apache.thrift.meta_data.FieldMetaData("interval", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
139051
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
139052
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
139053
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAmazonOrdersCancelled_args.class, metaDataMap);
-
 
139054
    }
-
 
139055
 
-
 
139056
    public getAmazonOrdersCancelled_args() {
-
 
139057
    }
-
 
139058
 
-
 
139059
    public getAmazonOrdersCancelled_args(
-
 
139060
      long interval)
-
 
139061
    {
-
 
139062
      this();
-
 
139063
      this.interval = interval;
-
 
139064
      setIntervalIsSet(true);
-
 
139065
    }
-
 
139066
 
-
 
139067
    /**
-
 
139068
     * Performs a deep copy on <i>other</i>.
-
 
139069
     */
-
 
139070
    public getAmazonOrdersCancelled_args(getAmazonOrdersCancelled_args other) {
-
 
139071
      __isset_bit_vector.clear();
-
 
139072
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
139073
      this.interval = other.interval;
-
 
139074
    }
-
 
139075
 
-
 
139076
    public getAmazonOrdersCancelled_args deepCopy() {
-
 
139077
      return new getAmazonOrdersCancelled_args(this);
-
 
139078
    }
-
 
139079
 
-
 
139080
    @Override
-
 
139081
    public void clear() {
-
 
139082
      setIntervalIsSet(false);
-
 
139083
      this.interval = 0;
-
 
139084
    }
-
 
139085
 
-
 
139086
    public long getInterval() {
-
 
139087
      return this.interval;
-
 
139088
    }
-
 
139089
 
-
 
139090
    public void setInterval(long interval) {
-
 
139091
      this.interval = interval;
-
 
139092
      setIntervalIsSet(true);
-
 
139093
    }
-
 
139094
 
-
 
139095
    public void unsetInterval() {
-
 
139096
      __isset_bit_vector.clear(__INTERVAL_ISSET_ID);
-
 
139097
    }
-
 
139098
 
-
 
139099
    /** Returns true if field interval is set (has been assigned a value) and false otherwise */
-
 
139100
    public boolean isSetInterval() {
-
 
139101
      return __isset_bit_vector.get(__INTERVAL_ISSET_ID);
-
 
139102
    }
-
 
139103
 
-
 
139104
    public void setIntervalIsSet(boolean value) {
-
 
139105
      __isset_bit_vector.set(__INTERVAL_ISSET_ID, value);
-
 
139106
    }
-
 
139107
 
-
 
139108
    public void setFieldValue(_Fields field, Object value) {
-
 
139109
      switch (field) {
-
 
139110
      case INTERVAL:
-
 
139111
        if (value == null) {
-
 
139112
          unsetInterval();
-
 
139113
        } else {
-
 
139114
          setInterval((Long)value);
-
 
139115
        }
-
 
139116
        break;
-
 
139117
 
-
 
139118
      }
-
 
139119
    }
-
 
139120
 
-
 
139121
    public Object getFieldValue(_Fields field) {
-
 
139122
      switch (field) {
-
 
139123
      case INTERVAL:
-
 
139124
        return Long.valueOf(getInterval());
-
 
139125
 
-
 
139126
      }
-
 
139127
      throw new IllegalStateException();
-
 
139128
    }
-
 
139129
 
-
 
139130
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
139131
    public boolean isSet(_Fields field) {
-
 
139132
      if (field == null) {
-
 
139133
        throw new IllegalArgumentException();
-
 
139134
      }
-
 
139135
 
-
 
139136
      switch (field) {
-
 
139137
      case INTERVAL:
-
 
139138
        return isSetInterval();
-
 
139139
      }
-
 
139140
      throw new IllegalStateException();
-
 
139141
    }
-
 
139142
 
-
 
139143
    @Override
-
 
139144
    public boolean equals(Object that) {
-
 
139145
      if (that == null)
-
 
139146
        return false;
-
 
139147
      if (that instanceof getAmazonOrdersCancelled_args)
-
 
139148
        return this.equals((getAmazonOrdersCancelled_args)that);
-
 
139149
      return false;
-
 
139150
    }
-
 
139151
 
-
 
139152
    public boolean equals(getAmazonOrdersCancelled_args that) {
-
 
139153
      if (that == null)
-
 
139154
        return false;
-
 
139155
 
-
 
139156
      boolean this_present_interval = true;
-
 
139157
      boolean that_present_interval = true;
-
 
139158
      if (this_present_interval || that_present_interval) {
-
 
139159
        if (!(this_present_interval && that_present_interval))
-
 
139160
          return false;
-
 
139161
        if (this.interval != that.interval)
-
 
139162
          return false;
-
 
139163
      }
-
 
139164
 
-
 
139165
      return true;
-
 
139166
    }
-
 
139167
 
-
 
139168
    @Override
-
 
139169
    public int hashCode() {
-
 
139170
      return 0;
-
 
139171
    }
-
 
139172
 
-
 
139173
    public int compareTo(getAmazonOrdersCancelled_args other) {
-
 
139174
      if (!getClass().equals(other.getClass())) {
-
 
139175
        return getClass().getName().compareTo(other.getClass().getName());
-
 
139176
      }
-
 
139177
 
-
 
139178
      int lastComparison = 0;
-
 
139179
      getAmazonOrdersCancelled_args typedOther = (getAmazonOrdersCancelled_args)other;
-
 
139180
 
-
 
139181
      lastComparison = Boolean.valueOf(isSetInterval()).compareTo(typedOther.isSetInterval());
-
 
139182
      if (lastComparison != 0) {
-
 
139183
        return lastComparison;
-
 
139184
      }
-
 
139185
      if (isSetInterval()) {
-
 
139186
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.interval, typedOther.interval);
-
 
139187
        if (lastComparison != 0) {
-
 
139188
          return lastComparison;
-
 
139189
        }
-
 
139190
      }
-
 
139191
      return 0;
-
 
139192
    }
-
 
139193
 
-
 
139194
    public _Fields fieldForId(int fieldId) {
-
 
139195
      return _Fields.findByThriftId(fieldId);
-
 
139196
    }
-
 
139197
 
-
 
139198
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
139199
      org.apache.thrift.protocol.TField field;
-
 
139200
      iprot.readStructBegin();
-
 
139201
      while (true)
-
 
139202
      {
-
 
139203
        field = iprot.readFieldBegin();
-
 
139204
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
139205
          break;
-
 
139206
        }
-
 
139207
        switch (field.id) {
-
 
139208
          case 1: // INTERVAL
-
 
139209
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
139210
              this.interval = iprot.readI64();
-
 
139211
              setIntervalIsSet(true);
-
 
139212
            } else { 
-
 
139213
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
139214
            }
-
 
139215
            break;
-
 
139216
          default:
-
 
139217
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
139218
        }
-
 
139219
        iprot.readFieldEnd();
-
 
139220
      }
-
 
139221
      iprot.readStructEnd();
-
 
139222
      validate();
-
 
139223
    }
-
 
139224
 
-
 
139225
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
139226
      validate();
-
 
139227
 
-
 
139228
      oprot.writeStructBegin(STRUCT_DESC);
-
 
139229
      oprot.writeFieldBegin(INTERVAL_FIELD_DESC);
-
 
139230
      oprot.writeI64(this.interval);
-
 
139231
      oprot.writeFieldEnd();
-
 
139232
      oprot.writeFieldStop();
-
 
139233
      oprot.writeStructEnd();
-
 
139234
    }
-
 
139235
 
-
 
139236
    @Override
-
 
139237
    public String toString() {
-
 
139238
      StringBuilder sb = new StringBuilder("getAmazonOrdersCancelled_args(");
-
 
139239
      boolean first = true;
-
 
139240
 
-
 
139241
      sb.append("interval:");
-
 
139242
      sb.append(this.interval);
-
 
139243
      first = false;
-
 
139244
      sb.append(")");
-
 
139245
      return sb.toString();
-
 
139246
    }
-
 
139247
 
-
 
139248
    public void validate() throws org.apache.thrift.TException {
-
 
139249
      // check for required fields
-
 
139250
    }
-
 
139251
 
-
 
139252
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
139253
      try {
-
 
139254
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
139255
      } catch (org.apache.thrift.TException te) {
-
 
139256
        throw new java.io.IOException(te);
-
 
139257
      }
-
 
139258
    }
-
 
139259
 
-
 
139260
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
139261
      try {
-
 
139262
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
139263
        __isset_bit_vector = new BitSet(1);
-
 
139264
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
139265
      } catch (org.apache.thrift.TException te) {
-
 
139266
        throw new java.io.IOException(te);
-
 
139267
      }
-
 
139268
    }
-
 
139269
 
-
 
139270
  }
-
 
139271
 
-
 
139272
  public static class getAmazonOrdersCancelled_result implements org.apache.thrift.TBase<getAmazonOrdersCancelled_result, getAmazonOrdersCancelled_result._Fields>, java.io.Serializable, Cloneable   {
-
 
139273
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAmazonOrdersCancelled_result");
-
 
139274
 
-
 
139275
    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);
-
 
139276
 
-
 
139277
    private List<Order> success; // required
-
 
139278
 
-
 
139279
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
139280
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
139281
      SUCCESS((short)0, "success");
-
 
139282
 
-
 
139283
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
139284
 
-
 
139285
      static {
-
 
139286
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
139287
          byName.put(field.getFieldName(), field);
-
 
139288
        }
-
 
139289
      }
-
 
139290
 
-
 
139291
      /**
-
 
139292
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
139293
       */
-
 
139294
      public static _Fields findByThriftId(int fieldId) {
-
 
139295
        switch(fieldId) {
-
 
139296
          case 0: // SUCCESS
-
 
139297
            return SUCCESS;
-
 
139298
          default:
-
 
139299
            return null;
-
 
139300
        }
-
 
139301
      }
-
 
139302
 
-
 
139303
      /**
-
 
139304
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
139305
       * if it is not found.
-
 
139306
       */
-
 
139307
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
139308
        _Fields fields = findByThriftId(fieldId);
-
 
139309
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
139310
        return fields;
-
 
139311
      }
-
 
139312
 
-
 
139313
      /**
-
 
139314
       * Find the _Fields constant that matches name, or null if its not found.
-
 
139315
       */
-
 
139316
      public static _Fields findByName(String name) {
-
 
139317
        return byName.get(name);
-
 
139318
      }
-
 
139319
 
-
 
139320
      private final short _thriftId;
-
 
139321
      private final String _fieldName;
-
 
139322
 
-
 
139323
      _Fields(short thriftId, String fieldName) {
-
 
139324
        _thriftId = thriftId;
-
 
139325
        _fieldName = fieldName;
-
 
139326
      }
-
 
139327
 
-
 
139328
      public short getThriftFieldId() {
-
 
139329
        return _thriftId;
-
 
139330
      }
-
 
139331
 
-
 
139332
      public String getFieldName() {
-
 
139333
        return _fieldName;
-
 
139334
      }
-
 
139335
    }
-
 
139336
 
-
 
139337
    // isset id assignments
-
 
139338
 
-
 
139339
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
139340
    static {
-
 
139341
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
139342
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
139343
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
139344
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
139345
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
139346
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAmazonOrdersCancelled_result.class, metaDataMap);
-
 
139347
    }
-
 
139348
 
-
 
139349
    public getAmazonOrdersCancelled_result() {
-
 
139350
    }
-
 
139351
 
-
 
139352
    public getAmazonOrdersCancelled_result(
-
 
139353
      List<Order> success)
-
 
139354
    {
-
 
139355
      this();
-
 
139356
      this.success = success;
-
 
139357
    }
-
 
139358
 
-
 
139359
    /**
-
 
139360
     * Performs a deep copy on <i>other</i>.
-
 
139361
     */
-
 
139362
    public getAmazonOrdersCancelled_result(getAmazonOrdersCancelled_result other) {
-
 
139363
      if (other.isSetSuccess()) {
-
 
139364
        List<Order> __this__success = new ArrayList<Order>();
-
 
139365
        for (Order other_element : other.success) {
-
 
139366
          __this__success.add(new Order(other_element));
-
 
139367
        }
-
 
139368
        this.success = __this__success;
-
 
139369
      }
-
 
139370
    }
-
 
139371
 
-
 
139372
    public getAmazonOrdersCancelled_result deepCopy() {
-
 
139373
      return new getAmazonOrdersCancelled_result(this);
-
 
139374
    }
-
 
139375
 
-
 
139376
    @Override
-
 
139377
    public void clear() {
-
 
139378
      this.success = null;
-
 
139379
    }
-
 
139380
 
-
 
139381
    public int getSuccessSize() {
-
 
139382
      return (this.success == null) ? 0 : this.success.size();
-
 
139383
    }
-
 
139384
 
-
 
139385
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
139386
      return (this.success == null) ? null : this.success.iterator();
-
 
139387
    }
-
 
139388
 
-
 
139389
    public void addToSuccess(Order elem) {
-
 
139390
      if (this.success == null) {
-
 
139391
        this.success = new ArrayList<Order>();
-
 
139392
      }
-
 
139393
      this.success.add(elem);
-
 
139394
    }
-
 
139395
 
-
 
139396
    public List<Order> getSuccess() {
-
 
139397
      return this.success;
-
 
139398
    }
-
 
139399
 
-
 
139400
    public void setSuccess(List<Order> success) {
-
 
139401
      this.success = success;
-
 
139402
    }
-
 
139403
 
-
 
139404
    public void unsetSuccess() {
-
 
139405
      this.success = null;
-
 
139406
    }
-
 
139407
 
-
 
139408
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
139409
    public boolean isSetSuccess() {
-
 
139410
      return this.success != null;
-
 
139411
    }
-
 
139412
 
-
 
139413
    public void setSuccessIsSet(boolean value) {
-
 
139414
      if (!value) {
-
 
139415
        this.success = null;
-
 
139416
      }
-
 
139417
    }
-
 
139418
 
-
 
139419
    public void setFieldValue(_Fields field, Object value) {
-
 
139420
      switch (field) {
-
 
139421
      case SUCCESS:
-
 
139422
        if (value == null) {
-
 
139423
          unsetSuccess();
-
 
139424
        } else {
-
 
139425
          setSuccess((List<Order>)value);
-
 
139426
        }
-
 
139427
        break;
-
 
139428
 
-
 
139429
      }
-
 
139430
    }
-
 
139431
 
-
 
139432
    public Object getFieldValue(_Fields field) {
-
 
139433
      switch (field) {
-
 
139434
      case SUCCESS:
-
 
139435
        return getSuccess();
-
 
139436
 
-
 
139437
      }
-
 
139438
      throw new IllegalStateException();
-
 
139439
    }
-
 
139440
 
-
 
139441
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
139442
    public boolean isSet(_Fields field) {
-
 
139443
      if (field == null) {
-
 
139444
        throw new IllegalArgumentException();
-
 
139445
      }
-
 
139446
 
-
 
139447
      switch (field) {
-
 
139448
      case SUCCESS:
-
 
139449
        return isSetSuccess();
-
 
139450
      }
-
 
139451
      throw new IllegalStateException();
-
 
139452
    }
-
 
139453
 
-
 
139454
    @Override
-
 
139455
    public boolean equals(Object that) {
-
 
139456
      if (that == null)
-
 
139457
        return false;
-
 
139458
      if (that instanceof getAmazonOrdersCancelled_result)
-
 
139459
        return this.equals((getAmazonOrdersCancelled_result)that);
-
 
139460
      return false;
-
 
139461
    }
-
 
139462
 
-
 
139463
    public boolean equals(getAmazonOrdersCancelled_result that) {
-
 
139464
      if (that == null)
-
 
139465
        return false;
-
 
139466
 
-
 
139467
      boolean this_present_success = true && this.isSetSuccess();
-
 
139468
      boolean that_present_success = true && that.isSetSuccess();
-
 
139469
      if (this_present_success || that_present_success) {
-
 
139470
        if (!(this_present_success && that_present_success))
-
 
139471
          return false;
-
 
139472
        if (!this.success.equals(that.success))
-
 
139473
          return false;
-
 
139474
      }
-
 
139475
 
-
 
139476
      return true;
-
 
139477
    }
-
 
139478
 
-
 
139479
    @Override
-
 
139480
    public int hashCode() {
-
 
139481
      return 0;
-
 
139482
    }
-
 
139483
 
-
 
139484
    public int compareTo(getAmazonOrdersCancelled_result other) {
-
 
139485
      if (!getClass().equals(other.getClass())) {
-
 
139486
        return getClass().getName().compareTo(other.getClass().getName());
-
 
139487
      }
-
 
139488
 
-
 
139489
      int lastComparison = 0;
-
 
139490
      getAmazonOrdersCancelled_result typedOther = (getAmazonOrdersCancelled_result)other;
-
 
139491
 
-
 
139492
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
139493
      if (lastComparison != 0) {
-
 
139494
        return lastComparison;
-
 
139495
      }
-
 
139496
      if (isSetSuccess()) {
-
 
139497
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
139498
        if (lastComparison != 0) {
-
 
139499
          return lastComparison;
-
 
139500
        }
-
 
139501
      }
-
 
139502
      return 0;
-
 
139503
    }
-
 
139504
 
-
 
139505
    public _Fields fieldForId(int fieldId) {
-
 
139506
      return _Fields.findByThriftId(fieldId);
-
 
139507
    }
-
 
139508
 
-
 
139509
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
139510
      org.apache.thrift.protocol.TField field;
-
 
139511
      iprot.readStructBegin();
-
 
139512
      while (true)
-
 
139513
      {
-
 
139514
        field = iprot.readFieldBegin();
-
 
139515
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
139516
          break;
-
 
139517
        }
-
 
139518
        switch (field.id) {
-
 
139519
          case 0: // SUCCESS
-
 
139520
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
139521
              {
-
 
139522
                org.apache.thrift.protocol.TList _list446 = iprot.readListBegin();
-
 
139523
                this.success = new ArrayList<Order>(_list446.size);
-
 
139524
                for (int _i447 = 0; _i447 < _list446.size; ++_i447)
-
 
139525
                {
-
 
139526
                  Order _elem448; // required
-
 
139527
                  _elem448 = new Order();
-
 
139528
                  _elem448.read(iprot);
-
 
139529
                  this.success.add(_elem448);
-
 
139530
                }
-
 
139531
                iprot.readListEnd();
-
 
139532
              }
-
 
139533
            } else { 
-
 
139534
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
139535
            }
-
 
139536
            break;
-
 
139537
          default:
-
 
139538
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
139539
        }
-
 
139540
        iprot.readFieldEnd();
-
 
139541
      }
-
 
139542
      iprot.readStructEnd();
-
 
139543
      validate();
-
 
139544
    }
-
 
139545
 
-
 
139546
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
139547
      oprot.writeStructBegin(STRUCT_DESC);
-
 
139548
 
-
 
139549
      if (this.isSetSuccess()) {
-
 
139550
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
139551
        {
-
 
139552
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
139553
          for (Order _iter449 : this.success)
-
 
139554
          {
-
 
139555
            _iter449.write(oprot);
-
 
139556
          }
-
 
139557
          oprot.writeListEnd();
-
 
139558
        }
-
 
139559
        oprot.writeFieldEnd();
-
 
139560
      }
-
 
139561
      oprot.writeFieldStop();
-
 
139562
      oprot.writeStructEnd();
-
 
139563
    }
-
 
139564
 
-
 
139565
    @Override
-
 
139566
    public String toString() {
-
 
139567
      StringBuilder sb = new StringBuilder("getAmazonOrdersCancelled_result(");
-
 
139568
      boolean first = true;
-
 
139569
 
-
 
139570
      sb.append("success:");
-
 
139571
      if (this.success == null) {
-
 
139572
        sb.append("null");
-
 
139573
      } else {
-
 
139574
        sb.append(this.success);
-
 
139575
      }
-
 
139576
      first = false;
-
 
139577
      sb.append(")");
-
 
139578
      return sb.toString();
-
 
139579
    }
-
 
139580
 
136862
    public void validate() throws org.apache.thrift.TException {
139581
    public void validate() throws org.apache.thrift.TException {
136863
      // check for required fields
139582
      // check for required fields
136864
    }
139583
    }
136865
 
139584
 
136866
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
139585
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {