Subversion Repositories SmartDukaan

Rev

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

Rev 7542 Rev 7560
Line 576... Line 576...
576
     * @param orderId
576
     * @param orderId
577
     * @param itemId
577
     * @param itemId
578
     */
578
     */
579
    public Order changeItem(long orderId, long itemId) throws TransactionServiceException, org.apache.thrift.TException;
579
    public Order changeItem(long orderId, long itemId) throws TransactionServiceException, org.apache.thrift.TException;
580
 
580
 
-
 
581
    public Order changeCourierProvider(long orderId, long providerId) throws TransactionServiceException, org.apache.thrift.TException;
-
 
582
 
581
    /**
583
    /**
582
     * Moves the given order to the given warehouse. Also adjusts the inventory reservations accordingly.
584
     * Moves the given order to the given warehouse. Also adjusts the inventory reservations accordingly.
583
     * 
585
     * 
584
     * @param orderId
586
     * @param orderId
585
     * @param warehouseId
587
     * @param warehouseId
Line 1143... Line 1145...
1143
 
1145
 
1144
    public void updateWeight(long orderId, double weight, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateWeight_call> resultHandler) throws org.apache.thrift.TException;
1146
    public void updateWeight(long orderId, double weight, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateWeight_call> resultHandler) throws org.apache.thrift.TException;
1145
 
1147
 
1146
    public void changeItem(long orderId, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeItem_call> resultHandler) throws org.apache.thrift.TException;
1148
    public void changeItem(long orderId, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeItem_call> resultHandler) throws org.apache.thrift.TException;
1147
 
1149
 
-
 
1150
    public void changeCourierProvider(long orderId, long providerId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeCourierProvider_call> resultHandler) throws org.apache.thrift.TException;
-
 
1151
 
1148
    public void shiftToWarehouse(long orderId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.shiftToWarehouse_call> resultHandler) throws org.apache.thrift.TException;
1152
    public void shiftToWarehouse(long orderId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.shiftToWarehouse_call> resultHandler) throws org.apache.thrift.TException;
1149
 
1153
 
1150
    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;
1154
    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;
1151
 
1155
 
1152
    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;
1156
    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;
Line 3316... Line 3320...
3316
        throw result.ex;
3320
        throw result.ex;
3317
      }
3321
      }
3318
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "changeItem failed: unknown result");
3322
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "changeItem failed: unknown result");
3319
    }
3323
    }
3320
 
3324
 
-
 
3325
    public Order changeCourierProvider(long orderId, long providerId) throws TransactionServiceException, org.apache.thrift.TException
-
 
3326
    {
-
 
3327
      send_changeCourierProvider(orderId, providerId);
-
 
3328
      return recv_changeCourierProvider();
-
 
3329
    }
-
 
3330
 
-
 
3331
    public void send_changeCourierProvider(long orderId, long providerId) throws org.apache.thrift.TException
-
 
3332
    {
-
 
3333
      changeCourierProvider_args args = new changeCourierProvider_args();
-
 
3334
      args.setOrderId(orderId);
-
 
3335
      args.setProviderId(providerId);
-
 
3336
      sendBase("changeCourierProvider", args);
-
 
3337
    }
-
 
3338
 
-
 
3339
    public Order recv_changeCourierProvider() throws TransactionServiceException, org.apache.thrift.TException
-
 
3340
    {
-
 
3341
      changeCourierProvider_result result = new changeCourierProvider_result();
-
 
3342
      receiveBase(result, "changeCourierProvider");
-
 
3343
      if (result.isSetSuccess()) {
-
 
3344
        return result.success;
-
 
3345
      }
-
 
3346
      if (result.ex != null) {
-
 
3347
        throw result.ex;
-
 
3348
      }
-
 
3349
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "changeCourierProvider failed: unknown result");
-
 
3350
    }
-
 
3351
 
3321
    public Order shiftToWarehouse(long orderId, long warehouseId) throws TransactionServiceException, org.apache.thrift.TException
3352
    public Order shiftToWarehouse(long orderId, long warehouseId) throws TransactionServiceException, org.apache.thrift.TException
3322
    {
3353
    {
3323
      send_shiftToWarehouse(orderId, warehouseId);
3354
      send_shiftToWarehouse(orderId, warehouseId);
3324
      return recv_shiftToWarehouse();
3355
      return recv_shiftToWarehouse();
3325
    }
3356
    }
Line 8762... Line 8793...
8762
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8793
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8763
        return (new Client(prot)).recv_changeItem();
8794
        return (new Client(prot)).recv_changeItem();
8764
      }
8795
      }
8765
    }
8796
    }
8766
 
8797
 
-
 
8798
    public void changeCourierProvider(long orderId, long providerId, org.apache.thrift.async.AsyncMethodCallback<changeCourierProvider_call> resultHandler) throws org.apache.thrift.TException {
-
 
8799
      checkReady();
-
 
8800
      changeCourierProvider_call method_call = new changeCourierProvider_call(orderId, providerId, resultHandler, this, ___protocolFactory, ___transport);
-
 
8801
      this.___currentMethod = method_call;
-
 
8802
      ___manager.call(method_call);
-
 
8803
    }
-
 
8804
 
-
 
8805
    public static class changeCourierProvider_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8806
      private long orderId;
-
 
8807
      private long providerId;
-
 
8808
      public changeCourierProvider_call(long orderId, long providerId, org.apache.thrift.async.AsyncMethodCallback<changeCourierProvider_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 {
-
 
8809
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8810
        this.orderId = orderId;
-
 
8811
        this.providerId = providerId;
-
 
8812
      }
-
 
8813
 
-
 
8814
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8815
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("changeCourierProvider", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8816
        changeCourierProvider_args args = new changeCourierProvider_args();
-
 
8817
        args.setOrderId(orderId);
-
 
8818
        args.setProviderId(providerId);
-
 
8819
        args.write(prot);
-
 
8820
        prot.writeMessageEnd();
-
 
8821
      }
-
 
8822
 
-
 
8823
      public Order getResult() throws TransactionServiceException, org.apache.thrift.TException {
-
 
8824
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8825
          throw new IllegalStateException("Method call not finished!");
-
 
8826
        }
-
 
8827
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8828
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8829
        return (new Client(prot)).recv_changeCourierProvider();
-
 
8830
      }
-
 
8831
    }
-
 
8832
 
8767
    public void shiftToWarehouse(long orderId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<shiftToWarehouse_call> resultHandler) throws org.apache.thrift.TException {
8833
    public void shiftToWarehouse(long orderId, long warehouseId, org.apache.thrift.async.AsyncMethodCallback<shiftToWarehouse_call> resultHandler) throws org.apache.thrift.TException {
8768
      checkReady();
8834
      checkReady();
8769
      shiftToWarehouse_call method_call = new shiftToWarehouse_call(orderId, warehouseId, resultHandler, this, ___protocolFactory, ___transport);
8835
      shiftToWarehouse_call method_call = new shiftToWarehouse_call(orderId, warehouseId, resultHandler, this, ___protocolFactory, ___transport);
8770
      this.___currentMethod = method_call;
8836
      this.___currentMethod = method_call;
8771
      ___manager.call(method_call);
8837
      ___manager.call(method_call);
Line 12807... Line 12873...
12807
      processMap.put("getAllReturnOrders", new getAllReturnOrders());
12873
      processMap.put("getAllReturnOrders", new getAllReturnOrders());
12808
      processMap.put("getReturnOrder", new getReturnOrder());
12874
      processMap.put("getReturnOrder", new getReturnOrder());
12809
      processMap.put("processReturn", new processReturn());
12875
      processMap.put("processReturn", new processReturn());
12810
      processMap.put("updateWeight", new updateWeight());
12876
      processMap.put("updateWeight", new updateWeight());
12811
      processMap.put("changeItem", new changeItem());
12877
      processMap.put("changeItem", new changeItem());
-
 
12878
      processMap.put("changeCourierProvider", new changeCourierProvider());
12812
      processMap.put("shiftToWarehouse", new shiftToWarehouse());
12879
      processMap.put("shiftToWarehouse", new shiftToWarehouse());
12813
      processMap.put("addDelayReason", new addDelayReason());
12880
      processMap.put("addDelayReason", new addDelayReason());
12814
      processMap.put("reconcileCodCollection", new reconcileCodCollection());
12881
      processMap.put("reconcileCodCollection", new reconcileCodCollection());
12815
      processMap.put("getTransactionsRequiringExtraProcessing", new getTransactionsRequiringExtraProcessing());
12882
      processMap.put("getTransactionsRequiringExtraProcessing", new getTransactionsRequiringExtraProcessing());
12816
      processMap.put("markTransactionAsProcessed", new markTransactionAsProcessed());
12883
      processMap.put("markTransactionAsProcessed", new markTransactionAsProcessed());
Line 14366... Line 14433...
14366
        }
14433
        }
14367
        return result;
14434
        return result;
14368
      }
14435
      }
14369
    }
14436
    }
14370
 
14437
 
-
 
14438
    private static class changeCourierProvider<I extends Iface> extends org.apache.thrift.ProcessFunction<I, changeCourierProvider_args> {
-
 
14439
      public changeCourierProvider() {
-
 
14440
        super("changeCourierProvider");
-
 
14441
      }
-
 
14442
 
-
 
14443
      protected changeCourierProvider_args getEmptyArgsInstance() {
-
 
14444
        return new changeCourierProvider_args();
-
 
14445
      }
-
 
14446
 
-
 
14447
      protected changeCourierProvider_result getResult(I iface, changeCourierProvider_args args) throws org.apache.thrift.TException {
-
 
14448
        changeCourierProvider_result result = new changeCourierProvider_result();
-
 
14449
        try {
-
 
14450
          result.success = iface.changeCourierProvider(args.orderId, args.providerId);
-
 
14451
        } catch (TransactionServiceException ex) {
-
 
14452
          result.ex = ex;
-
 
14453
        }
-
 
14454
        return result;
-
 
14455
      }
-
 
14456
    }
-
 
14457
 
14371
    private static class shiftToWarehouse<I extends Iface> extends org.apache.thrift.ProcessFunction<I, shiftToWarehouse_args> {
14458
    private static class shiftToWarehouse<I extends Iface> extends org.apache.thrift.ProcessFunction<I, shiftToWarehouse_args> {
14372
      public shiftToWarehouse() {
14459
      public shiftToWarehouse() {
14373
        super("shiftToWarehouse");
14460
        super("shiftToWarehouse");
14374
      }
14461
      }
14375
 
14462
 
Line 72555... Line 72642...
72555
      }
72642
      }
72556
    }
72643
    }
72557
 
72644
 
72558
  }
72645
  }
72559
 
72646
 
-
 
72647
  public static class changeCourierProvider_args implements org.apache.thrift.TBase<changeCourierProvider_args, changeCourierProvider_args._Fields>, java.io.Serializable, Cloneable   {
-
 
72648
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeCourierProvider_args");
-
 
72649
 
-
 
72650
    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);
-
 
72651
    private static final org.apache.thrift.protocol.TField PROVIDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("providerId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
72652
 
-
 
72653
    private long orderId; // required
-
 
72654
    private long providerId; // required
-
 
72655
 
-
 
72656
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
72657
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
72658
      ORDER_ID((short)1, "orderId"),
-
 
72659
      PROVIDER_ID((short)2, "providerId");
-
 
72660
 
-
 
72661
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
72662
 
-
 
72663
      static {
-
 
72664
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
72665
          byName.put(field.getFieldName(), field);
-
 
72666
        }
-
 
72667
      }
-
 
72668
 
-
 
72669
      /**
-
 
72670
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
72671
       */
-
 
72672
      public static _Fields findByThriftId(int fieldId) {
-
 
72673
        switch(fieldId) {
-
 
72674
          case 1: // ORDER_ID
-
 
72675
            return ORDER_ID;
-
 
72676
          case 2: // PROVIDER_ID
-
 
72677
            return PROVIDER_ID;
-
 
72678
          default:
-
 
72679
            return null;
-
 
72680
        }
-
 
72681
      }
-
 
72682
 
-
 
72683
      /**
-
 
72684
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
72685
       * if it is not found.
-
 
72686
       */
-
 
72687
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
72688
        _Fields fields = findByThriftId(fieldId);
-
 
72689
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
72690
        return fields;
-
 
72691
      }
-
 
72692
 
-
 
72693
      /**
-
 
72694
       * Find the _Fields constant that matches name, or null if its not found.
-
 
72695
       */
-
 
72696
      public static _Fields findByName(String name) {
-
 
72697
        return byName.get(name);
-
 
72698
      }
-
 
72699
 
-
 
72700
      private final short _thriftId;
-
 
72701
      private final String _fieldName;
-
 
72702
 
-
 
72703
      _Fields(short thriftId, String fieldName) {
-
 
72704
        _thriftId = thriftId;
-
 
72705
        _fieldName = fieldName;
-
 
72706
      }
-
 
72707
 
-
 
72708
      public short getThriftFieldId() {
-
 
72709
        return _thriftId;
-
 
72710
      }
-
 
72711
 
-
 
72712
      public String getFieldName() {
-
 
72713
        return _fieldName;
-
 
72714
      }
-
 
72715
    }
-
 
72716
 
-
 
72717
    // isset id assignments
-
 
72718
    private static final int __ORDERID_ISSET_ID = 0;
-
 
72719
    private static final int __PROVIDERID_ISSET_ID = 1;
-
 
72720
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
72721
 
-
 
72722
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
72723
    static {
-
 
72724
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
72725
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
72726
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
72727
      tmpMap.put(_Fields.PROVIDER_ID, new org.apache.thrift.meta_data.FieldMetaData("providerId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
72728
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
72729
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
72730
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(changeCourierProvider_args.class, metaDataMap);
-
 
72731
    }
-
 
72732
 
-
 
72733
    public changeCourierProvider_args() {
-
 
72734
    }
-
 
72735
 
-
 
72736
    public changeCourierProvider_args(
-
 
72737
      long orderId,
-
 
72738
      long providerId)
-
 
72739
    {
-
 
72740
      this();
-
 
72741
      this.orderId = orderId;
-
 
72742
      setOrderIdIsSet(true);
-
 
72743
      this.providerId = providerId;
-
 
72744
      setProviderIdIsSet(true);
-
 
72745
    }
-
 
72746
 
-
 
72747
    /**
-
 
72748
     * Performs a deep copy on <i>other</i>.
-
 
72749
     */
-
 
72750
    public changeCourierProvider_args(changeCourierProvider_args other) {
-
 
72751
      __isset_bit_vector.clear();
-
 
72752
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
72753
      this.orderId = other.orderId;
-
 
72754
      this.providerId = other.providerId;
-
 
72755
    }
-
 
72756
 
-
 
72757
    public changeCourierProvider_args deepCopy() {
-
 
72758
      return new changeCourierProvider_args(this);
-
 
72759
    }
-
 
72760
 
-
 
72761
    @Override
-
 
72762
    public void clear() {
-
 
72763
      setOrderIdIsSet(false);
-
 
72764
      this.orderId = 0;
-
 
72765
      setProviderIdIsSet(false);
-
 
72766
      this.providerId = 0;
-
 
72767
    }
-
 
72768
 
-
 
72769
    public long getOrderId() {
-
 
72770
      return this.orderId;
-
 
72771
    }
-
 
72772
 
-
 
72773
    public void setOrderId(long orderId) {
-
 
72774
      this.orderId = orderId;
-
 
72775
      setOrderIdIsSet(true);
-
 
72776
    }
-
 
72777
 
-
 
72778
    public void unsetOrderId() {
-
 
72779
      __isset_bit_vector.clear(__ORDERID_ISSET_ID);
-
 
72780
    }
-
 
72781
 
-
 
72782
    /** Returns true if field orderId is set (has been assigned a value) and false otherwise */
-
 
72783
    public boolean isSetOrderId() {
-
 
72784
      return __isset_bit_vector.get(__ORDERID_ISSET_ID);
-
 
72785
    }
-
 
72786
 
-
 
72787
    public void setOrderIdIsSet(boolean value) {
-
 
72788
      __isset_bit_vector.set(__ORDERID_ISSET_ID, value);
-
 
72789
    }
-
 
72790
 
-
 
72791
    public long getProviderId() {
-
 
72792
      return this.providerId;
-
 
72793
    }
-
 
72794
 
-
 
72795
    public void setProviderId(long providerId) {
-
 
72796
      this.providerId = providerId;
-
 
72797
      setProviderIdIsSet(true);
-
 
72798
    }
-
 
72799
 
-
 
72800
    public void unsetProviderId() {
-
 
72801
      __isset_bit_vector.clear(__PROVIDERID_ISSET_ID);
-
 
72802
    }
-
 
72803
 
-
 
72804
    /** Returns true if field providerId is set (has been assigned a value) and false otherwise */
-
 
72805
    public boolean isSetProviderId() {
-
 
72806
      return __isset_bit_vector.get(__PROVIDERID_ISSET_ID);
-
 
72807
    }
-
 
72808
 
-
 
72809
    public void setProviderIdIsSet(boolean value) {
-
 
72810
      __isset_bit_vector.set(__PROVIDERID_ISSET_ID, value);
-
 
72811
    }
-
 
72812
 
-
 
72813
    public void setFieldValue(_Fields field, Object value) {
-
 
72814
      switch (field) {
-
 
72815
      case ORDER_ID:
-
 
72816
        if (value == null) {
-
 
72817
          unsetOrderId();
-
 
72818
        } else {
-
 
72819
          setOrderId((Long)value);
-
 
72820
        }
-
 
72821
        break;
-
 
72822
 
-
 
72823
      case PROVIDER_ID:
-
 
72824
        if (value == null) {
-
 
72825
          unsetProviderId();
-
 
72826
        } else {
-
 
72827
          setProviderId((Long)value);
-
 
72828
        }
-
 
72829
        break;
-
 
72830
 
-
 
72831
      }
-
 
72832
    }
-
 
72833
 
-
 
72834
    public Object getFieldValue(_Fields field) {
-
 
72835
      switch (field) {
-
 
72836
      case ORDER_ID:
-
 
72837
        return Long.valueOf(getOrderId());
-
 
72838
 
-
 
72839
      case PROVIDER_ID:
-
 
72840
        return Long.valueOf(getProviderId());
-
 
72841
 
-
 
72842
      }
-
 
72843
      throw new IllegalStateException();
-
 
72844
    }
-
 
72845
 
-
 
72846
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
72847
    public boolean isSet(_Fields field) {
-
 
72848
      if (field == null) {
-
 
72849
        throw new IllegalArgumentException();
-
 
72850
      }
-
 
72851
 
-
 
72852
      switch (field) {
-
 
72853
      case ORDER_ID:
-
 
72854
        return isSetOrderId();
-
 
72855
      case PROVIDER_ID:
-
 
72856
        return isSetProviderId();
-
 
72857
      }
-
 
72858
      throw new IllegalStateException();
-
 
72859
    }
-
 
72860
 
-
 
72861
    @Override
-
 
72862
    public boolean equals(Object that) {
-
 
72863
      if (that == null)
-
 
72864
        return false;
-
 
72865
      if (that instanceof changeCourierProvider_args)
-
 
72866
        return this.equals((changeCourierProvider_args)that);
-
 
72867
      return false;
-
 
72868
    }
-
 
72869
 
-
 
72870
    public boolean equals(changeCourierProvider_args that) {
-
 
72871
      if (that == null)
-
 
72872
        return false;
-
 
72873
 
-
 
72874
      boolean this_present_orderId = true;
-
 
72875
      boolean that_present_orderId = true;
-
 
72876
      if (this_present_orderId || that_present_orderId) {
-
 
72877
        if (!(this_present_orderId && that_present_orderId))
-
 
72878
          return false;
-
 
72879
        if (this.orderId != that.orderId)
-
 
72880
          return false;
-
 
72881
      }
-
 
72882
 
-
 
72883
      boolean this_present_providerId = true;
-
 
72884
      boolean that_present_providerId = true;
-
 
72885
      if (this_present_providerId || that_present_providerId) {
-
 
72886
        if (!(this_present_providerId && that_present_providerId))
-
 
72887
          return false;
-
 
72888
        if (this.providerId != that.providerId)
-
 
72889
          return false;
-
 
72890
      }
-
 
72891
 
-
 
72892
      return true;
-
 
72893
    }
-
 
72894
 
-
 
72895
    @Override
-
 
72896
    public int hashCode() {
-
 
72897
      return 0;
-
 
72898
    }
-
 
72899
 
-
 
72900
    public int compareTo(changeCourierProvider_args other) {
-
 
72901
      if (!getClass().equals(other.getClass())) {
-
 
72902
        return getClass().getName().compareTo(other.getClass().getName());
-
 
72903
      }
-
 
72904
 
-
 
72905
      int lastComparison = 0;
-
 
72906
      changeCourierProvider_args typedOther = (changeCourierProvider_args)other;
-
 
72907
 
-
 
72908
      lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
-
 
72909
      if (lastComparison != 0) {
-
 
72910
        return lastComparison;
-
 
72911
      }
-
 
72912
      if (isSetOrderId()) {
-
 
72913
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
-
 
72914
        if (lastComparison != 0) {
-
 
72915
          return lastComparison;
-
 
72916
        }
-
 
72917
      }
-
 
72918
      lastComparison = Boolean.valueOf(isSetProviderId()).compareTo(typedOther.isSetProviderId());
-
 
72919
      if (lastComparison != 0) {
-
 
72920
        return lastComparison;
-
 
72921
      }
-
 
72922
      if (isSetProviderId()) {
-
 
72923
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.providerId, typedOther.providerId);
-
 
72924
        if (lastComparison != 0) {
-
 
72925
          return lastComparison;
-
 
72926
        }
-
 
72927
      }
-
 
72928
      return 0;
-
 
72929
    }
-
 
72930
 
-
 
72931
    public _Fields fieldForId(int fieldId) {
-
 
72932
      return _Fields.findByThriftId(fieldId);
-
 
72933
    }
-
 
72934
 
-
 
72935
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
72936
      org.apache.thrift.protocol.TField field;
-
 
72937
      iprot.readStructBegin();
-
 
72938
      while (true)
-
 
72939
      {
-
 
72940
        field = iprot.readFieldBegin();
-
 
72941
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
72942
          break;
-
 
72943
        }
-
 
72944
        switch (field.id) {
-
 
72945
          case 1: // ORDER_ID
-
 
72946
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
72947
              this.orderId = iprot.readI64();
-
 
72948
              setOrderIdIsSet(true);
-
 
72949
            } else { 
-
 
72950
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
72951
            }
-
 
72952
            break;
-
 
72953
          case 2: // PROVIDER_ID
-
 
72954
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
72955
              this.providerId = iprot.readI64();
-
 
72956
              setProviderIdIsSet(true);
-
 
72957
            } else { 
-
 
72958
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
72959
            }
-
 
72960
            break;
-
 
72961
          default:
-
 
72962
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
72963
        }
-
 
72964
        iprot.readFieldEnd();
-
 
72965
      }
-
 
72966
      iprot.readStructEnd();
-
 
72967
      validate();
-
 
72968
    }
-
 
72969
 
-
 
72970
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
72971
      validate();
-
 
72972
 
-
 
72973
      oprot.writeStructBegin(STRUCT_DESC);
-
 
72974
      oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
-
 
72975
      oprot.writeI64(this.orderId);
-
 
72976
      oprot.writeFieldEnd();
-
 
72977
      oprot.writeFieldBegin(PROVIDER_ID_FIELD_DESC);
-
 
72978
      oprot.writeI64(this.providerId);
-
 
72979
      oprot.writeFieldEnd();
-
 
72980
      oprot.writeFieldStop();
-
 
72981
      oprot.writeStructEnd();
-
 
72982
    }
-
 
72983
 
-
 
72984
    @Override
-
 
72985
    public String toString() {
-
 
72986
      StringBuilder sb = new StringBuilder("changeCourierProvider_args(");
-
 
72987
      boolean first = true;
-
 
72988
 
-
 
72989
      sb.append("orderId:");
-
 
72990
      sb.append(this.orderId);
-
 
72991
      first = false;
-
 
72992
      if (!first) sb.append(", ");
-
 
72993
      sb.append("providerId:");
-
 
72994
      sb.append(this.providerId);
-
 
72995
      first = false;
-
 
72996
      sb.append(")");
-
 
72997
      return sb.toString();
-
 
72998
    }
-
 
72999
 
-
 
73000
    public void validate() throws org.apache.thrift.TException {
-
 
73001
      // check for required fields
-
 
73002
    }
-
 
73003
 
-
 
73004
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
73005
      try {
-
 
73006
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
73007
      } catch (org.apache.thrift.TException te) {
-
 
73008
        throw new java.io.IOException(te);
-
 
73009
      }
-
 
73010
    }
-
 
73011
 
-
 
73012
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
73013
      try {
-
 
73014
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
73015
        __isset_bit_vector = new BitSet(1);
-
 
73016
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
73017
      } catch (org.apache.thrift.TException te) {
-
 
73018
        throw new java.io.IOException(te);
-
 
73019
      }
-
 
73020
    }
-
 
73021
 
-
 
73022
  }
-
 
73023
 
-
 
73024
  public static class changeCourierProvider_result implements org.apache.thrift.TBase<changeCourierProvider_result, changeCourierProvider_result._Fields>, java.io.Serializable, Cloneable   {
-
 
73025
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeCourierProvider_result");
-
 
73026
 
-
 
73027
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
-
 
73028
    private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField("ex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
73029
 
-
 
73030
    private Order success; // required
-
 
73031
    private TransactionServiceException ex; // required
-
 
73032
 
-
 
73033
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
73034
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
73035
      SUCCESS((short)0, "success"),
-
 
73036
      EX((short)1, "ex");
-
 
73037
 
-
 
73038
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
73039
 
-
 
73040
      static {
-
 
73041
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
73042
          byName.put(field.getFieldName(), field);
-
 
73043
        }
-
 
73044
      }
-
 
73045
 
-
 
73046
      /**
-
 
73047
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
73048
       */
-
 
73049
      public static _Fields findByThriftId(int fieldId) {
-
 
73050
        switch(fieldId) {
-
 
73051
          case 0: // SUCCESS
-
 
73052
            return SUCCESS;
-
 
73053
          case 1: // EX
-
 
73054
            return EX;
-
 
73055
          default:
-
 
73056
            return null;
-
 
73057
        }
-
 
73058
      }
-
 
73059
 
-
 
73060
      /**
-
 
73061
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
73062
       * if it is not found.
-
 
73063
       */
-
 
73064
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
73065
        _Fields fields = findByThriftId(fieldId);
-
 
73066
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
73067
        return fields;
-
 
73068
      }
-
 
73069
 
-
 
73070
      /**
-
 
73071
       * Find the _Fields constant that matches name, or null if its not found.
-
 
73072
       */
-
 
73073
      public static _Fields findByName(String name) {
-
 
73074
        return byName.get(name);
-
 
73075
      }
-
 
73076
 
-
 
73077
      private final short _thriftId;
-
 
73078
      private final String _fieldName;
-
 
73079
 
-
 
73080
      _Fields(short thriftId, String fieldName) {
-
 
73081
        _thriftId = thriftId;
-
 
73082
        _fieldName = fieldName;
-
 
73083
      }
-
 
73084
 
-
 
73085
      public short getThriftFieldId() {
-
 
73086
        return _thriftId;
-
 
73087
      }
-
 
73088
 
-
 
73089
      public String getFieldName() {
-
 
73090
        return _fieldName;
-
 
73091
      }
-
 
73092
    }
-
 
73093
 
-
 
73094
    // isset id assignments
-
 
73095
 
-
 
73096
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
73097
    static {
-
 
73098
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
73099
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
73100
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Order.class)));
-
 
73101
      tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
73102
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
-
 
73103
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
73104
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(changeCourierProvider_result.class, metaDataMap);
-
 
73105
    }
-
 
73106
 
-
 
73107
    public changeCourierProvider_result() {
-
 
73108
    }
-
 
73109
 
-
 
73110
    public changeCourierProvider_result(
-
 
73111
      Order success,
-
 
73112
      TransactionServiceException ex)
-
 
73113
    {
-
 
73114
      this();
-
 
73115
      this.success = success;
-
 
73116
      this.ex = ex;
-
 
73117
    }
-
 
73118
 
-
 
73119
    /**
-
 
73120
     * Performs a deep copy on <i>other</i>.
-
 
73121
     */
-
 
73122
    public changeCourierProvider_result(changeCourierProvider_result other) {
-
 
73123
      if (other.isSetSuccess()) {
-
 
73124
        this.success = new Order(other.success);
-
 
73125
      }
-
 
73126
      if (other.isSetEx()) {
-
 
73127
        this.ex = new TransactionServiceException(other.ex);
-
 
73128
      }
-
 
73129
    }
-
 
73130
 
-
 
73131
    public changeCourierProvider_result deepCopy() {
-
 
73132
      return new changeCourierProvider_result(this);
-
 
73133
    }
-
 
73134
 
-
 
73135
    @Override
-
 
73136
    public void clear() {
-
 
73137
      this.success = null;
-
 
73138
      this.ex = null;
-
 
73139
    }
-
 
73140
 
-
 
73141
    public Order getSuccess() {
-
 
73142
      return this.success;
-
 
73143
    }
-
 
73144
 
-
 
73145
    public void setSuccess(Order success) {
-
 
73146
      this.success = success;
-
 
73147
    }
-
 
73148
 
-
 
73149
    public void unsetSuccess() {
-
 
73150
      this.success = null;
-
 
73151
    }
-
 
73152
 
-
 
73153
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
73154
    public boolean isSetSuccess() {
-
 
73155
      return this.success != null;
-
 
73156
    }
-
 
73157
 
-
 
73158
    public void setSuccessIsSet(boolean value) {
-
 
73159
      if (!value) {
-
 
73160
        this.success = null;
-
 
73161
      }
-
 
73162
    }
-
 
73163
 
-
 
73164
    public TransactionServiceException getEx() {
-
 
73165
      return this.ex;
-
 
73166
    }
-
 
73167
 
-
 
73168
    public void setEx(TransactionServiceException ex) {
-
 
73169
      this.ex = ex;
-
 
73170
    }
-
 
73171
 
-
 
73172
    public void unsetEx() {
-
 
73173
      this.ex = null;
-
 
73174
    }
-
 
73175
 
-
 
73176
    /** Returns true if field ex is set (has been assigned a value) and false otherwise */
-
 
73177
    public boolean isSetEx() {
-
 
73178
      return this.ex != null;
-
 
73179
    }
-
 
73180
 
-
 
73181
    public void setExIsSet(boolean value) {
-
 
73182
      if (!value) {
-
 
73183
        this.ex = null;
-
 
73184
      }
-
 
73185
    }
-
 
73186
 
-
 
73187
    public void setFieldValue(_Fields field, Object value) {
-
 
73188
      switch (field) {
-
 
73189
      case SUCCESS:
-
 
73190
        if (value == null) {
-
 
73191
          unsetSuccess();
-
 
73192
        } else {
-
 
73193
          setSuccess((Order)value);
-
 
73194
        }
-
 
73195
        break;
-
 
73196
 
-
 
73197
      case EX:
-
 
73198
        if (value == null) {
-
 
73199
          unsetEx();
-
 
73200
        } else {
-
 
73201
          setEx((TransactionServiceException)value);
-
 
73202
        }
-
 
73203
        break;
-
 
73204
 
-
 
73205
      }
-
 
73206
    }
-
 
73207
 
-
 
73208
    public Object getFieldValue(_Fields field) {
-
 
73209
      switch (field) {
-
 
73210
      case SUCCESS:
-
 
73211
        return getSuccess();
-
 
73212
 
-
 
73213
      case EX:
-
 
73214
        return getEx();
-
 
73215
 
-
 
73216
      }
-
 
73217
      throw new IllegalStateException();
-
 
73218
    }
-
 
73219
 
-
 
73220
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
73221
    public boolean isSet(_Fields field) {
-
 
73222
      if (field == null) {
-
 
73223
        throw new IllegalArgumentException();
-
 
73224
      }
-
 
73225
 
-
 
73226
      switch (field) {
-
 
73227
      case SUCCESS:
-
 
73228
        return isSetSuccess();
-
 
73229
      case EX:
-
 
73230
        return isSetEx();
-
 
73231
      }
-
 
73232
      throw new IllegalStateException();
-
 
73233
    }
-
 
73234
 
-
 
73235
    @Override
-
 
73236
    public boolean equals(Object that) {
-
 
73237
      if (that == null)
-
 
73238
        return false;
-
 
73239
      if (that instanceof changeCourierProvider_result)
-
 
73240
        return this.equals((changeCourierProvider_result)that);
-
 
73241
      return false;
-
 
73242
    }
-
 
73243
 
-
 
73244
    public boolean equals(changeCourierProvider_result that) {
-
 
73245
      if (that == null)
-
 
73246
        return false;
-
 
73247
 
-
 
73248
      boolean this_present_success = true && this.isSetSuccess();
-
 
73249
      boolean that_present_success = true && that.isSetSuccess();
-
 
73250
      if (this_present_success || that_present_success) {
-
 
73251
        if (!(this_present_success && that_present_success))
-
 
73252
          return false;
-
 
73253
        if (!this.success.equals(that.success))
-
 
73254
          return false;
-
 
73255
      }
-
 
73256
 
-
 
73257
      boolean this_present_ex = true && this.isSetEx();
-
 
73258
      boolean that_present_ex = true && that.isSetEx();
-
 
73259
      if (this_present_ex || that_present_ex) {
-
 
73260
        if (!(this_present_ex && that_present_ex))
-
 
73261
          return false;
-
 
73262
        if (!this.ex.equals(that.ex))
-
 
73263
          return false;
-
 
73264
      }
-
 
73265
 
-
 
73266
      return true;
-
 
73267
    }
-
 
73268
 
-
 
73269
    @Override
-
 
73270
    public int hashCode() {
-
 
73271
      return 0;
-
 
73272
    }
-
 
73273
 
-
 
73274
    public int compareTo(changeCourierProvider_result other) {
-
 
73275
      if (!getClass().equals(other.getClass())) {
-
 
73276
        return getClass().getName().compareTo(other.getClass().getName());
-
 
73277
      }
-
 
73278
 
-
 
73279
      int lastComparison = 0;
-
 
73280
      changeCourierProvider_result typedOther = (changeCourierProvider_result)other;
-
 
73281
 
-
 
73282
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
73283
      if (lastComparison != 0) {
-
 
73284
        return lastComparison;
-
 
73285
      }
-
 
73286
      if (isSetSuccess()) {
-
 
73287
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
73288
        if (lastComparison != 0) {
-
 
73289
          return lastComparison;
-
 
73290
        }
-
 
73291
      }
-
 
73292
      lastComparison = Boolean.valueOf(isSetEx()).compareTo(typedOther.isSetEx());
-
 
73293
      if (lastComparison != 0) {
-
 
73294
        return lastComparison;
-
 
73295
      }
-
 
73296
      if (isSetEx()) {
-
 
73297
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ex, typedOther.ex);
-
 
73298
        if (lastComparison != 0) {
-
 
73299
          return lastComparison;
-
 
73300
        }
-
 
73301
      }
-
 
73302
      return 0;
-
 
73303
    }
-
 
73304
 
-
 
73305
    public _Fields fieldForId(int fieldId) {
-
 
73306
      return _Fields.findByThriftId(fieldId);
-
 
73307
    }
-
 
73308
 
-
 
73309
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
73310
      org.apache.thrift.protocol.TField field;
-
 
73311
      iprot.readStructBegin();
-
 
73312
      while (true)
-
 
73313
      {
-
 
73314
        field = iprot.readFieldBegin();
-
 
73315
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
73316
          break;
-
 
73317
        }
-
 
73318
        switch (field.id) {
-
 
73319
          case 0: // SUCCESS
-
 
73320
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
73321
              this.success = new Order();
-
 
73322
              this.success.read(iprot);
-
 
73323
            } else { 
-
 
73324
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73325
            }
-
 
73326
            break;
-
 
73327
          case 1: // EX
-
 
73328
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
73329
              this.ex = new TransactionServiceException();
-
 
73330
              this.ex.read(iprot);
-
 
73331
            } else { 
-
 
73332
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73333
            }
-
 
73334
            break;
-
 
73335
          default:
-
 
73336
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
73337
        }
-
 
73338
        iprot.readFieldEnd();
-
 
73339
      }
-
 
73340
      iprot.readStructEnd();
-
 
73341
      validate();
-
 
73342
    }
-
 
73343
 
-
 
73344
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
73345
      oprot.writeStructBegin(STRUCT_DESC);
-
 
73346
 
-
 
73347
      if (this.isSetSuccess()) {
-
 
73348
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
73349
        this.success.write(oprot);
-
 
73350
        oprot.writeFieldEnd();
-
 
73351
      } else if (this.isSetEx()) {
-
 
73352
        oprot.writeFieldBegin(EX_FIELD_DESC);
-
 
73353
        this.ex.write(oprot);
-
 
73354
        oprot.writeFieldEnd();
-
 
73355
      }
-
 
73356
      oprot.writeFieldStop();
-
 
73357
      oprot.writeStructEnd();
-
 
73358
    }
-
 
73359
 
-
 
73360
    @Override
-
 
73361
    public String toString() {
-
 
73362
      StringBuilder sb = new StringBuilder("changeCourierProvider_result(");
-
 
73363
      boolean first = true;
-
 
73364
 
-
 
73365
      sb.append("success:");
-
 
73366
      if (this.success == null) {
-
 
73367
        sb.append("null");
-
 
73368
      } else {
-
 
73369
        sb.append(this.success);
-
 
73370
      }
-
 
73371
      first = false;
-
 
73372
      if (!first) sb.append(", ");
-
 
73373
      sb.append("ex:");
-
 
73374
      if (this.ex == null) {
-
 
73375
        sb.append("null");
-
 
73376
      } else {
-
 
73377
        sb.append(this.ex);
-
 
73378
      }
-
 
73379
      first = false;
-
 
73380
      sb.append(")");
-
 
73381
      return sb.toString();
-
 
73382
    }
-
 
73383
 
-
 
73384
    public void validate() throws org.apache.thrift.TException {
-
 
73385
      // check for required fields
-
 
73386
    }
-
 
73387
 
-
 
73388
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
73389
      try {
-
 
73390
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
73391
      } catch (org.apache.thrift.TException te) {
-
 
73392
        throw new java.io.IOException(te);
-
 
73393
      }
-
 
73394
    }
-
 
73395
 
-
 
73396
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
73397
      try {
-
 
73398
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
73399
      } catch (org.apache.thrift.TException te) {
-
 
73400
        throw new java.io.IOException(te);
-
 
73401
      }
-
 
73402
    }
-
 
73403
 
-
 
73404
  }
-
 
73405
 
72560
  public static class shiftToWarehouse_args implements org.apache.thrift.TBase<shiftToWarehouse_args, shiftToWarehouse_args._Fields>, java.io.Serializable, Cloneable   {
73406
  public static class shiftToWarehouse_args implements org.apache.thrift.TBase<shiftToWarehouse_args, shiftToWarehouse_args._Fields>, java.io.Serializable, Cloneable   {
72561
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("shiftToWarehouse_args");
73407
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("shiftToWarehouse_args");
72562
 
73408
 
72563
    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);
73409
    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);
72564
    private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouseId", org.apache.thrift.protocol.TType.I64, (short)2);
73410
    private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouseId", org.apache.thrift.protocol.TType.I64, (short)2);
Line 111201... Line 112047...
111201
      }
112047
      }
111202
    }
112048
    }
111203
 
112049
 
111204
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
112050
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
111205
      try {
112051
      try {
111206
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
111207
        __isset_bit_vector = new BitSet(1);
-
 
111208
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
112052
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
111209
      } catch (org.apache.thrift.TException te) {
112053
      } catch (org.apache.thrift.TException te) {
111210
        throw new java.io.IOException(te);
112054
        throw new java.io.IOException(te);
111211
      }
112055
      }
111212
    }
112056
    }
Line 111877... Line 112721...
111877
      }
112721
      }
111878
    }
112722
    }
111879
 
112723
 
111880
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
112724
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
111881
      try {
112725
      try {
-
 
112726
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
112727
        __isset_bit_vector = new BitSet(1);
111882
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
112728
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
111883
      } catch (org.apache.thrift.TException te) {
112729
      } catch (org.apache.thrift.TException te) {
111884
        throw new java.io.IOException(te);
112730
        throw new java.io.IOException(te);
111885
      }
112731
      }
111886
    }
112732
    }