Subversion Repositories SmartDukaan

Rev

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

Rev 6000 Rev 6019
Line 835... Line 835...
835
 
835
 
836
    public List<Order> getOrdersCollectionAtStore(long storeId, long fromDate, long toDate, boolean onlyCod) throws org.apache.thrift.TException;
836
    public List<Order> getOrdersCollectionAtStore(long storeId, long fromDate, long toDate, boolean onlyCod) throws org.apache.thrift.TException;
837
 
837
 
838
    public String getOrderAttributeValue(long orderId, String attributeName) throws org.apache.thrift.TException;
838
    public String getOrderAttributeValue(long orderId, String attributeName) throws org.apache.thrift.TException;
839
 
839
 
-
 
840
    public boolean changeJacketNumber(long orderId, long jacketNumber) throws org.apache.thrift.TException;
-
 
841
 
-
 
842
    public boolean markOrderAsRtoInTransit(long orderId) throws org.apache.thrift.TException;
-
 
843
 
840
    /**
844
    /**
841
     * Accepts appropriate order for an item in a given billingWarehouse. Usually
845
     * Accepts appropriate order for an item in a given billingWarehouse. Usually
842
     * invoked while scanning IN of items.
846
     * invoked while scanning IN of items.
843
     * 
847
     * 
844
     * @param itemId
848
     * @param itemId
Line 1108... Line 1112...
1108
 
1112
 
1109
    public void getOrdersCollectionAtStore(long storeId, long fromDate, long toDate, boolean onlyCod, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersCollectionAtStore_call> resultHandler) throws org.apache.thrift.TException;
1113
    public void getOrdersCollectionAtStore(long storeId, long fromDate, long toDate, boolean onlyCod, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersCollectionAtStore_call> resultHandler) throws org.apache.thrift.TException;
1110
 
1114
 
1111
    public void getOrderAttributeValue(long orderId, String attributeName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderAttributeValue_call> resultHandler) throws org.apache.thrift.TException;
1115
    public void getOrderAttributeValue(long orderId, String attributeName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderAttributeValue_call> resultHandler) throws org.apache.thrift.TException;
1112
 
1116
 
-
 
1117
    public void changeJacketNumber(long orderId, long jacketNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeJacketNumber_call> resultHandler) throws org.apache.thrift.TException;
-
 
1118
 
-
 
1119
    public void markOrderAsRtoInTransit(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderAsRtoInTransit_call> resultHandler) throws org.apache.thrift.TException;
-
 
1120
 
1113
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptOrderForItem_call> resultHandler) throws org.apache.thrift.TException;
1121
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.acceptOrderForItem_call> resultHandler) throws org.apache.thrift.TException;
1114
 
1122
 
1115
    public void createRechargeOrder(RechargeOrder rechargeOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createRechargeOrder_call> resultHandler) throws org.apache.thrift.TException;
1123
    public void createRechargeOrder(RechargeOrder rechargeOrder, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createRechargeOrder_call> resultHandler) throws org.apache.thrift.TException;
1116
 
1124
 
1117
    public void updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateRechargeOrderStatus_call> resultHandler) throws org.apache.thrift.TException;
1125
    public void updateRechargeOrderStatus(long rechargeOrderId, RechargeOrderStatus rechargeOrderStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateRechargeOrderStatus_call> resultHandler) throws org.apache.thrift.TException;
Line 4293... Line 4301...
4293
        return result.success;
4301
        return result.success;
4294
      }
4302
      }
4295
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrderAttributeValue failed: unknown result");
4303
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrderAttributeValue failed: unknown result");
4296
    }
4304
    }
4297
 
4305
 
-
 
4306
    public boolean changeJacketNumber(long orderId, long jacketNumber) throws org.apache.thrift.TException
-
 
4307
    {
-
 
4308
      send_changeJacketNumber(orderId, jacketNumber);
-
 
4309
      return recv_changeJacketNumber();
-
 
4310
    }
-
 
4311
 
-
 
4312
    public void send_changeJacketNumber(long orderId, long jacketNumber) throws org.apache.thrift.TException
-
 
4313
    {
-
 
4314
      changeJacketNumber_args args = new changeJacketNumber_args();
-
 
4315
      args.setOrderId(orderId);
-
 
4316
      args.setJacketNumber(jacketNumber);
-
 
4317
      sendBase("changeJacketNumber", args);
-
 
4318
    }
-
 
4319
 
-
 
4320
    public boolean recv_changeJacketNumber() throws org.apache.thrift.TException
-
 
4321
    {
-
 
4322
      changeJacketNumber_result result = new changeJacketNumber_result();
-
 
4323
      receiveBase(result, "changeJacketNumber");
-
 
4324
      if (result.isSetSuccess()) {
-
 
4325
        return result.success;
-
 
4326
      }
-
 
4327
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "changeJacketNumber failed: unknown result");
-
 
4328
    }
-
 
4329
 
-
 
4330
    public boolean markOrderAsRtoInTransit(long orderId) throws org.apache.thrift.TException
-
 
4331
    {
-
 
4332
      send_markOrderAsRtoInTransit(orderId);
-
 
4333
      return recv_markOrderAsRtoInTransit();
-
 
4334
    }
-
 
4335
 
-
 
4336
    public void send_markOrderAsRtoInTransit(long orderId) throws org.apache.thrift.TException
-
 
4337
    {
-
 
4338
      markOrderAsRtoInTransit_args args = new markOrderAsRtoInTransit_args();
-
 
4339
      args.setOrderId(orderId);
-
 
4340
      sendBase("markOrderAsRtoInTransit", args);
-
 
4341
    }
-
 
4342
 
-
 
4343
    public boolean recv_markOrderAsRtoInTransit() throws org.apache.thrift.TException
-
 
4344
    {
-
 
4345
      markOrderAsRtoInTransit_result result = new markOrderAsRtoInTransit_result();
-
 
4346
      receiveBase(result, "markOrderAsRtoInTransit");
-
 
4347
      if (result.isSetSuccess()) {
-
 
4348
        return result.success;
-
 
4349
      }
-
 
4350
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "markOrderAsRtoInTransit failed: unknown result");
-
 
4351
    }
-
 
4352
 
4298
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId) throws org.apache.thrift.TException
4353
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId) throws org.apache.thrift.TException
4299
    {
4354
    {
4300
      send_acceptOrderForItem(itemId, quantity, fulfilmentWarehouseId, billingWarehouseId);
4355
      send_acceptOrderForItem(itemId, quantity, fulfilmentWarehouseId, billingWarehouseId);
4301
      recv_acceptOrderForItem();
4356
      recv_acceptOrderForItem();
4302
    }
4357
    }
Line 8809... Line 8864...
8809
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8864
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8810
        return (new Client(prot)).recv_getOrderAttributeValue();
8865
        return (new Client(prot)).recv_getOrderAttributeValue();
8811
      }
8866
      }
8812
    }
8867
    }
8813
 
8868
 
-
 
8869
    public void changeJacketNumber(long orderId, long jacketNumber, org.apache.thrift.async.AsyncMethodCallback<changeJacketNumber_call> resultHandler) throws org.apache.thrift.TException {
-
 
8870
      checkReady();
-
 
8871
      changeJacketNumber_call method_call = new changeJacketNumber_call(orderId, jacketNumber, resultHandler, this, ___protocolFactory, ___transport);
-
 
8872
      this.___currentMethod = method_call;
-
 
8873
      ___manager.call(method_call);
-
 
8874
    }
-
 
8875
 
-
 
8876
    public static class changeJacketNumber_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8877
      private long orderId;
-
 
8878
      private long jacketNumber;
-
 
8879
      public changeJacketNumber_call(long orderId, long jacketNumber, org.apache.thrift.async.AsyncMethodCallback<changeJacketNumber_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 {
-
 
8880
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8881
        this.orderId = orderId;
-
 
8882
        this.jacketNumber = jacketNumber;
-
 
8883
      }
-
 
8884
 
-
 
8885
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8886
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("changeJacketNumber", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8887
        changeJacketNumber_args args = new changeJacketNumber_args();
-
 
8888
        args.setOrderId(orderId);
-
 
8889
        args.setJacketNumber(jacketNumber);
-
 
8890
        args.write(prot);
-
 
8891
        prot.writeMessageEnd();
-
 
8892
      }
-
 
8893
 
-
 
8894
      public boolean getResult() throws org.apache.thrift.TException {
-
 
8895
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8896
          throw new IllegalStateException("Method call not finished!");
-
 
8897
        }
-
 
8898
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8899
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8900
        return (new Client(prot)).recv_changeJacketNumber();
-
 
8901
      }
-
 
8902
    }
-
 
8903
 
-
 
8904
    public void markOrderAsRtoInTransit(long orderId, org.apache.thrift.async.AsyncMethodCallback<markOrderAsRtoInTransit_call> resultHandler) throws org.apache.thrift.TException {
-
 
8905
      checkReady();
-
 
8906
      markOrderAsRtoInTransit_call method_call = new markOrderAsRtoInTransit_call(orderId, resultHandler, this, ___protocolFactory, ___transport);
-
 
8907
      this.___currentMethod = method_call;
-
 
8908
      ___manager.call(method_call);
-
 
8909
    }
-
 
8910
 
-
 
8911
    public static class markOrderAsRtoInTransit_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
8912
      private long orderId;
-
 
8913
      public markOrderAsRtoInTransit_call(long orderId, org.apache.thrift.async.AsyncMethodCallback<markOrderAsRtoInTransit_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 {
-
 
8914
        super(client, protocolFactory, transport, resultHandler, false);
-
 
8915
        this.orderId = orderId;
-
 
8916
      }
-
 
8917
 
-
 
8918
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
8919
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markOrderAsRtoInTransit", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
8920
        markOrderAsRtoInTransit_args args = new markOrderAsRtoInTransit_args();
-
 
8921
        args.setOrderId(orderId);
-
 
8922
        args.write(prot);
-
 
8923
        prot.writeMessageEnd();
-
 
8924
      }
-
 
8925
 
-
 
8926
      public boolean getResult() throws org.apache.thrift.TException {
-
 
8927
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
8928
          throw new IllegalStateException("Method call not finished!");
-
 
8929
        }
-
 
8930
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
8931
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
8932
        return (new Client(prot)).recv_markOrderAsRtoInTransit();
-
 
8933
      }
-
 
8934
    }
-
 
8935
 
8814
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<acceptOrderForItem_call> resultHandler) throws org.apache.thrift.TException {
8936
    public void acceptOrderForItem(long itemId, long quantity, long fulfilmentWarehouseId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<acceptOrderForItem_call> resultHandler) throws org.apache.thrift.TException {
8815
      checkReady();
8937
      checkReady();
8816
      acceptOrderForItem_call method_call = new acceptOrderForItem_call(itemId, quantity, fulfilmentWarehouseId, billingWarehouseId, resultHandler, this, ___protocolFactory, ___transport);
8938
      acceptOrderForItem_call method_call = new acceptOrderForItem_call(itemId, quantity, fulfilmentWarehouseId, billingWarehouseId, resultHandler, this, ___protocolFactory, ___transport);
8817
      this.___currentMethod = method_call;
8939
      this.___currentMethod = method_call;
8818
      ___manager.call(method_call);
8940
      ___manager.call(method_call);
Line 9153... Line 9275...
9153
      processMap.put("setOrderAttributeForTransaction", new setOrderAttributeForTransaction());
9275
      processMap.put("setOrderAttributeForTransaction", new setOrderAttributeForTransaction());
9154
      processMap.put("getReceivePendingOrders", new getReceivePendingOrders());
9276
      processMap.put("getReceivePendingOrders", new getReceivePendingOrders());
9155
      processMap.put("getReceivedAtStoreOrders", new getReceivedAtStoreOrders());
9277
      processMap.put("getReceivedAtStoreOrders", new getReceivedAtStoreOrders());
9156
      processMap.put("getOrdersCollectionAtStore", new getOrdersCollectionAtStore());
9278
      processMap.put("getOrdersCollectionAtStore", new getOrdersCollectionAtStore());
9157
      processMap.put("getOrderAttributeValue", new getOrderAttributeValue());
9279
      processMap.put("getOrderAttributeValue", new getOrderAttributeValue());
-
 
9280
      processMap.put("changeJacketNumber", new changeJacketNumber());
-
 
9281
      processMap.put("markOrderAsRtoInTransit", new markOrderAsRtoInTransit());
9158
      processMap.put("acceptOrderForItem", new acceptOrderForItem());
9282
      processMap.put("acceptOrderForItem", new acceptOrderForItem());
9159
      processMap.put("createRechargeOrder", new createRechargeOrder());
9283
      processMap.put("createRechargeOrder", new createRechargeOrder());
9160
      processMap.put("updateRechargeOrderStatus", new updateRechargeOrderStatus());
9284
      processMap.put("updateRechargeOrderStatus", new updateRechargeOrderStatus());
9161
      processMap.put("activateRechargeTxn", new activateRechargeTxn());
9285
      processMap.put("activateRechargeTxn", new activateRechargeTxn());
9162
      processMap.put("getRechargeOrders", new getRechargeOrders());
9286
      processMap.put("getRechargeOrders", new getRechargeOrders());
Line 11540... Line 11664...
11540
        result.success = iface.getOrderAttributeValue(args.orderId, args.attributeName);
11664
        result.success = iface.getOrderAttributeValue(args.orderId, args.attributeName);
11541
        return result;
11665
        return result;
11542
      }
11666
      }
11543
    }
11667
    }
11544
 
11668
 
-
 
11669
    private static class changeJacketNumber<I extends Iface> extends org.apache.thrift.ProcessFunction<I, changeJacketNumber_args> {
-
 
11670
      public changeJacketNumber() {
-
 
11671
        super("changeJacketNumber");
-
 
11672
      }
-
 
11673
 
-
 
11674
      protected changeJacketNumber_args getEmptyArgsInstance() {
-
 
11675
        return new changeJacketNumber_args();
-
 
11676
      }
-
 
11677
 
-
 
11678
      protected changeJacketNumber_result getResult(I iface, changeJacketNumber_args args) throws org.apache.thrift.TException {
-
 
11679
        changeJacketNumber_result result = new changeJacketNumber_result();
-
 
11680
        result.success = iface.changeJacketNumber(args.orderId, args.jacketNumber);
-
 
11681
        result.setSuccessIsSet(true);
-
 
11682
        return result;
-
 
11683
      }
-
 
11684
    }
-
 
11685
 
-
 
11686
    private static class markOrderAsRtoInTransit<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markOrderAsRtoInTransit_args> {
-
 
11687
      public markOrderAsRtoInTransit() {
-
 
11688
        super("markOrderAsRtoInTransit");
-
 
11689
      }
-
 
11690
 
-
 
11691
      protected markOrderAsRtoInTransit_args getEmptyArgsInstance() {
-
 
11692
        return new markOrderAsRtoInTransit_args();
-
 
11693
      }
-
 
11694
 
-
 
11695
      protected markOrderAsRtoInTransit_result getResult(I iface, markOrderAsRtoInTransit_args args) throws org.apache.thrift.TException {
-
 
11696
        markOrderAsRtoInTransit_result result = new markOrderAsRtoInTransit_result();
-
 
11697
        result.success = iface.markOrderAsRtoInTransit(args.orderId);
-
 
11698
        result.setSuccessIsSet(true);
-
 
11699
        return result;
-
 
11700
      }
-
 
11701
    }
-
 
11702
 
11545
    private static class acceptOrderForItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, acceptOrderForItem_args> {
11703
    private static class acceptOrderForItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, acceptOrderForItem_args> {
11546
      public acceptOrderForItem() {
11704
      public acceptOrderForItem() {
11547
        super("acceptOrderForItem");
11705
        super("acceptOrderForItem");
11548
      }
11706
      }
11549
 
11707
 
Line 103139... Line 103297...
103139
      }
103297
      }
103140
    }
103298
    }
103141
 
103299
 
103142
  }
103300
  }
103143
 
103301
 
-
 
103302
  public static class changeJacketNumber_args implements org.apache.thrift.TBase<changeJacketNumber_args, changeJacketNumber_args._Fields>, java.io.Serializable, Cloneable   {
-
 
103303
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeJacketNumber_args");
-
 
103304
 
-
 
103305
    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);
-
 
103306
    private static final org.apache.thrift.protocol.TField JACKET_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("jacketNumber", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
103307
 
-
 
103308
    private long orderId; // required
-
 
103309
    private long jacketNumber; // required
-
 
103310
 
-
 
103311
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
103312
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
103313
      ORDER_ID((short)1, "orderId"),
-
 
103314
      JACKET_NUMBER((short)2, "jacketNumber");
-
 
103315
 
-
 
103316
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
103317
 
-
 
103318
      static {
-
 
103319
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
103320
          byName.put(field.getFieldName(), field);
-
 
103321
        }
-
 
103322
      }
-
 
103323
 
-
 
103324
      /**
-
 
103325
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
103326
       */
-
 
103327
      public static _Fields findByThriftId(int fieldId) {
-
 
103328
        switch(fieldId) {
-
 
103329
          case 1: // ORDER_ID
-
 
103330
            return ORDER_ID;
-
 
103331
          case 2: // JACKET_NUMBER
-
 
103332
            return JACKET_NUMBER;
-
 
103333
          default:
-
 
103334
            return null;
-
 
103335
        }
-
 
103336
      }
-
 
103337
 
-
 
103338
      /**
-
 
103339
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
103340
       * if it is not found.
-
 
103341
       */
-
 
103342
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
103343
        _Fields fields = findByThriftId(fieldId);
-
 
103344
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
103345
        return fields;
-
 
103346
      }
-
 
103347
 
-
 
103348
      /**
-
 
103349
       * Find the _Fields constant that matches name, or null if its not found.
-
 
103350
       */
-
 
103351
      public static _Fields findByName(String name) {
-
 
103352
        return byName.get(name);
-
 
103353
      }
-
 
103354
 
-
 
103355
      private final short _thriftId;
-
 
103356
      private final String _fieldName;
-
 
103357
 
-
 
103358
      _Fields(short thriftId, String fieldName) {
-
 
103359
        _thriftId = thriftId;
-
 
103360
        _fieldName = fieldName;
-
 
103361
      }
-
 
103362
 
-
 
103363
      public short getThriftFieldId() {
-
 
103364
        return _thriftId;
-
 
103365
      }
-
 
103366
 
-
 
103367
      public String getFieldName() {
-
 
103368
        return _fieldName;
-
 
103369
      }
-
 
103370
    }
-
 
103371
 
-
 
103372
    // isset id assignments
-
 
103373
    private static final int __ORDERID_ISSET_ID = 0;
-
 
103374
    private static final int __JACKETNUMBER_ISSET_ID = 1;
-
 
103375
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
103376
 
-
 
103377
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
103378
    static {
-
 
103379
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
103380
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
103381
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
103382
      tmpMap.put(_Fields.JACKET_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("jacketNumber", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
103383
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
103384
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
103385
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(changeJacketNumber_args.class, metaDataMap);
-
 
103386
    }
-
 
103387
 
-
 
103388
    public changeJacketNumber_args() {
-
 
103389
    }
-
 
103390
 
-
 
103391
    public changeJacketNumber_args(
-
 
103392
      long orderId,
-
 
103393
      long jacketNumber)
-
 
103394
    {
-
 
103395
      this();
-
 
103396
      this.orderId = orderId;
-
 
103397
      setOrderIdIsSet(true);
-
 
103398
      this.jacketNumber = jacketNumber;
-
 
103399
      setJacketNumberIsSet(true);
-
 
103400
    }
-
 
103401
 
-
 
103402
    /**
-
 
103403
     * Performs a deep copy on <i>other</i>.
-
 
103404
     */
-
 
103405
    public changeJacketNumber_args(changeJacketNumber_args other) {
-
 
103406
      __isset_bit_vector.clear();
-
 
103407
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
103408
      this.orderId = other.orderId;
-
 
103409
      this.jacketNumber = other.jacketNumber;
-
 
103410
    }
-
 
103411
 
-
 
103412
    public changeJacketNumber_args deepCopy() {
-
 
103413
      return new changeJacketNumber_args(this);
-
 
103414
    }
-
 
103415
 
-
 
103416
    @Override
-
 
103417
    public void clear() {
-
 
103418
      setOrderIdIsSet(false);
-
 
103419
      this.orderId = 0;
-
 
103420
      setJacketNumberIsSet(false);
-
 
103421
      this.jacketNumber = 0;
-
 
103422
    }
-
 
103423
 
-
 
103424
    public long getOrderId() {
-
 
103425
      return this.orderId;
-
 
103426
    }
-
 
103427
 
-
 
103428
    public void setOrderId(long orderId) {
-
 
103429
      this.orderId = orderId;
-
 
103430
      setOrderIdIsSet(true);
-
 
103431
    }
-
 
103432
 
-
 
103433
    public void unsetOrderId() {
-
 
103434
      __isset_bit_vector.clear(__ORDERID_ISSET_ID);
-
 
103435
    }
-
 
103436
 
-
 
103437
    /** Returns true if field orderId is set (has been assigned a value) and false otherwise */
-
 
103438
    public boolean isSetOrderId() {
-
 
103439
      return __isset_bit_vector.get(__ORDERID_ISSET_ID);
-
 
103440
    }
-
 
103441
 
-
 
103442
    public void setOrderIdIsSet(boolean value) {
-
 
103443
      __isset_bit_vector.set(__ORDERID_ISSET_ID, value);
-
 
103444
    }
-
 
103445
 
-
 
103446
    public long getJacketNumber() {
-
 
103447
      return this.jacketNumber;
-
 
103448
    }
-
 
103449
 
-
 
103450
    public void setJacketNumber(long jacketNumber) {
-
 
103451
      this.jacketNumber = jacketNumber;
-
 
103452
      setJacketNumberIsSet(true);
-
 
103453
    }
-
 
103454
 
-
 
103455
    public void unsetJacketNumber() {
-
 
103456
      __isset_bit_vector.clear(__JACKETNUMBER_ISSET_ID);
-
 
103457
    }
-
 
103458
 
-
 
103459
    /** Returns true if field jacketNumber is set (has been assigned a value) and false otherwise */
-
 
103460
    public boolean isSetJacketNumber() {
-
 
103461
      return __isset_bit_vector.get(__JACKETNUMBER_ISSET_ID);
-
 
103462
    }
-
 
103463
 
-
 
103464
    public void setJacketNumberIsSet(boolean value) {
-
 
103465
      __isset_bit_vector.set(__JACKETNUMBER_ISSET_ID, value);
-
 
103466
    }
-
 
103467
 
-
 
103468
    public void setFieldValue(_Fields field, Object value) {
-
 
103469
      switch (field) {
-
 
103470
      case ORDER_ID:
-
 
103471
        if (value == null) {
-
 
103472
          unsetOrderId();
-
 
103473
        } else {
-
 
103474
          setOrderId((Long)value);
-
 
103475
        }
-
 
103476
        break;
-
 
103477
 
-
 
103478
      case JACKET_NUMBER:
-
 
103479
        if (value == null) {
-
 
103480
          unsetJacketNumber();
-
 
103481
        } else {
-
 
103482
          setJacketNumber((Long)value);
-
 
103483
        }
-
 
103484
        break;
-
 
103485
 
-
 
103486
      }
-
 
103487
    }
-
 
103488
 
-
 
103489
    public Object getFieldValue(_Fields field) {
-
 
103490
      switch (field) {
-
 
103491
      case ORDER_ID:
-
 
103492
        return Long.valueOf(getOrderId());
-
 
103493
 
-
 
103494
      case JACKET_NUMBER:
-
 
103495
        return Long.valueOf(getJacketNumber());
-
 
103496
 
-
 
103497
      }
-
 
103498
      throw new IllegalStateException();
-
 
103499
    }
-
 
103500
 
-
 
103501
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
103502
    public boolean isSet(_Fields field) {
-
 
103503
      if (field == null) {
-
 
103504
        throw new IllegalArgumentException();
-
 
103505
      }
-
 
103506
 
-
 
103507
      switch (field) {
-
 
103508
      case ORDER_ID:
-
 
103509
        return isSetOrderId();
-
 
103510
      case JACKET_NUMBER:
-
 
103511
        return isSetJacketNumber();
-
 
103512
      }
-
 
103513
      throw new IllegalStateException();
-
 
103514
    }
-
 
103515
 
-
 
103516
    @Override
-
 
103517
    public boolean equals(Object that) {
-
 
103518
      if (that == null)
-
 
103519
        return false;
-
 
103520
      if (that instanceof changeJacketNumber_args)
-
 
103521
        return this.equals((changeJacketNumber_args)that);
-
 
103522
      return false;
-
 
103523
    }
-
 
103524
 
-
 
103525
    public boolean equals(changeJacketNumber_args that) {
-
 
103526
      if (that == null)
-
 
103527
        return false;
-
 
103528
 
-
 
103529
      boolean this_present_orderId = true;
-
 
103530
      boolean that_present_orderId = true;
-
 
103531
      if (this_present_orderId || that_present_orderId) {
-
 
103532
        if (!(this_present_orderId && that_present_orderId))
-
 
103533
          return false;
-
 
103534
        if (this.orderId != that.orderId)
-
 
103535
          return false;
-
 
103536
      }
-
 
103537
 
-
 
103538
      boolean this_present_jacketNumber = true;
-
 
103539
      boolean that_present_jacketNumber = true;
-
 
103540
      if (this_present_jacketNumber || that_present_jacketNumber) {
-
 
103541
        if (!(this_present_jacketNumber && that_present_jacketNumber))
-
 
103542
          return false;
-
 
103543
        if (this.jacketNumber != that.jacketNumber)
-
 
103544
          return false;
-
 
103545
      }
-
 
103546
 
-
 
103547
      return true;
-
 
103548
    }
-
 
103549
 
-
 
103550
    @Override
-
 
103551
    public int hashCode() {
-
 
103552
      return 0;
-
 
103553
    }
-
 
103554
 
-
 
103555
    public int compareTo(changeJacketNumber_args other) {
-
 
103556
      if (!getClass().equals(other.getClass())) {
-
 
103557
        return getClass().getName().compareTo(other.getClass().getName());
-
 
103558
      }
-
 
103559
 
-
 
103560
      int lastComparison = 0;
-
 
103561
      changeJacketNumber_args typedOther = (changeJacketNumber_args)other;
-
 
103562
 
-
 
103563
      lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
-
 
103564
      if (lastComparison != 0) {
-
 
103565
        return lastComparison;
-
 
103566
      }
-
 
103567
      if (isSetOrderId()) {
-
 
103568
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
-
 
103569
        if (lastComparison != 0) {
-
 
103570
          return lastComparison;
-
 
103571
        }
-
 
103572
      }
-
 
103573
      lastComparison = Boolean.valueOf(isSetJacketNumber()).compareTo(typedOther.isSetJacketNumber());
-
 
103574
      if (lastComparison != 0) {
-
 
103575
        return lastComparison;
-
 
103576
      }
-
 
103577
      if (isSetJacketNumber()) {
-
 
103578
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jacketNumber, typedOther.jacketNumber);
-
 
103579
        if (lastComparison != 0) {
-
 
103580
          return lastComparison;
-
 
103581
        }
-
 
103582
      }
-
 
103583
      return 0;
-
 
103584
    }
-
 
103585
 
-
 
103586
    public _Fields fieldForId(int fieldId) {
-
 
103587
      return _Fields.findByThriftId(fieldId);
-
 
103588
    }
-
 
103589
 
-
 
103590
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
103591
      org.apache.thrift.protocol.TField field;
-
 
103592
      iprot.readStructBegin();
-
 
103593
      while (true)
-
 
103594
      {
-
 
103595
        field = iprot.readFieldBegin();
-
 
103596
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
103597
          break;
-
 
103598
        }
-
 
103599
        switch (field.id) {
-
 
103600
          case 1: // ORDER_ID
-
 
103601
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
103602
              this.orderId = iprot.readI64();
-
 
103603
              setOrderIdIsSet(true);
-
 
103604
            } else { 
-
 
103605
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
103606
            }
-
 
103607
            break;
-
 
103608
          case 2: // JACKET_NUMBER
-
 
103609
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
103610
              this.jacketNumber = iprot.readI64();
-
 
103611
              setJacketNumberIsSet(true);
-
 
103612
            } else { 
-
 
103613
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
103614
            }
-
 
103615
            break;
-
 
103616
          default:
-
 
103617
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
103618
        }
-
 
103619
        iprot.readFieldEnd();
-
 
103620
      }
-
 
103621
      iprot.readStructEnd();
-
 
103622
      validate();
-
 
103623
    }
-
 
103624
 
-
 
103625
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
103626
      validate();
-
 
103627
 
-
 
103628
      oprot.writeStructBegin(STRUCT_DESC);
-
 
103629
      oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
-
 
103630
      oprot.writeI64(this.orderId);
-
 
103631
      oprot.writeFieldEnd();
-
 
103632
      oprot.writeFieldBegin(JACKET_NUMBER_FIELD_DESC);
-
 
103633
      oprot.writeI64(this.jacketNumber);
-
 
103634
      oprot.writeFieldEnd();
-
 
103635
      oprot.writeFieldStop();
-
 
103636
      oprot.writeStructEnd();
-
 
103637
    }
-
 
103638
 
-
 
103639
    @Override
-
 
103640
    public String toString() {
-
 
103641
      StringBuilder sb = new StringBuilder("changeJacketNumber_args(");
-
 
103642
      boolean first = true;
-
 
103643
 
-
 
103644
      sb.append("orderId:");
-
 
103645
      sb.append(this.orderId);
-
 
103646
      first = false;
-
 
103647
      if (!first) sb.append(", ");
-
 
103648
      sb.append("jacketNumber:");
-
 
103649
      sb.append(this.jacketNumber);
-
 
103650
      first = false;
-
 
103651
      sb.append(")");
-
 
103652
      return sb.toString();
-
 
103653
    }
-
 
103654
 
-
 
103655
    public void validate() throws org.apache.thrift.TException {
-
 
103656
      // check for required fields
-
 
103657
    }
-
 
103658
 
-
 
103659
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
103660
      try {
-
 
103661
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
103662
      } catch (org.apache.thrift.TException te) {
-
 
103663
        throw new java.io.IOException(te);
-
 
103664
      }
-
 
103665
    }
-
 
103666
 
-
 
103667
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
103668
      try {
-
 
103669
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
103670
        __isset_bit_vector = new BitSet(1);
-
 
103671
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
103672
      } catch (org.apache.thrift.TException te) {
-
 
103673
        throw new java.io.IOException(te);
-
 
103674
      }
-
 
103675
    }
-
 
103676
 
-
 
103677
  }
-
 
103678
 
-
 
103679
  public static class changeJacketNumber_result implements org.apache.thrift.TBase<changeJacketNumber_result, changeJacketNumber_result._Fields>, java.io.Serializable, Cloneable   {
-
 
103680
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeJacketNumber_result");
-
 
103681
 
-
 
103682
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
103683
 
-
 
103684
    private boolean success; // required
-
 
103685
 
-
 
103686
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
103687
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
103688
      SUCCESS((short)0, "success");
-
 
103689
 
-
 
103690
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
103691
 
-
 
103692
      static {
-
 
103693
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
103694
          byName.put(field.getFieldName(), field);
-
 
103695
        }
-
 
103696
      }
-
 
103697
 
-
 
103698
      /**
-
 
103699
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
103700
       */
-
 
103701
      public static _Fields findByThriftId(int fieldId) {
-
 
103702
        switch(fieldId) {
-
 
103703
          case 0: // SUCCESS
-
 
103704
            return SUCCESS;
-
 
103705
          default:
-
 
103706
            return null;
-
 
103707
        }
-
 
103708
      }
-
 
103709
 
-
 
103710
      /**
-
 
103711
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
103712
       * if it is not found.
-
 
103713
       */
-
 
103714
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
103715
        _Fields fields = findByThriftId(fieldId);
-
 
103716
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
103717
        return fields;
-
 
103718
      }
-
 
103719
 
-
 
103720
      /**
-
 
103721
       * Find the _Fields constant that matches name, or null if its not found.
-
 
103722
       */
-
 
103723
      public static _Fields findByName(String name) {
-
 
103724
        return byName.get(name);
-
 
103725
      }
-
 
103726
 
-
 
103727
      private final short _thriftId;
-
 
103728
      private final String _fieldName;
-
 
103729
 
-
 
103730
      _Fields(short thriftId, String fieldName) {
-
 
103731
        _thriftId = thriftId;
-
 
103732
        _fieldName = fieldName;
-
 
103733
      }
-
 
103734
 
-
 
103735
      public short getThriftFieldId() {
-
 
103736
        return _thriftId;
-
 
103737
      }
-
 
103738
 
-
 
103739
      public String getFieldName() {
-
 
103740
        return _fieldName;
-
 
103741
      }
-
 
103742
    }
-
 
103743
 
-
 
103744
    // isset id assignments
-
 
103745
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
103746
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
103747
 
-
 
103748
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
103749
    static {
-
 
103750
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
103751
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
103752
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
103753
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
103754
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(changeJacketNumber_result.class, metaDataMap);
-
 
103755
    }
-
 
103756
 
-
 
103757
    public changeJacketNumber_result() {
-
 
103758
    }
-
 
103759
 
-
 
103760
    public changeJacketNumber_result(
-
 
103761
      boolean success)
-
 
103762
    {
-
 
103763
      this();
-
 
103764
      this.success = success;
-
 
103765
      setSuccessIsSet(true);
-
 
103766
    }
-
 
103767
 
-
 
103768
    /**
-
 
103769
     * Performs a deep copy on <i>other</i>.
-
 
103770
     */
-
 
103771
    public changeJacketNumber_result(changeJacketNumber_result other) {
-
 
103772
      __isset_bit_vector.clear();
-
 
103773
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
103774
      this.success = other.success;
-
 
103775
    }
-
 
103776
 
-
 
103777
    public changeJacketNumber_result deepCopy() {
-
 
103778
      return new changeJacketNumber_result(this);
-
 
103779
    }
-
 
103780
 
-
 
103781
    @Override
-
 
103782
    public void clear() {
-
 
103783
      setSuccessIsSet(false);
-
 
103784
      this.success = false;
-
 
103785
    }
-
 
103786
 
-
 
103787
    public boolean isSuccess() {
-
 
103788
      return this.success;
-
 
103789
    }
-
 
103790
 
-
 
103791
    public void setSuccess(boolean success) {
-
 
103792
      this.success = success;
-
 
103793
      setSuccessIsSet(true);
-
 
103794
    }
-
 
103795
 
-
 
103796
    public void unsetSuccess() {
-
 
103797
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
103798
    }
-
 
103799
 
-
 
103800
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
103801
    public boolean isSetSuccess() {
-
 
103802
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
103803
    }
-
 
103804
 
-
 
103805
    public void setSuccessIsSet(boolean value) {
-
 
103806
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
103807
    }
-
 
103808
 
-
 
103809
    public void setFieldValue(_Fields field, Object value) {
-
 
103810
      switch (field) {
-
 
103811
      case SUCCESS:
-
 
103812
        if (value == null) {
-
 
103813
          unsetSuccess();
-
 
103814
        } else {
-
 
103815
          setSuccess((Boolean)value);
-
 
103816
        }
-
 
103817
        break;
-
 
103818
 
-
 
103819
      }
-
 
103820
    }
-
 
103821
 
-
 
103822
    public Object getFieldValue(_Fields field) {
-
 
103823
      switch (field) {
-
 
103824
      case SUCCESS:
-
 
103825
        return Boolean.valueOf(isSuccess());
-
 
103826
 
-
 
103827
      }
-
 
103828
      throw new IllegalStateException();
-
 
103829
    }
-
 
103830
 
-
 
103831
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
103832
    public boolean isSet(_Fields field) {
-
 
103833
      if (field == null) {
-
 
103834
        throw new IllegalArgumentException();
-
 
103835
      }
-
 
103836
 
-
 
103837
      switch (field) {
-
 
103838
      case SUCCESS:
-
 
103839
        return isSetSuccess();
-
 
103840
      }
-
 
103841
      throw new IllegalStateException();
-
 
103842
    }
-
 
103843
 
-
 
103844
    @Override
-
 
103845
    public boolean equals(Object that) {
-
 
103846
      if (that == null)
-
 
103847
        return false;
-
 
103848
      if (that instanceof changeJacketNumber_result)
-
 
103849
        return this.equals((changeJacketNumber_result)that);
-
 
103850
      return false;
-
 
103851
    }
-
 
103852
 
-
 
103853
    public boolean equals(changeJacketNumber_result that) {
-
 
103854
      if (that == null)
-
 
103855
        return false;
-
 
103856
 
-
 
103857
      boolean this_present_success = true;
-
 
103858
      boolean that_present_success = true;
-
 
103859
      if (this_present_success || that_present_success) {
-
 
103860
        if (!(this_present_success && that_present_success))
-
 
103861
          return false;
-
 
103862
        if (this.success != that.success)
-
 
103863
          return false;
-
 
103864
      }
-
 
103865
 
-
 
103866
      return true;
-
 
103867
    }
-
 
103868
 
-
 
103869
    @Override
-
 
103870
    public int hashCode() {
-
 
103871
      return 0;
-
 
103872
    }
-
 
103873
 
-
 
103874
    public int compareTo(changeJacketNumber_result other) {
-
 
103875
      if (!getClass().equals(other.getClass())) {
-
 
103876
        return getClass().getName().compareTo(other.getClass().getName());
-
 
103877
      }
-
 
103878
 
-
 
103879
      int lastComparison = 0;
-
 
103880
      changeJacketNumber_result typedOther = (changeJacketNumber_result)other;
-
 
103881
 
-
 
103882
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
103883
      if (lastComparison != 0) {
-
 
103884
        return lastComparison;
-
 
103885
      }
-
 
103886
      if (isSetSuccess()) {
-
 
103887
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
103888
        if (lastComparison != 0) {
-
 
103889
          return lastComparison;
-
 
103890
        }
-
 
103891
      }
-
 
103892
      return 0;
-
 
103893
    }
-
 
103894
 
-
 
103895
    public _Fields fieldForId(int fieldId) {
-
 
103896
      return _Fields.findByThriftId(fieldId);
-
 
103897
    }
-
 
103898
 
-
 
103899
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
103900
      org.apache.thrift.protocol.TField field;
-
 
103901
      iprot.readStructBegin();
-
 
103902
      while (true)
-
 
103903
      {
-
 
103904
        field = iprot.readFieldBegin();
-
 
103905
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
103906
          break;
-
 
103907
        }
-
 
103908
        switch (field.id) {
-
 
103909
          case 0: // SUCCESS
-
 
103910
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
103911
              this.success = iprot.readBool();
-
 
103912
              setSuccessIsSet(true);
-
 
103913
            } else { 
-
 
103914
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
103915
            }
-
 
103916
            break;
-
 
103917
          default:
-
 
103918
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
103919
        }
-
 
103920
        iprot.readFieldEnd();
-
 
103921
      }
-
 
103922
      iprot.readStructEnd();
-
 
103923
      validate();
-
 
103924
    }
-
 
103925
 
-
 
103926
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
103927
      oprot.writeStructBegin(STRUCT_DESC);
-
 
103928
 
-
 
103929
      if (this.isSetSuccess()) {
-
 
103930
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
103931
        oprot.writeBool(this.success);
-
 
103932
        oprot.writeFieldEnd();
-
 
103933
      }
-
 
103934
      oprot.writeFieldStop();
-
 
103935
      oprot.writeStructEnd();
-
 
103936
    }
-
 
103937
 
-
 
103938
    @Override
-
 
103939
    public String toString() {
-
 
103940
      StringBuilder sb = new StringBuilder("changeJacketNumber_result(");
-
 
103941
      boolean first = true;
-
 
103942
 
-
 
103943
      sb.append("success:");
-
 
103944
      sb.append(this.success);
-
 
103945
      first = false;
-
 
103946
      sb.append(")");
-
 
103947
      return sb.toString();
-
 
103948
    }
-
 
103949
 
-
 
103950
    public void validate() throws org.apache.thrift.TException {
-
 
103951
      // check for required fields
-
 
103952
    }
-
 
103953
 
-
 
103954
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
103955
      try {
-
 
103956
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
103957
      } catch (org.apache.thrift.TException te) {
-
 
103958
        throw new java.io.IOException(te);
-
 
103959
      }
-
 
103960
    }
-
 
103961
 
-
 
103962
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
103963
      try {
-
 
103964
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
103965
      } catch (org.apache.thrift.TException te) {
-
 
103966
        throw new java.io.IOException(te);
-
 
103967
      }
-
 
103968
    }
-
 
103969
 
-
 
103970
  }
-
 
103971
 
-
 
103972
  public static class markOrderAsRtoInTransit_args implements org.apache.thrift.TBase<markOrderAsRtoInTransit_args, markOrderAsRtoInTransit_args._Fields>, java.io.Serializable, Cloneable   {
-
 
103973
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrderAsRtoInTransit_args");
-
 
103974
 
-
 
103975
    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);
-
 
103976
 
-
 
103977
    private long orderId; // required
-
 
103978
 
-
 
103979
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
103980
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
103981
      ORDER_ID((short)1, "orderId");
-
 
103982
 
-
 
103983
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
103984
 
-
 
103985
      static {
-
 
103986
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
103987
          byName.put(field.getFieldName(), field);
-
 
103988
        }
-
 
103989
      }
-
 
103990
 
-
 
103991
      /**
-
 
103992
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
103993
       */
-
 
103994
      public static _Fields findByThriftId(int fieldId) {
-
 
103995
        switch(fieldId) {
-
 
103996
          case 1: // ORDER_ID
-
 
103997
            return ORDER_ID;
-
 
103998
          default:
-
 
103999
            return null;
-
 
104000
        }
-
 
104001
      }
-
 
104002
 
-
 
104003
      /**
-
 
104004
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
104005
       * if it is not found.
-
 
104006
       */
-
 
104007
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
104008
        _Fields fields = findByThriftId(fieldId);
-
 
104009
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
104010
        return fields;
-
 
104011
      }
-
 
104012
 
-
 
104013
      /**
-
 
104014
       * Find the _Fields constant that matches name, or null if its not found.
-
 
104015
       */
-
 
104016
      public static _Fields findByName(String name) {
-
 
104017
        return byName.get(name);
-
 
104018
      }
-
 
104019
 
-
 
104020
      private final short _thriftId;
-
 
104021
      private final String _fieldName;
-
 
104022
 
-
 
104023
      _Fields(short thriftId, String fieldName) {
-
 
104024
        _thriftId = thriftId;
-
 
104025
        _fieldName = fieldName;
-
 
104026
      }
-
 
104027
 
-
 
104028
      public short getThriftFieldId() {
-
 
104029
        return _thriftId;
-
 
104030
      }
-
 
104031
 
-
 
104032
      public String getFieldName() {
-
 
104033
        return _fieldName;
-
 
104034
      }
-
 
104035
    }
-
 
104036
 
-
 
104037
    // isset id assignments
-
 
104038
    private static final int __ORDERID_ISSET_ID = 0;
-
 
104039
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
104040
 
-
 
104041
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
104042
    static {
-
 
104043
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
104044
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
104045
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
104046
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
104047
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrderAsRtoInTransit_args.class, metaDataMap);
-
 
104048
    }
-
 
104049
 
-
 
104050
    public markOrderAsRtoInTransit_args() {
-
 
104051
    }
-
 
104052
 
-
 
104053
    public markOrderAsRtoInTransit_args(
-
 
104054
      long orderId)
-
 
104055
    {
-
 
104056
      this();
-
 
104057
      this.orderId = orderId;
-
 
104058
      setOrderIdIsSet(true);
-
 
104059
    }
-
 
104060
 
-
 
104061
    /**
-
 
104062
     * Performs a deep copy on <i>other</i>.
-
 
104063
     */
-
 
104064
    public markOrderAsRtoInTransit_args(markOrderAsRtoInTransit_args other) {
-
 
104065
      __isset_bit_vector.clear();
-
 
104066
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
104067
      this.orderId = other.orderId;
-
 
104068
    }
-
 
104069
 
-
 
104070
    public markOrderAsRtoInTransit_args deepCopy() {
-
 
104071
      return new markOrderAsRtoInTransit_args(this);
-
 
104072
    }
-
 
104073
 
-
 
104074
    @Override
-
 
104075
    public void clear() {
-
 
104076
      setOrderIdIsSet(false);
-
 
104077
      this.orderId = 0;
-
 
104078
    }
-
 
104079
 
-
 
104080
    public long getOrderId() {
-
 
104081
      return this.orderId;
-
 
104082
    }
-
 
104083
 
-
 
104084
    public void setOrderId(long orderId) {
-
 
104085
      this.orderId = orderId;
-
 
104086
      setOrderIdIsSet(true);
-
 
104087
    }
-
 
104088
 
-
 
104089
    public void unsetOrderId() {
-
 
104090
      __isset_bit_vector.clear(__ORDERID_ISSET_ID);
-
 
104091
    }
-
 
104092
 
-
 
104093
    /** Returns true if field orderId is set (has been assigned a value) and false otherwise */
-
 
104094
    public boolean isSetOrderId() {
-
 
104095
      return __isset_bit_vector.get(__ORDERID_ISSET_ID);
-
 
104096
    }
-
 
104097
 
-
 
104098
    public void setOrderIdIsSet(boolean value) {
-
 
104099
      __isset_bit_vector.set(__ORDERID_ISSET_ID, value);
-
 
104100
    }
-
 
104101
 
-
 
104102
    public void setFieldValue(_Fields field, Object value) {
-
 
104103
      switch (field) {
-
 
104104
      case ORDER_ID:
-
 
104105
        if (value == null) {
-
 
104106
          unsetOrderId();
-
 
104107
        } else {
-
 
104108
          setOrderId((Long)value);
-
 
104109
        }
-
 
104110
        break;
-
 
104111
 
-
 
104112
      }
-
 
104113
    }
-
 
104114
 
-
 
104115
    public Object getFieldValue(_Fields field) {
-
 
104116
      switch (field) {
-
 
104117
      case ORDER_ID:
-
 
104118
        return Long.valueOf(getOrderId());
-
 
104119
 
-
 
104120
      }
-
 
104121
      throw new IllegalStateException();
-
 
104122
    }
-
 
104123
 
-
 
104124
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
104125
    public boolean isSet(_Fields field) {
-
 
104126
      if (field == null) {
-
 
104127
        throw new IllegalArgumentException();
-
 
104128
      }
-
 
104129
 
-
 
104130
      switch (field) {
-
 
104131
      case ORDER_ID:
-
 
104132
        return isSetOrderId();
-
 
104133
      }
-
 
104134
      throw new IllegalStateException();
-
 
104135
    }
-
 
104136
 
-
 
104137
    @Override
-
 
104138
    public boolean equals(Object that) {
-
 
104139
      if (that == null)
-
 
104140
        return false;
-
 
104141
      if (that instanceof markOrderAsRtoInTransit_args)
-
 
104142
        return this.equals((markOrderAsRtoInTransit_args)that);
-
 
104143
      return false;
-
 
104144
    }
-
 
104145
 
-
 
104146
    public boolean equals(markOrderAsRtoInTransit_args that) {
-
 
104147
      if (that == null)
-
 
104148
        return false;
-
 
104149
 
-
 
104150
      boolean this_present_orderId = true;
-
 
104151
      boolean that_present_orderId = true;
-
 
104152
      if (this_present_orderId || that_present_orderId) {
-
 
104153
        if (!(this_present_orderId && that_present_orderId))
-
 
104154
          return false;
-
 
104155
        if (this.orderId != that.orderId)
-
 
104156
          return false;
-
 
104157
      }
-
 
104158
 
-
 
104159
      return true;
-
 
104160
    }
-
 
104161
 
-
 
104162
    @Override
-
 
104163
    public int hashCode() {
-
 
104164
      return 0;
-
 
104165
    }
-
 
104166
 
-
 
104167
    public int compareTo(markOrderAsRtoInTransit_args other) {
-
 
104168
      if (!getClass().equals(other.getClass())) {
-
 
104169
        return getClass().getName().compareTo(other.getClass().getName());
-
 
104170
      }
-
 
104171
 
-
 
104172
      int lastComparison = 0;
-
 
104173
      markOrderAsRtoInTransit_args typedOther = (markOrderAsRtoInTransit_args)other;
-
 
104174
 
-
 
104175
      lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
-
 
104176
      if (lastComparison != 0) {
-
 
104177
        return lastComparison;
-
 
104178
      }
-
 
104179
      if (isSetOrderId()) {
-
 
104180
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
-
 
104181
        if (lastComparison != 0) {
-
 
104182
          return lastComparison;
-
 
104183
        }
-
 
104184
      }
-
 
104185
      return 0;
-
 
104186
    }
-
 
104187
 
-
 
104188
    public _Fields fieldForId(int fieldId) {
-
 
104189
      return _Fields.findByThriftId(fieldId);
-
 
104190
    }
-
 
104191
 
-
 
104192
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
104193
      org.apache.thrift.protocol.TField field;
-
 
104194
      iprot.readStructBegin();
-
 
104195
      while (true)
-
 
104196
      {
-
 
104197
        field = iprot.readFieldBegin();
-
 
104198
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
104199
          break;
-
 
104200
        }
-
 
104201
        switch (field.id) {
-
 
104202
          case 1: // ORDER_ID
-
 
104203
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
104204
              this.orderId = iprot.readI64();
-
 
104205
              setOrderIdIsSet(true);
-
 
104206
            } else { 
-
 
104207
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
104208
            }
-
 
104209
            break;
-
 
104210
          default:
-
 
104211
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
104212
        }
-
 
104213
        iprot.readFieldEnd();
-
 
104214
      }
-
 
104215
      iprot.readStructEnd();
-
 
104216
      validate();
-
 
104217
    }
-
 
104218
 
-
 
104219
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
104220
      validate();
-
 
104221
 
-
 
104222
      oprot.writeStructBegin(STRUCT_DESC);
-
 
104223
      oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
-
 
104224
      oprot.writeI64(this.orderId);
-
 
104225
      oprot.writeFieldEnd();
-
 
104226
      oprot.writeFieldStop();
-
 
104227
      oprot.writeStructEnd();
-
 
104228
    }
-
 
104229
 
-
 
104230
    @Override
-
 
104231
    public String toString() {
-
 
104232
      StringBuilder sb = new StringBuilder("markOrderAsRtoInTransit_args(");
-
 
104233
      boolean first = true;
-
 
104234
 
-
 
104235
      sb.append("orderId:");
-
 
104236
      sb.append(this.orderId);
-
 
104237
      first = false;
-
 
104238
      sb.append(")");
-
 
104239
      return sb.toString();
-
 
104240
    }
-
 
104241
 
-
 
104242
    public void validate() throws org.apache.thrift.TException {
-
 
104243
      // check for required fields
-
 
104244
    }
-
 
104245
 
-
 
104246
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
104247
      try {
-
 
104248
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
104249
      } catch (org.apache.thrift.TException te) {
-
 
104250
        throw new java.io.IOException(te);
-
 
104251
      }
-
 
104252
    }
-
 
104253
 
-
 
104254
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
104255
      try {
-
 
104256
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
104257
        __isset_bit_vector = new BitSet(1);
-
 
104258
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
104259
      } catch (org.apache.thrift.TException te) {
-
 
104260
        throw new java.io.IOException(te);
-
 
104261
      }
-
 
104262
    }
-
 
104263
 
-
 
104264
  }
-
 
104265
 
-
 
104266
  public static class markOrderAsRtoInTransit_result implements org.apache.thrift.TBase<markOrderAsRtoInTransit_result, markOrderAsRtoInTransit_result._Fields>, java.io.Serializable, Cloneable   {
-
 
104267
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markOrderAsRtoInTransit_result");
-
 
104268
 
-
 
104269
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
104270
 
-
 
104271
    private boolean success; // required
-
 
104272
 
-
 
104273
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
104274
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
104275
      SUCCESS((short)0, "success");
-
 
104276
 
-
 
104277
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
104278
 
-
 
104279
      static {
-
 
104280
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
104281
          byName.put(field.getFieldName(), field);
-
 
104282
        }
-
 
104283
      }
-
 
104284
 
-
 
104285
      /**
-
 
104286
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
104287
       */
-
 
104288
      public static _Fields findByThriftId(int fieldId) {
-
 
104289
        switch(fieldId) {
-
 
104290
          case 0: // SUCCESS
-
 
104291
            return SUCCESS;
-
 
104292
          default:
-
 
104293
            return null;
-
 
104294
        }
-
 
104295
      }
-
 
104296
 
-
 
104297
      /**
-
 
104298
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
104299
       * if it is not found.
-
 
104300
       */
-
 
104301
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
104302
        _Fields fields = findByThriftId(fieldId);
-
 
104303
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
104304
        return fields;
-
 
104305
      }
-
 
104306
 
-
 
104307
      /**
-
 
104308
       * Find the _Fields constant that matches name, or null if its not found.
-
 
104309
       */
-
 
104310
      public static _Fields findByName(String name) {
-
 
104311
        return byName.get(name);
-
 
104312
      }
-
 
104313
 
-
 
104314
      private final short _thriftId;
-
 
104315
      private final String _fieldName;
-
 
104316
 
-
 
104317
      _Fields(short thriftId, String fieldName) {
-
 
104318
        _thriftId = thriftId;
-
 
104319
        _fieldName = fieldName;
-
 
104320
      }
-
 
104321
 
-
 
104322
      public short getThriftFieldId() {
-
 
104323
        return _thriftId;
-
 
104324
      }
-
 
104325
 
-
 
104326
      public String getFieldName() {
-
 
104327
        return _fieldName;
-
 
104328
      }
-
 
104329
    }
-
 
104330
 
-
 
104331
    // isset id assignments
-
 
104332
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
104333
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
104334
 
-
 
104335
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
104336
    static {
-
 
104337
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
104338
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
104339
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
104340
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
104341
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markOrderAsRtoInTransit_result.class, metaDataMap);
-
 
104342
    }
-
 
104343
 
-
 
104344
    public markOrderAsRtoInTransit_result() {
-
 
104345
    }
-
 
104346
 
-
 
104347
    public markOrderAsRtoInTransit_result(
-
 
104348
      boolean success)
-
 
104349
    {
-
 
104350
      this();
-
 
104351
      this.success = success;
-
 
104352
      setSuccessIsSet(true);
-
 
104353
    }
-
 
104354
 
-
 
104355
    /**
-
 
104356
     * Performs a deep copy on <i>other</i>.
-
 
104357
     */
-
 
104358
    public markOrderAsRtoInTransit_result(markOrderAsRtoInTransit_result other) {
-
 
104359
      __isset_bit_vector.clear();
-
 
104360
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
104361
      this.success = other.success;
-
 
104362
    }
-
 
104363
 
-
 
104364
    public markOrderAsRtoInTransit_result deepCopy() {
-
 
104365
      return new markOrderAsRtoInTransit_result(this);
-
 
104366
    }
-
 
104367
 
-
 
104368
    @Override
-
 
104369
    public void clear() {
-
 
104370
      setSuccessIsSet(false);
-
 
104371
      this.success = false;
-
 
104372
    }
-
 
104373
 
-
 
104374
    public boolean isSuccess() {
-
 
104375
      return this.success;
-
 
104376
    }
-
 
104377
 
-
 
104378
    public void setSuccess(boolean success) {
-
 
104379
      this.success = success;
-
 
104380
      setSuccessIsSet(true);
-
 
104381
    }
-
 
104382
 
-
 
104383
    public void unsetSuccess() {
-
 
104384
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
104385
    }
-
 
104386
 
-
 
104387
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
104388
    public boolean isSetSuccess() {
-
 
104389
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
104390
    }
-
 
104391
 
-
 
104392
    public void setSuccessIsSet(boolean value) {
-
 
104393
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
104394
    }
-
 
104395
 
-
 
104396
    public void setFieldValue(_Fields field, Object value) {
-
 
104397
      switch (field) {
-
 
104398
      case SUCCESS:
-
 
104399
        if (value == null) {
-
 
104400
          unsetSuccess();
-
 
104401
        } else {
-
 
104402
          setSuccess((Boolean)value);
-
 
104403
        }
-
 
104404
        break;
-
 
104405
 
-
 
104406
      }
-
 
104407
    }
-
 
104408
 
-
 
104409
    public Object getFieldValue(_Fields field) {
-
 
104410
      switch (field) {
-
 
104411
      case SUCCESS:
-
 
104412
        return Boolean.valueOf(isSuccess());
-
 
104413
 
-
 
104414
      }
-
 
104415
      throw new IllegalStateException();
-
 
104416
    }
-
 
104417
 
-
 
104418
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
104419
    public boolean isSet(_Fields field) {
-
 
104420
      if (field == null) {
-
 
104421
        throw new IllegalArgumentException();
-
 
104422
      }
-
 
104423
 
-
 
104424
      switch (field) {
-
 
104425
      case SUCCESS:
-
 
104426
        return isSetSuccess();
-
 
104427
      }
-
 
104428
      throw new IllegalStateException();
-
 
104429
    }
-
 
104430
 
-
 
104431
    @Override
-
 
104432
    public boolean equals(Object that) {
-
 
104433
      if (that == null)
-
 
104434
        return false;
-
 
104435
      if (that instanceof markOrderAsRtoInTransit_result)
-
 
104436
        return this.equals((markOrderAsRtoInTransit_result)that);
-
 
104437
      return false;
-
 
104438
    }
-
 
104439
 
-
 
104440
    public boolean equals(markOrderAsRtoInTransit_result that) {
-
 
104441
      if (that == null)
-
 
104442
        return false;
-
 
104443
 
-
 
104444
      boolean this_present_success = true;
-
 
104445
      boolean that_present_success = true;
-
 
104446
      if (this_present_success || that_present_success) {
-
 
104447
        if (!(this_present_success && that_present_success))
-
 
104448
          return false;
-
 
104449
        if (this.success != that.success)
-
 
104450
          return false;
-
 
104451
      }
-
 
104452
 
-
 
104453
      return true;
-
 
104454
    }
-
 
104455
 
-
 
104456
    @Override
-
 
104457
    public int hashCode() {
-
 
104458
      return 0;
-
 
104459
    }
-
 
104460
 
-
 
104461
    public int compareTo(markOrderAsRtoInTransit_result other) {
-
 
104462
      if (!getClass().equals(other.getClass())) {
-
 
104463
        return getClass().getName().compareTo(other.getClass().getName());
-
 
104464
      }
-
 
104465
 
-
 
104466
      int lastComparison = 0;
-
 
104467
      markOrderAsRtoInTransit_result typedOther = (markOrderAsRtoInTransit_result)other;
-
 
104468
 
-
 
104469
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
104470
      if (lastComparison != 0) {
-
 
104471
        return lastComparison;
-
 
104472
      }
-
 
104473
      if (isSetSuccess()) {
-
 
104474
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
104475
        if (lastComparison != 0) {
-
 
104476
          return lastComparison;
-
 
104477
        }
-
 
104478
      }
-
 
104479
      return 0;
-
 
104480
    }
-
 
104481
 
-
 
104482
    public _Fields fieldForId(int fieldId) {
-
 
104483
      return _Fields.findByThriftId(fieldId);
-
 
104484
    }
-
 
104485
 
-
 
104486
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
104487
      org.apache.thrift.protocol.TField field;
-
 
104488
      iprot.readStructBegin();
-
 
104489
      while (true)
-
 
104490
      {
-
 
104491
        field = iprot.readFieldBegin();
-
 
104492
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
104493
          break;
-
 
104494
        }
-
 
104495
        switch (field.id) {
-
 
104496
          case 0: // SUCCESS
-
 
104497
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
104498
              this.success = iprot.readBool();
-
 
104499
              setSuccessIsSet(true);
-
 
104500
            } else { 
-
 
104501
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
104502
            }
-
 
104503
            break;
-
 
104504
          default:
-
 
104505
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
104506
        }
-
 
104507
        iprot.readFieldEnd();
-
 
104508
      }
-
 
104509
      iprot.readStructEnd();
-
 
104510
      validate();
-
 
104511
    }
-
 
104512
 
-
 
104513
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
104514
      oprot.writeStructBegin(STRUCT_DESC);
-
 
104515
 
-
 
104516
      if (this.isSetSuccess()) {
-
 
104517
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
104518
        oprot.writeBool(this.success);
-
 
104519
        oprot.writeFieldEnd();
-
 
104520
      }
-
 
104521
      oprot.writeFieldStop();
-
 
104522
      oprot.writeStructEnd();
-
 
104523
    }
-
 
104524
 
-
 
104525
    @Override
-
 
104526
    public String toString() {
-
 
104527
      StringBuilder sb = new StringBuilder("markOrderAsRtoInTransit_result(");
-
 
104528
      boolean first = true;
-
 
104529
 
-
 
104530
      sb.append("success:");
-
 
104531
      sb.append(this.success);
-
 
104532
      first = false;
-
 
104533
      sb.append(")");
-
 
104534
      return sb.toString();
-
 
104535
    }
-
 
104536
 
-
 
104537
    public void validate() throws org.apache.thrift.TException {
-
 
104538
      // check for required fields
-
 
104539
    }
-
 
104540
 
-
 
104541
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
104542
      try {
-
 
104543
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
104544
      } catch (org.apache.thrift.TException te) {
-
 
104545
        throw new java.io.IOException(te);
-
 
104546
      }
-
 
104547
    }
-
 
104548
 
-
 
104549
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
104550
      try {
-
 
104551
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
104552
      } catch (org.apache.thrift.TException te) {
-
 
104553
        throw new java.io.IOException(te);
-
 
104554
      }
-
 
104555
    }
-
 
104556
 
-
 
104557
  }
-
 
104558
 
103144
  public static class acceptOrderForItem_args implements org.apache.thrift.TBase<acceptOrderForItem_args, acceptOrderForItem_args._Fields>, java.io.Serializable, Cloneable   {
104559
  public static class acceptOrderForItem_args implements org.apache.thrift.TBase<acceptOrderForItem_args, acceptOrderForItem_args._Fields>, java.io.Serializable, Cloneable   {
103145
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("acceptOrderForItem_args");
104560
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("acceptOrderForItem_args");
103146
 
104561
 
103147
    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)1);
104562
    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)1);
103148
    private static final org.apache.thrift.protocol.TField QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("quantity", org.apache.thrift.protocol.TType.I64, (short)2);
104563
    private static final org.apache.thrift.protocol.TField QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("quantity", org.apache.thrift.protocol.TType.I64, (short)2);
Line 106967... Line 108382...
106967
      }
108382
      }
106968
    }
108383
    }
106969
 
108384
 
106970
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
108385
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
106971
      try {
108386
      try {
-
 
108387
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
108388
        __isset_bit_vector = new BitSet(1);
106972
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
108389
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
106973
      } catch (org.apache.thrift.TException te) {
108390
      } catch (org.apache.thrift.TException te) {
106974
        throw new java.io.IOException(te);
108391
        throw new java.io.IOException(te);
106975
      }
108392
      }
106976
    }
108393
    }