Subversion Repositories SmartDukaan

Rev

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

Rev 4607 Rev 4647
Line 507... Line 507...
507
     * Raises an exception if no order with the given id can be found.
507
     * Raises an exception if no order with the given id can be found.
508
     * 
508
     * 
509
     * @param orderId
509
     * @param orderId
510
     * @param delayReason
510
     * @param delayReason
511
     * @param furtherDelay
511
     * @param furtherDelay
-
 
512
     * @param delayReasonText
512
     */
513
     */
513
    public boolean addDelayReason(long orderId, DelayReason delayReason, long furtherDelay) throws TransactionServiceException, org.apache.thrift.TException;
514
    public boolean addDelayReason(long orderId, DelayReason delayReason, long furtherDelay, String delayReasonText) throws TransactionServiceException, org.apache.thrift.TException;
514
 
515
 
515
    /**
516
    /**
516
     * Marks the COD orders with given AWB nos. as having been processed.
517
     * Marks the COD orders with given AWB nos. as having been processed.
517
     * Updates the captured amount for the corresponding payment.
518
     * Updates the captured amount for the corresponding payment.
518
     * 
519
     * 
Line 798... Line 799...
798
 
799
 
799
    public void changeItem(long orderId, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeItem_call> resultHandler) throws org.apache.thrift.TException;
800
    public void changeItem(long orderId, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeItem_call> resultHandler) throws org.apache.thrift.TException;
800
 
801
 
801
    public void shiftToWarehouse(long orderId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.shiftToWarehouse_call> resultHandler) throws org.apache.thrift.TException;
802
    public void shiftToWarehouse(long orderId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.shiftToWarehouse_call> resultHandler) throws org.apache.thrift.TException;
802
 
803
 
803
    public void addDelayReason(long orderId, DelayReason delayReason, long furtherDelay, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addDelayReason_call> resultHandler) throws org.apache.thrift.TException;
804
    public void addDelayReason(long orderId, DelayReason delayReason, long furtherDelay, String delayReasonText, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addDelayReason_call> resultHandler) throws org.apache.thrift.TException;
804
 
805
 
805
    public void reconcileCodCollection(Map<String,Double> collectedAmountMap, String xferBy, String xferTxnId, long xferDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.reconcileCodCollection_call> resultHandler) throws org.apache.thrift.TException;
806
    public void reconcileCodCollection(Map<String,Double> collectedAmountMap, String xferBy, String xferTxnId, long xferDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.reconcileCodCollection_call> resultHandler) throws org.apache.thrift.TException;
806
 
807
 
807
    public void getTransactionsRequiringExtraProcessing(ExtraTransactionProcessingType category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTransactionsRequiringExtraProcessing_call> resultHandler) throws org.apache.thrift.TException;
808
    public void getTransactionsRequiringExtraProcessing(ExtraTransactionProcessingType category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTransactionsRequiringExtraProcessing_call> resultHandler) throws org.apache.thrift.TException;
808
 
809
 
Line 2477... Line 2478...
2477
        throw result.ex;
2478
        throw result.ex;
2478
      }
2479
      }
2479
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "shiftToWarehouse failed: unknown result");
2480
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "shiftToWarehouse failed: unknown result");
2480
    }
2481
    }
2481
 
2482
 
2482
    public boolean addDelayReason(long orderId, DelayReason delayReason, long furtherDelay) throws TransactionServiceException, org.apache.thrift.TException
2483
    public boolean addDelayReason(long orderId, DelayReason delayReason, long furtherDelay, String delayReasonText) throws TransactionServiceException, org.apache.thrift.TException
2483
    {
2484
    {
2484
      send_addDelayReason(orderId, delayReason, furtherDelay);
2485
      send_addDelayReason(orderId, delayReason, furtherDelay, delayReasonText);
2485
      return recv_addDelayReason();
2486
      return recv_addDelayReason();
2486
    }
2487
    }
2487
 
2488
 
2488
    public void send_addDelayReason(long orderId, DelayReason delayReason, long furtherDelay) throws org.apache.thrift.TException
2489
    public void send_addDelayReason(long orderId, DelayReason delayReason, long furtherDelay, String delayReasonText) throws org.apache.thrift.TException
2489
    {
2490
    {
2490
      addDelayReason_args args = new addDelayReason_args();
2491
      addDelayReason_args args = new addDelayReason_args();
2491
      args.setOrderId(orderId);
2492
      args.setOrderId(orderId);
2492
      args.setDelayReason(delayReason);
2493
      args.setDelayReason(delayReason);
2493
      args.setFurtherDelay(furtherDelay);
2494
      args.setFurtherDelay(furtherDelay);
-
 
2495
      args.setDelayReasonText(delayReasonText);
2494
      sendBase("addDelayReason", args);
2496
      sendBase("addDelayReason", args);
2495
    }
2497
    }
2496
 
2498
 
2497
    public boolean recv_addDelayReason() throws TransactionServiceException, org.apache.thrift.TException
2499
    public boolean recv_addDelayReason() throws TransactionServiceException, org.apache.thrift.TException
2498
    {
2500
    {
Line 5341... Line 5343...
5341
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5343
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5342
        return (new Client(prot)).recv_shiftToWarehouse();
5344
        return (new Client(prot)).recv_shiftToWarehouse();
5343
      }
5345
      }
5344
    }
5346
    }
5345
 
5347
 
5346
    public void addDelayReason(long orderId, DelayReason delayReason, long furtherDelay, org.apache.thrift.async.AsyncMethodCallback<addDelayReason_call> resultHandler) throws org.apache.thrift.TException {
5348
    public void addDelayReason(long orderId, DelayReason delayReason, long furtherDelay, String delayReasonText, org.apache.thrift.async.AsyncMethodCallback<addDelayReason_call> resultHandler) throws org.apache.thrift.TException {
5347
      checkReady();
5349
      checkReady();
5348
      addDelayReason_call method_call = new addDelayReason_call(orderId, delayReason, furtherDelay, resultHandler, this, ___protocolFactory, ___transport);
5350
      addDelayReason_call method_call = new addDelayReason_call(orderId, delayReason, furtherDelay, delayReasonText, resultHandler, this, ___protocolFactory, ___transport);
5349
      this.___currentMethod = method_call;
5351
      this.___currentMethod = method_call;
5350
      ___manager.call(method_call);
5352
      ___manager.call(method_call);
5351
    }
5353
    }
5352
 
5354
 
5353
    public static class addDelayReason_call extends org.apache.thrift.async.TAsyncMethodCall {
5355
    public static class addDelayReason_call extends org.apache.thrift.async.TAsyncMethodCall {
5354
      private long orderId;
5356
      private long orderId;
5355
      private DelayReason delayReason;
5357
      private DelayReason delayReason;
5356
      private long furtherDelay;
5358
      private long furtherDelay;
-
 
5359
      private String delayReasonText;
5357
      public addDelayReason_call(long orderId, DelayReason delayReason, long furtherDelay, org.apache.thrift.async.AsyncMethodCallback<addDelayReason_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 {
5360
      public addDelayReason_call(long orderId, DelayReason delayReason, long furtherDelay, String delayReasonText, org.apache.thrift.async.AsyncMethodCallback<addDelayReason_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 {
5358
        super(client, protocolFactory, transport, resultHandler, false);
5361
        super(client, protocolFactory, transport, resultHandler, false);
5359
        this.orderId = orderId;
5362
        this.orderId = orderId;
5360
        this.delayReason = delayReason;
5363
        this.delayReason = delayReason;
5361
        this.furtherDelay = furtherDelay;
5364
        this.furtherDelay = furtherDelay;
-
 
5365
        this.delayReasonText = delayReasonText;
5362
      }
5366
      }
5363
 
5367
 
5364
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5368
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5365
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addDelayReason", org.apache.thrift.protocol.TMessageType.CALL, 0));
5369
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addDelayReason", org.apache.thrift.protocol.TMessageType.CALL, 0));
5366
        addDelayReason_args args = new addDelayReason_args();
5370
        addDelayReason_args args = new addDelayReason_args();
5367
        args.setOrderId(orderId);
5371
        args.setOrderId(orderId);
5368
        args.setDelayReason(delayReason);
5372
        args.setDelayReason(delayReason);
5369
        args.setFurtherDelay(furtherDelay);
5373
        args.setFurtherDelay(furtherDelay);
-
 
5374
        args.setDelayReasonText(delayReasonText);
5370
        args.write(prot);
5375
        args.write(prot);
5371
        prot.writeMessageEnd();
5376
        prot.writeMessageEnd();
5372
      }
5377
      }
5373
 
5378
 
5374
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
5379
      public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
Line 7653... Line 7658...
7653
      }
7658
      }
7654
 
7659
 
7655
      protected addDelayReason_result getResult(I iface, addDelayReason_args args) throws org.apache.thrift.TException {
7660
      protected addDelayReason_result getResult(I iface, addDelayReason_args args) throws org.apache.thrift.TException {
7656
        addDelayReason_result result = new addDelayReason_result();
7661
        addDelayReason_result result = new addDelayReason_result();
7657
        try {
7662
        try {
7658
          result.success = iface.addDelayReason(args.orderId, args.delayReason, args.furtherDelay);
7663
          result.success = iface.addDelayReason(args.orderId, args.delayReason, args.furtherDelay, args.delayReasonText);
7659
          result.setSuccessIsSet(true);
7664
          result.setSuccessIsSet(true);
7660
        } catch (TransactionServiceException ex) {
7665
        } catch (TransactionServiceException ex) {
7661
          result.ex = ex;
7666
          result.ex = ex;
7662
        }
7667
        }
7663
        return result;
7668
        return result;
Line 54407... Line 54412...
54407
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addDelayReason_args");
54412
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addDelayReason_args");
54408
 
54413
 
54409
    private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)1);
54414
    private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)1);
54410
    private static final org.apache.thrift.protocol.TField DELAY_REASON_FIELD_DESC = new org.apache.thrift.protocol.TField("delayReason", org.apache.thrift.protocol.TType.I32, (short)2);
54415
    private static final org.apache.thrift.protocol.TField DELAY_REASON_FIELD_DESC = new org.apache.thrift.protocol.TField("delayReason", org.apache.thrift.protocol.TType.I32, (short)2);
54411
    private static final org.apache.thrift.protocol.TField FURTHER_DELAY_FIELD_DESC = new org.apache.thrift.protocol.TField("furtherDelay", org.apache.thrift.protocol.TType.I64, (short)3);
54416
    private static final org.apache.thrift.protocol.TField FURTHER_DELAY_FIELD_DESC = new org.apache.thrift.protocol.TField("furtherDelay", org.apache.thrift.protocol.TType.I64, (short)3);
-
 
54417
    private static final org.apache.thrift.protocol.TField DELAY_REASON_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("delayReasonText", org.apache.thrift.protocol.TType.STRING, (short)4);
54412
 
54418
 
54413
    private long orderId; // required
54419
    private long orderId; // required
54414
    private DelayReason delayReason; // required
54420
    private DelayReason delayReason; // required
54415
    private long furtherDelay; // required
54421
    private long furtherDelay; // required
-
 
54422
    private String delayReasonText; // required
54416
 
54423
 
54417
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
54424
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
54418
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
54425
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
54419
      ORDER_ID((short)1, "orderId"),
54426
      ORDER_ID((short)1, "orderId"),
54420
      /**
54427
      /**
54421
       * 
54428
       * 
54422
       * @see DelayReason
54429
       * @see DelayReason
54423
       */
54430
       */
54424
      DELAY_REASON((short)2, "delayReason"),
54431
      DELAY_REASON((short)2, "delayReason"),
54425
      FURTHER_DELAY((short)3, "furtherDelay");
54432
      FURTHER_DELAY((short)3, "furtherDelay"),
-
 
54433
      DELAY_REASON_TEXT((short)4, "delayReasonText");
54426
 
54434
 
54427
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
54435
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
54428
 
54436
 
54429
      static {
54437
      static {
54430
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
54438
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 54441... Line 54449...
54441
            return ORDER_ID;
54449
            return ORDER_ID;
54442
          case 2: // DELAY_REASON
54450
          case 2: // DELAY_REASON
54443
            return DELAY_REASON;
54451
            return DELAY_REASON;
54444
          case 3: // FURTHER_DELAY
54452
          case 3: // FURTHER_DELAY
54445
            return FURTHER_DELAY;
54453
            return FURTHER_DELAY;
-
 
54454
          case 4: // DELAY_REASON_TEXT
-
 
54455
            return DELAY_REASON_TEXT;
54446
          default:
54456
          default:
54447
            return null;
54457
            return null;
54448
        }
54458
        }
54449
      }
54459
      }
54450
 
54460
 
Line 54494... Line 54504...
54494
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
54504
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
54495
      tmpMap.put(_Fields.DELAY_REASON, new org.apache.thrift.meta_data.FieldMetaData("delayReason", org.apache.thrift.TFieldRequirementType.DEFAULT, 
54505
      tmpMap.put(_Fields.DELAY_REASON, new org.apache.thrift.meta_data.FieldMetaData("delayReason", org.apache.thrift.TFieldRequirementType.DEFAULT, 
54496
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, DelayReason.class)));
54506
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, DelayReason.class)));
54497
      tmpMap.put(_Fields.FURTHER_DELAY, new org.apache.thrift.meta_data.FieldMetaData("furtherDelay", org.apache.thrift.TFieldRequirementType.DEFAULT, 
54507
      tmpMap.put(_Fields.FURTHER_DELAY, new org.apache.thrift.meta_data.FieldMetaData("furtherDelay", org.apache.thrift.TFieldRequirementType.DEFAULT, 
54498
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
54508
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
54509
      tmpMap.put(_Fields.DELAY_REASON_TEXT, new org.apache.thrift.meta_data.FieldMetaData("delayReasonText", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
54510
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
54499
      metaDataMap = Collections.unmodifiableMap(tmpMap);
54511
      metaDataMap = Collections.unmodifiableMap(tmpMap);
54500
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addDelayReason_args.class, metaDataMap);
54512
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addDelayReason_args.class, metaDataMap);
54501
    }
54513
    }
54502
 
54514
 
54503
    public addDelayReason_args() {
54515
    public addDelayReason_args() {
54504
    }
54516
    }
54505
 
54517
 
54506
    public addDelayReason_args(
54518
    public addDelayReason_args(
54507
      long orderId,
54519
      long orderId,
54508
      DelayReason delayReason,
54520
      DelayReason delayReason,
54509
      long furtherDelay)
54521
      long furtherDelay,
-
 
54522
      String delayReasonText)
54510
    {
54523
    {
54511
      this();
54524
      this();
54512
      this.orderId = orderId;
54525
      this.orderId = orderId;
54513
      setOrderIdIsSet(true);
54526
      setOrderIdIsSet(true);
54514
      this.delayReason = delayReason;
54527
      this.delayReason = delayReason;
54515
      this.furtherDelay = furtherDelay;
54528
      this.furtherDelay = furtherDelay;
54516
      setFurtherDelayIsSet(true);
54529
      setFurtherDelayIsSet(true);
-
 
54530
      this.delayReasonText = delayReasonText;
54517
    }
54531
    }
54518
 
54532
 
54519
    /**
54533
    /**
54520
     * Performs a deep copy on <i>other</i>.
54534
     * Performs a deep copy on <i>other</i>.
54521
     */
54535
     */
Line 54525... Line 54539...
54525
      this.orderId = other.orderId;
54539
      this.orderId = other.orderId;
54526
      if (other.isSetDelayReason()) {
54540
      if (other.isSetDelayReason()) {
54527
        this.delayReason = other.delayReason;
54541
        this.delayReason = other.delayReason;
54528
      }
54542
      }
54529
      this.furtherDelay = other.furtherDelay;
54543
      this.furtherDelay = other.furtherDelay;
-
 
54544
      if (other.isSetDelayReasonText()) {
-
 
54545
        this.delayReasonText = other.delayReasonText;
-
 
54546
      }
54530
    }
54547
    }
54531
 
54548
 
54532
    public addDelayReason_args deepCopy() {
54549
    public addDelayReason_args deepCopy() {
54533
      return new addDelayReason_args(this);
54550
      return new addDelayReason_args(this);
54534
    }
54551
    }
Line 54538... Line 54555...
54538
      setOrderIdIsSet(false);
54555
      setOrderIdIsSet(false);
54539
      this.orderId = 0;
54556
      this.orderId = 0;
54540
      this.delayReason = null;
54557
      this.delayReason = null;
54541
      setFurtherDelayIsSet(false);
54558
      setFurtherDelayIsSet(false);
54542
      this.furtherDelay = 0;
54559
      this.furtherDelay = 0;
-
 
54560
      this.delayReasonText = null;
54543
    }
54561
    }
54544
 
54562
 
54545
    public long getOrderId() {
54563
    public long getOrderId() {
54546
      return this.orderId;
54564
      return this.orderId;
54547
    }
54565
    }
Line 54615... Line 54633...
54615
 
54633
 
54616
    public void setFurtherDelayIsSet(boolean value) {
54634
    public void setFurtherDelayIsSet(boolean value) {
54617
      __isset_bit_vector.set(__FURTHERDELAY_ISSET_ID, value);
54635
      __isset_bit_vector.set(__FURTHERDELAY_ISSET_ID, value);
54618
    }
54636
    }
54619
 
54637
 
-
 
54638
    public String getDelayReasonText() {
-
 
54639
      return this.delayReasonText;
-
 
54640
    }
-
 
54641
 
-
 
54642
    public void setDelayReasonText(String delayReasonText) {
-
 
54643
      this.delayReasonText = delayReasonText;
-
 
54644
    }
-
 
54645
 
-
 
54646
    public void unsetDelayReasonText() {
-
 
54647
      this.delayReasonText = null;
-
 
54648
    }
-
 
54649
 
-
 
54650
    /** Returns true if field delayReasonText is set (has been assigned a value) and false otherwise */
-
 
54651
    public boolean isSetDelayReasonText() {
-
 
54652
      return this.delayReasonText != null;
-
 
54653
    }
-
 
54654
 
-
 
54655
    public void setDelayReasonTextIsSet(boolean value) {
-
 
54656
      if (!value) {
-
 
54657
        this.delayReasonText = null;
-
 
54658
      }
-
 
54659
    }
-
 
54660
 
54620
    public void setFieldValue(_Fields field, Object value) {
54661
    public void setFieldValue(_Fields field, Object value) {
54621
      switch (field) {
54662
      switch (field) {
54622
      case ORDER_ID:
54663
      case ORDER_ID:
54623
        if (value == null) {
54664
        if (value == null) {
54624
          unsetOrderId();
54665
          unsetOrderId();
Line 54641... Line 54682...
54641
        } else {
54682
        } else {
54642
          setFurtherDelay((Long)value);
54683
          setFurtherDelay((Long)value);
54643
        }
54684
        }
54644
        break;
54685
        break;
54645
 
54686
 
-
 
54687
      case DELAY_REASON_TEXT:
-
 
54688
        if (value == null) {
-
 
54689
          unsetDelayReasonText();
-
 
54690
        } else {
-
 
54691
          setDelayReasonText((String)value);
-
 
54692
        }
-
 
54693
        break;
-
 
54694
 
54646
      }
54695
      }
54647
    }
54696
    }
54648
 
54697
 
54649
    public Object getFieldValue(_Fields field) {
54698
    public Object getFieldValue(_Fields field) {
54650
      switch (field) {
54699
      switch (field) {
Line 54655... Line 54704...
54655
        return getDelayReason();
54704
        return getDelayReason();
54656
 
54705
 
54657
      case FURTHER_DELAY:
54706
      case FURTHER_DELAY:
54658
        return Long.valueOf(getFurtherDelay());
54707
        return Long.valueOf(getFurtherDelay());
54659
 
54708
 
-
 
54709
      case DELAY_REASON_TEXT:
-
 
54710
        return getDelayReasonText();
-
 
54711
 
54660
      }
54712
      }
54661
      throw new IllegalStateException();
54713
      throw new IllegalStateException();
54662
    }
54714
    }
54663
 
54715
 
54664
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
54716
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 54672... Line 54724...
54672
        return isSetOrderId();
54724
        return isSetOrderId();
54673
      case DELAY_REASON:
54725
      case DELAY_REASON:
54674
        return isSetDelayReason();
54726
        return isSetDelayReason();
54675
      case FURTHER_DELAY:
54727
      case FURTHER_DELAY:
54676
        return isSetFurtherDelay();
54728
        return isSetFurtherDelay();
-
 
54729
      case DELAY_REASON_TEXT:
-
 
54730
        return isSetDelayReasonText();
54677
      }
54731
      }
54678
      throw new IllegalStateException();
54732
      throw new IllegalStateException();
54679
    }
54733
    }
54680
 
54734
 
54681
    @Override
54735
    @Override
Line 54716... Line 54770...
54716
          return false;
54770
          return false;
54717
        if (this.furtherDelay != that.furtherDelay)
54771
        if (this.furtherDelay != that.furtherDelay)
54718
          return false;
54772
          return false;
54719
      }
54773
      }
54720
 
54774
 
-
 
54775
      boolean this_present_delayReasonText = true && this.isSetDelayReasonText();
-
 
54776
      boolean that_present_delayReasonText = true && that.isSetDelayReasonText();
-
 
54777
      if (this_present_delayReasonText || that_present_delayReasonText) {
-
 
54778
        if (!(this_present_delayReasonText && that_present_delayReasonText))
-
 
54779
          return false;
-
 
54780
        if (!this.delayReasonText.equals(that.delayReasonText))
-
 
54781
          return false;
-
 
54782
      }
-
 
54783
 
54721
      return true;
54784
      return true;
54722
    }
54785
    }
54723
 
54786
 
54724
    @Override
54787
    @Override
54725
    public int hashCode() {
54788
    public int hashCode() {
Line 54762... Line 54825...
54762
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.furtherDelay, typedOther.furtherDelay);
54825
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.furtherDelay, typedOther.furtherDelay);
54763
        if (lastComparison != 0) {
54826
        if (lastComparison != 0) {
54764
          return lastComparison;
54827
          return lastComparison;
54765
        }
54828
        }
54766
      }
54829
      }
-
 
54830
      lastComparison = Boolean.valueOf(isSetDelayReasonText()).compareTo(typedOther.isSetDelayReasonText());
-
 
54831
      if (lastComparison != 0) {
-
 
54832
        return lastComparison;
-
 
54833
      }
-
 
54834
      if (isSetDelayReasonText()) {
-
 
54835
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.delayReasonText, typedOther.delayReasonText);
-
 
54836
        if (lastComparison != 0) {
-
 
54837
          return lastComparison;
-
 
54838
        }
-
 
54839
      }
54767
      return 0;
54840
      return 0;
54768
    }
54841
    }
54769
 
54842
 
54770
    public _Fields fieldForId(int fieldId) {
54843
    public _Fields fieldForId(int fieldId) {
54771
      return _Fields.findByThriftId(fieldId);
54844
      return _Fields.findByThriftId(fieldId);
Line 54802... Line 54875...
54802
              setFurtherDelayIsSet(true);
54875
              setFurtherDelayIsSet(true);
54803
            } else { 
54876
            } else { 
54804
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54877
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54805
            }
54878
            }
54806
            break;
54879
            break;
-
 
54880
          case 4: // DELAY_REASON_TEXT
-
 
54881
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
54882
              this.delayReasonText = iprot.readString();
-
 
54883
            } else { 
-
 
54884
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
54885
            }
-
 
54886
            break;
54807
          default:
54887
          default:
54808
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54888
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54809
        }
54889
        }
54810
        iprot.readFieldEnd();
54890
        iprot.readFieldEnd();
54811
      }
54891
      }
Line 54826... Line 54906...
54826
        oprot.writeFieldEnd();
54906
        oprot.writeFieldEnd();
54827
      }
54907
      }
54828
      oprot.writeFieldBegin(FURTHER_DELAY_FIELD_DESC);
54908
      oprot.writeFieldBegin(FURTHER_DELAY_FIELD_DESC);
54829
      oprot.writeI64(this.furtherDelay);
54909
      oprot.writeI64(this.furtherDelay);
54830
      oprot.writeFieldEnd();
54910
      oprot.writeFieldEnd();
-
 
54911
      if (this.delayReasonText != null) {
-
 
54912
        oprot.writeFieldBegin(DELAY_REASON_TEXT_FIELD_DESC);
-
 
54913
        oprot.writeString(this.delayReasonText);
-
 
54914
        oprot.writeFieldEnd();
-
 
54915
      }
54831
      oprot.writeFieldStop();
54916
      oprot.writeFieldStop();
54832
      oprot.writeStructEnd();
54917
      oprot.writeStructEnd();
54833
    }
54918
    }
54834
 
54919
 
54835
    @Override
54920
    @Override
Line 54850... Line 54935...
54850
      first = false;
54935
      first = false;
54851
      if (!first) sb.append(", ");
54936
      if (!first) sb.append(", ");
54852
      sb.append("furtherDelay:");
54937
      sb.append("furtherDelay:");
54853
      sb.append(this.furtherDelay);
54938
      sb.append(this.furtherDelay);
54854
      first = false;
54939
      first = false;
-
 
54940
      if (!first) sb.append(", ");
-
 
54941
      sb.append("delayReasonText:");
-
 
54942
      if (this.delayReasonText == null) {
-
 
54943
        sb.append("null");
-
 
54944
      } else {
-
 
54945
        sb.append(this.delayReasonText);
-
 
54946
      }
-
 
54947
      first = false;
54855
      sb.append(")");
54948
      sb.append(")");
54856
      return sb.toString();
54949
      return sb.toString();
54857
    }
54950
    }
54858
 
54951
 
54859
    public void validate() throws org.apache.thrift.TException {
54952
    public void validate() throws org.apache.thrift.TException {