Subversion Repositories SmartDukaan

Rev

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

Rev 7322 Rev 7343
Line 959... Line 959...
959
 
959
 
960
    public List<Order> getAmazonOrdersCancelled(long interval) throws org.apache.thrift.TException;
960
    public List<Order> getAmazonOrdersCancelled(long interval) throws org.apache.thrift.TException;
961
 
961
 
962
    public AmazonOrder getAmazonOrder(long orderId) throws org.apache.thrift.TException;
962
    public AmazonOrder getAmazonOrder(long orderId) throws org.apache.thrift.TException;
963
 
963
 
-
 
964
    public List<Order> getOrdersForStore(long id, long storeId, long startDate, long endDate, List<OrderStatus> statuses) throws org.apache.thrift.TException;
-
 
965
 
-
 
966
    public ByteBuffer getStoreOrderAdvanceInvoice(long orderId) throws org.apache.thrift.TException;
-
 
967
 
964
  }
968
  }
965
 
969
 
966
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
970
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
967
 
971
 
968
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
972
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1311... Line 1315...
1311
 
1315
 
1312
    public void getAmazonOrdersCancelled(long interval, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonOrdersCancelled_call> resultHandler) throws org.apache.thrift.TException;
1316
    public void getAmazonOrdersCancelled(long interval, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonOrdersCancelled_call> resultHandler) throws org.apache.thrift.TException;
1313
 
1317
 
1314
    public void getAmazonOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonOrder_call> resultHandler) throws org.apache.thrift.TException;
1318
    public void getAmazonOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonOrder_call> resultHandler) throws org.apache.thrift.TException;
1315
 
1319
 
-
 
1320
    public void getOrdersForStore(long id, long storeId, long startDate, long endDate, List<OrderStatus> statuses, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersForStore_call> resultHandler) throws org.apache.thrift.TException;
-
 
1321
 
-
 
1322
    public void getStoreOrderAdvanceInvoice(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStoreOrderAdvanceInvoice_call> resultHandler) throws org.apache.thrift.TException;
-
 
1323
 
1316
  }
1324
  }
1317
 
1325
 
1318
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1326
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1319
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1327
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1320
      public Factory() {}
1328
      public Factory() {}
Line 5680... Line 5688...
5680
        return result.success;
5688
        return result.success;
5681
      }
5689
      }
5682
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAmazonOrder failed: unknown result");
5690
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAmazonOrder failed: unknown result");
5683
    }
5691
    }
5684
 
5692
 
-
 
5693
    public List<Order> getOrdersForStore(long id, long storeId, long startDate, long endDate, List<OrderStatus> statuses) throws org.apache.thrift.TException
-
 
5694
    {
-
 
5695
      send_getOrdersForStore(id, storeId, startDate, endDate, statuses);
-
 
5696
      return recv_getOrdersForStore();
-
 
5697
    }
-
 
5698
 
-
 
5699
    public void send_getOrdersForStore(long id, long storeId, long startDate, long endDate, List<OrderStatus> statuses) throws org.apache.thrift.TException
-
 
5700
    {
-
 
5701
      getOrdersForStore_args args = new getOrdersForStore_args();
-
 
5702
      args.setId(id);
-
 
5703
      args.setStoreId(storeId);
-
 
5704
      args.setStartDate(startDate);
-
 
5705
      args.setEndDate(endDate);
-
 
5706
      args.setStatuses(statuses);
-
 
5707
      sendBase("getOrdersForStore", args);
-
 
5708
    }
-
 
5709
 
-
 
5710
    public List<Order> recv_getOrdersForStore() throws org.apache.thrift.TException
-
 
5711
    {
-
 
5712
      getOrdersForStore_result result = new getOrdersForStore_result();
-
 
5713
      receiveBase(result, "getOrdersForStore");
-
 
5714
      if (result.isSetSuccess()) {
-
 
5715
        return result.success;
-
 
5716
      }
-
 
5717
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersForStore failed: unknown result");
-
 
5718
    }
-
 
5719
 
-
 
5720
    public ByteBuffer getStoreOrderAdvanceInvoice(long orderId) throws org.apache.thrift.TException
-
 
5721
    {
-
 
5722
      send_getStoreOrderAdvanceInvoice(orderId);
-
 
5723
      return recv_getStoreOrderAdvanceInvoice();
-
 
5724
    }
-
 
5725
 
-
 
5726
    public void send_getStoreOrderAdvanceInvoice(long orderId) throws org.apache.thrift.TException
-
 
5727
    {
-
 
5728
      getStoreOrderAdvanceInvoice_args args = new getStoreOrderAdvanceInvoice_args();
-
 
5729
      args.setOrderId(orderId);
-
 
5730
      sendBase("getStoreOrderAdvanceInvoice", args);
-
 
5731
    }
-
 
5732
 
-
 
5733
    public ByteBuffer recv_getStoreOrderAdvanceInvoice() throws org.apache.thrift.TException
-
 
5734
    {
-
 
5735
      getStoreOrderAdvanceInvoice_result result = new getStoreOrderAdvanceInvoice_result();
-
 
5736
      receiveBase(result, "getStoreOrderAdvanceInvoice");
-
 
5737
      if (result.isSetSuccess()) {
-
 
5738
        return result.success;
-
 
5739
      }
-
 
5740
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getStoreOrderAdvanceInvoice failed: unknown result");
-
 
5741
    }
-
 
5742
 
5685
  }
5743
  }
5686
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5744
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5687
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5745
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5688
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5746
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5689
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
5747
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 11761... Line 11819...
11761
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11819
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11762
        return (new Client(prot)).recv_getAmazonOrder();
11820
        return (new Client(prot)).recv_getAmazonOrder();
11763
      }
11821
      }
11764
    }
11822
    }
11765
 
11823
 
-
 
11824
    public void getOrdersForStore(long id, long storeId, long startDate, long endDate, List<OrderStatus> statuses, org.apache.thrift.async.AsyncMethodCallback<getOrdersForStore_call> resultHandler) throws org.apache.thrift.TException {
-
 
11825
      checkReady();
-
 
11826
      getOrdersForStore_call method_call = new getOrdersForStore_call(id, storeId, startDate, endDate, statuses, resultHandler, this, ___protocolFactory, ___transport);
-
 
11827
      this.___currentMethod = method_call;
-
 
11828
      ___manager.call(method_call);
-
 
11829
    }
-
 
11830
 
-
 
11831
    public static class getOrdersForStore_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
11832
      private long id;
-
 
11833
      private long storeId;
-
 
11834
      private long startDate;
-
 
11835
      private long endDate;
-
 
11836
      private List<OrderStatus> statuses;
-
 
11837
      public getOrdersForStore_call(long id, long storeId, long startDate, long endDate, List<OrderStatus> statuses, org.apache.thrift.async.AsyncMethodCallback<getOrdersForStore_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 {
-
 
11838
        super(client, protocolFactory, transport, resultHandler, false);
-
 
11839
        this.id = id;
-
 
11840
        this.storeId = storeId;
-
 
11841
        this.startDate = startDate;
-
 
11842
        this.endDate = endDate;
-
 
11843
        this.statuses = statuses;
-
 
11844
      }
-
 
11845
 
-
 
11846
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
11847
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOrdersForStore", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
11848
        getOrdersForStore_args args = new getOrdersForStore_args();
-
 
11849
        args.setId(id);
-
 
11850
        args.setStoreId(storeId);
-
 
11851
        args.setStartDate(startDate);
-
 
11852
        args.setEndDate(endDate);
-
 
11853
        args.setStatuses(statuses);
-
 
11854
        args.write(prot);
-
 
11855
        prot.writeMessageEnd();
-
 
11856
      }
-
 
11857
 
-
 
11858
      public List<Order> getResult() throws org.apache.thrift.TException {
-
 
11859
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
11860
          throw new IllegalStateException("Method call not finished!");
-
 
11861
        }
-
 
11862
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
11863
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
11864
        return (new Client(prot)).recv_getOrdersForStore();
-
 
11865
      }
-
 
11866
    }
-
 
11867
 
-
 
11868
    public void getStoreOrderAdvanceInvoice(long orderId, org.apache.thrift.async.AsyncMethodCallback<getStoreOrderAdvanceInvoice_call> resultHandler) throws org.apache.thrift.TException {
-
 
11869
      checkReady();
-
 
11870
      getStoreOrderAdvanceInvoice_call method_call = new getStoreOrderAdvanceInvoice_call(orderId, resultHandler, this, ___protocolFactory, ___transport);
-
 
11871
      this.___currentMethod = method_call;
-
 
11872
      ___manager.call(method_call);
-
 
11873
    }
-
 
11874
 
-
 
11875
    public static class getStoreOrderAdvanceInvoice_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
11876
      private long orderId;
-
 
11877
      public getStoreOrderAdvanceInvoice_call(long orderId, org.apache.thrift.async.AsyncMethodCallback<getStoreOrderAdvanceInvoice_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 {
-
 
11878
        super(client, protocolFactory, transport, resultHandler, false);
-
 
11879
        this.orderId = orderId;
-
 
11880
      }
-
 
11881
 
-
 
11882
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
11883
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getStoreOrderAdvanceInvoice", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
11884
        getStoreOrderAdvanceInvoice_args args = new getStoreOrderAdvanceInvoice_args();
-
 
11885
        args.setOrderId(orderId);
-
 
11886
        args.write(prot);
-
 
11887
        prot.writeMessageEnd();
-
 
11888
      }
-
 
11889
 
-
 
11890
      public ByteBuffer getResult() throws org.apache.thrift.TException {
-
 
11891
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
11892
          throw new IllegalStateException("Method call not finished!");
-
 
11893
        }
-
 
11894
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
11895
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
11896
        return (new Client(prot)).recv_getStoreOrderAdvanceInvoice();
-
 
11897
      }
-
 
11898
    }
-
 
11899
 
11766
  }
11900
  }
11767
 
11901
 
11768
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
11902
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
11769
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
11903
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
11770
    public Processor(I iface) {
11904
    public Processor(I iface) {
Line 11948... Line 12082...
11948
      processMap.put("addAmazonOrder", new addAmazonOrder());
12082
      processMap.put("addAmazonOrder", new addAmazonOrder());
11949
      processMap.put("updateAmazonOrderStatus", new updateAmazonOrderStatus());
12083
      processMap.put("updateAmazonOrderStatus", new updateAmazonOrderStatus());
11950
      processMap.put("getAmazonOrdersShipped", new getAmazonOrdersShipped());
12084
      processMap.put("getAmazonOrdersShipped", new getAmazonOrdersShipped());
11951
      processMap.put("getAmazonOrdersCancelled", new getAmazonOrdersCancelled());
12085
      processMap.put("getAmazonOrdersCancelled", new getAmazonOrdersCancelled());
11952
      processMap.put("getAmazonOrder", new getAmazonOrder());
12086
      processMap.put("getAmazonOrder", new getAmazonOrder());
-
 
12087
      processMap.put("getOrdersForStore", new getOrdersForStore());
-
 
12088
      processMap.put("getStoreOrderAdvanceInvoice", new getStoreOrderAdvanceInvoice());
11953
      return processMap;
12089
      return processMap;
11954
    }
12090
    }
11955
 
12091
 
11956
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
12092
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
11957
      public createTransaction() {
12093
      public createTransaction() {
Line 15168... Line 15304...
15168
        result.success = iface.getAmazonOrder(args.orderId);
15304
        result.success = iface.getAmazonOrder(args.orderId);
15169
        return result;
15305
        return result;
15170
      }
15306
      }
15171
    }
15307
    }
15172
 
15308
 
-
 
15309
    private static class getOrdersForStore<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrdersForStore_args> {
-
 
15310
      public getOrdersForStore() {
-
 
15311
        super("getOrdersForStore");
-
 
15312
      }
-
 
15313
 
-
 
15314
      protected getOrdersForStore_args getEmptyArgsInstance() {
-
 
15315
        return new getOrdersForStore_args();
-
 
15316
      }
-
 
15317
 
-
 
15318
      protected getOrdersForStore_result getResult(I iface, getOrdersForStore_args args) throws org.apache.thrift.TException {
-
 
15319
        getOrdersForStore_result result = new getOrdersForStore_result();
-
 
15320
        result.success = iface.getOrdersForStore(args.id, args.storeId, args.startDate, args.endDate, args.statuses);
-
 
15321
        return result;
-
 
15322
      }
-
 
15323
    }
-
 
15324
 
-
 
15325
    private static class getStoreOrderAdvanceInvoice<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getStoreOrderAdvanceInvoice_args> {
-
 
15326
      public getStoreOrderAdvanceInvoice() {
-
 
15327
        super("getStoreOrderAdvanceInvoice");
-
 
15328
      }
-
 
15329
 
-
 
15330
      protected getStoreOrderAdvanceInvoice_args getEmptyArgsInstance() {
-
 
15331
        return new getStoreOrderAdvanceInvoice_args();
-
 
15332
      }
-
 
15333
 
-
 
15334
      protected getStoreOrderAdvanceInvoice_result getResult(I iface, getStoreOrderAdvanceInvoice_args args) throws org.apache.thrift.TException {
-
 
15335
        getStoreOrderAdvanceInvoice_result result = new getStoreOrderAdvanceInvoice_result();
-
 
15336
        result.success = iface.getStoreOrderAdvanceInvoice(args.orderId);
-
 
15337
        return result;
-
 
15338
      }
-
 
15339
    }
-
 
15340
 
15173
  }
15341
  }
15174
 
15342
 
15175
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
15343
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
15176
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
15344
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
15177
 
15345
 
Line 59457... Line 59625...
59457
      }
59625
      }
59458
    }
59626
    }
59459
 
59627
 
59460
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
59628
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
59461
      try {
59629
      try {
59462
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
59463
        __isset_bit_vector = new BitSet(1);
-
 
59464
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
59630
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
59465
      } catch (org.apache.thrift.TException te) {
59631
      } catch (org.apache.thrift.TException te) {
59466
        throw new java.io.IOException(te);
59632
        throw new java.io.IOException(te);
59467
      }
59633
      }
59468
    }
59634
    }
Line 64309... Line 64475...
64309
      }
64475
      }
64310
    }
64476
    }
64311
 
64477
 
64312
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
64478
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
64313
      try {
64479
      try {
64314
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
64315
        __isset_bit_vector = new BitSet(1);
-
 
64316
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
64480
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
64317
      } catch (org.apache.thrift.TException te) {
64481
      } catch (org.apache.thrift.TException te) {
64318
        throw new java.io.IOException(te);
64482
        throw new java.io.IOException(te);
64319
      }
64483
      }
64320
    }
64484
    }
Line 65742... Line 65906...
65742
      }
65906
      }
65743
    }
65907
    }
65744
 
65908
 
65745
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
65909
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
65746
      try {
65910
      try {
65747
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
65748
        __isset_bit_vector = new BitSet(1);
-
 
65749
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
65911
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
65750
      } catch (org.apache.thrift.TException te) {
65912
      } catch (org.apache.thrift.TException te) {
65751
        throw new java.io.IOException(te);
65913
        throw new java.io.IOException(te);
65752
      }
65914
      }
65753
    }
65915
    }
Line 140245... Line 140407...
140245
      }
140407
      }
140246
      first = false;
140408
      first = false;
140247
      sb.append(")");
140409
      sb.append(")");
140248
      return sb.toString();
140410
      return sb.toString();
140249
    }
140411
    }
-
 
140412
 
-
 
140413
    public void validate() throws org.apache.thrift.TException {
-
 
140414
      // check for required fields
-
 
140415
    }
-
 
140416
 
-
 
140417
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
140418
      try {
-
 
140419
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
140420
      } catch (org.apache.thrift.TException te) {
-
 
140421
        throw new java.io.IOException(te);
-
 
140422
      }
-
 
140423
    }
-
 
140424
 
-
 
140425
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
140426
      try {
-
 
140427
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
140428
      } catch (org.apache.thrift.TException te) {
-
 
140429
        throw new java.io.IOException(te);
-
 
140430
      }
-
 
140431
    }
-
 
140432
 
-
 
140433
  }
-
 
140434
 
-
 
140435
  public static class getOrdersForStore_args implements org.apache.thrift.TBase<getOrdersForStore_args, getOrdersForStore_args._Fields>, java.io.Serializable, Cloneable   {
-
 
140436
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersForStore_args");
-
 
140437
 
-
 
140438
    private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
140439
    private static final org.apache.thrift.protocol.TField STORE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("storeId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
140440
    private static final org.apache.thrift.protocol.TField START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("startDate", org.apache.thrift.protocol.TType.I64, (short)3);
-
 
140441
    private static final org.apache.thrift.protocol.TField END_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("endDate", org.apache.thrift.protocol.TType.I64, (short)4);
-
 
140442
    private static final org.apache.thrift.protocol.TField STATUSES_FIELD_DESC = new org.apache.thrift.protocol.TField("statuses", org.apache.thrift.protocol.TType.LIST, (short)5);
-
 
140443
 
-
 
140444
    private long id; // required
-
 
140445
    private long storeId; // required
-
 
140446
    private long startDate; // required
-
 
140447
    private long endDate; // required
-
 
140448
    private List<OrderStatus> statuses; // required
-
 
140449
 
-
 
140450
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
140451
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
140452
      ID((short)1, "id"),
-
 
140453
      STORE_ID((short)2, "storeId"),
-
 
140454
      START_DATE((short)3, "startDate"),
-
 
140455
      END_DATE((short)4, "endDate"),
-
 
140456
      STATUSES((short)5, "statuses");
-
 
140457
 
-
 
140458
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
140459
 
-
 
140460
      static {
-
 
140461
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
140462
          byName.put(field.getFieldName(), field);
-
 
140463
        }
-
 
140464
      }
-
 
140465
 
-
 
140466
      /**
-
 
140467
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
140468
       */
-
 
140469
      public static _Fields findByThriftId(int fieldId) {
-
 
140470
        switch(fieldId) {
-
 
140471
          case 1: // ID
-
 
140472
            return ID;
-
 
140473
          case 2: // STORE_ID
-
 
140474
            return STORE_ID;
-
 
140475
          case 3: // START_DATE
-
 
140476
            return START_DATE;
-
 
140477
          case 4: // END_DATE
-
 
140478
            return END_DATE;
-
 
140479
          case 5: // STATUSES
-
 
140480
            return STATUSES;
-
 
140481
          default:
-
 
140482
            return null;
-
 
140483
        }
-
 
140484
      }
-
 
140485
 
-
 
140486
      /**
-
 
140487
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
140488
       * if it is not found.
-
 
140489
       */
-
 
140490
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
140491
        _Fields fields = findByThriftId(fieldId);
-
 
140492
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
140493
        return fields;
-
 
140494
      }
-
 
140495
 
-
 
140496
      /**
-
 
140497
       * Find the _Fields constant that matches name, or null if its not found.
-
 
140498
       */
-
 
140499
      public static _Fields findByName(String name) {
-
 
140500
        return byName.get(name);
-
 
140501
      }
-
 
140502
 
-
 
140503
      private final short _thriftId;
-
 
140504
      private final String _fieldName;
-
 
140505
 
-
 
140506
      _Fields(short thriftId, String fieldName) {
-
 
140507
        _thriftId = thriftId;
-
 
140508
        _fieldName = fieldName;
-
 
140509
      }
-
 
140510
 
-
 
140511
      public short getThriftFieldId() {
-
 
140512
        return _thriftId;
-
 
140513
      }
-
 
140514
 
-
 
140515
      public String getFieldName() {
-
 
140516
        return _fieldName;
-
 
140517
      }
-
 
140518
    }
-
 
140519
 
-
 
140520
    // isset id assignments
-
 
140521
    private static final int __ID_ISSET_ID = 0;
-
 
140522
    private static final int __STOREID_ISSET_ID = 1;
-
 
140523
    private static final int __STARTDATE_ISSET_ID = 2;
-
 
140524
    private static final int __ENDDATE_ISSET_ID = 3;
-
 
140525
    private BitSet __isset_bit_vector = new BitSet(4);
-
 
140526
 
-
 
140527
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
140528
    static {
-
 
140529
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
140530
      tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
140531
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
140532
      tmpMap.put(_Fields.STORE_ID, new org.apache.thrift.meta_data.FieldMetaData("storeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
140533
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
140534
      tmpMap.put(_Fields.START_DATE, new org.apache.thrift.meta_data.FieldMetaData("startDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
140535
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
140536
      tmpMap.put(_Fields.END_DATE, new org.apache.thrift.meta_data.FieldMetaData("endDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
140537
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
140538
      tmpMap.put(_Fields.STATUSES, new org.apache.thrift.meta_data.FieldMetaData("statuses", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
140539
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
140540
              new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, OrderStatus.class))));
-
 
140541
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
140542
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersForStore_args.class, metaDataMap);
-
 
140543
    }
-
 
140544
 
-
 
140545
    public getOrdersForStore_args() {
-
 
140546
    }
-
 
140547
 
-
 
140548
    public getOrdersForStore_args(
-
 
140549
      long id,
-
 
140550
      long storeId,
-
 
140551
      long startDate,
-
 
140552
      long endDate,
-
 
140553
      List<OrderStatus> statuses)
-
 
140554
    {
-
 
140555
      this();
-
 
140556
      this.id = id;
-
 
140557
      setIdIsSet(true);
-
 
140558
      this.storeId = storeId;
-
 
140559
      setStoreIdIsSet(true);
-
 
140560
      this.startDate = startDate;
-
 
140561
      setStartDateIsSet(true);
-
 
140562
      this.endDate = endDate;
-
 
140563
      setEndDateIsSet(true);
-
 
140564
      this.statuses = statuses;
-
 
140565
    }
-
 
140566
 
-
 
140567
    /**
-
 
140568
     * Performs a deep copy on <i>other</i>.
-
 
140569
     */
-
 
140570
    public getOrdersForStore_args(getOrdersForStore_args other) {
-
 
140571
      __isset_bit_vector.clear();
-
 
140572
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
140573
      this.id = other.id;
-
 
140574
      this.storeId = other.storeId;
-
 
140575
      this.startDate = other.startDate;
-
 
140576
      this.endDate = other.endDate;
-
 
140577
      if (other.isSetStatuses()) {
-
 
140578
        List<OrderStatus> __this__statuses = new ArrayList<OrderStatus>();
-
 
140579
        for (OrderStatus other_element : other.statuses) {
-
 
140580
          __this__statuses.add(other_element);
-
 
140581
        }
-
 
140582
        this.statuses = __this__statuses;
-
 
140583
      }
-
 
140584
    }
-
 
140585
 
-
 
140586
    public getOrdersForStore_args deepCopy() {
-
 
140587
      return new getOrdersForStore_args(this);
-
 
140588
    }
-
 
140589
 
-
 
140590
    @Override
-
 
140591
    public void clear() {
-
 
140592
      setIdIsSet(false);
-
 
140593
      this.id = 0;
-
 
140594
      setStoreIdIsSet(false);
-
 
140595
      this.storeId = 0;
-
 
140596
      setStartDateIsSet(false);
-
 
140597
      this.startDate = 0;
-
 
140598
      setEndDateIsSet(false);
-
 
140599
      this.endDate = 0;
-
 
140600
      this.statuses = null;
-
 
140601
    }
-
 
140602
 
-
 
140603
    public long getId() {
-
 
140604
      return this.id;
-
 
140605
    }
-
 
140606
 
-
 
140607
    public void setId(long id) {
-
 
140608
      this.id = id;
-
 
140609
      setIdIsSet(true);
-
 
140610
    }
-
 
140611
 
-
 
140612
    public void unsetId() {
-
 
140613
      __isset_bit_vector.clear(__ID_ISSET_ID);
-
 
140614
    }
-
 
140615
 
-
 
140616
    /** Returns true if field id is set (has been assigned a value) and false otherwise */
-
 
140617
    public boolean isSetId() {
-
 
140618
      return __isset_bit_vector.get(__ID_ISSET_ID);
-
 
140619
    }
-
 
140620
 
-
 
140621
    public void setIdIsSet(boolean value) {
-
 
140622
      __isset_bit_vector.set(__ID_ISSET_ID, value);
-
 
140623
    }
-
 
140624
 
-
 
140625
    public long getStoreId() {
-
 
140626
      return this.storeId;
-
 
140627
    }
-
 
140628
 
-
 
140629
    public void setStoreId(long storeId) {
-
 
140630
      this.storeId = storeId;
-
 
140631
      setStoreIdIsSet(true);
-
 
140632
    }
-
 
140633
 
-
 
140634
    public void unsetStoreId() {
-
 
140635
      __isset_bit_vector.clear(__STOREID_ISSET_ID);
-
 
140636
    }
-
 
140637
 
-
 
140638
    /** Returns true if field storeId is set (has been assigned a value) and false otherwise */
-
 
140639
    public boolean isSetStoreId() {
-
 
140640
      return __isset_bit_vector.get(__STOREID_ISSET_ID);
-
 
140641
    }
-
 
140642
 
-
 
140643
    public void setStoreIdIsSet(boolean value) {
-
 
140644
      __isset_bit_vector.set(__STOREID_ISSET_ID, value);
-
 
140645
    }
-
 
140646
 
-
 
140647
    public long getStartDate() {
-
 
140648
      return this.startDate;
-
 
140649
    }
-
 
140650
 
-
 
140651
    public void setStartDate(long startDate) {
-
 
140652
      this.startDate = startDate;
-
 
140653
      setStartDateIsSet(true);
-
 
140654
    }
-
 
140655
 
-
 
140656
    public void unsetStartDate() {
-
 
140657
      __isset_bit_vector.clear(__STARTDATE_ISSET_ID);
-
 
140658
    }
-
 
140659
 
-
 
140660
    /** Returns true if field startDate is set (has been assigned a value) and false otherwise */
-
 
140661
    public boolean isSetStartDate() {
-
 
140662
      return __isset_bit_vector.get(__STARTDATE_ISSET_ID);
-
 
140663
    }
-
 
140664
 
-
 
140665
    public void setStartDateIsSet(boolean value) {
-
 
140666
      __isset_bit_vector.set(__STARTDATE_ISSET_ID, value);
-
 
140667
    }
-
 
140668
 
-
 
140669
    public long getEndDate() {
-
 
140670
      return this.endDate;
-
 
140671
    }
-
 
140672
 
-
 
140673
    public void setEndDate(long endDate) {
-
 
140674
      this.endDate = endDate;
-
 
140675
      setEndDateIsSet(true);
-
 
140676
    }
-
 
140677
 
-
 
140678
    public void unsetEndDate() {
-
 
140679
      __isset_bit_vector.clear(__ENDDATE_ISSET_ID);
-
 
140680
    }
-
 
140681
 
-
 
140682
    /** Returns true if field endDate is set (has been assigned a value) and false otherwise */
-
 
140683
    public boolean isSetEndDate() {
-
 
140684
      return __isset_bit_vector.get(__ENDDATE_ISSET_ID);
-
 
140685
    }
-
 
140686
 
-
 
140687
    public void setEndDateIsSet(boolean value) {
-
 
140688
      __isset_bit_vector.set(__ENDDATE_ISSET_ID, value);
-
 
140689
    }
-
 
140690
 
-
 
140691
    public int getStatusesSize() {
-
 
140692
      return (this.statuses == null) ? 0 : this.statuses.size();
-
 
140693
    }
-
 
140694
 
-
 
140695
    public java.util.Iterator<OrderStatus> getStatusesIterator() {
-
 
140696
      return (this.statuses == null) ? null : this.statuses.iterator();
-
 
140697
    }
-
 
140698
 
-
 
140699
    public void addToStatuses(OrderStatus elem) {
-
 
140700
      if (this.statuses == null) {
-
 
140701
        this.statuses = new ArrayList<OrderStatus>();
-
 
140702
      }
-
 
140703
      this.statuses.add(elem);
-
 
140704
    }
-
 
140705
 
-
 
140706
    public List<OrderStatus> getStatuses() {
-
 
140707
      return this.statuses;
-
 
140708
    }
-
 
140709
 
-
 
140710
    public void setStatuses(List<OrderStatus> statuses) {
-
 
140711
      this.statuses = statuses;
-
 
140712
    }
-
 
140713
 
-
 
140714
    public void unsetStatuses() {
-
 
140715
      this.statuses = null;
-
 
140716
    }
-
 
140717
 
-
 
140718
    /** Returns true if field statuses is set (has been assigned a value) and false otherwise */
-
 
140719
    public boolean isSetStatuses() {
-
 
140720
      return this.statuses != null;
-
 
140721
    }
-
 
140722
 
-
 
140723
    public void setStatusesIsSet(boolean value) {
-
 
140724
      if (!value) {
-
 
140725
        this.statuses = null;
-
 
140726
      }
-
 
140727
    }
-
 
140728
 
-
 
140729
    public void setFieldValue(_Fields field, Object value) {
-
 
140730
      switch (field) {
-
 
140731
      case ID:
-
 
140732
        if (value == null) {
-
 
140733
          unsetId();
-
 
140734
        } else {
-
 
140735
          setId((Long)value);
-
 
140736
        }
-
 
140737
        break;
-
 
140738
 
-
 
140739
      case STORE_ID:
-
 
140740
        if (value == null) {
-
 
140741
          unsetStoreId();
-
 
140742
        } else {
-
 
140743
          setStoreId((Long)value);
-
 
140744
        }
-
 
140745
        break;
-
 
140746
 
-
 
140747
      case START_DATE:
-
 
140748
        if (value == null) {
-
 
140749
          unsetStartDate();
-
 
140750
        } else {
-
 
140751
          setStartDate((Long)value);
-
 
140752
        }
-
 
140753
        break;
-
 
140754
 
-
 
140755
      case END_DATE:
-
 
140756
        if (value == null) {
-
 
140757
          unsetEndDate();
-
 
140758
        } else {
-
 
140759
          setEndDate((Long)value);
-
 
140760
        }
-
 
140761
        break;
-
 
140762
 
-
 
140763
      case STATUSES:
-
 
140764
        if (value == null) {
-
 
140765
          unsetStatuses();
-
 
140766
        } else {
-
 
140767
          setStatuses((List<OrderStatus>)value);
-
 
140768
        }
-
 
140769
        break;
-
 
140770
 
-
 
140771
      }
-
 
140772
    }
-
 
140773
 
-
 
140774
    public Object getFieldValue(_Fields field) {
-
 
140775
      switch (field) {
-
 
140776
      case ID:
-
 
140777
        return Long.valueOf(getId());
-
 
140778
 
-
 
140779
      case STORE_ID:
-
 
140780
        return Long.valueOf(getStoreId());
-
 
140781
 
-
 
140782
      case START_DATE:
-
 
140783
        return Long.valueOf(getStartDate());
-
 
140784
 
-
 
140785
      case END_DATE:
-
 
140786
        return Long.valueOf(getEndDate());
-
 
140787
 
-
 
140788
      case STATUSES:
-
 
140789
        return getStatuses();
-
 
140790
 
-
 
140791
      }
-
 
140792
      throw new IllegalStateException();
-
 
140793
    }
-
 
140794
 
-
 
140795
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
140796
    public boolean isSet(_Fields field) {
-
 
140797
      if (field == null) {
-
 
140798
        throw new IllegalArgumentException();
-
 
140799
      }
-
 
140800
 
-
 
140801
      switch (field) {
-
 
140802
      case ID:
-
 
140803
        return isSetId();
-
 
140804
      case STORE_ID:
-
 
140805
        return isSetStoreId();
-
 
140806
      case START_DATE:
-
 
140807
        return isSetStartDate();
-
 
140808
      case END_DATE:
-
 
140809
        return isSetEndDate();
-
 
140810
      case STATUSES:
-
 
140811
        return isSetStatuses();
-
 
140812
      }
-
 
140813
      throw new IllegalStateException();
-
 
140814
    }
-
 
140815
 
-
 
140816
    @Override
-
 
140817
    public boolean equals(Object that) {
-
 
140818
      if (that == null)
-
 
140819
        return false;
-
 
140820
      if (that instanceof getOrdersForStore_args)
-
 
140821
        return this.equals((getOrdersForStore_args)that);
-
 
140822
      return false;
-
 
140823
    }
-
 
140824
 
-
 
140825
    public boolean equals(getOrdersForStore_args that) {
-
 
140826
      if (that == null)
-
 
140827
        return false;
-
 
140828
 
-
 
140829
      boolean this_present_id = true;
-
 
140830
      boolean that_present_id = true;
-
 
140831
      if (this_present_id || that_present_id) {
-
 
140832
        if (!(this_present_id && that_present_id))
-
 
140833
          return false;
-
 
140834
        if (this.id != that.id)
-
 
140835
          return false;
-
 
140836
      }
-
 
140837
 
-
 
140838
      boolean this_present_storeId = true;
-
 
140839
      boolean that_present_storeId = true;
-
 
140840
      if (this_present_storeId || that_present_storeId) {
-
 
140841
        if (!(this_present_storeId && that_present_storeId))
-
 
140842
          return false;
-
 
140843
        if (this.storeId != that.storeId)
-
 
140844
          return false;
-
 
140845
      }
-
 
140846
 
-
 
140847
      boolean this_present_startDate = true;
-
 
140848
      boolean that_present_startDate = true;
-
 
140849
      if (this_present_startDate || that_present_startDate) {
-
 
140850
        if (!(this_present_startDate && that_present_startDate))
-
 
140851
          return false;
-
 
140852
        if (this.startDate != that.startDate)
-
 
140853
          return false;
-
 
140854
      }
-
 
140855
 
-
 
140856
      boolean this_present_endDate = true;
-
 
140857
      boolean that_present_endDate = true;
-
 
140858
      if (this_present_endDate || that_present_endDate) {
-
 
140859
        if (!(this_present_endDate && that_present_endDate))
-
 
140860
          return false;
-
 
140861
        if (this.endDate != that.endDate)
-
 
140862
          return false;
-
 
140863
      }
-
 
140864
 
-
 
140865
      boolean this_present_statuses = true && this.isSetStatuses();
-
 
140866
      boolean that_present_statuses = true && that.isSetStatuses();
-
 
140867
      if (this_present_statuses || that_present_statuses) {
-
 
140868
        if (!(this_present_statuses && that_present_statuses))
-
 
140869
          return false;
-
 
140870
        if (!this.statuses.equals(that.statuses))
-
 
140871
          return false;
-
 
140872
      }
-
 
140873
 
-
 
140874
      return true;
-
 
140875
    }
-
 
140876
 
-
 
140877
    @Override
-
 
140878
    public int hashCode() {
-
 
140879
      return 0;
-
 
140880
    }
-
 
140881
 
-
 
140882
    public int compareTo(getOrdersForStore_args other) {
-
 
140883
      if (!getClass().equals(other.getClass())) {
-
 
140884
        return getClass().getName().compareTo(other.getClass().getName());
-
 
140885
      }
-
 
140886
 
-
 
140887
      int lastComparison = 0;
-
 
140888
      getOrdersForStore_args typedOther = (getOrdersForStore_args)other;
-
 
140889
 
-
 
140890
      lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
-
 
140891
      if (lastComparison != 0) {
-
 
140892
        return lastComparison;
-
 
140893
      }
-
 
140894
      if (isSetId()) {
-
 
140895
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
-
 
140896
        if (lastComparison != 0) {
-
 
140897
          return lastComparison;
-
 
140898
        }
-
 
140899
      }
-
 
140900
      lastComparison = Boolean.valueOf(isSetStoreId()).compareTo(typedOther.isSetStoreId());
-
 
140901
      if (lastComparison != 0) {
-
 
140902
        return lastComparison;
-
 
140903
      }
-
 
140904
      if (isSetStoreId()) {
-
 
140905
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeId, typedOther.storeId);
-
 
140906
        if (lastComparison != 0) {
-
 
140907
          return lastComparison;
-
 
140908
        }
-
 
140909
      }
-
 
140910
      lastComparison = Boolean.valueOf(isSetStartDate()).compareTo(typedOther.isSetStartDate());
-
 
140911
      if (lastComparison != 0) {
-
 
140912
        return lastComparison;
-
 
140913
      }
-
 
140914
      if (isSetStartDate()) {
-
 
140915
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startDate, typedOther.startDate);
-
 
140916
        if (lastComparison != 0) {
-
 
140917
          return lastComparison;
-
 
140918
        }
-
 
140919
      }
-
 
140920
      lastComparison = Boolean.valueOf(isSetEndDate()).compareTo(typedOther.isSetEndDate());
-
 
140921
      if (lastComparison != 0) {
-
 
140922
        return lastComparison;
-
 
140923
      }
-
 
140924
      if (isSetEndDate()) {
-
 
140925
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endDate, typedOther.endDate);
-
 
140926
        if (lastComparison != 0) {
-
 
140927
          return lastComparison;
-
 
140928
        }
-
 
140929
      }
-
 
140930
      lastComparison = Boolean.valueOf(isSetStatuses()).compareTo(typedOther.isSetStatuses());
-
 
140931
      if (lastComparison != 0) {
-
 
140932
        return lastComparison;
-
 
140933
      }
-
 
140934
      if (isSetStatuses()) {
-
 
140935
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statuses, typedOther.statuses);
-
 
140936
        if (lastComparison != 0) {
-
 
140937
          return lastComparison;
-
 
140938
        }
-
 
140939
      }
-
 
140940
      return 0;
-
 
140941
    }
-
 
140942
 
-
 
140943
    public _Fields fieldForId(int fieldId) {
-
 
140944
      return _Fields.findByThriftId(fieldId);
-
 
140945
    }
-
 
140946
 
-
 
140947
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
140948
      org.apache.thrift.protocol.TField field;
-
 
140949
      iprot.readStructBegin();
-
 
140950
      while (true)
-
 
140951
      {
-
 
140952
        field = iprot.readFieldBegin();
-
 
140953
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
140954
          break;
-
 
140955
        }
-
 
140956
        switch (field.id) {
-
 
140957
          case 1: // ID
-
 
140958
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
140959
              this.id = iprot.readI64();
-
 
140960
              setIdIsSet(true);
-
 
140961
            } else { 
-
 
140962
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
140963
            }
-
 
140964
            break;
-
 
140965
          case 2: // STORE_ID
-
 
140966
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
140967
              this.storeId = iprot.readI64();
-
 
140968
              setStoreIdIsSet(true);
-
 
140969
            } else { 
-
 
140970
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
140971
            }
-
 
140972
            break;
-
 
140973
          case 3: // START_DATE
-
 
140974
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
140975
              this.startDate = iprot.readI64();
-
 
140976
              setStartDateIsSet(true);
-
 
140977
            } else { 
-
 
140978
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
140979
            }
-
 
140980
            break;
-
 
140981
          case 4: // END_DATE
-
 
140982
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
140983
              this.endDate = iprot.readI64();
-
 
140984
              setEndDateIsSet(true);
-
 
140985
            } else { 
-
 
140986
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
140987
            }
-
 
140988
            break;
-
 
140989
          case 5: // STATUSES
-
 
140990
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
140991
              {
-
 
140992
                org.apache.thrift.protocol.TList _list450 = iprot.readListBegin();
-
 
140993
                this.statuses = new ArrayList<OrderStatus>(_list450.size);
-
 
140994
                for (int _i451 = 0; _i451 < _list450.size; ++_i451)
-
 
140995
                {
-
 
140996
                  OrderStatus _elem452; // required
-
 
140997
                  _elem452 = OrderStatus.findByValue(iprot.readI32());
-
 
140998
                  this.statuses.add(_elem452);
-
 
140999
                }
-
 
141000
                iprot.readListEnd();
-
 
141001
              }
-
 
141002
            } else { 
-
 
141003
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
141004
            }
-
 
141005
            break;
-
 
141006
          default:
-
 
141007
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
141008
        }
-
 
141009
        iprot.readFieldEnd();
-
 
141010
      }
-
 
141011
      iprot.readStructEnd();
-
 
141012
      validate();
-
 
141013
    }
-
 
141014
 
-
 
141015
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
141016
      validate();
-
 
141017
 
-
 
141018
      oprot.writeStructBegin(STRUCT_DESC);
-
 
141019
      oprot.writeFieldBegin(ID_FIELD_DESC);
-
 
141020
      oprot.writeI64(this.id);
-
 
141021
      oprot.writeFieldEnd();
-
 
141022
      oprot.writeFieldBegin(STORE_ID_FIELD_DESC);
-
 
141023
      oprot.writeI64(this.storeId);
-
 
141024
      oprot.writeFieldEnd();
-
 
141025
      oprot.writeFieldBegin(START_DATE_FIELD_DESC);
-
 
141026
      oprot.writeI64(this.startDate);
-
 
141027
      oprot.writeFieldEnd();
-
 
141028
      oprot.writeFieldBegin(END_DATE_FIELD_DESC);
-
 
141029
      oprot.writeI64(this.endDate);
-
 
141030
      oprot.writeFieldEnd();
-
 
141031
      if (this.statuses != null) {
-
 
141032
        oprot.writeFieldBegin(STATUSES_FIELD_DESC);
-
 
141033
        {
-
 
141034
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, this.statuses.size()));
-
 
141035
          for (OrderStatus _iter453 : this.statuses)
-
 
141036
          {
-
 
141037
            oprot.writeI32(_iter453.getValue());
-
 
141038
          }
-
 
141039
          oprot.writeListEnd();
-
 
141040
        }
-
 
141041
        oprot.writeFieldEnd();
-
 
141042
      }
-
 
141043
      oprot.writeFieldStop();
-
 
141044
      oprot.writeStructEnd();
-
 
141045
    }
-
 
141046
 
-
 
141047
    @Override
-
 
141048
    public String toString() {
-
 
141049
      StringBuilder sb = new StringBuilder("getOrdersForStore_args(");
-
 
141050
      boolean first = true;
-
 
141051
 
-
 
141052
      sb.append("id:");
-
 
141053
      sb.append(this.id);
-
 
141054
      first = false;
-
 
141055
      if (!first) sb.append(", ");
-
 
141056
      sb.append("storeId:");
-
 
141057
      sb.append(this.storeId);
-
 
141058
      first = false;
-
 
141059
      if (!first) sb.append(", ");
-
 
141060
      sb.append("startDate:");
-
 
141061
      sb.append(this.startDate);
-
 
141062
      first = false;
-
 
141063
      if (!first) sb.append(", ");
-
 
141064
      sb.append("endDate:");
-
 
141065
      sb.append(this.endDate);
-
 
141066
      first = false;
-
 
141067
      if (!first) sb.append(", ");
-
 
141068
      sb.append("statuses:");
-
 
141069
      if (this.statuses == null) {
-
 
141070
        sb.append("null");
-
 
141071
      } else {
-
 
141072
        sb.append(this.statuses);
-
 
141073
      }
-
 
141074
      first = false;
-
 
141075
      sb.append(")");
-
 
141076
      return sb.toString();
-
 
141077
    }
-
 
141078
 
-
 
141079
    public void validate() throws org.apache.thrift.TException {
-
 
141080
      // check for required fields
-
 
141081
    }
-
 
141082
 
-
 
141083
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
141084
      try {
-
 
141085
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
141086
      } catch (org.apache.thrift.TException te) {
-
 
141087
        throw new java.io.IOException(te);
-
 
141088
      }
-
 
141089
    }
-
 
141090
 
-
 
141091
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
141092
      try {
-
 
141093
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
141094
        __isset_bit_vector = new BitSet(1);
-
 
141095
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
141096
      } catch (org.apache.thrift.TException te) {
-
 
141097
        throw new java.io.IOException(te);
-
 
141098
      }
-
 
141099
    }
-
 
141100
 
-
 
141101
  }
-
 
141102
 
-
 
141103
  public static class getOrdersForStore_result implements org.apache.thrift.TBase<getOrdersForStore_result, getOrdersForStore_result._Fields>, java.io.Serializable, Cloneable   {
-
 
141104
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersForStore_result");
-
 
141105
 
-
 
141106
    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);
-
 
141107
 
-
 
141108
    private List<Order> success; // required
-
 
141109
 
-
 
141110
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
141111
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
141112
      SUCCESS((short)0, "success");
-
 
141113
 
-
 
141114
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
141115
 
-
 
141116
      static {
-
 
141117
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
141118
          byName.put(field.getFieldName(), field);
-
 
141119
        }
-
 
141120
      }
-
 
141121
 
-
 
141122
      /**
-
 
141123
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
141124
       */
-
 
141125
      public static _Fields findByThriftId(int fieldId) {
-
 
141126
        switch(fieldId) {
-
 
141127
          case 0: // SUCCESS
-
 
141128
            return SUCCESS;
-
 
141129
          default:
-
 
141130
            return null;
-
 
141131
        }
-
 
141132
      }
-
 
141133
 
-
 
141134
      /**
-
 
141135
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
141136
       * if it is not found.
-
 
141137
       */
-
 
141138
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
141139
        _Fields fields = findByThriftId(fieldId);
-
 
141140
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
141141
        return fields;
-
 
141142
      }
-
 
141143
 
-
 
141144
      /**
-
 
141145
       * Find the _Fields constant that matches name, or null if its not found.
-
 
141146
       */
-
 
141147
      public static _Fields findByName(String name) {
-
 
141148
        return byName.get(name);
-
 
141149
      }
-
 
141150
 
-
 
141151
      private final short _thriftId;
-
 
141152
      private final String _fieldName;
-
 
141153
 
-
 
141154
      _Fields(short thriftId, String fieldName) {
-
 
141155
        _thriftId = thriftId;
-
 
141156
        _fieldName = fieldName;
-
 
141157
      }
-
 
141158
 
-
 
141159
      public short getThriftFieldId() {
-
 
141160
        return _thriftId;
-
 
141161
      }
-
 
141162
 
-
 
141163
      public String getFieldName() {
-
 
141164
        return _fieldName;
-
 
141165
      }
-
 
141166
    }
-
 
141167
 
-
 
141168
    // isset id assignments
-
 
141169
 
-
 
141170
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
141171
    static {
-
 
141172
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
141173
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
141174
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
141175
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
141176
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
141177
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersForStore_result.class, metaDataMap);
-
 
141178
    }
-
 
141179
 
-
 
141180
    public getOrdersForStore_result() {
-
 
141181
    }
-
 
141182
 
-
 
141183
    public getOrdersForStore_result(
-
 
141184
      List<Order> success)
-
 
141185
    {
-
 
141186
      this();
-
 
141187
      this.success = success;
-
 
141188
    }
-
 
141189
 
-
 
141190
    /**
-
 
141191
     * Performs a deep copy on <i>other</i>.
-
 
141192
     */
-
 
141193
    public getOrdersForStore_result(getOrdersForStore_result other) {
-
 
141194
      if (other.isSetSuccess()) {
-
 
141195
        List<Order> __this__success = new ArrayList<Order>();
-
 
141196
        for (Order other_element : other.success) {
-
 
141197
          __this__success.add(new Order(other_element));
-
 
141198
        }
-
 
141199
        this.success = __this__success;
-
 
141200
      }
-
 
141201
    }
-
 
141202
 
-
 
141203
    public getOrdersForStore_result deepCopy() {
-
 
141204
      return new getOrdersForStore_result(this);
-
 
141205
    }
-
 
141206
 
-
 
141207
    @Override
-
 
141208
    public void clear() {
-
 
141209
      this.success = null;
-
 
141210
    }
-
 
141211
 
-
 
141212
    public int getSuccessSize() {
-
 
141213
      return (this.success == null) ? 0 : this.success.size();
-
 
141214
    }
-
 
141215
 
-
 
141216
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
141217
      return (this.success == null) ? null : this.success.iterator();
-
 
141218
    }
-
 
141219
 
-
 
141220
    public void addToSuccess(Order elem) {
-
 
141221
      if (this.success == null) {
-
 
141222
        this.success = new ArrayList<Order>();
-
 
141223
      }
-
 
141224
      this.success.add(elem);
-
 
141225
    }
-
 
141226
 
-
 
141227
    public List<Order> getSuccess() {
-
 
141228
      return this.success;
-
 
141229
    }
-
 
141230
 
-
 
141231
    public void setSuccess(List<Order> success) {
-
 
141232
      this.success = success;
-
 
141233
    }
-
 
141234
 
-
 
141235
    public void unsetSuccess() {
-
 
141236
      this.success = null;
-
 
141237
    }
-
 
141238
 
-
 
141239
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
141240
    public boolean isSetSuccess() {
-
 
141241
      return this.success != null;
-
 
141242
    }
-
 
141243
 
-
 
141244
    public void setSuccessIsSet(boolean value) {
-
 
141245
      if (!value) {
-
 
141246
        this.success = null;
-
 
141247
      }
-
 
141248
    }
-
 
141249
 
-
 
141250
    public void setFieldValue(_Fields field, Object value) {
-
 
141251
      switch (field) {
-
 
141252
      case SUCCESS:
-
 
141253
        if (value == null) {
-
 
141254
          unsetSuccess();
-
 
141255
        } else {
-
 
141256
          setSuccess((List<Order>)value);
-
 
141257
        }
-
 
141258
        break;
-
 
141259
 
-
 
141260
      }
-
 
141261
    }
-
 
141262
 
-
 
141263
    public Object getFieldValue(_Fields field) {
-
 
141264
      switch (field) {
-
 
141265
      case SUCCESS:
-
 
141266
        return getSuccess();
-
 
141267
 
-
 
141268
      }
-
 
141269
      throw new IllegalStateException();
-
 
141270
    }
-
 
141271
 
-
 
141272
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
141273
    public boolean isSet(_Fields field) {
-
 
141274
      if (field == null) {
-
 
141275
        throw new IllegalArgumentException();
-
 
141276
      }
-
 
141277
 
-
 
141278
      switch (field) {
-
 
141279
      case SUCCESS:
-
 
141280
        return isSetSuccess();
-
 
141281
      }
-
 
141282
      throw new IllegalStateException();
-
 
141283
    }
-
 
141284
 
-
 
141285
    @Override
-
 
141286
    public boolean equals(Object that) {
-
 
141287
      if (that == null)
-
 
141288
        return false;
-
 
141289
      if (that instanceof getOrdersForStore_result)
-
 
141290
        return this.equals((getOrdersForStore_result)that);
-
 
141291
      return false;
-
 
141292
    }
-
 
141293
 
-
 
141294
    public boolean equals(getOrdersForStore_result that) {
-
 
141295
      if (that == null)
-
 
141296
        return false;
-
 
141297
 
-
 
141298
      boolean this_present_success = true && this.isSetSuccess();
-
 
141299
      boolean that_present_success = true && that.isSetSuccess();
-
 
141300
      if (this_present_success || that_present_success) {
-
 
141301
        if (!(this_present_success && that_present_success))
-
 
141302
          return false;
-
 
141303
        if (!this.success.equals(that.success))
-
 
141304
          return false;
-
 
141305
      }
-
 
141306
 
-
 
141307
      return true;
-
 
141308
    }
-
 
141309
 
-
 
141310
    @Override
-
 
141311
    public int hashCode() {
-
 
141312
      return 0;
-
 
141313
    }
-
 
141314
 
-
 
141315
    public int compareTo(getOrdersForStore_result other) {
-
 
141316
      if (!getClass().equals(other.getClass())) {
-
 
141317
        return getClass().getName().compareTo(other.getClass().getName());
-
 
141318
      }
-
 
141319
 
-
 
141320
      int lastComparison = 0;
-
 
141321
      getOrdersForStore_result typedOther = (getOrdersForStore_result)other;
-
 
141322
 
-
 
141323
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
141324
      if (lastComparison != 0) {
-
 
141325
        return lastComparison;
-
 
141326
      }
-
 
141327
      if (isSetSuccess()) {
-
 
141328
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
141329
        if (lastComparison != 0) {
-
 
141330
          return lastComparison;
-
 
141331
        }
-
 
141332
      }
-
 
141333
      return 0;
-
 
141334
    }
-
 
141335
 
-
 
141336
    public _Fields fieldForId(int fieldId) {
-
 
141337
      return _Fields.findByThriftId(fieldId);
-
 
141338
    }
-
 
141339
 
-
 
141340
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
141341
      org.apache.thrift.protocol.TField field;
-
 
141342
      iprot.readStructBegin();
-
 
141343
      while (true)
-
 
141344
      {
-
 
141345
        field = iprot.readFieldBegin();
-
 
141346
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
141347
          break;
-
 
141348
        }
-
 
141349
        switch (field.id) {
-
 
141350
          case 0: // SUCCESS
-
 
141351
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
141352
              {
-
 
141353
                org.apache.thrift.protocol.TList _list454 = iprot.readListBegin();
-
 
141354
                this.success = new ArrayList<Order>(_list454.size);
-
 
141355
                for (int _i455 = 0; _i455 < _list454.size; ++_i455)
-
 
141356
                {
-
 
141357
                  Order _elem456; // required
-
 
141358
                  _elem456 = new Order();
-
 
141359
                  _elem456.read(iprot);
-
 
141360
                  this.success.add(_elem456);
-
 
141361
                }
-
 
141362
                iprot.readListEnd();
-
 
141363
              }
-
 
141364
            } else { 
-
 
141365
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
141366
            }
-
 
141367
            break;
-
 
141368
          default:
-
 
141369
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
141370
        }
-
 
141371
        iprot.readFieldEnd();
-
 
141372
      }
-
 
141373
      iprot.readStructEnd();
-
 
141374
      validate();
-
 
141375
    }
-
 
141376
 
-
 
141377
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
141378
      oprot.writeStructBegin(STRUCT_DESC);
-
 
141379
 
-
 
141380
      if (this.isSetSuccess()) {
-
 
141381
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
141382
        {
-
 
141383
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
141384
          for (Order _iter457 : this.success)
-
 
141385
          {
-
 
141386
            _iter457.write(oprot);
-
 
141387
          }
-
 
141388
          oprot.writeListEnd();
-
 
141389
        }
-
 
141390
        oprot.writeFieldEnd();
-
 
141391
      }
-
 
141392
      oprot.writeFieldStop();
-
 
141393
      oprot.writeStructEnd();
-
 
141394
    }
-
 
141395
 
-
 
141396
    @Override
-
 
141397
    public String toString() {
-
 
141398
      StringBuilder sb = new StringBuilder("getOrdersForStore_result(");
-
 
141399
      boolean first = true;
-
 
141400
 
-
 
141401
      sb.append("success:");
-
 
141402
      if (this.success == null) {
-
 
141403
        sb.append("null");
-
 
141404
      } else {
-
 
141405
        sb.append(this.success);
-
 
141406
      }
-
 
141407
      first = false;
-
 
141408
      sb.append(")");
-
 
141409
      return sb.toString();
-
 
141410
    }
-
 
141411
 
-
 
141412
    public void validate() throws org.apache.thrift.TException {
-
 
141413
      // check for required fields
-
 
141414
    }
-
 
141415
 
-
 
141416
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
141417
      try {
-
 
141418
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
141419
      } catch (org.apache.thrift.TException te) {
-
 
141420
        throw new java.io.IOException(te);
-
 
141421
      }
-
 
141422
    }
-
 
141423
 
-
 
141424
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
141425
      try {
-
 
141426
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
141427
      } catch (org.apache.thrift.TException te) {
-
 
141428
        throw new java.io.IOException(te);
-
 
141429
      }
-
 
141430
    }
-
 
141431
 
-
 
141432
  }
-
 
141433
 
-
 
141434
  public static class getStoreOrderAdvanceInvoice_args implements org.apache.thrift.TBase<getStoreOrderAdvanceInvoice_args, getStoreOrderAdvanceInvoice_args._Fields>, java.io.Serializable, Cloneable   {
-
 
141435
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStoreOrderAdvanceInvoice_args");
-
 
141436
 
-
 
141437
    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);
-
 
141438
 
-
 
141439
    private long orderId; // required
-
 
141440
 
-
 
141441
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
141442
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
141443
      ORDER_ID((short)1, "orderId");
-
 
141444
 
-
 
141445
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
141446
 
-
 
141447
      static {
-
 
141448
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
141449
          byName.put(field.getFieldName(), field);
-
 
141450
        }
-
 
141451
      }
-
 
141452
 
-
 
141453
      /**
-
 
141454
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
141455
       */
-
 
141456
      public static _Fields findByThriftId(int fieldId) {
-
 
141457
        switch(fieldId) {
-
 
141458
          case 1: // ORDER_ID
-
 
141459
            return ORDER_ID;
-
 
141460
          default:
-
 
141461
            return null;
-
 
141462
        }
-
 
141463
      }
-
 
141464
 
-
 
141465
      /**
-
 
141466
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
141467
       * if it is not found.
-
 
141468
       */
-
 
141469
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
141470
        _Fields fields = findByThriftId(fieldId);
-
 
141471
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
141472
        return fields;
-
 
141473
      }
-
 
141474
 
-
 
141475
      /**
-
 
141476
       * Find the _Fields constant that matches name, or null if its not found.
-
 
141477
       */
-
 
141478
      public static _Fields findByName(String name) {
-
 
141479
        return byName.get(name);
-
 
141480
      }
-
 
141481
 
-
 
141482
      private final short _thriftId;
-
 
141483
      private final String _fieldName;
-
 
141484
 
-
 
141485
      _Fields(short thriftId, String fieldName) {
-
 
141486
        _thriftId = thriftId;
-
 
141487
        _fieldName = fieldName;
-
 
141488
      }
-
 
141489
 
-
 
141490
      public short getThriftFieldId() {
-
 
141491
        return _thriftId;
-
 
141492
      }
-
 
141493
 
-
 
141494
      public String getFieldName() {
-
 
141495
        return _fieldName;
-
 
141496
      }
-
 
141497
    }
-
 
141498
 
-
 
141499
    // isset id assignments
-
 
141500
    private static final int __ORDERID_ISSET_ID = 0;
-
 
141501
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
141502
 
-
 
141503
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
141504
    static {
-
 
141505
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
141506
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
141507
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
141508
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
141509
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStoreOrderAdvanceInvoice_args.class, metaDataMap);
-
 
141510
    }
-
 
141511
 
-
 
141512
    public getStoreOrderAdvanceInvoice_args() {
-
 
141513
    }
-
 
141514
 
-
 
141515
    public getStoreOrderAdvanceInvoice_args(
-
 
141516
      long orderId)
-
 
141517
    {
-
 
141518
      this();
-
 
141519
      this.orderId = orderId;
-
 
141520
      setOrderIdIsSet(true);
-
 
141521
    }
-
 
141522
 
-
 
141523
    /**
-
 
141524
     * Performs a deep copy on <i>other</i>.
-
 
141525
     */
-
 
141526
    public getStoreOrderAdvanceInvoice_args(getStoreOrderAdvanceInvoice_args other) {
-
 
141527
      __isset_bit_vector.clear();
-
 
141528
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
141529
      this.orderId = other.orderId;
-
 
141530
    }
-
 
141531
 
-
 
141532
    public getStoreOrderAdvanceInvoice_args deepCopy() {
-
 
141533
      return new getStoreOrderAdvanceInvoice_args(this);
-
 
141534
    }
-
 
141535
 
-
 
141536
    @Override
-
 
141537
    public void clear() {
-
 
141538
      setOrderIdIsSet(false);
-
 
141539
      this.orderId = 0;
-
 
141540
    }
-
 
141541
 
-
 
141542
    public long getOrderId() {
-
 
141543
      return this.orderId;
-
 
141544
    }
-
 
141545
 
-
 
141546
    public void setOrderId(long orderId) {
-
 
141547
      this.orderId = orderId;
-
 
141548
      setOrderIdIsSet(true);
-
 
141549
    }
-
 
141550
 
-
 
141551
    public void unsetOrderId() {
-
 
141552
      __isset_bit_vector.clear(__ORDERID_ISSET_ID);
-
 
141553
    }
-
 
141554
 
-
 
141555
    /** Returns true if field orderId is set (has been assigned a value) and false otherwise */
-
 
141556
    public boolean isSetOrderId() {
-
 
141557
      return __isset_bit_vector.get(__ORDERID_ISSET_ID);
-
 
141558
    }
-
 
141559
 
-
 
141560
    public void setOrderIdIsSet(boolean value) {
-
 
141561
      __isset_bit_vector.set(__ORDERID_ISSET_ID, value);
-
 
141562
    }
-
 
141563
 
-
 
141564
    public void setFieldValue(_Fields field, Object value) {
-
 
141565
      switch (field) {
-
 
141566
      case ORDER_ID:
-
 
141567
        if (value == null) {
-
 
141568
          unsetOrderId();
-
 
141569
        } else {
-
 
141570
          setOrderId((Long)value);
-
 
141571
        }
-
 
141572
        break;
-
 
141573
 
-
 
141574
      }
-
 
141575
    }
-
 
141576
 
-
 
141577
    public Object getFieldValue(_Fields field) {
-
 
141578
      switch (field) {
-
 
141579
      case ORDER_ID:
-
 
141580
        return Long.valueOf(getOrderId());
-
 
141581
 
-
 
141582
      }
-
 
141583
      throw new IllegalStateException();
-
 
141584
    }
-
 
141585
 
-
 
141586
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
141587
    public boolean isSet(_Fields field) {
-
 
141588
      if (field == null) {
-
 
141589
        throw new IllegalArgumentException();
-
 
141590
      }
-
 
141591
 
-
 
141592
      switch (field) {
-
 
141593
      case ORDER_ID:
-
 
141594
        return isSetOrderId();
-
 
141595
      }
-
 
141596
      throw new IllegalStateException();
-
 
141597
    }
-
 
141598
 
-
 
141599
    @Override
-
 
141600
    public boolean equals(Object that) {
-
 
141601
      if (that == null)
-
 
141602
        return false;
-
 
141603
      if (that instanceof getStoreOrderAdvanceInvoice_args)
-
 
141604
        return this.equals((getStoreOrderAdvanceInvoice_args)that);
-
 
141605
      return false;
-
 
141606
    }
-
 
141607
 
-
 
141608
    public boolean equals(getStoreOrderAdvanceInvoice_args that) {
-
 
141609
      if (that == null)
-
 
141610
        return false;
-
 
141611
 
-
 
141612
      boolean this_present_orderId = true;
-
 
141613
      boolean that_present_orderId = true;
-
 
141614
      if (this_present_orderId || that_present_orderId) {
-
 
141615
        if (!(this_present_orderId && that_present_orderId))
-
 
141616
          return false;
-
 
141617
        if (this.orderId != that.orderId)
-
 
141618
          return false;
-
 
141619
      }
-
 
141620
 
-
 
141621
      return true;
-
 
141622
    }
-
 
141623
 
-
 
141624
    @Override
-
 
141625
    public int hashCode() {
-
 
141626
      return 0;
-
 
141627
    }
-
 
141628
 
-
 
141629
    public int compareTo(getStoreOrderAdvanceInvoice_args other) {
-
 
141630
      if (!getClass().equals(other.getClass())) {
-
 
141631
        return getClass().getName().compareTo(other.getClass().getName());
-
 
141632
      }
-
 
141633
 
-
 
141634
      int lastComparison = 0;
-
 
141635
      getStoreOrderAdvanceInvoice_args typedOther = (getStoreOrderAdvanceInvoice_args)other;
-
 
141636
 
-
 
141637
      lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
-
 
141638
      if (lastComparison != 0) {
-
 
141639
        return lastComparison;
-
 
141640
      }
-
 
141641
      if (isSetOrderId()) {
-
 
141642
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
-
 
141643
        if (lastComparison != 0) {
-
 
141644
          return lastComparison;
-
 
141645
        }
-
 
141646
      }
-
 
141647
      return 0;
-
 
141648
    }
-
 
141649
 
-
 
141650
    public _Fields fieldForId(int fieldId) {
-
 
141651
      return _Fields.findByThriftId(fieldId);
-
 
141652
    }
-
 
141653
 
-
 
141654
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
141655
      org.apache.thrift.protocol.TField field;
-
 
141656
      iprot.readStructBegin();
-
 
141657
      while (true)
-
 
141658
      {
-
 
141659
        field = iprot.readFieldBegin();
-
 
141660
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
141661
          break;
-
 
141662
        }
-
 
141663
        switch (field.id) {
-
 
141664
          case 1: // ORDER_ID
-
 
141665
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
141666
              this.orderId = iprot.readI64();
-
 
141667
              setOrderIdIsSet(true);
-
 
141668
            } else { 
-
 
141669
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
141670
            }
-
 
141671
            break;
-
 
141672
          default:
-
 
141673
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
141674
        }
-
 
141675
        iprot.readFieldEnd();
-
 
141676
      }
-
 
141677
      iprot.readStructEnd();
-
 
141678
      validate();
-
 
141679
    }
-
 
141680
 
-
 
141681
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
141682
      validate();
-
 
141683
 
-
 
141684
      oprot.writeStructBegin(STRUCT_DESC);
-
 
141685
      oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
-
 
141686
      oprot.writeI64(this.orderId);
-
 
141687
      oprot.writeFieldEnd();
-
 
141688
      oprot.writeFieldStop();
-
 
141689
      oprot.writeStructEnd();
-
 
141690
    }
-
 
141691
 
-
 
141692
    @Override
-
 
141693
    public String toString() {
-
 
141694
      StringBuilder sb = new StringBuilder("getStoreOrderAdvanceInvoice_args(");
-
 
141695
      boolean first = true;
-
 
141696
 
-
 
141697
      sb.append("orderId:");
-
 
141698
      sb.append(this.orderId);
-
 
141699
      first = false;
-
 
141700
      sb.append(")");
-
 
141701
      return sb.toString();
-
 
141702
    }
-
 
141703
 
-
 
141704
    public void validate() throws org.apache.thrift.TException {
-
 
141705
      // check for required fields
-
 
141706
    }
-
 
141707
 
-
 
141708
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
141709
      try {
-
 
141710
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
141711
      } catch (org.apache.thrift.TException te) {
-
 
141712
        throw new java.io.IOException(te);
-
 
141713
      }
-
 
141714
    }
-
 
141715
 
-
 
141716
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
141717
      try {
-
 
141718
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
141719
        __isset_bit_vector = new BitSet(1);
-
 
141720
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
141721
      } catch (org.apache.thrift.TException te) {
-
 
141722
        throw new java.io.IOException(te);
-
 
141723
      }
-
 
141724
    }
-
 
141725
 
-
 
141726
  }
-
 
141727
 
-
 
141728
  public static class getStoreOrderAdvanceInvoice_result implements org.apache.thrift.TBase<getStoreOrderAdvanceInvoice_result, getStoreOrderAdvanceInvoice_result._Fields>, java.io.Serializable, Cloneable   {
-
 
141729
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStoreOrderAdvanceInvoice_result");
-
 
141730
 
-
 
141731
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0);
-
 
141732
 
-
 
141733
    private ByteBuffer success; // required
-
 
141734
 
-
 
141735
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
141736
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
141737
      SUCCESS((short)0, "success");
-
 
141738
 
-
 
141739
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
141740
 
-
 
141741
      static {
-
 
141742
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
141743
          byName.put(field.getFieldName(), field);
-
 
141744
        }
-
 
141745
      }
-
 
141746
 
-
 
141747
      /**
-
 
141748
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
141749
       */
-
 
141750
      public static _Fields findByThriftId(int fieldId) {
-
 
141751
        switch(fieldId) {
-
 
141752
          case 0: // SUCCESS
-
 
141753
            return SUCCESS;
-
 
141754
          default:
-
 
141755
            return null;
-
 
141756
        }
-
 
141757
      }
-
 
141758
 
-
 
141759
      /**
-
 
141760
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
141761
       * if it is not found.
-
 
141762
       */
-
 
141763
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
141764
        _Fields fields = findByThriftId(fieldId);
-
 
141765
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
141766
        return fields;
-
 
141767
      }
-
 
141768
 
-
 
141769
      /**
-
 
141770
       * Find the _Fields constant that matches name, or null if its not found.
-
 
141771
       */
-
 
141772
      public static _Fields findByName(String name) {
-
 
141773
        return byName.get(name);
-
 
141774
      }
-
 
141775
 
-
 
141776
      private final short _thriftId;
-
 
141777
      private final String _fieldName;
-
 
141778
 
-
 
141779
      _Fields(short thriftId, String fieldName) {
-
 
141780
        _thriftId = thriftId;
-
 
141781
        _fieldName = fieldName;
-
 
141782
      }
-
 
141783
 
-
 
141784
      public short getThriftFieldId() {
-
 
141785
        return _thriftId;
-
 
141786
      }
-
 
141787
 
-
 
141788
      public String getFieldName() {
-
 
141789
        return _fieldName;
-
 
141790
      }
-
 
141791
    }
-
 
141792
 
-
 
141793
    // isset id assignments
-
 
141794
 
-
 
141795
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
141796
    static {
-
 
141797
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
141798
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
141799
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING          , true)));
-
 
141800
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
141801
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStoreOrderAdvanceInvoice_result.class, metaDataMap);
-
 
141802
    }
-
 
141803
 
-
 
141804
    public getStoreOrderAdvanceInvoice_result() {
-
 
141805
    }
-
 
141806
 
-
 
141807
    public getStoreOrderAdvanceInvoice_result(
-
 
141808
      ByteBuffer success)
-
 
141809
    {
-
 
141810
      this();
-
 
141811
      this.success = success;
-
 
141812
    }
-
 
141813
 
-
 
141814
    /**
-
 
141815
     * Performs a deep copy on <i>other</i>.
-
 
141816
     */
-
 
141817
    public getStoreOrderAdvanceInvoice_result(getStoreOrderAdvanceInvoice_result other) {
-
 
141818
      if (other.isSetSuccess()) {
-
 
141819
        this.success = org.apache.thrift.TBaseHelper.copyBinary(other.success);
-
 
141820
;
-
 
141821
      }
-
 
141822
    }
-
 
141823
 
-
 
141824
    public getStoreOrderAdvanceInvoice_result deepCopy() {
-
 
141825
      return new getStoreOrderAdvanceInvoice_result(this);
-
 
141826
    }
-
 
141827
 
-
 
141828
    @Override
-
 
141829
    public void clear() {
-
 
141830
      this.success = null;
-
 
141831
    }
-
 
141832
 
-
 
141833
    public byte[] getSuccess() {
-
 
141834
      setSuccess(org.apache.thrift.TBaseHelper.rightSize(success));
-
 
141835
      return success == null ? null : success.array();
-
 
141836
    }
-
 
141837
 
-
 
141838
    public ByteBuffer bufferForSuccess() {
-
 
141839
      return success;
-
 
141840
    }
-
 
141841
 
-
 
141842
    public void setSuccess(byte[] success) {
-
 
141843
      setSuccess(success == null ? (ByteBuffer)null : ByteBuffer.wrap(success));
-
 
141844
    }
-
 
141845
 
-
 
141846
    public void setSuccess(ByteBuffer success) {
-
 
141847
      this.success = success;
-
 
141848
    }
-
 
141849
 
-
 
141850
    public void unsetSuccess() {
-
 
141851
      this.success = null;
-
 
141852
    }
-
 
141853
 
-
 
141854
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
141855
    public boolean isSetSuccess() {
-
 
141856
      return this.success != null;
-
 
141857
    }
-
 
141858
 
-
 
141859
    public void setSuccessIsSet(boolean value) {
-
 
141860
      if (!value) {
-
 
141861
        this.success = null;
-
 
141862
      }
-
 
141863
    }
-
 
141864
 
-
 
141865
    public void setFieldValue(_Fields field, Object value) {
-
 
141866
      switch (field) {
-
 
141867
      case SUCCESS:
-
 
141868
        if (value == null) {
-
 
141869
          unsetSuccess();
-
 
141870
        } else {
-
 
141871
          setSuccess((ByteBuffer)value);
-
 
141872
        }
-
 
141873
        break;
-
 
141874
 
-
 
141875
      }
-
 
141876
    }
-
 
141877
 
-
 
141878
    public Object getFieldValue(_Fields field) {
-
 
141879
      switch (field) {
-
 
141880
      case SUCCESS:
-
 
141881
        return getSuccess();
-
 
141882
 
-
 
141883
      }
-
 
141884
      throw new IllegalStateException();
-
 
141885
    }
-
 
141886
 
-
 
141887
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
141888
    public boolean isSet(_Fields field) {
-
 
141889
      if (field == null) {
-
 
141890
        throw new IllegalArgumentException();
-
 
141891
      }
-
 
141892
 
-
 
141893
      switch (field) {
-
 
141894
      case SUCCESS:
-
 
141895
        return isSetSuccess();
-
 
141896
      }
-
 
141897
      throw new IllegalStateException();
-
 
141898
    }
-
 
141899
 
-
 
141900
    @Override
-
 
141901
    public boolean equals(Object that) {
-
 
141902
      if (that == null)
-
 
141903
        return false;
-
 
141904
      if (that instanceof getStoreOrderAdvanceInvoice_result)
-
 
141905
        return this.equals((getStoreOrderAdvanceInvoice_result)that);
-
 
141906
      return false;
-
 
141907
    }
-
 
141908
 
-
 
141909
    public boolean equals(getStoreOrderAdvanceInvoice_result that) {
-
 
141910
      if (that == null)
-
 
141911
        return false;
-
 
141912
 
-
 
141913
      boolean this_present_success = true && this.isSetSuccess();
-
 
141914
      boolean that_present_success = true && that.isSetSuccess();
-
 
141915
      if (this_present_success || that_present_success) {
-
 
141916
        if (!(this_present_success && that_present_success))
-
 
141917
          return false;
-
 
141918
        if (!this.success.equals(that.success))
-
 
141919
          return false;
-
 
141920
      }
-
 
141921
 
-
 
141922
      return true;
-
 
141923
    }
-
 
141924
 
-
 
141925
    @Override
-
 
141926
    public int hashCode() {
-
 
141927
      return 0;
-
 
141928
    }
-
 
141929
 
-
 
141930
    public int compareTo(getStoreOrderAdvanceInvoice_result other) {
-
 
141931
      if (!getClass().equals(other.getClass())) {
-
 
141932
        return getClass().getName().compareTo(other.getClass().getName());
-
 
141933
      }
-
 
141934
 
-
 
141935
      int lastComparison = 0;
-
 
141936
      getStoreOrderAdvanceInvoice_result typedOther = (getStoreOrderAdvanceInvoice_result)other;
-
 
141937
 
-
 
141938
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
141939
      if (lastComparison != 0) {
-
 
141940
        return lastComparison;
-
 
141941
      }
-
 
141942
      if (isSetSuccess()) {
-
 
141943
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
141944
        if (lastComparison != 0) {
-
 
141945
          return lastComparison;
-
 
141946
        }
-
 
141947
      }
-
 
141948
      return 0;
-
 
141949
    }
-
 
141950
 
-
 
141951
    public _Fields fieldForId(int fieldId) {
-
 
141952
      return _Fields.findByThriftId(fieldId);
-
 
141953
    }
-
 
141954
 
-
 
141955
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
141956
      org.apache.thrift.protocol.TField field;
-
 
141957
      iprot.readStructBegin();
-
 
141958
      while (true)
-
 
141959
      {
-
 
141960
        field = iprot.readFieldBegin();
-
 
141961
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
141962
          break;
-
 
141963
        }
-
 
141964
        switch (field.id) {
-
 
141965
          case 0: // SUCCESS
-
 
141966
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
141967
              this.success = iprot.readBinary();
-
 
141968
            } else { 
-
 
141969
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
141970
            }
-
 
141971
            break;
-
 
141972
          default:
-
 
141973
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
141974
        }
-
 
141975
        iprot.readFieldEnd();
-
 
141976
      }
-
 
141977
      iprot.readStructEnd();
-
 
141978
      validate();
-
 
141979
    }
-
 
141980
 
-
 
141981
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
141982
      oprot.writeStructBegin(STRUCT_DESC);
-
 
141983
 
-
 
141984
      if (this.isSetSuccess()) {
-
 
141985
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
141986
        oprot.writeBinary(this.success);
-
 
141987
        oprot.writeFieldEnd();
-
 
141988
      }
-
 
141989
      oprot.writeFieldStop();
-
 
141990
      oprot.writeStructEnd();
-
 
141991
    }
-
 
141992
 
-
 
141993
    @Override
-
 
141994
    public String toString() {
-
 
141995
      StringBuilder sb = new StringBuilder("getStoreOrderAdvanceInvoice_result(");
-
 
141996
      boolean first = true;
-
 
141997
 
-
 
141998
      sb.append("success:");
-
 
141999
      if (this.success == null) {
-
 
142000
        sb.append("null");
-
 
142001
      } else {
-
 
142002
        org.apache.thrift.TBaseHelper.toString(this.success, sb);
-
 
142003
      }
-
 
142004
      first = false;
-
 
142005
      sb.append(")");
-
 
142006
      return sb.toString();
-
 
142007
    }
140250
 
142008
 
140251
    public void validate() throws org.apache.thrift.TException {
142009
    public void validate() throws org.apache.thrift.TException {
140252
      // check for required fields
142010
      // check for required fields
140253
    }
142011
    }
140254
 
142012