Subversion Repositories SmartDukaan

Rev

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

Rev 7426 Rev 7427
Line 977... Line 977...
977
 
977
 
978
    public List<String> getAllEdcBanks() throws org.apache.thrift.TException;
978
    public List<String> getAllEdcBanks() throws org.apache.thrift.TException;
979
 
979
 
980
    public boolean saveRefundAmountsForStoreOrder(long orderId, long storeId, double cashRefundAmount, double cardRefundAmount) throws org.apache.thrift.TException;
980
    public boolean saveRefundAmountsForStoreOrder(long orderId, long storeId, double cashRefundAmount, double cardRefundAmount) throws org.apache.thrift.TException;
981
 
981
 
-
 
982
    public List<StoreOrderCollection> getCollectionsForStore(long storeId, long startDate, long endDate) throws org.apache.thrift.TException;
-
 
983
 
982
  }
984
  }
983
 
985
 
984
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
986
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
985
 
987
 
986
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
988
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1347... Line 1349...
1347
 
1349
 
1348
    public void getAllEdcBanks(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEdcBanks_call> resultHandler) throws org.apache.thrift.TException;
1350
    public void getAllEdcBanks(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEdcBanks_call> resultHandler) throws org.apache.thrift.TException;
1349
 
1351
 
1350
    public void saveRefundAmountsForStoreOrder(long orderId, long storeId, double cashRefundAmount, double cardRefundAmount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveRefundAmountsForStoreOrder_call> resultHandler) throws org.apache.thrift.TException;
1352
    public void saveRefundAmountsForStoreOrder(long orderId, long storeId, double cashRefundAmount, double cardRefundAmount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveRefundAmountsForStoreOrder_call> resultHandler) throws org.apache.thrift.TException;
1351
 
1353
 
-
 
1354
    public void getCollectionsForStore(long storeId, long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCollectionsForStore_call> resultHandler) throws org.apache.thrift.TException;
-
 
1355
 
1352
  }
1356
  }
1353
 
1357
 
1354
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1358
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1355
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1359
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1356
      public Factory() {}
1360
      public Factory() {}
Line 5935... Line 5939...
5935
        return result.success;
5939
        return result.success;
5936
      }
5940
      }
5937
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "saveRefundAmountsForStoreOrder failed: unknown result");
5941
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "saveRefundAmountsForStoreOrder failed: unknown result");
5938
    }
5942
    }
5939
 
5943
 
-
 
5944
    public List<StoreOrderCollection> getCollectionsForStore(long storeId, long startDate, long endDate) throws org.apache.thrift.TException
-
 
5945
    {
-
 
5946
      send_getCollectionsForStore(storeId, startDate, endDate);
-
 
5947
      return recv_getCollectionsForStore();
-
 
5948
    }
-
 
5949
 
-
 
5950
    public void send_getCollectionsForStore(long storeId, long startDate, long endDate) throws org.apache.thrift.TException
-
 
5951
    {
-
 
5952
      getCollectionsForStore_args args = new getCollectionsForStore_args();
-
 
5953
      args.setStoreId(storeId);
-
 
5954
      args.setStartDate(startDate);
-
 
5955
      args.setEndDate(endDate);
-
 
5956
      sendBase("getCollectionsForStore", args);
-
 
5957
    }
-
 
5958
 
-
 
5959
    public List<StoreOrderCollection> recv_getCollectionsForStore() throws org.apache.thrift.TException
-
 
5960
    {
-
 
5961
      getCollectionsForStore_result result = new getCollectionsForStore_result();
-
 
5962
      receiveBase(result, "getCollectionsForStore");
-
 
5963
      if (result.isSetSuccess()) {
-
 
5964
        return result.success;
-
 
5965
      }
-
 
5966
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getCollectionsForStore failed: unknown result");
-
 
5967
    }
-
 
5968
 
5940
  }
5969
  }
5941
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5970
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5942
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5971
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5943
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5972
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5944
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
5973
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 12340... Line 12369...
12340
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12369
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12341
        return (new Client(prot)).recv_saveRefundAmountsForStoreOrder();
12370
        return (new Client(prot)).recv_saveRefundAmountsForStoreOrder();
12342
      }
12371
      }
12343
    }
12372
    }
12344
 
12373
 
-
 
12374
    public void getCollectionsForStore(long storeId, long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<getCollectionsForStore_call> resultHandler) throws org.apache.thrift.TException {
-
 
12375
      checkReady();
-
 
12376
      getCollectionsForStore_call method_call = new getCollectionsForStore_call(storeId, startDate, endDate, resultHandler, this, ___protocolFactory, ___transport);
-
 
12377
      this.___currentMethod = method_call;
-
 
12378
      ___manager.call(method_call);
-
 
12379
    }
-
 
12380
 
-
 
12381
    public static class getCollectionsForStore_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
12382
      private long storeId;
-
 
12383
      private long startDate;
-
 
12384
      private long endDate;
-
 
12385
      public getCollectionsForStore_call(long storeId, long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<getCollectionsForStore_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 {
-
 
12386
        super(client, protocolFactory, transport, resultHandler, false);
-
 
12387
        this.storeId = storeId;
-
 
12388
        this.startDate = startDate;
-
 
12389
        this.endDate = endDate;
-
 
12390
      }
-
 
12391
 
-
 
12392
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
12393
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getCollectionsForStore", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
12394
        getCollectionsForStore_args args = new getCollectionsForStore_args();
-
 
12395
        args.setStoreId(storeId);
-
 
12396
        args.setStartDate(startDate);
-
 
12397
        args.setEndDate(endDate);
-
 
12398
        args.write(prot);
-
 
12399
        prot.writeMessageEnd();
-
 
12400
      }
-
 
12401
 
-
 
12402
      public List<StoreOrderCollection> getResult() throws org.apache.thrift.TException {
-
 
12403
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
12404
          throw new IllegalStateException("Method call not finished!");
-
 
12405
        }
-
 
12406
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
12407
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
12408
        return (new Client(prot)).recv_getCollectionsForStore();
-
 
12409
      }
-
 
12410
    }
-
 
12411
 
12345
  }
12412
  }
12346
 
12413
 
12347
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
12414
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
12348
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
12415
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
12349
    public Processor(I iface) {
12416
    public Processor(I iface) {
Line 12536... Line 12603...
12536
      processMap.put("addSeries", new addSeries());
12603
      processMap.put("addSeries", new addSeries());
12537
      processMap.put("saveStoreOrderDetail", new saveStoreOrderDetail());
12604
      processMap.put("saveStoreOrderDetail", new saveStoreOrderDetail());
12538
      processMap.put("getStoreOrderDetail", new getStoreOrderDetail());
12605
      processMap.put("getStoreOrderDetail", new getStoreOrderDetail());
12539
      processMap.put("getAllEdcBanks", new getAllEdcBanks());
12606
      processMap.put("getAllEdcBanks", new getAllEdcBanks());
12540
      processMap.put("saveRefundAmountsForStoreOrder", new saveRefundAmountsForStoreOrder());
12607
      processMap.put("saveRefundAmountsForStoreOrder", new saveRefundAmountsForStoreOrder());
-
 
12608
      processMap.put("getCollectionsForStore", new getCollectionsForStore());
12541
      return processMap;
12609
      return processMap;
12542
    }
12610
    }
12543
 
12611
 
12544
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
12612
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
12545
      public createTransaction() {
12613
      public createTransaction() {
Line 15904... Line 15972...
15904
        result.setSuccessIsSet(true);
15972
        result.setSuccessIsSet(true);
15905
        return result;
15973
        return result;
15906
      }
15974
      }
15907
    }
15975
    }
15908
 
15976
 
-
 
15977
    private static class getCollectionsForStore<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getCollectionsForStore_args> {
-
 
15978
      public getCollectionsForStore() {
-
 
15979
        super("getCollectionsForStore");
-
 
15980
      }
-
 
15981
 
-
 
15982
      protected getCollectionsForStore_args getEmptyArgsInstance() {
-
 
15983
        return new getCollectionsForStore_args();
-
 
15984
      }
-
 
15985
 
-
 
15986
      protected getCollectionsForStore_result getResult(I iface, getCollectionsForStore_args args) throws org.apache.thrift.TException {
-
 
15987
        getCollectionsForStore_result result = new getCollectionsForStore_result();
-
 
15988
        result.success = iface.getCollectionsForStore(args.storeId, args.startDate, args.endDate);
-
 
15989
        return result;
-
 
15990
      }
-
 
15991
    }
-
 
15992
 
15909
  }
15993
  }
15910
 
15994
 
15911
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
15995
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
15912
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
15996
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
15913
 
15997
 
Line 147362... Line 147446...
147362
      first = false;
147446
      first = false;
147363
      sb.append(")");
147447
      sb.append(")");
147364
      return sb.toString();
147448
      return sb.toString();
147365
    }
147449
    }
147366
 
147450
 
-
 
147451
    public void validate() throws org.apache.thrift.TException {
-
 
147452
      // check for required fields
-
 
147453
    }
-
 
147454
 
-
 
147455
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
147456
      try {
-
 
147457
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
147458
      } catch (org.apache.thrift.TException te) {
-
 
147459
        throw new java.io.IOException(te);
-
 
147460
      }
-
 
147461
    }
-
 
147462
 
-
 
147463
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
147464
      try {
-
 
147465
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
147466
      } catch (org.apache.thrift.TException te) {
-
 
147467
        throw new java.io.IOException(te);
-
 
147468
      }
-
 
147469
    }
-
 
147470
 
-
 
147471
  }
-
 
147472
 
-
 
147473
  public static class getCollectionsForStore_args implements org.apache.thrift.TBase<getCollectionsForStore_args, getCollectionsForStore_args._Fields>, java.io.Serializable, Cloneable   {
-
 
147474
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCollectionsForStore_args");
-
 
147475
 
-
 
147476
    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)1);
-
 
147477
    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)2);
-
 
147478
    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)3);
-
 
147479
 
-
 
147480
    private long storeId; // required
-
 
147481
    private long startDate; // required
-
 
147482
    private long endDate; // required
-
 
147483
 
-
 
147484
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
147485
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
147486
      STORE_ID((short)1, "storeId"),
-
 
147487
      START_DATE((short)2, "startDate"),
-
 
147488
      END_DATE((short)3, "endDate");
-
 
147489
 
-
 
147490
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
147491
 
-
 
147492
      static {
-
 
147493
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
147494
          byName.put(field.getFieldName(), field);
-
 
147495
        }
-
 
147496
      }
-
 
147497
 
-
 
147498
      /**
-
 
147499
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
147500
       */
-
 
147501
      public static _Fields findByThriftId(int fieldId) {
-
 
147502
        switch(fieldId) {
-
 
147503
          case 1: // STORE_ID
-
 
147504
            return STORE_ID;
-
 
147505
          case 2: // START_DATE
-
 
147506
            return START_DATE;
-
 
147507
          case 3: // END_DATE
-
 
147508
            return END_DATE;
-
 
147509
          default:
-
 
147510
            return null;
-
 
147511
        }
-
 
147512
      }
-
 
147513
 
-
 
147514
      /**
-
 
147515
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
147516
       * if it is not found.
-
 
147517
       */
-
 
147518
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
147519
        _Fields fields = findByThriftId(fieldId);
-
 
147520
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
147521
        return fields;
-
 
147522
      }
-
 
147523
 
-
 
147524
      /**
-
 
147525
       * Find the _Fields constant that matches name, or null if its not found.
-
 
147526
       */
-
 
147527
      public static _Fields findByName(String name) {
-
 
147528
        return byName.get(name);
-
 
147529
      }
-
 
147530
 
-
 
147531
      private final short _thriftId;
-
 
147532
      private final String _fieldName;
-
 
147533
 
-
 
147534
      _Fields(short thriftId, String fieldName) {
-
 
147535
        _thriftId = thriftId;
-
 
147536
        _fieldName = fieldName;
-
 
147537
      }
-
 
147538
 
-
 
147539
      public short getThriftFieldId() {
-
 
147540
        return _thriftId;
-
 
147541
      }
-
 
147542
 
-
 
147543
      public String getFieldName() {
-
 
147544
        return _fieldName;
-
 
147545
      }
-
 
147546
    }
-
 
147547
 
-
 
147548
    // isset id assignments
-
 
147549
    private static final int __STOREID_ISSET_ID = 0;
-
 
147550
    private static final int __STARTDATE_ISSET_ID = 1;
-
 
147551
    private static final int __ENDDATE_ISSET_ID = 2;
-
 
147552
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
147553
 
-
 
147554
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
147555
    static {
-
 
147556
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
147557
      tmpMap.put(_Fields.STORE_ID, new org.apache.thrift.meta_data.FieldMetaData("storeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
147558
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
147559
      tmpMap.put(_Fields.START_DATE, new org.apache.thrift.meta_data.FieldMetaData("startDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
147560
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
147561
      tmpMap.put(_Fields.END_DATE, new org.apache.thrift.meta_data.FieldMetaData("endDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
147562
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
147563
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
147564
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCollectionsForStore_args.class, metaDataMap);
-
 
147565
    }
-
 
147566
 
-
 
147567
    public getCollectionsForStore_args() {
-
 
147568
    }
-
 
147569
 
-
 
147570
    public getCollectionsForStore_args(
-
 
147571
      long storeId,
-
 
147572
      long startDate,
-
 
147573
      long endDate)
-
 
147574
    {
-
 
147575
      this();
-
 
147576
      this.storeId = storeId;
-
 
147577
      setStoreIdIsSet(true);
-
 
147578
      this.startDate = startDate;
-
 
147579
      setStartDateIsSet(true);
-
 
147580
      this.endDate = endDate;
-
 
147581
      setEndDateIsSet(true);
-
 
147582
    }
-
 
147583
 
-
 
147584
    /**
-
 
147585
     * Performs a deep copy on <i>other</i>.
-
 
147586
     */
-
 
147587
    public getCollectionsForStore_args(getCollectionsForStore_args other) {
-
 
147588
      __isset_bit_vector.clear();
-
 
147589
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
147590
      this.storeId = other.storeId;
-
 
147591
      this.startDate = other.startDate;
-
 
147592
      this.endDate = other.endDate;
-
 
147593
    }
-
 
147594
 
-
 
147595
    public getCollectionsForStore_args deepCopy() {
-
 
147596
      return new getCollectionsForStore_args(this);
-
 
147597
    }
-
 
147598
 
-
 
147599
    @Override
-
 
147600
    public void clear() {
-
 
147601
      setStoreIdIsSet(false);
-
 
147602
      this.storeId = 0;
-
 
147603
      setStartDateIsSet(false);
-
 
147604
      this.startDate = 0;
-
 
147605
      setEndDateIsSet(false);
-
 
147606
      this.endDate = 0;
-
 
147607
    }
-
 
147608
 
-
 
147609
    public long getStoreId() {
-
 
147610
      return this.storeId;
-
 
147611
    }
-
 
147612
 
-
 
147613
    public void setStoreId(long storeId) {
-
 
147614
      this.storeId = storeId;
-
 
147615
      setStoreIdIsSet(true);
-
 
147616
    }
-
 
147617
 
-
 
147618
    public void unsetStoreId() {
-
 
147619
      __isset_bit_vector.clear(__STOREID_ISSET_ID);
-
 
147620
    }
-
 
147621
 
-
 
147622
    /** Returns true if field storeId is set (has been assigned a value) and false otherwise */
-
 
147623
    public boolean isSetStoreId() {
-
 
147624
      return __isset_bit_vector.get(__STOREID_ISSET_ID);
-
 
147625
    }
-
 
147626
 
-
 
147627
    public void setStoreIdIsSet(boolean value) {
-
 
147628
      __isset_bit_vector.set(__STOREID_ISSET_ID, value);
-
 
147629
    }
-
 
147630
 
-
 
147631
    public long getStartDate() {
-
 
147632
      return this.startDate;
-
 
147633
    }
-
 
147634
 
-
 
147635
    public void setStartDate(long startDate) {
-
 
147636
      this.startDate = startDate;
-
 
147637
      setStartDateIsSet(true);
-
 
147638
    }
-
 
147639
 
-
 
147640
    public void unsetStartDate() {
-
 
147641
      __isset_bit_vector.clear(__STARTDATE_ISSET_ID);
-
 
147642
    }
-
 
147643
 
-
 
147644
    /** Returns true if field startDate is set (has been assigned a value) and false otherwise */
-
 
147645
    public boolean isSetStartDate() {
-
 
147646
      return __isset_bit_vector.get(__STARTDATE_ISSET_ID);
-
 
147647
    }
-
 
147648
 
-
 
147649
    public void setStartDateIsSet(boolean value) {
-
 
147650
      __isset_bit_vector.set(__STARTDATE_ISSET_ID, value);
-
 
147651
    }
-
 
147652
 
-
 
147653
    public long getEndDate() {
-
 
147654
      return this.endDate;
-
 
147655
    }
-
 
147656
 
-
 
147657
    public void setEndDate(long endDate) {
-
 
147658
      this.endDate = endDate;
-
 
147659
      setEndDateIsSet(true);
-
 
147660
    }
-
 
147661
 
-
 
147662
    public void unsetEndDate() {
-
 
147663
      __isset_bit_vector.clear(__ENDDATE_ISSET_ID);
-
 
147664
    }
-
 
147665
 
-
 
147666
    /** Returns true if field endDate is set (has been assigned a value) and false otherwise */
-
 
147667
    public boolean isSetEndDate() {
-
 
147668
      return __isset_bit_vector.get(__ENDDATE_ISSET_ID);
-
 
147669
    }
-
 
147670
 
-
 
147671
    public void setEndDateIsSet(boolean value) {
-
 
147672
      __isset_bit_vector.set(__ENDDATE_ISSET_ID, value);
-
 
147673
    }
-
 
147674
 
-
 
147675
    public void setFieldValue(_Fields field, Object value) {
-
 
147676
      switch (field) {
-
 
147677
      case STORE_ID:
-
 
147678
        if (value == null) {
-
 
147679
          unsetStoreId();
-
 
147680
        } else {
-
 
147681
          setStoreId((Long)value);
-
 
147682
        }
-
 
147683
        break;
-
 
147684
 
-
 
147685
      case START_DATE:
-
 
147686
        if (value == null) {
-
 
147687
          unsetStartDate();
-
 
147688
        } else {
-
 
147689
          setStartDate((Long)value);
-
 
147690
        }
-
 
147691
        break;
-
 
147692
 
-
 
147693
      case END_DATE:
-
 
147694
        if (value == null) {
-
 
147695
          unsetEndDate();
-
 
147696
        } else {
-
 
147697
          setEndDate((Long)value);
-
 
147698
        }
-
 
147699
        break;
-
 
147700
 
-
 
147701
      }
-
 
147702
    }
-
 
147703
 
-
 
147704
    public Object getFieldValue(_Fields field) {
-
 
147705
      switch (field) {
-
 
147706
      case STORE_ID:
-
 
147707
        return Long.valueOf(getStoreId());
-
 
147708
 
-
 
147709
      case START_DATE:
-
 
147710
        return Long.valueOf(getStartDate());
-
 
147711
 
-
 
147712
      case END_DATE:
-
 
147713
        return Long.valueOf(getEndDate());
-
 
147714
 
-
 
147715
      }
-
 
147716
      throw new IllegalStateException();
-
 
147717
    }
-
 
147718
 
-
 
147719
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
147720
    public boolean isSet(_Fields field) {
-
 
147721
      if (field == null) {
-
 
147722
        throw new IllegalArgumentException();
-
 
147723
      }
-
 
147724
 
-
 
147725
      switch (field) {
-
 
147726
      case STORE_ID:
-
 
147727
        return isSetStoreId();
-
 
147728
      case START_DATE:
-
 
147729
        return isSetStartDate();
-
 
147730
      case END_DATE:
-
 
147731
        return isSetEndDate();
-
 
147732
      }
-
 
147733
      throw new IllegalStateException();
-
 
147734
    }
-
 
147735
 
-
 
147736
    @Override
-
 
147737
    public boolean equals(Object that) {
-
 
147738
      if (that == null)
-
 
147739
        return false;
-
 
147740
      if (that instanceof getCollectionsForStore_args)
-
 
147741
        return this.equals((getCollectionsForStore_args)that);
-
 
147742
      return false;
-
 
147743
    }
-
 
147744
 
-
 
147745
    public boolean equals(getCollectionsForStore_args that) {
-
 
147746
      if (that == null)
-
 
147747
        return false;
-
 
147748
 
-
 
147749
      boolean this_present_storeId = true;
-
 
147750
      boolean that_present_storeId = true;
-
 
147751
      if (this_present_storeId || that_present_storeId) {
-
 
147752
        if (!(this_present_storeId && that_present_storeId))
-
 
147753
          return false;
-
 
147754
        if (this.storeId != that.storeId)
-
 
147755
          return false;
-
 
147756
      }
-
 
147757
 
-
 
147758
      boolean this_present_startDate = true;
-
 
147759
      boolean that_present_startDate = true;
-
 
147760
      if (this_present_startDate || that_present_startDate) {
-
 
147761
        if (!(this_present_startDate && that_present_startDate))
-
 
147762
          return false;
-
 
147763
        if (this.startDate != that.startDate)
-
 
147764
          return false;
-
 
147765
      }
-
 
147766
 
-
 
147767
      boolean this_present_endDate = true;
-
 
147768
      boolean that_present_endDate = true;
-
 
147769
      if (this_present_endDate || that_present_endDate) {
-
 
147770
        if (!(this_present_endDate && that_present_endDate))
-
 
147771
          return false;
-
 
147772
        if (this.endDate != that.endDate)
-
 
147773
          return false;
-
 
147774
      }
-
 
147775
 
-
 
147776
      return true;
-
 
147777
    }
-
 
147778
 
-
 
147779
    @Override
-
 
147780
    public int hashCode() {
-
 
147781
      return 0;
-
 
147782
    }
-
 
147783
 
-
 
147784
    public int compareTo(getCollectionsForStore_args other) {
-
 
147785
      if (!getClass().equals(other.getClass())) {
-
 
147786
        return getClass().getName().compareTo(other.getClass().getName());
-
 
147787
      }
-
 
147788
 
-
 
147789
      int lastComparison = 0;
-
 
147790
      getCollectionsForStore_args typedOther = (getCollectionsForStore_args)other;
-
 
147791
 
-
 
147792
      lastComparison = Boolean.valueOf(isSetStoreId()).compareTo(typedOther.isSetStoreId());
-
 
147793
      if (lastComparison != 0) {
-
 
147794
        return lastComparison;
-
 
147795
      }
-
 
147796
      if (isSetStoreId()) {
-
 
147797
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeId, typedOther.storeId);
-
 
147798
        if (lastComparison != 0) {
-
 
147799
          return lastComparison;
-
 
147800
        }
-
 
147801
      }
-
 
147802
      lastComparison = Boolean.valueOf(isSetStartDate()).compareTo(typedOther.isSetStartDate());
-
 
147803
      if (lastComparison != 0) {
-
 
147804
        return lastComparison;
-
 
147805
      }
-
 
147806
      if (isSetStartDate()) {
-
 
147807
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startDate, typedOther.startDate);
-
 
147808
        if (lastComparison != 0) {
-
 
147809
          return lastComparison;
-
 
147810
        }
-
 
147811
      }
-
 
147812
      lastComparison = Boolean.valueOf(isSetEndDate()).compareTo(typedOther.isSetEndDate());
-
 
147813
      if (lastComparison != 0) {
-
 
147814
        return lastComparison;
-
 
147815
      }
-
 
147816
      if (isSetEndDate()) {
-
 
147817
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endDate, typedOther.endDate);
-
 
147818
        if (lastComparison != 0) {
-
 
147819
          return lastComparison;
-
 
147820
        }
-
 
147821
      }
-
 
147822
      return 0;
-
 
147823
    }
-
 
147824
 
-
 
147825
    public _Fields fieldForId(int fieldId) {
-
 
147826
      return _Fields.findByThriftId(fieldId);
-
 
147827
    }
-
 
147828
 
-
 
147829
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
147830
      org.apache.thrift.protocol.TField field;
-
 
147831
      iprot.readStructBegin();
-
 
147832
      while (true)
-
 
147833
      {
-
 
147834
        field = iprot.readFieldBegin();
-
 
147835
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
147836
          break;
-
 
147837
        }
-
 
147838
        switch (field.id) {
-
 
147839
          case 1: // STORE_ID
-
 
147840
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
147841
              this.storeId = iprot.readI64();
-
 
147842
              setStoreIdIsSet(true);
-
 
147843
            } else { 
-
 
147844
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
147845
            }
-
 
147846
            break;
-
 
147847
          case 2: // START_DATE
-
 
147848
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
147849
              this.startDate = iprot.readI64();
-
 
147850
              setStartDateIsSet(true);
-
 
147851
            } else { 
-
 
147852
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
147853
            }
-
 
147854
            break;
-
 
147855
          case 3: // END_DATE
-
 
147856
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
147857
              this.endDate = iprot.readI64();
-
 
147858
              setEndDateIsSet(true);
-
 
147859
            } else { 
-
 
147860
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
147861
            }
-
 
147862
            break;
-
 
147863
          default:
-
 
147864
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
147865
        }
-
 
147866
        iprot.readFieldEnd();
-
 
147867
      }
-
 
147868
      iprot.readStructEnd();
-
 
147869
      validate();
-
 
147870
    }
-
 
147871
 
-
 
147872
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
147873
      validate();
-
 
147874
 
-
 
147875
      oprot.writeStructBegin(STRUCT_DESC);
-
 
147876
      oprot.writeFieldBegin(STORE_ID_FIELD_DESC);
-
 
147877
      oprot.writeI64(this.storeId);
-
 
147878
      oprot.writeFieldEnd();
-
 
147879
      oprot.writeFieldBegin(START_DATE_FIELD_DESC);
-
 
147880
      oprot.writeI64(this.startDate);
-
 
147881
      oprot.writeFieldEnd();
-
 
147882
      oprot.writeFieldBegin(END_DATE_FIELD_DESC);
-
 
147883
      oprot.writeI64(this.endDate);
-
 
147884
      oprot.writeFieldEnd();
-
 
147885
      oprot.writeFieldStop();
-
 
147886
      oprot.writeStructEnd();
-
 
147887
    }
-
 
147888
 
-
 
147889
    @Override
-
 
147890
    public String toString() {
-
 
147891
      StringBuilder sb = new StringBuilder("getCollectionsForStore_args(");
-
 
147892
      boolean first = true;
-
 
147893
 
-
 
147894
      sb.append("storeId:");
-
 
147895
      sb.append(this.storeId);
-
 
147896
      first = false;
-
 
147897
      if (!first) sb.append(", ");
-
 
147898
      sb.append("startDate:");
-
 
147899
      sb.append(this.startDate);
-
 
147900
      first = false;
-
 
147901
      if (!first) sb.append(", ");
-
 
147902
      sb.append("endDate:");
-
 
147903
      sb.append(this.endDate);
-
 
147904
      first = false;
-
 
147905
      sb.append(")");
-
 
147906
      return sb.toString();
-
 
147907
    }
-
 
147908
 
-
 
147909
    public void validate() throws org.apache.thrift.TException {
-
 
147910
      // check for required fields
-
 
147911
    }
-
 
147912
 
-
 
147913
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
147914
      try {
-
 
147915
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
147916
      } catch (org.apache.thrift.TException te) {
-
 
147917
        throw new java.io.IOException(te);
-
 
147918
      }
-
 
147919
    }
-
 
147920
 
-
 
147921
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
147922
      try {
-
 
147923
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
147924
        __isset_bit_vector = new BitSet(1);
-
 
147925
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
147926
      } catch (org.apache.thrift.TException te) {
-
 
147927
        throw new java.io.IOException(te);
-
 
147928
      }
-
 
147929
    }
-
 
147930
 
-
 
147931
  }
-
 
147932
 
-
 
147933
  public static class getCollectionsForStore_result implements org.apache.thrift.TBase<getCollectionsForStore_result, getCollectionsForStore_result._Fields>, java.io.Serializable, Cloneable   {
-
 
147934
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCollectionsForStore_result");
-
 
147935
 
-
 
147936
    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);
-
 
147937
 
-
 
147938
    private List<StoreOrderCollection> success; // required
-
 
147939
 
-
 
147940
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
147941
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
147942
      SUCCESS((short)0, "success");
-
 
147943
 
-
 
147944
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
147945
 
-
 
147946
      static {
-
 
147947
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
147948
          byName.put(field.getFieldName(), field);
-
 
147949
        }
-
 
147950
      }
-
 
147951
 
-
 
147952
      /**
-
 
147953
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
147954
       */
-
 
147955
      public static _Fields findByThriftId(int fieldId) {
-
 
147956
        switch(fieldId) {
-
 
147957
          case 0: // SUCCESS
-
 
147958
            return SUCCESS;
-
 
147959
          default:
-
 
147960
            return null;
-
 
147961
        }
-
 
147962
      }
-
 
147963
 
-
 
147964
      /**
-
 
147965
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
147966
       * if it is not found.
-
 
147967
       */
-
 
147968
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
147969
        _Fields fields = findByThriftId(fieldId);
-
 
147970
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
147971
        return fields;
-
 
147972
      }
-
 
147973
 
-
 
147974
      /**
-
 
147975
       * Find the _Fields constant that matches name, or null if its not found.
-
 
147976
       */
-
 
147977
      public static _Fields findByName(String name) {
-
 
147978
        return byName.get(name);
-
 
147979
      }
-
 
147980
 
-
 
147981
      private final short _thriftId;
-
 
147982
      private final String _fieldName;
-
 
147983
 
-
 
147984
      _Fields(short thriftId, String fieldName) {
-
 
147985
        _thriftId = thriftId;
-
 
147986
        _fieldName = fieldName;
-
 
147987
      }
-
 
147988
 
-
 
147989
      public short getThriftFieldId() {
-
 
147990
        return _thriftId;
-
 
147991
      }
-
 
147992
 
-
 
147993
      public String getFieldName() {
-
 
147994
        return _fieldName;
-
 
147995
      }
-
 
147996
    }
-
 
147997
 
-
 
147998
    // isset id assignments
-
 
147999
 
-
 
148000
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
148001
    static {
-
 
148002
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
148003
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
148004
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
148005
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, StoreOrderCollection.class))));
-
 
148006
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
148007
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCollectionsForStore_result.class, metaDataMap);
-
 
148008
    }
-
 
148009
 
-
 
148010
    public getCollectionsForStore_result() {
-
 
148011
    }
-
 
148012
 
-
 
148013
    public getCollectionsForStore_result(
-
 
148014
      List<StoreOrderCollection> success)
-
 
148015
    {
-
 
148016
      this();
-
 
148017
      this.success = success;
-
 
148018
    }
-
 
148019
 
-
 
148020
    /**
-
 
148021
     * Performs a deep copy on <i>other</i>.
-
 
148022
     */
-
 
148023
    public getCollectionsForStore_result(getCollectionsForStore_result other) {
-
 
148024
      if (other.isSetSuccess()) {
-
 
148025
        List<StoreOrderCollection> __this__success = new ArrayList<StoreOrderCollection>();
-
 
148026
        for (StoreOrderCollection other_element : other.success) {
-
 
148027
          __this__success.add(new StoreOrderCollection(other_element));
-
 
148028
        }
-
 
148029
        this.success = __this__success;
-
 
148030
      }
-
 
148031
    }
-
 
148032
 
-
 
148033
    public getCollectionsForStore_result deepCopy() {
-
 
148034
      return new getCollectionsForStore_result(this);
-
 
148035
    }
-
 
148036
 
-
 
148037
    @Override
-
 
148038
    public void clear() {
-
 
148039
      this.success = null;
-
 
148040
    }
-
 
148041
 
-
 
148042
    public int getSuccessSize() {
-
 
148043
      return (this.success == null) ? 0 : this.success.size();
-
 
148044
    }
-
 
148045
 
-
 
148046
    public java.util.Iterator<StoreOrderCollection> getSuccessIterator() {
-
 
148047
      return (this.success == null) ? null : this.success.iterator();
-
 
148048
    }
-
 
148049
 
-
 
148050
    public void addToSuccess(StoreOrderCollection elem) {
-
 
148051
      if (this.success == null) {
-
 
148052
        this.success = new ArrayList<StoreOrderCollection>();
-
 
148053
      }
-
 
148054
      this.success.add(elem);
-
 
148055
    }
-
 
148056
 
-
 
148057
    public List<StoreOrderCollection> getSuccess() {
-
 
148058
      return this.success;
-
 
148059
    }
-
 
148060
 
-
 
148061
    public void setSuccess(List<StoreOrderCollection> success) {
-
 
148062
      this.success = success;
-
 
148063
    }
-
 
148064
 
-
 
148065
    public void unsetSuccess() {
-
 
148066
      this.success = null;
-
 
148067
    }
-
 
148068
 
-
 
148069
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
148070
    public boolean isSetSuccess() {
-
 
148071
      return this.success != null;
-
 
148072
    }
-
 
148073
 
-
 
148074
    public void setSuccessIsSet(boolean value) {
-
 
148075
      if (!value) {
-
 
148076
        this.success = null;
-
 
148077
      }
-
 
148078
    }
-
 
148079
 
-
 
148080
    public void setFieldValue(_Fields field, Object value) {
-
 
148081
      switch (field) {
-
 
148082
      case SUCCESS:
-
 
148083
        if (value == null) {
-
 
148084
          unsetSuccess();
-
 
148085
        } else {
-
 
148086
          setSuccess((List<StoreOrderCollection>)value);
-
 
148087
        }
-
 
148088
        break;
-
 
148089
 
-
 
148090
      }
-
 
148091
    }
-
 
148092
 
-
 
148093
    public Object getFieldValue(_Fields field) {
-
 
148094
      switch (field) {
-
 
148095
      case SUCCESS:
-
 
148096
        return getSuccess();
-
 
148097
 
-
 
148098
      }
-
 
148099
      throw new IllegalStateException();
-
 
148100
    }
-
 
148101
 
-
 
148102
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
148103
    public boolean isSet(_Fields field) {
-
 
148104
      if (field == null) {
-
 
148105
        throw new IllegalArgumentException();
-
 
148106
      }
-
 
148107
 
-
 
148108
      switch (field) {
-
 
148109
      case SUCCESS:
-
 
148110
        return isSetSuccess();
-
 
148111
      }
-
 
148112
      throw new IllegalStateException();
-
 
148113
    }
-
 
148114
 
-
 
148115
    @Override
-
 
148116
    public boolean equals(Object that) {
-
 
148117
      if (that == null)
-
 
148118
        return false;
-
 
148119
      if (that instanceof getCollectionsForStore_result)
-
 
148120
        return this.equals((getCollectionsForStore_result)that);
-
 
148121
      return false;
-
 
148122
    }
-
 
148123
 
-
 
148124
    public boolean equals(getCollectionsForStore_result that) {
-
 
148125
      if (that == null)
-
 
148126
        return false;
-
 
148127
 
-
 
148128
      boolean this_present_success = true && this.isSetSuccess();
-
 
148129
      boolean that_present_success = true && that.isSetSuccess();
-
 
148130
      if (this_present_success || that_present_success) {
-
 
148131
        if (!(this_present_success && that_present_success))
-
 
148132
          return false;
-
 
148133
        if (!this.success.equals(that.success))
-
 
148134
          return false;
-
 
148135
      }
-
 
148136
 
-
 
148137
      return true;
-
 
148138
    }
-
 
148139
 
-
 
148140
    @Override
-
 
148141
    public int hashCode() {
-
 
148142
      return 0;
-
 
148143
    }
-
 
148144
 
-
 
148145
    public int compareTo(getCollectionsForStore_result other) {
-
 
148146
      if (!getClass().equals(other.getClass())) {
-
 
148147
        return getClass().getName().compareTo(other.getClass().getName());
-
 
148148
      }
-
 
148149
 
-
 
148150
      int lastComparison = 0;
-
 
148151
      getCollectionsForStore_result typedOther = (getCollectionsForStore_result)other;
-
 
148152
 
-
 
148153
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
148154
      if (lastComparison != 0) {
-
 
148155
        return lastComparison;
-
 
148156
      }
-
 
148157
      if (isSetSuccess()) {
-
 
148158
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
148159
        if (lastComparison != 0) {
-
 
148160
          return lastComparison;
-
 
148161
        }
-
 
148162
      }
-
 
148163
      return 0;
-
 
148164
    }
-
 
148165
 
-
 
148166
    public _Fields fieldForId(int fieldId) {
-
 
148167
      return _Fields.findByThriftId(fieldId);
-
 
148168
    }
-
 
148169
 
-
 
148170
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
148171
      org.apache.thrift.protocol.TField field;
-
 
148172
      iprot.readStructBegin();
-
 
148173
      while (true)
-
 
148174
      {
-
 
148175
        field = iprot.readFieldBegin();
-
 
148176
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
148177
          break;
-
 
148178
        }
-
 
148179
        switch (field.id) {
-
 
148180
          case 0: // SUCCESS
-
 
148181
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
148182
              {
-
 
148183
                org.apache.thrift.protocol.TList _list462 = iprot.readListBegin();
-
 
148184
                this.success = new ArrayList<StoreOrderCollection>(_list462.size);
-
 
148185
                for (int _i463 = 0; _i463 < _list462.size; ++_i463)
-
 
148186
                {
-
 
148187
                  StoreOrderCollection _elem464; // required
-
 
148188
                  _elem464 = new StoreOrderCollection();
-
 
148189
                  _elem464.read(iprot);
-
 
148190
                  this.success.add(_elem464);
-
 
148191
                }
-
 
148192
                iprot.readListEnd();
-
 
148193
              }
-
 
148194
            } else { 
-
 
148195
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
148196
            }
-
 
148197
            break;
-
 
148198
          default:
-
 
148199
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
148200
        }
-
 
148201
        iprot.readFieldEnd();
-
 
148202
      }
-
 
148203
      iprot.readStructEnd();
-
 
148204
      validate();
-
 
148205
    }
-
 
148206
 
-
 
148207
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
148208
      oprot.writeStructBegin(STRUCT_DESC);
-
 
148209
 
-
 
148210
      if (this.isSetSuccess()) {
-
 
148211
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
148212
        {
-
 
148213
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
148214
          for (StoreOrderCollection _iter465 : this.success)
-
 
148215
          {
-
 
148216
            _iter465.write(oprot);
-
 
148217
          }
-
 
148218
          oprot.writeListEnd();
-
 
148219
        }
-
 
148220
        oprot.writeFieldEnd();
-
 
148221
      }
-
 
148222
      oprot.writeFieldStop();
-
 
148223
      oprot.writeStructEnd();
-
 
148224
    }
-
 
148225
 
-
 
148226
    @Override
-
 
148227
    public String toString() {
-
 
148228
      StringBuilder sb = new StringBuilder("getCollectionsForStore_result(");
-
 
148229
      boolean first = true;
-
 
148230
 
-
 
148231
      sb.append("success:");
-
 
148232
      if (this.success == null) {
-
 
148233
        sb.append("null");
-
 
148234
      } else {
-
 
148235
        sb.append(this.success);
-
 
148236
      }
-
 
148237
      first = false;
-
 
148238
      sb.append(")");
-
 
148239
      return sb.toString();
-
 
148240
    }
-
 
148241
 
147367
    public void validate() throws org.apache.thrift.TException {
148242
    public void validate() throws org.apache.thrift.TException {
147368
      // check for required fields
148243
      // check for required fields
147369
    }
148244
    }
147370
 
148245
 
147371
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
148246
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {