Subversion Repositories SmartDukaan

Rev

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

Rev 22754 Rev 23069
Line 1284... Line 1284...
1284
 
1284
 
1285
    public boolean markOrderForRegisteredGstInvoice(List<Long> tranasction_ids) throws org.apache.thrift.TException;
1285
    public boolean markOrderForRegisteredGstInvoice(List<Long> tranasction_ids) throws org.apache.thrift.TException;
1286
 
1286
 
1287
    public boolean isShipmentCod(String logisticsTransactionId) throws org.apache.thrift.TException;
1287
    public boolean isShipmentCod(String logisticsTransactionId) throws org.apache.thrift.TException;
1288
 
1288
 
-
 
1289
    public List<Order> getInTransitOrdersOnDate(long closingDate) throws org.apache.thrift.TException;
-
 
1290
 
-
 
1291
    public List<Order> getInTransitOrdersOnDateByItemId(long closingDate, long itemId) throws org.apache.thrift.TException;
-
 
1292
 
1289
  }
1293
  }
1290
 
1294
 
1291
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1295
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1292
 
1296
 
1293
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
1297
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1936... Line 1940...
1936
 
1940
 
1937
    public void markOrderForRegisteredGstInvoice(List<Long> tranasction_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderForRegisteredGstInvoice_call> resultHandler) throws org.apache.thrift.TException;
1941
    public void markOrderForRegisteredGstInvoice(List<Long> tranasction_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderForRegisteredGstInvoice_call> resultHandler) throws org.apache.thrift.TException;
1938
 
1942
 
1939
    public void isShipmentCod(String logisticsTransactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isShipmentCod_call> resultHandler) throws org.apache.thrift.TException;
1943
    public void isShipmentCod(String logisticsTransactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isShipmentCod_call> resultHandler) throws org.apache.thrift.TException;
1940
 
1944
 
-
 
1945
    public void getInTransitOrdersOnDate(long closingDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getInTransitOrdersOnDate_call> resultHandler) throws org.apache.thrift.TException;
-
 
1946
 
-
 
1947
    public void getInTransitOrdersOnDateByItemId(long closingDate, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getInTransitOrdersOnDateByItemId_call> resultHandler) throws org.apache.thrift.TException;
-
 
1948
 
1941
  }
1949
  }
1942
 
1950
 
1943
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1951
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1944
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1952
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1945
      public Factory() {}
1953
      public Factory() {}
Line 9962... Line 9970...
9962
        return result.success;
9970
        return result.success;
9963
      }
9971
      }
9964
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isShipmentCod failed: unknown result");
9972
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isShipmentCod failed: unknown result");
9965
    }
9973
    }
9966
 
9974
 
-
 
9975
    public List<Order> getInTransitOrdersOnDate(long closingDate) throws org.apache.thrift.TException
-
 
9976
    {
-
 
9977
      send_getInTransitOrdersOnDate(closingDate);
-
 
9978
      return recv_getInTransitOrdersOnDate();
-
 
9979
    }
-
 
9980
 
-
 
9981
    public void send_getInTransitOrdersOnDate(long closingDate) throws org.apache.thrift.TException
-
 
9982
    {
-
 
9983
      getInTransitOrdersOnDate_args args = new getInTransitOrdersOnDate_args();
-
 
9984
      args.setClosingDate(closingDate);
-
 
9985
      sendBase("getInTransitOrdersOnDate", args);
-
 
9986
    }
-
 
9987
 
-
 
9988
    public List<Order> recv_getInTransitOrdersOnDate() throws org.apache.thrift.TException
-
 
9989
    {
-
 
9990
      getInTransitOrdersOnDate_result result = new getInTransitOrdersOnDate_result();
-
 
9991
      receiveBase(result, "getInTransitOrdersOnDate");
-
 
9992
      if (result.isSetSuccess()) {
-
 
9993
        return result.success;
-
 
9994
      }
-
 
9995
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getInTransitOrdersOnDate failed: unknown result");
-
 
9996
    }
-
 
9997
 
-
 
9998
    public List<Order> getInTransitOrdersOnDateByItemId(long closingDate, long itemId) throws org.apache.thrift.TException
-
 
9999
    {
-
 
10000
      send_getInTransitOrdersOnDateByItemId(closingDate, itemId);
-
 
10001
      return recv_getInTransitOrdersOnDateByItemId();
-
 
10002
    }
-
 
10003
 
-
 
10004
    public void send_getInTransitOrdersOnDateByItemId(long closingDate, long itemId) throws org.apache.thrift.TException
-
 
10005
    {
-
 
10006
      getInTransitOrdersOnDateByItemId_args args = new getInTransitOrdersOnDateByItemId_args();
-
 
10007
      args.setClosingDate(closingDate);
-
 
10008
      args.setItemId(itemId);
-
 
10009
      sendBase("getInTransitOrdersOnDateByItemId", args);
-
 
10010
    }
-
 
10011
 
-
 
10012
    public List<Order> recv_getInTransitOrdersOnDateByItemId() throws org.apache.thrift.TException
-
 
10013
    {
-
 
10014
      getInTransitOrdersOnDateByItemId_result result = new getInTransitOrdersOnDateByItemId_result();
-
 
10015
      receiveBase(result, "getInTransitOrdersOnDateByItemId");
-
 
10016
      if (result.isSetSuccess()) {
-
 
10017
        return result.success;
-
 
10018
      }
-
 
10019
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getInTransitOrdersOnDateByItemId failed: unknown result");
-
 
10020
    }
-
 
10021
 
9967
  }
10022
  }
9968
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
10023
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
9969
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
10024
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
9970
      private org.apache.thrift.async.TAsyncClientManager clientManager;
10025
      private org.apache.thrift.async.TAsyncClientManager clientManager;
9971
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
10026
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 21266... Line 21321...
21266
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
21321
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
21267
        return (new Client(prot)).recv_isShipmentCod();
21322
        return (new Client(prot)).recv_isShipmentCod();
21268
      }
21323
      }
21269
    }
21324
    }
21270
 
21325
 
-
 
21326
    public void getInTransitOrdersOnDate(long closingDate, org.apache.thrift.async.AsyncMethodCallback<getInTransitOrdersOnDate_call> resultHandler) throws org.apache.thrift.TException {
-
 
21327
      checkReady();
-
 
21328
      getInTransitOrdersOnDate_call method_call = new getInTransitOrdersOnDate_call(closingDate, resultHandler, this, ___protocolFactory, ___transport);
-
 
21329
      this.___currentMethod = method_call;
-
 
21330
      ___manager.call(method_call);
-
 
21331
    }
-
 
21332
 
-
 
21333
    public static class getInTransitOrdersOnDate_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
21334
      private long closingDate;
-
 
21335
      public getInTransitOrdersOnDate_call(long closingDate, org.apache.thrift.async.AsyncMethodCallback<getInTransitOrdersOnDate_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 {
-
 
21336
        super(client, protocolFactory, transport, resultHandler, false);
-
 
21337
        this.closingDate = closingDate;
-
 
21338
      }
-
 
21339
 
-
 
21340
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
21341
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getInTransitOrdersOnDate", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
21342
        getInTransitOrdersOnDate_args args = new getInTransitOrdersOnDate_args();
-
 
21343
        args.setClosingDate(closingDate);
-
 
21344
        args.write(prot);
-
 
21345
        prot.writeMessageEnd();
-
 
21346
      }
-
 
21347
 
-
 
21348
      public List<Order> getResult() throws org.apache.thrift.TException {
-
 
21349
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
21350
          throw new IllegalStateException("Method call not finished!");
-
 
21351
        }
-
 
21352
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
21353
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
21354
        return (new Client(prot)).recv_getInTransitOrdersOnDate();
-
 
21355
      }
-
 
21356
    }
-
 
21357
 
-
 
21358
    public void getInTransitOrdersOnDateByItemId(long closingDate, long itemId, org.apache.thrift.async.AsyncMethodCallback<getInTransitOrdersOnDateByItemId_call> resultHandler) throws org.apache.thrift.TException {
-
 
21359
      checkReady();
-
 
21360
      getInTransitOrdersOnDateByItemId_call method_call = new getInTransitOrdersOnDateByItemId_call(closingDate, itemId, resultHandler, this, ___protocolFactory, ___transport);
-
 
21361
      this.___currentMethod = method_call;
-
 
21362
      ___manager.call(method_call);
-
 
21363
    }
-
 
21364
 
-
 
21365
    public static class getInTransitOrdersOnDateByItemId_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
21366
      private long closingDate;
-
 
21367
      private long itemId;
-
 
21368
      public getInTransitOrdersOnDateByItemId_call(long closingDate, long itemId, org.apache.thrift.async.AsyncMethodCallback<getInTransitOrdersOnDateByItemId_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 {
-
 
21369
        super(client, protocolFactory, transport, resultHandler, false);
-
 
21370
        this.closingDate = closingDate;
-
 
21371
        this.itemId = itemId;
-
 
21372
      }
-
 
21373
 
-
 
21374
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
21375
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getInTransitOrdersOnDateByItemId", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
21376
        getInTransitOrdersOnDateByItemId_args args = new getInTransitOrdersOnDateByItemId_args();
-
 
21377
        args.setClosingDate(closingDate);
-
 
21378
        args.setItemId(itemId);
-
 
21379
        args.write(prot);
-
 
21380
        prot.writeMessageEnd();
-
 
21381
      }
-
 
21382
 
-
 
21383
      public List<Order> getResult() throws org.apache.thrift.TException {
-
 
21384
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
21385
          throw new IllegalStateException("Method call not finished!");
-
 
21386
        }
-
 
21387
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
21388
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
21389
        return (new Client(prot)).recv_getInTransitOrdersOnDateByItemId();
-
 
21390
      }
-
 
21391
    }
-
 
21392
 
21271
  }
21393
  }
21272
 
21394
 
21273
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
21395
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
21274
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
21396
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
21275
    public Processor(I iface) {
21397
    public Processor(I iface) {
Line 21603... Line 21725...
21603
      processMap.put("getmypmsaprofile", new getmypmsaprofile());
21725
      processMap.put("getmypmsaprofile", new getmypmsaprofile());
21604
      processMap.put("creditUserWallet", new creditUserWallet());
21726
      processMap.put("creditUserWallet", new creditUserWallet());
21605
      processMap.put("getPaginatedRechargeOrders", new getPaginatedRechargeOrders());
21727
      processMap.put("getPaginatedRechargeOrders", new getPaginatedRechargeOrders());
21606
      processMap.put("markOrderForRegisteredGstInvoice", new markOrderForRegisteredGstInvoice());
21728
      processMap.put("markOrderForRegisteredGstInvoice", new markOrderForRegisteredGstInvoice());
21607
      processMap.put("isShipmentCod", new isShipmentCod());
21729
      processMap.put("isShipmentCod", new isShipmentCod());
-
 
21730
      processMap.put("getInTransitOrdersOnDate", new getInTransitOrdersOnDate());
-
 
21731
      processMap.put("getInTransitOrdersOnDateByItemId", new getInTransitOrdersOnDateByItemId());
21608
      return processMap;
21732
      return processMap;
21609
    }
21733
    }
21610
 
21734
 
21611
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
21735
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
21612
      public createTransaction() {
21736
      public createTransaction() {
Line 27432... Line 27556...
27432
        result.setSuccessIsSet(true);
27556
        result.setSuccessIsSet(true);
27433
        return result;
27557
        return result;
27434
      }
27558
      }
27435
    }
27559
    }
27436
 
27560
 
-
 
27561
    private static class getInTransitOrdersOnDate<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getInTransitOrdersOnDate_args> {
-
 
27562
      public getInTransitOrdersOnDate() {
-
 
27563
        super("getInTransitOrdersOnDate");
-
 
27564
      }
-
 
27565
 
-
 
27566
      protected getInTransitOrdersOnDate_args getEmptyArgsInstance() {
-
 
27567
        return new getInTransitOrdersOnDate_args();
-
 
27568
      }
-
 
27569
 
-
 
27570
      protected getInTransitOrdersOnDate_result getResult(I iface, getInTransitOrdersOnDate_args args) throws org.apache.thrift.TException {
-
 
27571
        getInTransitOrdersOnDate_result result = new getInTransitOrdersOnDate_result();
-
 
27572
        result.success = iface.getInTransitOrdersOnDate(args.closingDate);
-
 
27573
        return result;
-
 
27574
      }
-
 
27575
    }
-
 
27576
 
-
 
27577
    private static class getInTransitOrdersOnDateByItemId<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getInTransitOrdersOnDateByItemId_args> {
-
 
27578
      public getInTransitOrdersOnDateByItemId() {
-
 
27579
        super("getInTransitOrdersOnDateByItemId");
-
 
27580
      }
-
 
27581
 
-
 
27582
      protected getInTransitOrdersOnDateByItemId_args getEmptyArgsInstance() {
-
 
27583
        return new getInTransitOrdersOnDateByItemId_args();
-
 
27584
      }
-
 
27585
 
-
 
27586
      protected getInTransitOrdersOnDateByItemId_result getResult(I iface, getInTransitOrdersOnDateByItemId_args args) throws org.apache.thrift.TException {
-
 
27587
        getInTransitOrdersOnDateByItemId_result result = new getInTransitOrdersOnDateByItemId_result();
-
 
27588
        result.success = iface.getInTransitOrdersOnDateByItemId(args.closingDate, args.itemId);
-
 
27589
        return result;
-
 
27590
      }
-
 
27591
    }
-
 
27592
 
27437
  }
27593
  }
27438
 
27594
 
27439
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
27595
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
27440
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
27596
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
27441
 
27597
 
Line 79637... Line 79793...
79637
      }
79793
      }
79638
    }
79794
    }
79639
 
79795
 
79640
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
79796
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
79641
      try {
79797
      try {
-
 
79798
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
79799
        __isset_bit_vector = new BitSet(1);
79642
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
79800
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
79643
      } catch (org.apache.thrift.TException te) {
79801
      } catch (org.apache.thrift.TException te) {
79644
        throw new java.io.IOException(te);
79802
        throw new java.io.IOException(te);
79645
      }
79803
      }
79646
    }
79804
    }
Line 258245... Line 258403...
258245
      first = false;
258403
      first = false;
258246
      sb.append(")");
258404
      sb.append(")");
258247
      return sb.toString();
258405
      return sb.toString();
258248
    }
258406
    }
258249
 
258407
 
-
 
258408
    public void validate() throws org.apache.thrift.TException {
-
 
258409
      // check for required fields
-
 
258410
    }
-
 
258411
 
-
 
258412
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
258413
      try {
-
 
258414
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
258415
      } catch (org.apache.thrift.TException te) {
-
 
258416
        throw new java.io.IOException(te);
-
 
258417
      }
-
 
258418
    }
-
 
258419
 
-
 
258420
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
258421
      try {
-
 
258422
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
258423
      } catch (org.apache.thrift.TException te) {
-
 
258424
        throw new java.io.IOException(te);
-
 
258425
      }
-
 
258426
    }
-
 
258427
 
-
 
258428
  }
-
 
258429
 
-
 
258430
  public static class getInTransitOrdersOnDate_args implements org.apache.thrift.TBase<getInTransitOrdersOnDate_args, getInTransitOrdersOnDate_args._Fields>, java.io.Serializable, Cloneable   {
-
 
258431
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getInTransitOrdersOnDate_args");
-
 
258432
 
-
 
258433
    private static final org.apache.thrift.protocol.TField CLOSING_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("closingDate", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
258434
 
-
 
258435
    private long closingDate; // required
-
 
258436
 
-
 
258437
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
258438
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
258439
      CLOSING_DATE((short)1, "closingDate");
-
 
258440
 
-
 
258441
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
258442
 
-
 
258443
      static {
-
 
258444
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
258445
          byName.put(field.getFieldName(), field);
-
 
258446
        }
-
 
258447
      }
-
 
258448
 
-
 
258449
      /**
-
 
258450
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
258451
       */
-
 
258452
      public static _Fields findByThriftId(int fieldId) {
-
 
258453
        switch(fieldId) {
-
 
258454
          case 1: // CLOSING_DATE
-
 
258455
            return CLOSING_DATE;
-
 
258456
          default:
-
 
258457
            return null;
-
 
258458
        }
-
 
258459
      }
-
 
258460
 
-
 
258461
      /**
-
 
258462
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
258463
       * if it is not found.
-
 
258464
       */
-
 
258465
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
258466
        _Fields fields = findByThriftId(fieldId);
-
 
258467
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
258468
        return fields;
-
 
258469
      }
-
 
258470
 
-
 
258471
      /**
-
 
258472
       * Find the _Fields constant that matches name, or null if its not found.
-
 
258473
       */
-
 
258474
      public static _Fields findByName(String name) {
-
 
258475
        return byName.get(name);
-
 
258476
      }
-
 
258477
 
-
 
258478
      private final short _thriftId;
-
 
258479
      private final String _fieldName;
-
 
258480
 
-
 
258481
      _Fields(short thriftId, String fieldName) {
-
 
258482
        _thriftId = thriftId;
-
 
258483
        _fieldName = fieldName;
-
 
258484
      }
-
 
258485
 
-
 
258486
      public short getThriftFieldId() {
-
 
258487
        return _thriftId;
-
 
258488
      }
-
 
258489
 
-
 
258490
      public String getFieldName() {
-
 
258491
        return _fieldName;
-
 
258492
      }
-
 
258493
    }
-
 
258494
 
-
 
258495
    // isset id assignments
-
 
258496
    private static final int __CLOSINGDATE_ISSET_ID = 0;
-
 
258497
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
258498
 
-
 
258499
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
258500
    static {
-
 
258501
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
258502
      tmpMap.put(_Fields.CLOSING_DATE, new org.apache.thrift.meta_data.FieldMetaData("closingDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
258503
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
258504
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
258505
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getInTransitOrdersOnDate_args.class, metaDataMap);
-
 
258506
    }
-
 
258507
 
-
 
258508
    public getInTransitOrdersOnDate_args() {
-
 
258509
    }
-
 
258510
 
-
 
258511
    public getInTransitOrdersOnDate_args(
-
 
258512
      long closingDate)
-
 
258513
    {
-
 
258514
      this();
-
 
258515
      this.closingDate = closingDate;
-
 
258516
      setClosingDateIsSet(true);
-
 
258517
    }
-
 
258518
 
-
 
258519
    /**
-
 
258520
     * Performs a deep copy on <i>other</i>.
-
 
258521
     */
-
 
258522
    public getInTransitOrdersOnDate_args(getInTransitOrdersOnDate_args other) {
-
 
258523
      __isset_bit_vector.clear();
-
 
258524
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
258525
      this.closingDate = other.closingDate;
-
 
258526
    }
-
 
258527
 
-
 
258528
    public getInTransitOrdersOnDate_args deepCopy() {
-
 
258529
      return new getInTransitOrdersOnDate_args(this);
-
 
258530
    }
-
 
258531
 
-
 
258532
    @Override
-
 
258533
    public void clear() {
-
 
258534
      setClosingDateIsSet(false);
-
 
258535
      this.closingDate = 0;
-
 
258536
    }
-
 
258537
 
-
 
258538
    public long getClosingDate() {
-
 
258539
      return this.closingDate;
-
 
258540
    }
-
 
258541
 
-
 
258542
    public void setClosingDate(long closingDate) {
-
 
258543
      this.closingDate = closingDate;
-
 
258544
      setClosingDateIsSet(true);
-
 
258545
    }
-
 
258546
 
-
 
258547
    public void unsetClosingDate() {
-
 
258548
      __isset_bit_vector.clear(__CLOSINGDATE_ISSET_ID);
-
 
258549
    }
-
 
258550
 
-
 
258551
    /** Returns true if field closingDate is set (has been assigned a value) and false otherwise */
-
 
258552
    public boolean isSetClosingDate() {
-
 
258553
      return __isset_bit_vector.get(__CLOSINGDATE_ISSET_ID);
-
 
258554
    }
-
 
258555
 
-
 
258556
    public void setClosingDateIsSet(boolean value) {
-
 
258557
      __isset_bit_vector.set(__CLOSINGDATE_ISSET_ID, value);
-
 
258558
    }
-
 
258559
 
-
 
258560
    public void setFieldValue(_Fields field, Object value) {
-
 
258561
      switch (field) {
-
 
258562
      case CLOSING_DATE:
-
 
258563
        if (value == null) {
-
 
258564
          unsetClosingDate();
-
 
258565
        } else {
-
 
258566
          setClosingDate((Long)value);
-
 
258567
        }
-
 
258568
        break;
-
 
258569
 
-
 
258570
      }
-
 
258571
    }
-
 
258572
 
-
 
258573
    public Object getFieldValue(_Fields field) {
-
 
258574
      switch (field) {
-
 
258575
      case CLOSING_DATE:
-
 
258576
        return Long.valueOf(getClosingDate());
-
 
258577
 
-
 
258578
      }
-
 
258579
      throw new IllegalStateException();
-
 
258580
    }
-
 
258581
 
-
 
258582
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
258583
    public boolean isSet(_Fields field) {
-
 
258584
      if (field == null) {
-
 
258585
        throw new IllegalArgumentException();
-
 
258586
      }
-
 
258587
 
-
 
258588
      switch (field) {
-
 
258589
      case CLOSING_DATE:
-
 
258590
        return isSetClosingDate();
-
 
258591
      }
-
 
258592
      throw new IllegalStateException();
-
 
258593
    }
-
 
258594
 
-
 
258595
    @Override
-
 
258596
    public boolean equals(Object that) {
-
 
258597
      if (that == null)
-
 
258598
        return false;
-
 
258599
      if (that instanceof getInTransitOrdersOnDate_args)
-
 
258600
        return this.equals((getInTransitOrdersOnDate_args)that);
-
 
258601
      return false;
-
 
258602
    }
-
 
258603
 
-
 
258604
    public boolean equals(getInTransitOrdersOnDate_args that) {
-
 
258605
      if (that == null)
-
 
258606
        return false;
-
 
258607
 
-
 
258608
      boolean this_present_closingDate = true;
-
 
258609
      boolean that_present_closingDate = true;
-
 
258610
      if (this_present_closingDate || that_present_closingDate) {
-
 
258611
        if (!(this_present_closingDate && that_present_closingDate))
-
 
258612
          return false;
-
 
258613
        if (this.closingDate != that.closingDate)
-
 
258614
          return false;
-
 
258615
      }
-
 
258616
 
-
 
258617
      return true;
-
 
258618
    }
-
 
258619
 
-
 
258620
    @Override
-
 
258621
    public int hashCode() {
-
 
258622
      return 0;
-
 
258623
    }
-
 
258624
 
-
 
258625
    public int compareTo(getInTransitOrdersOnDate_args other) {
-
 
258626
      if (!getClass().equals(other.getClass())) {
-
 
258627
        return getClass().getName().compareTo(other.getClass().getName());
-
 
258628
      }
-
 
258629
 
-
 
258630
      int lastComparison = 0;
-
 
258631
      getInTransitOrdersOnDate_args typedOther = (getInTransitOrdersOnDate_args)other;
-
 
258632
 
-
 
258633
      lastComparison = Boolean.valueOf(isSetClosingDate()).compareTo(typedOther.isSetClosingDate());
-
 
258634
      if (lastComparison != 0) {
-
 
258635
        return lastComparison;
-
 
258636
      }
-
 
258637
      if (isSetClosingDate()) {
-
 
258638
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.closingDate, typedOther.closingDate);
-
 
258639
        if (lastComparison != 0) {
-
 
258640
          return lastComparison;
-
 
258641
        }
-
 
258642
      }
-
 
258643
      return 0;
-
 
258644
    }
-
 
258645
 
-
 
258646
    public _Fields fieldForId(int fieldId) {
-
 
258647
      return _Fields.findByThriftId(fieldId);
-
 
258648
    }
-
 
258649
 
-
 
258650
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
258651
      org.apache.thrift.protocol.TField field;
-
 
258652
      iprot.readStructBegin();
-
 
258653
      while (true)
-
 
258654
      {
-
 
258655
        field = iprot.readFieldBegin();
-
 
258656
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
258657
          break;
-
 
258658
        }
-
 
258659
        switch (field.id) {
-
 
258660
          case 1: // CLOSING_DATE
-
 
258661
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
258662
              this.closingDate = iprot.readI64();
-
 
258663
              setClosingDateIsSet(true);
-
 
258664
            } else { 
-
 
258665
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
258666
            }
-
 
258667
            break;
-
 
258668
          default:
-
 
258669
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
258670
        }
-
 
258671
        iprot.readFieldEnd();
-
 
258672
      }
-
 
258673
      iprot.readStructEnd();
-
 
258674
      validate();
-
 
258675
    }
-
 
258676
 
-
 
258677
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
258678
      validate();
-
 
258679
 
-
 
258680
      oprot.writeStructBegin(STRUCT_DESC);
-
 
258681
      oprot.writeFieldBegin(CLOSING_DATE_FIELD_DESC);
-
 
258682
      oprot.writeI64(this.closingDate);
-
 
258683
      oprot.writeFieldEnd();
-
 
258684
      oprot.writeFieldStop();
-
 
258685
      oprot.writeStructEnd();
-
 
258686
    }
-
 
258687
 
-
 
258688
    @Override
-
 
258689
    public String toString() {
-
 
258690
      StringBuilder sb = new StringBuilder("getInTransitOrdersOnDate_args(");
-
 
258691
      boolean first = true;
-
 
258692
 
-
 
258693
      sb.append("closingDate:");
-
 
258694
      sb.append(this.closingDate);
-
 
258695
      first = false;
-
 
258696
      sb.append(")");
-
 
258697
      return sb.toString();
-
 
258698
    }
-
 
258699
 
-
 
258700
    public void validate() throws org.apache.thrift.TException {
-
 
258701
      // check for required fields
-
 
258702
    }
-
 
258703
 
-
 
258704
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
258705
      try {
-
 
258706
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
258707
      } catch (org.apache.thrift.TException te) {
-
 
258708
        throw new java.io.IOException(te);
-
 
258709
      }
-
 
258710
    }
-
 
258711
 
-
 
258712
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
258713
      try {
-
 
258714
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
258715
        __isset_bit_vector = new BitSet(1);
-
 
258716
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
258717
      } catch (org.apache.thrift.TException te) {
-
 
258718
        throw new java.io.IOException(te);
-
 
258719
      }
-
 
258720
    }
-
 
258721
 
-
 
258722
  }
-
 
258723
 
-
 
258724
  public static class getInTransitOrdersOnDate_result implements org.apache.thrift.TBase<getInTransitOrdersOnDate_result, getInTransitOrdersOnDate_result._Fields>, java.io.Serializable, Cloneable   {
-
 
258725
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getInTransitOrdersOnDate_result");
-
 
258726
 
-
 
258727
    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);
-
 
258728
 
-
 
258729
    private List<Order> success; // required
-
 
258730
 
-
 
258731
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
258732
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
258733
      SUCCESS((short)0, "success");
-
 
258734
 
-
 
258735
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
258736
 
-
 
258737
      static {
-
 
258738
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
258739
          byName.put(field.getFieldName(), field);
-
 
258740
        }
-
 
258741
      }
-
 
258742
 
-
 
258743
      /**
-
 
258744
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
258745
       */
-
 
258746
      public static _Fields findByThriftId(int fieldId) {
-
 
258747
        switch(fieldId) {
-
 
258748
          case 0: // SUCCESS
-
 
258749
            return SUCCESS;
-
 
258750
          default:
-
 
258751
            return null;
-
 
258752
        }
-
 
258753
      }
-
 
258754
 
-
 
258755
      /**
-
 
258756
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
258757
       * if it is not found.
-
 
258758
       */
-
 
258759
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
258760
        _Fields fields = findByThriftId(fieldId);
-
 
258761
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
258762
        return fields;
-
 
258763
      }
-
 
258764
 
-
 
258765
      /**
-
 
258766
       * Find the _Fields constant that matches name, or null if its not found.
-
 
258767
       */
-
 
258768
      public static _Fields findByName(String name) {
-
 
258769
        return byName.get(name);
-
 
258770
      }
-
 
258771
 
-
 
258772
      private final short _thriftId;
-
 
258773
      private final String _fieldName;
-
 
258774
 
-
 
258775
      _Fields(short thriftId, String fieldName) {
-
 
258776
        _thriftId = thriftId;
-
 
258777
        _fieldName = fieldName;
-
 
258778
      }
-
 
258779
 
-
 
258780
      public short getThriftFieldId() {
-
 
258781
        return _thriftId;
-
 
258782
      }
-
 
258783
 
-
 
258784
      public String getFieldName() {
-
 
258785
        return _fieldName;
-
 
258786
      }
-
 
258787
    }
-
 
258788
 
-
 
258789
    // isset id assignments
-
 
258790
 
-
 
258791
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
258792
    static {
-
 
258793
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
258794
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
258795
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
258796
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
258797
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
258798
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getInTransitOrdersOnDate_result.class, metaDataMap);
-
 
258799
    }
-
 
258800
 
-
 
258801
    public getInTransitOrdersOnDate_result() {
-
 
258802
    }
-
 
258803
 
-
 
258804
    public getInTransitOrdersOnDate_result(
-
 
258805
      List<Order> success)
-
 
258806
    {
-
 
258807
      this();
-
 
258808
      this.success = success;
-
 
258809
    }
-
 
258810
 
-
 
258811
    /**
-
 
258812
     * Performs a deep copy on <i>other</i>.
-
 
258813
     */
-
 
258814
    public getInTransitOrdersOnDate_result(getInTransitOrdersOnDate_result other) {
-
 
258815
      if (other.isSetSuccess()) {
-
 
258816
        List<Order> __this__success = new ArrayList<Order>();
-
 
258817
        for (Order other_element : other.success) {
-
 
258818
          __this__success.add(new Order(other_element));
-
 
258819
        }
-
 
258820
        this.success = __this__success;
-
 
258821
      }
-
 
258822
    }
-
 
258823
 
-
 
258824
    public getInTransitOrdersOnDate_result deepCopy() {
-
 
258825
      return new getInTransitOrdersOnDate_result(this);
-
 
258826
    }
-
 
258827
 
-
 
258828
    @Override
-
 
258829
    public void clear() {
-
 
258830
      this.success = null;
-
 
258831
    }
-
 
258832
 
-
 
258833
    public int getSuccessSize() {
-
 
258834
      return (this.success == null) ? 0 : this.success.size();
-
 
258835
    }
-
 
258836
 
-
 
258837
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
258838
      return (this.success == null) ? null : this.success.iterator();
-
 
258839
    }
-
 
258840
 
-
 
258841
    public void addToSuccess(Order elem) {
-
 
258842
      if (this.success == null) {
-
 
258843
        this.success = new ArrayList<Order>();
-
 
258844
      }
-
 
258845
      this.success.add(elem);
-
 
258846
    }
-
 
258847
 
-
 
258848
    public List<Order> getSuccess() {
-
 
258849
      return this.success;
-
 
258850
    }
-
 
258851
 
-
 
258852
    public void setSuccess(List<Order> success) {
-
 
258853
      this.success = success;
-
 
258854
    }
-
 
258855
 
-
 
258856
    public void unsetSuccess() {
-
 
258857
      this.success = null;
-
 
258858
    }
-
 
258859
 
-
 
258860
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
258861
    public boolean isSetSuccess() {
-
 
258862
      return this.success != null;
-
 
258863
    }
-
 
258864
 
-
 
258865
    public void setSuccessIsSet(boolean value) {
-
 
258866
      if (!value) {
-
 
258867
        this.success = null;
-
 
258868
      }
-
 
258869
    }
-
 
258870
 
-
 
258871
    public void setFieldValue(_Fields field, Object value) {
-
 
258872
      switch (field) {
-
 
258873
      case SUCCESS:
-
 
258874
        if (value == null) {
-
 
258875
          unsetSuccess();
-
 
258876
        } else {
-
 
258877
          setSuccess((List<Order>)value);
-
 
258878
        }
-
 
258879
        break;
-
 
258880
 
-
 
258881
      }
-
 
258882
    }
-
 
258883
 
-
 
258884
    public Object getFieldValue(_Fields field) {
-
 
258885
      switch (field) {
-
 
258886
      case SUCCESS:
-
 
258887
        return getSuccess();
-
 
258888
 
-
 
258889
      }
-
 
258890
      throw new IllegalStateException();
-
 
258891
    }
-
 
258892
 
-
 
258893
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
258894
    public boolean isSet(_Fields field) {
-
 
258895
      if (field == null) {
-
 
258896
        throw new IllegalArgumentException();
-
 
258897
      }
-
 
258898
 
-
 
258899
      switch (field) {
-
 
258900
      case SUCCESS:
-
 
258901
        return isSetSuccess();
-
 
258902
      }
-
 
258903
      throw new IllegalStateException();
-
 
258904
    }
-
 
258905
 
-
 
258906
    @Override
-
 
258907
    public boolean equals(Object that) {
-
 
258908
      if (that == null)
-
 
258909
        return false;
-
 
258910
      if (that instanceof getInTransitOrdersOnDate_result)
-
 
258911
        return this.equals((getInTransitOrdersOnDate_result)that);
-
 
258912
      return false;
-
 
258913
    }
-
 
258914
 
-
 
258915
    public boolean equals(getInTransitOrdersOnDate_result that) {
-
 
258916
      if (that == null)
-
 
258917
        return false;
-
 
258918
 
-
 
258919
      boolean this_present_success = true && this.isSetSuccess();
-
 
258920
      boolean that_present_success = true && that.isSetSuccess();
-
 
258921
      if (this_present_success || that_present_success) {
-
 
258922
        if (!(this_present_success && that_present_success))
-
 
258923
          return false;
-
 
258924
        if (!this.success.equals(that.success))
-
 
258925
          return false;
-
 
258926
      }
-
 
258927
 
-
 
258928
      return true;
-
 
258929
    }
-
 
258930
 
-
 
258931
    @Override
-
 
258932
    public int hashCode() {
-
 
258933
      return 0;
-
 
258934
    }
-
 
258935
 
-
 
258936
    public int compareTo(getInTransitOrdersOnDate_result other) {
-
 
258937
      if (!getClass().equals(other.getClass())) {
-
 
258938
        return getClass().getName().compareTo(other.getClass().getName());
-
 
258939
      }
-
 
258940
 
-
 
258941
      int lastComparison = 0;
-
 
258942
      getInTransitOrdersOnDate_result typedOther = (getInTransitOrdersOnDate_result)other;
-
 
258943
 
-
 
258944
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
258945
      if (lastComparison != 0) {
-
 
258946
        return lastComparison;
-
 
258947
      }
-
 
258948
      if (isSetSuccess()) {
-
 
258949
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
258950
        if (lastComparison != 0) {
-
 
258951
          return lastComparison;
-
 
258952
        }
-
 
258953
      }
-
 
258954
      return 0;
-
 
258955
    }
-
 
258956
 
-
 
258957
    public _Fields fieldForId(int fieldId) {
-
 
258958
      return _Fields.findByThriftId(fieldId);
-
 
258959
    }
-
 
258960
 
-
 
258961
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
258962
      org.apache.thrift.protocol.TField field;
-
 
258963
      iprot.readStructBegin();
-
 
258964
      while (true)
-
 
258965
      {
-
 
258966
        field = iprot.readFieldBegin();
-
 
258967
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
258968
          break;
-
 
258969
        }
-
 
258970
        switch (field.id) {
-
 
258971
          case 0: // SUCCESS
-
 
258972
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
258973
              {
-
 
258974
                org.apache.thrift.protocol.TList _list885 = iprot.readListBegin();
-
 
258975
                this.success = new ArrayList<Order>(_list885.size);
-
 
258976
                for (int _i886 = 0; _i886 < _list885.size; ++_i886)
-
 
258977
                {
-
 
258978
                  Order _elem887; // required
-
 
258979
                  _elem887 = new Order();
-
 
258980
                  _elem887.read(iprot);
-
 
258981
                  this.success.add(_elem887);
-
 
258982
                }
-
 
258983
                iprot.readListEnd();
-
 
258984
              }
-
 
258985
            } else { 
-
 
258986
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
258987
            }
-
 
258988
            break;
-
 
258989
          default:
-
 
258990
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
258991
        }
-
 
258992
        iprot.readFieldEnd();
-
 
258993
      }
-
 
258994
      iprot.readStructEnd();
-
 
258995
      validate();
-
 
258996
    }
-
 
258997
 
-
 
258998
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
258999
      oprot.writeStructBegin(STRUCT_DESC);
-
 
259000
 
-
 
259001
      if (this.isSetSuccess()) {
-
 
259002
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
259003
        {
-
 
259004
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
259005
          for (Order _iter888 : this.success)
-
 
259006
          {
-
 
259007
            _iter888.write(oprot);
-
 
259008
          }
-
 
259009
          oprot.writeListEnd();
-
 
259010
        }
-
 
259011
        oprot.writeFieldEnd();
-
 
259012
      }
-
 
259013
      oprot.writeFieldStop();
-
 
259014
      oprot.writeStructEnd();
-
 
259015
    }
-
 
259016
 
-
 
259017
    @Override
-
 
259018
    public String toString() {
-
 
259019
      StringBuilder sb = new StringBuilder("getInTransitOrdersOnDate_result(");
-
 
259020
      boolean first = true;
-
 
259021
 
-
 
259022
      sb.append("success:");
-
 
259023
      if (this.success == null) {
-
 
259024
        sb.append("null");
-
 
259025
      } else {
-
 
259026
        sb.append(this.success);
-
 
259027
      }
-
 
259028
      first = false;
-
 
259029
      sb.append(")");
-
 
259030
      return sb.toString();
-
 
259031
    }
-
 
259032
 
-
 
259033
    public void validate() throws org.apache.thrift.TException {
-
 
259034
      // check for required fields
-
 
259035
    }
-
 
259036
 
-
 
259037
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
259038
      try {
-
 
259039
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
259040
      } catch (org.apache.thrift.TException te) {
-
 
259041
        throw new java.io.IOException(te);
-
 
259042
      }
-
 
259043
    }
-
 
259044
 
-
 
259045
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
259046
      try {
-
 
259047
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
259048
      } catch (org.apache.thrift.TException te) {
-
 
259049
        throw new java.io.IOException(te);
-
 
259050
      }
-
 
259051
    }
-
 
259052
 
-
 
259053
  }
-
 
259054
 
-
 
259055
  public static class getInTransitOrdersOnDateByItemId_args implements org.apache.thrift.TBase<getInTransitOrdersOnDateByItemId_args, getInTransitOrdersOnDateByItemId_args._Fields>, java.io.Serializable, Cloneable   {
-
 
259056
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getInTransitOrdersOnDateByItemId_args");
-
 
259057
 
-
 
259058
    private static final org.apache.thrift.protocol.TField CLOSING_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("closingDate", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
259059
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
259060
 
-
 
259061
    private long closingDate; // required
-
 
259062
    private long itemId; // required
-
 
259063
 
-
 
259064
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
259065
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
259066
      CLOSING_DATE((short)1, "closingDate"),
-
 
259067
      ITEM_ID((short)2, "itemId");
-
 
259068
 
-
 
259069
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
259070
 
-
 
259071
      static {
-
 
259072
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
259073
          byName.put(field.getFieldName(), field);
-
 
259074
        }
-
 
259075
      }
-
 
259076
 
-
 
259077
      /**
-
 
259078
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
259079
       */
-
 
259080
      public static _Fields findByThriftId(int fieldId) {
-
 
259081
        switch(fieldId) {
-
 
259082
          case 1: // CLOSING_DATE
-
 
259083
            return CLOSING_DATE;
-
 
259084
          case 2: // ITEM_ID
-
 
259085
            return ITEM_ID;
-
 
259086
          default:
-
 
259087
            return null;
-
 
259088
        }
-
 
259089
      }
-
 
259090
 
-
 
259091
      /**
-
 
259092
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
259093
       * if it is not found.
-
 
259094
       */
-
 
259095
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
259096
        _Fields fields = findByThriftId(fieldId);
-
 
259097
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
259098
        return fields;
-
 
259099
      }
-
 
259100
 
-
 
259101
      /**
-
 
259102
       * Find the _Fields constant that matches name, or null if its not found.
-
 
259103
       */
-
 
259104
      public static _Fields findByName(String name) {
-
 
259105
        return byName.get(name);
-
 
259106
      }
-
 
259107
 
-
 
259108
      private final short _thriftId;
-
 
259109
      private final String _fieldName;
-
 
259110
 
-
 
259111
      _Fields(short thriftId, String fieldName) {
-
 
259112
        _thriftId = thriftId;
-
 
259113
        _fieldName = fieldName;
-
 
259114
      }
-
 
259115
 
-
 
259116
      public short getThriftFieldId() {
-
 
259117
        return _thriftId;
-
 
259118
      }
-
 
259119
 
-
 
259120
      public String getFieldName() {
-
 
259121
        return _fieldName;
-
 
259122
      }
-
 
259123
    }
-
 
259124
 
-
 
259125
    // isset id assignments
-
 
259126
    private static final int __CLOSINGDATE_ISSET_ID = 0;
-
 
259127
    private static final int __ITEMID_ISSET_ID = 1;
-
 
259128
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
259129
 
-
 
259130
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
259131
    static {
-
 
259132
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
259133
      tmpMap.put(_Fields.CLOSING_DATE, new org.apache.thrift.meta_data.FieldMetaData("closingDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
259134
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
259135
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
259136
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
259137
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
259138
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getInTransitOrdersOnDateByItemId_args.class, metaDataMap);
-
 
259139
    }
-
 
259140
 
-
 
259141
    public getInTransitOrdersOnDateByItemId_args() {
-
 
259142
    }
-
 
259143
 
-
 
259144
    public getInTransitOrdersOnDateByItemId_args(
-
 
259145
      long closingDate,
-
 
259146
      long itemId)
-
 
259147
    {
-
 
259148
      this();
-
 
259149
      this.closingDate = closingDate;
-
 
259150
      setClosingDateIsSet(true);
-
 
259151
      this.itemId = itemId;
-
 
259152
      setItemIdIsSet(true);
-
 
259153
    }
-
 
259154
 
-
 
259155
    /**
-
 
259156
     * Performs a deep copy on <i>other</i>.
-
 
259157
     */
-
 
259158
    public getInTransitOrdersOnDateByItemId_args(getInTransitOrdersOnDateByItemId_args other) {
-
 
259159
      __isset_bit_vector.clear();
-
 
259160
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
259161
      this.closingDate = other.closingDate;
-
 
259162
      this.itemId = other.itemId;
-
 
259163
    }
-
 
259164
 
-
 
259165
    public getInTransitOrdersOnDateByItemId_args deepCopy() {
-
 
259166
      return new getInTransitOrdersOnDateByItemId_args(this);
-
 
259167
    }
-
 
259168
 
-
 
259169
    @Override
-
 
259170
    public void clear() {
-
 
259171
      setClosingDateIsSet(false);
-
 
259172
      this.closingDate = 0;
-
 
259173
      setItemIdIsSet(false);
-
 
259174
      this.itemId = 0;
-
 
259175
    }
-
 
259176
 
-
 
259177
    public long getClosingDate() {
-
 
259178
      return this.closingDate;
-
 
259179
    }
-
 
259180
 
-
 
259181
    public void setClosingDate(long closingDate) {
-
 
259182
      this.closingDate = closingDate;
-
 
259183
      setClosingDateIsSet(true);
-
 
259184
    }
-
 
259185
 
-
 
259186
    public void unsetClosingDate() {
-
 
259187
      __isset_bit_vector.clear(__CLOSINGDATE_ISSET_ID);
-
 
259188
    }
-
 
259189
 
-
 
259190
    /** Returns true if field closingDate is set (has been assigned a value) and false otherwise */
-
 
259191
    public boolean isSetClosingDate() {
-
 
259192
      return __isset_bit_vector.get(__CLOSINGDATE_ISSET_ID);
-
 
259193
    }
-
 
259194
 
-
 
259195
    public void setClosingDateIsSet(boolean value) {
-
 
259196
      __isset_bit_vector.set(__CLOSINGDATE_ISSET_ID, value);
-
 
259197
    }
-
 
259198
 
-
 
259199
    public long getItemId() {
-
 
259200
      return this.itemId;
-
 
259201
    }
-
 
259202
 
-
 
259203
    public void setItemId(long itemId) {
-
 
259204
      this.itemId = itemId;
-
 
259205
      setItemIdIsSet(true);
-
 
259206
    }
-
 
259207
 
-
 
259208
    public void unsetItemId() {
-
 
259209
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
259210
    }
-
 
259211
 
-
 
259212
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
259213
    public boolean isSetItemId() {
-
 
259214
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
259215
    }
-
 
259216
 
-
 
259217
    public void setItemIdIsSet(boolean value) {
-
 
259218
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
259219
    }
-
 
259220
 
-
 
259221
    public void setFieldValue(_Fields field, Object value) {
-
 
259222
      switch (field) {
-
 
259223
      case CLOSING_DATE:
-
 
259224
        if (value == null) {
-
 
259225
          unsetClosingDate();
-
 
259226
        } else {
-
 
259227
          setClosingDate((Long)value);
-
 
259228
        }
-
 
259229
        break;
-
 
259230
 
-
 
259231
      case ITEM_ID:
-
 
259232
        if (value == null) {
-
 
259233
          unsetItemId();
-
 
259234
        } else {
-
 
259235
          setItemId((Long)value);
-
 
259236
        }
-
 
259237
        break;
-
 
259238
 
-
 
259239
      }
-
 
259240
    }
-
 
259241
 
-
 
259242
    public Object getFieldValue(_Fields field) {
-
 
259243
      switch (field) {
-
 
259244
      case CLOSING_DATE:
-
 
259245
        return Long.valueOf(getClosingDate());
-
 
259246
 
-
 
259247
      case ITEM_ID:
-
 
259248
        return Long.valueOf(getItemId());
-
 
259249
 
-
 
259250
      }
-
 
259251
      throw new IllegalStateException();
-
 
259252
    }
-
 
259253
 
-
 
259254
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
259255
    public boolean isSet(_Fields field) {
-
 
259256
      if (field == null) {
-
 
259257
        throw new IllegalArgumentException();
-
 
259258
      }
-
 
259259
 
-
 
259260
      switch (field) {
-
 
259261
      case CLOSING_DATE:
-
 
259262
        return isSetClosingDate();
-
 
259263
      case ITEM_ID:
-
 
259264
        return isSetItemId();
-
 
259265
      }
-
 
259266
      throw new IllegalStateException();
-
 
259267
    }
-
 
259268
 
-
 
259269
    @Override
-
 
259270
    public boolean equals(Object that) {
-
 
259271
      if (that == null)
-
 
259272
        return false;
-
 
259273
      if (that instanceof getInTransitOrdersOnDateByItemId_args)
-
 
259274
        return this.equals((getInTransitOrdersOnDateByItemId_args)that);
-
 
259275
      return false;
-
 
259276
    }
-
 
259277
 
-
 
259278
    public boolean equals(getInTransitOrdersOnDateByItemId_args that) {
-
 
259279
      if (that == null)
-
 
259280
        return false;
-
 
259281
 
-
 
259282
      boolean this_present_closingDate = true;
-
 
259283
      boolean that_present_closingDate = true;
-
 
259284
      if (this_present_closingDate || that_present_closingDate) {
-
 
259285
        if (!(this_present_closingDate && that_present_closingDate))
-
 
259286
          return false;
-
 
259287
        if (this.closingDate != that.closingDate)
-
 
259288
          return false;
-
 
259289
      }
-
 
259290
 
-
 
259291
      boolean this_present_itemId = true;
-
 
259292
      boolean that_present_itemId = true;
-
 
259293
      if (this_present_itemId || that_present_itemId) {
-
 
259294
        if (!(this_present_itemId && that_present_itemId))
-
 
259295
          return false;
-
 
259296
        if (this.itemId != that.itemId)
-
 
259297
          return false;
-
 
259298
      }
-
 
259299
 
-
 
259300
      return true;
-
 
259301
    }
-
 
259302
 
-
 
259303
    @Override
-
 
259304
    public int hashCode() {
-
 
259305
      return 0;
-
 
259306
    }
-
 
259307
 
-
 
259308
    public int compareTo(getInTransitOrdersOnDateByItemId_args other) {
-
 
259309
      if (!getClass().equals(other.getClass())) {
-
 
259310
        return getClass().getName().compareTo(other.getClass().getName());
-
 
259311
      }
-
 
259312
 
-
 
259313
      int lastComparison = 0;
-
 
259314
      getInTransitOrdersOnDateByItemId_args typedOther = (getInTransitOrdersOnDateByItemId_args)other;
-
 
259315
 
-
 
259316
      lastComparison = Boolean.valueOf(isSetClosingDate()).compareTo(typedOther.isSetClosingDate());
-
 
259317
      if (lastComparison != 0) {
-
 
259318
        return lastComparison;
-
 
259319
      }
-
 
259320
      if (isSetClosingDate()) {
-
 
259321
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.closingDate, typedOther.closingDate);
-
 
259322
        if (lastComparison != 0) {
-
 
259323
          return lastComparison;
-
 
259324
        }
-
 
259325
      }
-
 
259326
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
259327
      if (lastComparison != 0) {
-
 
259328
        return lastComparison;
-
 
259329
      }
-
 
259330
      if (isSetItemId()) {
-
 
259331
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
259332
        if (lastComparison != 0) {
-
 
259333
          return lastComparison;
-
 
259334
        }
-
 
259335
      }
-
 
259336
      return 0;
-
 
259337
    }
-
 
259338
 
-
 
259339
    public _Fields fieldForId(int fieldId) {
-
 
259340
      return _Fields.findByThriftId(fieldId);
-
 
259341
    }
-
 
259342
 
-
 
259343
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
259344
      org.apache.thrift.protocol.TField field;
-
 
259345
      iprot.readStructBegin();
-
 
259346
      while (true)
-
 
259347
      {
-
 
259348
        field = iprot.readFieldBegin();
-
 
259349
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
259350
          break;
-
 
259351
        }
-
 
259352
        switch (field.id) {
-
 
259353
          case 1: // CLOSING_DATE
-
 
259354
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
259355
              this.closingDate = iprot.readI64();
-
 
259356
              setClosingDateIsSet(true);
-
 
259357
            } else { 
-
 
259358
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
259359
            }
-
 
259360
            break;
-
 
259361
          case 2: // ITEM_ID
-
 
259362
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
259363
              this.itemId = iprot.readI64();
-
 
259364
              setItemIdIsSet(true);
-
 
259365
            } else { 
-
 
259366
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
259367
            }
-
 
259368
            break;
-
 
259369
          default:
-
 
259370
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
259371
        }
-
 
259372
        iprot.readFieldEnd();
-
 
259373
      }
-
 
259374
      iprot.readStructEnd();
-
 
259375
      validate();
-
 
259376
    }
-
 
259377
 
-
 
259378
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
259379
      validate();
-
 
259380
 
-
 
259381
      oprot.writeStructBegin(STRUCT_DESC);
-
 
259382
      oprot.writeFieldBegin(CLOSING_DATE_FIELD_DESC);
-
 
259383
      oprot.writeI64(this.closingDate);
-
 
259384
      oprot.writeFieldEnd();
-
 
259385
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
259386
      oprot.writeI64(this.itemId);
-
 
259387
      oprot.writeFieldEnd();
-
 
259388
      oprot.writeFieldStop();
-
 
259389
      oprot.writeStructEnd();
-
 
259390
    }
-
 
259391
 
-
 
259392
    @Override
-
 
259393
    public String toString() {
-
 
259394
      StringBuilder sb = new StringBuilder("getInTransitOrdersOnDateByItemId_args(");
-
 
259395
      boolean first = true;
-
 
259396
 
-
 
259397
      sb.append("closingDate:");
-
 
259398
      sb.append(this.closingDate);
-
 
259399
      first = false;
-
 
259400
      if (!first) sb.append(", ");
-
 
259401
      sb.append("itemId:");
-
 
259402
      sb.append(this.itemId);
-
 
259403
      first = false;
-
 
259404
      sb.append(")");
-
 
259405
      return sb.toString();
-
 
259406
    }
-
 
259407
 
-
 
259408
    public void validate() throws org.apache.thrift.TException {
-
 
259409
      // check for required fields
-
 
259410
    }
-
 
259411
 
-
 
259412
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
259413
      try {
-
 
259414
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
259415
      } catch (org.apache.thrift.TException te) {
-
 
259416
        throw new java.io.IOException(te);
-
 
259417
      }
-
 
259418
    }
-
 
259419
 
-
 
259420
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
259421
      try {
-
 
259422
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
259423
        __isset_bit_vector = new BitSet(1);
-
 
259424
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
259425
      } catch (org.apache.thrift.TException te) {
-
 
259426
        throw new java.io.IOException(te);
-
 
259427
      }
-
 
259428
    }
-
 
259429
 
-
 
259430
  }
-
 
259431
 
-
 
259432
  public static class getInTransitOrdersOnDateByItemId_result implements org.apache.thrift.TBase<getInTransitOrdersOnDateByItemId_result, getInTransitOrdersOnDateByItemId_result._Fields>, java.io.Serializable, Cloneable   {
-
 
259433
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getInTransitOrdersOnDateByItemId_result");
-
 
259434
 
-
 
259435
    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);
-
 
259436
 
-
 
259437
    private List<Order> success; // required
-
 
259438
 
-
 
259439
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
259440
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
259441
      SUCCESS((short)0, "success");
-
 
259442
 
-
 
259443
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
259444
 
-
 
259445
      static {
-
 
259446
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
259447
          byName.put(field.getFieldName(), field);
-
 
259448
        }
-
 
259449
      }
-
 
259450
 
-
 
259451
      /**
-
 
259452
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
259453
       */
-
 
259454
      public static _Fields findByThriftId(int fieldId) {
-
 
259455
        switch(fieldId) {
-
 
259456
          case 0: // SUCCESS
-
 
259457
            return SUCCESS;
-
 
259458
          default:
-
 
259459
            return null;
-
 
259460
        }
-
 
259461
      }
-
 
259462
 
-
 
259463
      /**
-
 
259464
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
259465
       * if it is not found.
-
 
259466
       */
-
 
259467
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
259468
        _Fields fields = findByThriftId(fieldId);
-
 
259469
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
259470
        return fields;
-
 
259471
      }
-
 
259472
 
-
 
259473
      /**
-
 
259474
       * Find the _Fields constant that matches name, or null if its not found.
-
 
259475
       */
-
 
259476
      public static _Fields findByName(String name) {
-
 
259477
        return byName.get(name);
-
 
259478
      }
-
 
259479
 
-
 
259480
      private final short _thriftId;
-
 
259481
      private final String _fieldName;
-
 
259482
 
-
 
259483
      _Fields(short thriftId, String fieldName) {
-
 
259484
        _thriftId = thriftId;
-
 
259485
        _fieldName = fieldName;
-
 
259486
      }
-
 
259487
 
-
 
259488
      public short getThriftFieldId() {
-
 
259489
        return _thriftId;
-
 
259490
      }
-
 
259491
 
-
 
259492
      public String getFieldName() {
-
 
259493
        return _fieldName;
-
 
259494
      }
-
 
259495
    }
-
 
259496
 
-
 
259497
    // isset id assignments
-
 
259498
 
-
 
259499
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
259500
    static {
-
 
259501
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
259502
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
259503
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
259504
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class))));
-
 
259505
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
259506
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getInTransitOrdersOnDateByItemId_result.class, metaDataMap);
-
 
259507
    }
-
 
259508
 
-
 
259509
    public getInTransitOrdersOnDateByItemId_result() {
-
 
259510
    }
-
 
259511
 
-
 
259512
    public getInTransitOrdersOnDateByItemId_result(
-
 
259513
      List<Order> success)
-
 
259514
    {
-
 
259515
      this();
-
 
259516
      this.success = success;
-
 
259517
    }
-
 
259518
 
-
 
259519
    /**
-
 
259520
     * Performs a deep copy on <i>other</i>.
-
 
259521
     */
-
 
259522
    public getInTransitOrdersOnDateByItemId_result(getInTransitOrdersOnDateByItemId_result other) {
-
 
259523
      if (other.isSetSuccess()) {
-
 
259524
        List<Order> __this__success = new ArrayList<Order>();
-
 
259525
        for (Order other_element : other.success) {
-
 
259526
          __this__success.add(new Order(other_element));
-
 
259527
        }
-
 
259528
        this.success = __this__success;
-
 
259529
      }
-
 
259530
    }
-
 
259531
 
-
 
259532
    public getInTransitOrdersOnDateByItemId_result deepCopy() {
-
 
259533
      return new getInTransitOrdersOnDateByItemId_result(this);
-
 
259534
    }
-
 
259535
 
-
 
259536
    @Override
-
 
259537
    public void clear() {
-
 
259538
      this.success = null;
-
 
259539
    }
-
 
259540
 
-
 
259541
    public int getSuccessSize() {
-
 
259542
      return (this.success == null) ? 0 : this.success.size();
-
 
259543
    }
-
 
259544
 
-
 
259545
    public java.util.Iterator<Order> getSuccessIterator() {
-
 
259546
      return (this.success == null) ? null : this.success.iterator();
-
 
259547
    }
-
 
259548
 
-
 
259549
    public void addToSuccess(Order elem) {
-
 
259550
      if (this.success == null) {
-
 
259551
        this.success = new ArrayList<Order>();
-
 
259552
      }
-
 
259553
      this.success.add(elem);
-
 
259554
    }
-
 
259555
 
-
 
259556
    public List<Order> getSuccess() {
-
 
259557
      return this.success;
-
 
259558
    }
-
 
259559
 
-
 
259560
    public void setSuccess(List<Order> success) {
-
 
259561
      this.success = success;
-
 
259562
    }
-
 
259563
 
-
 
259564
    public void unsetSuccess() {
-
 
259565
      this.success = null;
-
 
259566
    }
-
 
259567
 
-
 
259568
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
259569
    public boolean isSetSuccess() {
-
 
259570
      return this.success != null;
-
 
259571
    }
-
 
259572
 
-
 
259573
    public void setSuccessIsSet(boolean value) {
-
 
259574
      if (!value) {
-
 
259575
        this.success = null;
-
 
259576
      }
-
 
259577
    }
-
 
259578
 
-
 
259579
    public void setFieldValue(_Fields field, Object value) {
-
 
259580
      switch (field) {
-
 
259581
      case SUCCESS:
-
 
259582
        if (value == null) {
-
 
259583
          unsetSuccess();
-
 
259584
        } else {
-
 
259585
          setSuccess((List<Order>)value);
-
 
259586
        }
-
 
259587
        break;
-
 
259588
 
-
 
259589
      }
-
 
259590
    }
-
 
259591
 
-
 
259592
    public Object getFieldValue(_Fields field) {
-
 
259593
      switch (field) {
-
 
259594
      case SUCCESS:
-
 
259595
        return getSuccess();
-
 
259596
 
-
 
259597
      }
-
 
259598
      throw new IllegalStateException();
-
 
259599
    }
-
 
259600
 
-
 
259601
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
259602
    public boolean isSet(_Fields field) {
-
 
259603
      if (field == null) {
-
 
259604
        throw new IllegalArgumentException();
-
 
259605
      }
-
 
259606
 
-
 
259607
      switch (field) {
-
 
259608
      case SUCCESS:
-
 
259609
        return isSetSuccess();
-
 
259610
      }
-
 
259611
      throw new IllegalStateException();
-
 
259612
    }
-
 
259613
 
-
 
259614
    @Override
-
 
259615
    public boolean equals(Object that) {
-
 
259616
      if (that == null)
-
 
259617
        return false;
-
 
259618
      if (that instanceof getInTransitOrdersOnDateByItemId_result)
-
 
259619
        return this.equals((getInTransitOrdersOnDateByItemId_result)that);
-
 
259620
      return false;
-
 
259621
    }
-
 
259622
 
-
 
259623
    public boolean equals(getInTransitOrdersOnDateByItemId_result that) {
-
 
259624
      if (that == null)
-
 
259625
        return false;
-
 
259626
 
-
 
259627
      boolean this_present_success = true && this.isSetSuccess();
-
 
259628
      boolean that_present_success = true && that.isSetSuccess();
-
 
259629
      if (this_present_success || that_present_success) {
-
 
259630
        if (!(this_present_success && that_present_success))
-
 
259631
          return false;
-
 
259632
        if (!this.success.equals(that.success))
-
 
259633
          return false;
-
 
259634
      }
-
 
259635
 
-
 
259636
      return true;
-
 
259637
    }
-
 
259638
 
-
 
259639
    @Override
-
 
259640
    public int hashCode() {
-
 
259641
      return 0;
-
 
259642
    }
-
 
259643
 
-
 
259644
    public int compareTo(getInTransitOrdersOnDateByItemId_result other) {
-
 
259645
      if (!getClass().equals(other.getClass())) {
-
 
259646
        return getClass().getName().compareTo(other.getClass().getName());
-
 
259647
      }
-
 
259648
 
-
 
259649
      int lastComparison = 0;
-
 
259650
      getInTransitOrdersOnDateByItemId_result typedOther = (getInTransitOrdersOnDateByItemId_result)other;
-
 
259651
 
-
 
259652
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
259653
      if (lastComparison != 0) {
-
 
259654
        return lastComparison;
-
 
259655
      }
-
 
259656
      if (isSetSuccess()) {
-
 
259657
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
259658
        if (lastComparison != 0) {
-
 
259659
          return lastComparison;
-
 
259660
        }
-
 
259661
      }
-
 
259662
      return 0;
-
 
259663
    }
-
 
259664
 
-
 
259665
    public _Fields fieldForId(int fieldId) {
-
 
259666
      return _Fields.findByThriftId(fieldId);
-
 
259667
    }
-
 
259668
 
-
 
259669
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
259670
      org.apache.thrift.protocol.TField field;
-
 
259671
      iprot.readStructBegin();
-
 
259672
      while (true)
-
 
259673
      {
-
 
259674
        field = iprot.readFieldBegin();
-
 
259675
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
259676
          break;
-
 
259677
        }
-
 
259678
        switch (field.id) {
-
 
259679
          case 0: // SUCCESS
-
 
259680
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
259681
              {
-
 
259682
                org.apache.thrift.protocol.TList _list889 = iprot.readListBegin();
-
 
259683
                this.success = new ArrayList<Order>(_list889.size);
-
 
259684
                for (int _i890 = 0; _i890 < _list889.size; ++_i890)
-
 
259685
                {
-
 
259686
                  Order _elem891; // required
-
 
259687
                  _elem891 = new Order();
-
 
259688
                  _elem891.read(iprot);
-
 
259689
                  this.success.add(_elem891);
-
 
259690
                }
-
 
259691
                iprot.readListEnd();
-
 
259692
              }
-
 
259693
            } else { 
-
 
259694
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
259695
            }
-
 
259696
            break;
-
 
259697
          default:
-
 
259698
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
259699
        }
-
 
259700
        iprot.readFieldEnd();
-
 
259701
      }
-
 
259702
      iprot.readStructEnd();
-
 
259703
      validate();
-
 
259704
    }
-
 
259705
 
-
 
259706
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
259707
      oprot.writeStructBegin(STRUCT_DESC);
-
 
259708
 
-
 
259709
      if (this.isSetSuccess()) {
-
 
259710
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
259711
        {
-
 
259712
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
259713
          for (Order _iter892 : this.success)
-
 
259714
          {
-
 
259715
            _iter892.write(oprot);
-
 
259716
          }
-
 
259717
          oprot.writeListEnd();
-
 
259718
        }
-
 
259719
        oprot.writeFieldEnd();
-
 
259720
      }
-
 
259721
      oprot.writeFieldStop();
-
 
259722
      oprot.writeStructEnd();
-
 
259723
    }
-
 
259724
 
-
 
259725
    @Override
-
 
259726
    public String toString() {
-
 
259727
      StringBuilder sb = new StringBuilder("getInTransitOrdersOnDateByItemId_result(");
-
 
259728
      boolean first = true;
-
 
259729
 
-
 
259730
      sb.append("success:");
-
 
259731
      if (this.success == null) {
-
 
259732
        sb.append("null");
-
 
259733
      } else {
-
 
259734
        sb.append(this.success);
-
 
259735
      }
-
 
259736
      first = false;
-
 
259737
      sb.append(")");
-
 
259738
      return sb.toString();
-
 
259739
    }
-
 
259740
 
258250
    public void validate() throws org.apache.thrift.TException {
259741
    public void validate() throws org.apache.thrift.TException {
258251
      // check for required fields
259742
      // check for required fields
258252
    }
259743
    }
258253
 
259744
 
258254
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
259745
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {