Subversion Repositories SmartDukaan

Rev

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

Rev 7371 Rev 7386
Line 963... Line 963...
963
 
963
 
964
    public AmazonOrder getAmazonOrder(long orderId) throws org.apache.thrift.TException;
964
    public AmazonOrder getAmazonOrder(long orderId) throws org.apache.thrift.TException;
965
 
965
 
966
    public List<Order> getOrdersForStore(long id, long storeId, long startDate, long endDate, List<OrderStatus> statuses) throws org.apache.thrift.TException;
966
    public List<Order> getOrdersForStore(long id, long storeId, long startDate, long endDate, List<OrderStatus> statuses) throws org.apache.thrift.TException;
967
 
967
 
968
    public ByteBuffer getStoreOrderAdvanceInvoice(long orderId) throws org.apache.thrift.TException;
968
    public ByteBuffer getStoreOrderAdvanceInvoice(long orderId, long storeId) throws org.apache.thrift.TException;
969
 
969
 
970
    public boolean addFrc(long circleId, long operatorId, long denomination, long maxDiscount) throws org.apache.thrift.TException;
970
    public boolean addFrc(long circleId, long operatorId, long denomination, long maxDiscount) throws org.apache.thrift.TException;
971
 
971
 
972
    public String addSeries(long circle, long operatorId, long series) throws org.apache.thrift.TException;
972
    public String addSeries(long circle, long operatorId, long series) throws org.apache.thrift.TException;
973
 
973
 
-
 
974
    public boolean saveStoreOrderDetail(StoreOrderDetail storeOrderDetail) throws org.apache.thrift.TException;
-
 
975
 
-
 
976
    public StoreOrderDetail getStoreOrderDetail(long orderId, long storeId) throws org.apache.thrift.TException;
-
 
977
 
-
 
978
    public List<String> getAllEdcBanks() throws org.apache.thrift.TException;
-
 
979
 
974
  }
980
  }
975
 
981
 
976
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
982
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
977
 
983
 
978
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
984
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1325... Line 1331...
1325
 
1331
 
1326
    public void getAmazonOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonOrder_call> resultHandler) throws org.apache.thrift.TException;
1332
    public void getAmazonOrder(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonOrder_call> resultHandler) throws org.apache.thrift.TException;
1327
 
1333
 
1328
    public void getOrdersForStore(long id, long storeId, long startDate, long endDate, List<OrderStatus> statuses, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersForStore_call> resultHandler) throws org.apache.thrift.TException;
1334
    public void getOrdersForStore(long id, long storeId, long startDate, long endDate, List<OrderStatus> statuses, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersForStore_call> resultHandler) throws org.apache.thrift.TException;
1329
 
1335
 
1330
    public void getStoreOrderAdvanceInvoice(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStoreOrderAdvanceInvoice_call> resultHandler) throws org.apache.thrift.TException;
1336
    public void getStoreOrderAdvanceInvoice(long orderId, long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStoreOrderAdvanceInvoice_call> resultHandler) throws org.apache.thrift.TException;
1331
 
1337
 
1332
    public void addFrc(long circleId, long operatorId, long denomination, long maxDiscount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addFrc_call> resultHandler) throws org.apache.thrift.TException;
1338
    public void addFrc(long circleId, long operatorId, long denomination, long maxDiscount, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addFrc_call> resultHandler) throws org.apache.thrift.TException;
1333
 
1339
 
1334
    public void addSeries(long circle, long operatorId, long series, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addSeries_call> resultHandler) throws org.apache.thrift.TException;
1340
    public void addSeries(long circle, long operatorId, long series, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addSeries_call> resultHandler) throws org.apache.thrift.TException;
1335
 
1341
 
-
 
1342
    public void saveStoreOrderDetail(StoreOrderDetail storeOrderDetail, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveStoreOrderDetail_call> resultHandler) throws org.apache.thrift.TException;
-
 
1343
 
-
 
1344
    public void getStoreOrderDetail(long orderId, long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStoreOrderDetail_call> resultHandler) throws org.apache.thrift.TException;
-
 
1345
 
-
 
1346
    public void getAllEdcBanks(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEdcBanks_call> resultHandler) throws org.apache.thrift.TException;
-
 
1347
 
1336
  }
1348
  }
1337
 
1349
 
1338
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1350
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1339
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1351
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1340
      public Factory() {}
1352
      public Factory() {}
Line 5749... Line 5761...
5749
        return result.success;
5761
        return result.success;
5750
      }
5762
      }
5751
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersForStore failed: unknown result");
5763
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersForStore failed: unknown result");
5752
    }
5764
    }
5753
 
5765
 
5754
    public ByteBuffer getStoreOrderAdvanceInvoice(long orderId) throws org.apache.thrift.TException
5766
    public ByteBuffer getStoreOrderAdvanceInvoice(long orderId, long storeId) throws org.apache.thrift.TException
5755
    {
5767
    {
5756
      send_getStoreOrderAdvanceInvoice(orderId);
5768
      send_getStoreOrderAdvanceInvoice(orderId, storeId);
5757
      return recv_getStoreOrderAdvanceInvoice();
5769
      return recv_getStoreOrderAdvanceInvoice();
5758
    }
5770
    }
5759
 
5771
 
5760
    public void send_getStoreOrderAdvanceInvoice(long orderId) throws org.apache.thrift.TException
5772
    public void send_getStoreOrderAdvanceInvoice(long orderId, long storeId) throws org.apache.thrift.TException
5761
    {
5773
    {
5762
      getStoreOrderAdvanceInvoice_args args = new getStoreOrderAdvanceInvoice_args();
5774
      getStoreOrderAdvanceInvoice_args args = new getStoreOrderAdvanceInvoice_args();
5763
      args.setOrderId(orderId);
5775
      args.setOrderId(orderId);
-
 
5776
      args.setStoreId(storeId);
5764
      sendBase("getStoreOrderAdvanceInvoice", args);
5777
      sendBase("getStoreOrderAdvanceInvoice", args);
5765
    }
5778
    }
5766
 
5779
 
5767
    public ByteBuffer recv_getStoreOrderAdvanceInvoice() throws org.apache.thrift.TException
5780
    public ByteBuffer recv_getStoreOrderAdvanceInvoice() throws org.apache.thrift.TException
5768
    {
5781
    {
Line 5823... Line 5836...
5823
        return result.success;
5836
        return result.success;
5824
      }
5837
      }
5825
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addSeries failed: unknown result");
5838
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addSeries failed: unknown result");
5826
    }
5839
    }
5827
 
5840
 
-
 
5841
    public boolean saveStoreOrderDetail(StoreOrderDetail storeOrderDetail) throws org.apache.thrift.TException
-
 
5842
    {
-
 
5843
      send_saveStoreOrderDetail(storeOrderDetail);
-
 
5844
      return recv_saveStoreOrderDetail();
-
 
5845
    }
-
 
5846
 
-
 
5847
    public void send_saveStoreOrderDetail(StoreOrderDetail storeOrderDetail) throws org.apache.thrift.TException
-
 
5848
    {
-
 
5849
      saveStoreOrderDetail_args args = new saveStoreOrderDetail_args();
-
 
5850
      args.setStoreOrderDetail(storeOrderDetail);
-
 
5851
      sendBase("saveStoreOrderDetail", args);
-
 
5852
    }
-
 
5853
 
-
 
5854
    public boolean recv_saveStoreOrderDetail() throws org.apache.thrift.TException
-
 
5855
    {
-
 
5856
      saveStoreOrderDetail_result result = new saveStoreOrderDetail_result();
-
 
5857
      receiveBase(result, "saveStoreOrderDetail");
-
 
5858
      if (result.isSetSuccess()) {
-
 
5859
        return result.success;
-
 
5860
      }
-
 
5861
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "saveStoreOrderDetail failed: unknown result");
-
 
5862
    }
-
 
5863
 
-
 
5864
    public StoreOrderDetail getStoreOrderDetail(long orderId, long storeId) throws org.apache.thrift.TException
-
 
5865
    {
-
 
5866
      send_getStoreOrderDetail(orderId, storeId);
-
 
5867
      return recv_getStoreOrderDetail();
-
 
5868
    }
-
 
5869
 
-
 
5870
    public void send_getStoreOrderDetail(long orderId, long storeId) throws org.apache.thrift.TException
-
 
5871
    {
-
 
5872
      getStoreOrderDetail_args args = new getStoreOrderDetail_args();
-
 
5873
      args.setOrderId(orderId);
-
 
5874
      args.setStoreId(storeId);
-
 
5875
      sendBase("getStoreOrderDetail", args);
-
 
5876
    }
-
 
5877
 
-
 
5878
    public StoreOrderDetail recv_getStoreOrderDetail() throws org.apache.thrift.TException
-
 
5879
    {
-
 
5880
      getStoreOrderDetail_result result = new getStoreOrderDetail_result();
-
 
5881
      receiveBase(result, "getStoreOrderDetail");
-
 
5882
      if (result.isSetSuccess()) {
-
 
5883
        return result.success;
-
 
5884
      }
-
 
5885
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getStoreOrderDetail failed: unknown result");
-
 
5886
    }
-
 
5887
 
-
 
5888
    public List<String> getAllEdcBanks() throws org.apache.thrift.TException
-
 
5889
    {
-
 
5890
      send_getAllEdcBanks();
-
 
5891
      return recv_getAllEdcBanks();
-
 
5892
    }
-
 
5893
 
-
 
5894
    public void send_getAllEdcBanks() throws org.apache.thrift.TException
-
 
5895
    {
-
 
5896
      getAllEdcBanks_args args = new getAllEdcBanks_args();
-
 
5897
      sendBase("getAllEdcBanks", args);
-
 
5898
    }
-
 
5899
 
-
 
5900
    public List<String> recv_getAllEdcBanks() throws org.apache.thrift.TException
-
 
5901
    {
-
 
5902
      getAllEdcBanks_result result = new getAllEdcBanks_result();
-
 
5903
      receiveBase(result, "getAllEdcBanks");
-
 
5904
      if (result.isSetSuccess()) {
-
 
5905
        return result.success;
-
 
5906
      }
-
 
5907
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllEdcBanks failed: unknown result");
-
 
5908
    }
-
 
5909
 
5828
  }
5910
  }
5829
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5911
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5830
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5912
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5831
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5913
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5832
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
5914
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 11977... Line 12059...
11977
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12059
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11978
        return (new Client(prot)).recv_getOrdersForStore();
12060
        return (new Client(prot)).recv_getOrdersForStore();
11979
      }
12061
      }
11980
    }
12062
    }
11981
 
12063
 
11982
    public void getStoreOrderAdvanceInvoice(long orderId, org.apache.thrift.async.AsyncMethodCallback<getStoreOrderAdvanceInvoice_call> resultHandler) throws org.apache.thrift.TException {
12064
    public void getStoreOrderAdvanceInvoice(long orderId, long storeId, org.apache.thrift.async.AsyncMethodCallback<getStoreOrderAdvanceInvoice_call> resultHandler) throws org.apache.thrift.TException {
11983
      checkReady();
12065
      checkReady();
11984
      getStoreOrderAdvanceInvoice_call method_call = new getStoreOrderAdvanceInvoice_call(orderId, resultHandler, this, ___protocolFactory, ___transport);
12066
      getStoreOrderAdvanceInvoice_call method_call = new getStoreOrderAdvanceInvoice_call(orderId, storeId, resultHandler, this, ___protocolFactory, ___transport);
11985
      this.___currentMethod = method_call;
12067
      this.___currentMethod = method_call;
11986
      ___manager.call(method_call);
12068
      ___manager.call(method_call);
11987
    }
12069
    }
11988
 
12070
 
11989
    public static class getStoreOrderAdvanceInvoice_call extends org.apache.thrift.async.TAsyncMethodCall {
12071
    public static class getStoreOrderAdvanceInvoice_call extends org.apache.thrift.async.TAsyncMethodCall {
11990
      private long orderId;
12072
      private long orderId;
-
 
12073
      private long storeId;
11991
      public getStoreOrderAdvanceInvoice_call(long orderId, org.apache.thrift.async.AsyncMethodCallback<getStoreOrderAdvanceInvoice_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 {
12074
      public getStoreOrderAdvanceInvoice_call(long orderId, long storeId, org.apache.thrift.async.AsyncMethodCallback<getStoreOrderAdvanceInvoice_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 {
11992
        super(client, protocolFactory, transport, resultHandler, false);
12075
        super(client, protocolFactory, transport, resultHandler, false);
11993
        this.orderId = orderId;
12076
        this.orderId = orderId;
-
 
12077
        this.storeId = storeId;
11994
      }
12078
      }
11995
 
12079
 
11996
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
12080
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
11997
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getStoreOrderAdvanceInvoice", org.apache.thrift.protocol.TMessageType.CALL, 0));
12081
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getStoreOrderAdvanceInvoice", org.apache.thrift.protocol.TMessageType.CALL, 0));
11998
        getStoreOrderAdvanceInvoice_args args = new getStoreOrderAdvanceInvoice_args();
12082
        getStoreOrderAdvanceInvoice_args args = new getStoreOrderAdvanceInvoice_args();
11999
        args.setOrderId(orderId);
12083
        args.setOrderId(orderId);
-
 
12084
        args.setStoreId(storeId);
12000
        args.write(prot);
12085
        args.write(prot);
12001
        prot.writeMessageEnd();
12086
        prot.writeMessageEnd();
12002
      }
12087
      }
12003
 
12088
 
12004
      public ByteBuffer getResult() throws org.apache.thrift.TException {
12089
      public ByteBuffer getResult() throws org.apache.thrift.TException {
Line 12088... Line 12173...
12088
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12173
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
12089
        return (new Client(prot)).recv_addSeries();
12174
        return (new Client(prot)).recv_addSeries();
12090
      }
12175
      }
12091
    }
12176
    }
12092
 
12177
 
-
 
12178
    public void saveStoreOrderDetail(StoreOrderDetail storeOrderDetail, org.apache.thrift.async.AsyncMethodCallback<saveStoreOrderDetail_call> resultHandler) throws org.apache.thrift.TException {
-
 
12179
      checkReady();
-
 
12180
      saveStoreOrderDetail_call method_call = new saveStoreOrderDetail_call(storeOrderDetail, resultHandler, this, ___protocolFactory, ___transport);
-
 
12181
      this.___currentMethod = method_call;
-
 
12182
      ___manager.call(method_call);
-
 
12183
    }
-
 
12184
 
-
 
12185
    public static class saveStoreOrderDetail_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
12186
      private StoreOrderDetail storeOrderDetail;
-
 
12187
      public saveStoreOrderDetail_call(StoreOrderDetail storeOrderDetail, org.apache.thrift.async.AsyncMethodCallback<saveStoreOrderDetail_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 {
-
 
12188
        super(client, protocolFactory, transport, resultHandler, false);
-
 
12189
        this.storeOrderDetail = storeOrderDetail;
-
 
12190
      }
-
 
12191
 
-
 
12192
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
12193
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("saveStoreOrderDetail", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
12194
        saveStoreOrderDetail_args args = new saveStoreOrderDetail_args();
-
 
12195
        args.setStoreOrderDetail(storeOrderDetail);
-
 
12196
        args.write(prot);
-
 
12197
        prot.writeMessageEnd();
-
 
12198
      }
-
 
12199
 
-
 
12200
      public boolean getResult() throws org.apache.thrift.TException {
-
 
12201
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
12202
          throw new IllegalStateException("Method call not finished!");
-
 
12203
        }
-
 
12204
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
12205
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
12206
        return (new Client(prot)).recv_saveStoreOrderDetail();
-
 
12207
      }
-
 
12208
    }
-
 
12209
 
-
 
12210
    public void getStoreOrderDetail(long orderId, long storeId, org.apache.thrift.async.AsyncMethodCallback<getStoreOrderDetail_call> resultHandler) throws org.apache.thrift.TException {
-
 
12211
      checkReady();
-
 
12212
      getStoreOrderDetail_call method_call = new getStoreOrderDetail_call(orderId, storeId, resultHandler, this, ___protocolFactory, ___transport);
-
 
12213
      this.___currentMethod = method_call;
-
 
12214
      ___manager.call(method_call);
-
 
12215
    }
-
 
12216
 
-
 
12217
    public static class getStoreOrderDetail_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
12218
      private long orderId;
-
 
12219
      private long storeId;
-
 
12220
      public getStoreOrderDetail_call(long orderId, long storeId, org.apache.thrift.async.AsyncMethodCallback<getStoreOrderDetail_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 {
-
 
12221
        super(client, protocolFactory, transport, resultHandler, false);
-
 
12222
        this.orderId = orderId;
-
 
12223
        this.storeId = storeId;
-
 
12224
      }
-
 
12225
 
-
 
12226
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
12227
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getStoreOrderDetail", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
12228
        getStoreOrderDetail_args args = new getStoreOrderDetail_args();
-
 
12229
        args.setOrderId(orderId);
-
 
12230
        args.setStoreId(storeId);
-
 
12231
        args.write(prot);
-
 
12232
        prot.writeMessageEnd();
-
 
12233
      }
-
 
12234
 
-
 
12235
      public StoreOrderDetail getResult() throws org.apache.thrift.TException {
-
 
12236
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
12237
          throw new IllegalStateException("Method call not finished!");
-
 
12238
        }
-
 
12239
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
12240
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
12241
        return (new Client(prot)).recv_getStoreOrderDetail();
-
 
12242
      }
-
 
12243
    }
-
 
12244
 
-
 
12245
    public void getAllEdcBanks(org.apache.thrift.async.AsyncMethodCallback<getAllEdcBanks_call> resultHandler) throws org.apache.thrift.TException {
-
 
12246
      checkReady();
-
 
12247
      getAllEdcBanks_call method_call = new getAllEdcBanks_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
12248
      this.___currentMethod = method_call;
-
 
12249
      ___manager.call(method_call);
-
 
12250
    }
-
 
12251
 
-
 
12252
    public static class getAllEdcBanks_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
12253
      public getAllEdcBanks_call(org.apache.thrift.async.AsyncMethodCallback<getAllEdcBanks_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 {
-
 
12254
        super(client, protocolFactory, transport, resultHandler, false);
-
 
12255
      }
-
 
12256
 
-
 
12257
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
12258
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllEdcBanks", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
12259
        getAllEdcBanks_args args = new getAllEdcBanks_args();
-
 
12260
        args.write(prot);
-
 
12261
        prot.writeMessageEnd();
-
 
12262
      }
-
 
12263
 
-
 
12264
      public List<String> getResult() throws org.apache.thrift.TException {
-
 
12265
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
12266
          throw new IllegalStateException("Method call not finished!");
-
 
12267
        }
-
 
12268
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
12269
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
12270
        return (new Client(prot)).recv_getAllEdcBanks();
-
 
12271
      }
-
 
12272
    }
-
 
12273
 
12093
  }
12274
  }
12094
 
12275
 
12095
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
12276
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
12096
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
12277
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
12097
    public Processor(I iface) {
12278
    public Processor(I iface) {
Line 12280... Line 12461...
12280
      processMap.put("getAmazonOrder", new getAmazonOrder());
12461
      processMap.put("getAmazonOrder", new getAmazonOrder());
12281
      processMap.put("getOrdersForStore", new getOrdersForStore());
12462
      processMap.put("getOrdersForStore", new getOrdersForStore());
12282
      processMap.put("getStoreOrderAdvanceInvoice", new getStoreOrderAdvanceInvoice());
12463
      processMap.put("getStoreOrderAdvanceInvoice", new getStoreOrderAdvanceInvoice());
12283
      processMap.put("addFrc", new addFrc());
12464
      processMap.put("addFrc", new addFrc());
12284
      processMap.put("addSeries", new addSeries());
12465
      processMap.put("addSeries", new addSeries());
-
 
12466
      processMap.put("saveStoreOrderDetail", new saveStoreOrderDetail());
-
 
12467
      processMap.put("getStoreOrderDetail", new getStoreOrderDetail());
-
 
12468
      processMap.put("getAllEdcBanks", new getAllEdcBanks());
12285
      return processMap;
12469
      return processMap;
12286
    }
12470
    }
12287
 
12471
 
12288
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
12472
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
12289
      public createTransaction() {
12473
      public createTransaction() {
Line 15544... Line 15728...
15544
        return new getStoreOrderAdvanceInvoice_args();
15728
        return new getStoreOrderAdvanceInvoice_args();
15545
      }
15729
      }
15546
 
15730
 
15547
      protected getStoreOrderAdvanceInvoice_result getResult(I iface, getStoreOrderAdvanceInvoice_args args) throws org.apache.thrift.TException {
15731
      protected getStoreOrderAdvanceInvoice_result getResult(I iface, getStoreOrderAdvanceInvoice_args args) throws org.apache.thrift.TException {
15548
        getStoreOrderAdvanceInvoice_result result = new getStoreOrderAdvanceInvoice_result();
15732
        getStoreOrderAdvanceInvoice_result result = new getStoreOrderAdvanceInvoice_result();
15549
        result.success = iface.getStoreOrderAdvanceInvoice(args.orderId);
15733
        result.success = iface.getStoreOrderAdvanceInvoice(args.orderId, args.storeId);
15550
        return result;
15734
        return result;
15551
      }
15735
      }
15552
    }
15736
    }
15553
 
15737
 
15554
    private static class addFrc<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addFrc_args> {
15738
    private static class addFrc<I extends Iface> extends org.apache.thrift.ProcessFunction<I, addFrc_args> {
Line 15582... Line 15766...
15582
        result.success = iface.addSeries(args.circle, args.operatorId, args.series);
15766
        result.success = iface.addSeries(args.circle, args.operatorId, args.series);
15583
        return result;
15767
        return result;
15584
      }
15768
      }
15585
    }
15769
    }
15586
 
15770
 
-
 
15771
    private static class saveStoreOrderDetail<I extends Iface> extends org.apache.thrift.ProcessFunction<I, saveStoreOrderDetail_args> {
-
 
15772
      public saveStoreOrderDetail() {
-
 
15773
        super("saveStoreOrderDetail");
-
 
15774
      }
-
 
15775
 
-
 
15776
      protected saveStoreOrderDetail_args getEmptyArgsInstance() {
-
 
15777
        return new saveStoreOrderDetail_args();
-
 
15778
      }
-
 
15779
 
-
 
15780
      protected saveStoreOrderDetail_result getResult(I iface, saveStoreOrderDetail_args args) throws org.apache.thrift.TException {
-
 
15781
        saveStoreOrderDetail_result result = new saveStoreOrderDetail_result();
-
 
15782
        result.success = iface.saveStoreOrderDetail(args.storeOrderDetail);
-
 
15783
        result.setSuccessIsSet(true);
-
 
15784
        return result;
-
 
15785
      }
-
 
15786
    }
-
 
15787
 
-
 
15788
    private static class getStoreOrderDetail<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getStoreOrderDetail_args> {
-
 
15789
      public getStoreOrderDetail() {
-
 
15790
        super("getStoreOrderDetail");
-
 
15791
      }
-
 
15792
 
-
 
15793
      protected getStoreOrderDetail_args getEmptyArgsInstance() {
-
 
15794
        return new getStoreOrderDetail_args();
-
 
15795
      }
-
 
15796
 
-
 
15797
      protected getStoreOrderDetail_result getResult(I iface, getStoreOrderDetail_args args) throws org.apache.thrift.TException {
-
 
15798
        getStoreOrderDetail_result result = new getStoreOrderDetail_result();
-
 
15799
        result.success = iface.getStoreOrderDetail(args.orderId, args.storeId);
-
 
15800
        return result;
-
 
15801
      }
-
 
15802
    }
-
 
15803
 
-
 
15804
    private static class getAllEdcBanks<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllEdcBanks_args> {
-
 
15805
      public getAllEdcBanks() {
-
 
15806
        super("getAllEdcBanks");
-
 
15807
      }
-
 
15808
 
-
 
15809
      protected getAllEdcBanks_args getEmptyArgsInstance() {
-
 
15810
        return new getAllEdcBanks_args();
-
 
15811
      }
-
 
15812
 
-
 
15813
      protected getAllEdcBanks_result getResult(I iface, getAllEdcBanks_args args) throws org.apache.thrift.TException {
-
 
15814
        getAllEdcBanks_result result = new getAllEdcBanks_result();
-
 
15815
        result.success = iface.getAllEdcBanks();
-
 
15816
        return result;
-
 
15817
      }
-
 
15818
    }
-
 
15819
 
15587
  }
15820
  }
15588
 
15821
 
15589
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
15822
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
15590
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
15823
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
15591
 
15824
 
Line 46774... Line 47007...
46774
      }
47007
      }
46775
    }
47008
    }
46776
 
47009
 
46777
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
47010
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
46778
      try {
47011
      try {
46779
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
46780
        __isset_bit_vector = new BitSet(1);
-
 
46781
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
47012
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
46782
      } catch (org.apache.thrift.TException te) {
47013
      } catch (org.apache.thrift.TException te) {
46783
        throw new java.io.IOException(te);
47014
        throw new java.io.IOException(te);
46784
      }
47015
      }
46785
    }
47016
    }
Line 50181... Line 50412...
50181
      }
50412
      }
50182
    }
50413
    }
50183
 
50414
 
50184
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
50415
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
50185
      try {
50416
      try {
-
 
50417
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
50418
        __isset_bit_vector = new BitSet(1);
50186
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
50419
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
50187
      } catch (org.apache.thrift.TException te) {
50420
      } catch (org.apache.thrift.TException te) {
50188
        throw new java.io.IOException(te);
50421
        throw new java.io.IOException(te);
50189
      }
50422
      }
50190
    }
50423
    }
Line 50937... Line 51170...
50937
      }
51170
      }
50938
    }
51171
    }
50939
 
51172
 
50940
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
51173
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
50941
      try {
51174
      try {
50942
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
50943
        __isset_bit_vector = new BitSet(1);
-
 
50944
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
51175
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
50945
      } catch (org.apache.thrift.TException te) {
51176
      } catch (org.apache.thrift.TException te) {
50946
        throw new java.io.IOException(te);
51177
        throw new java.io.IOException(te);
50947
      }
51178
      }
50948
    }
51179
    }
Line 142172... Line 142403...
142172
 
142403
 
142173
  public static class getStoreOrderAdvanceInvoice_args implements org.apache.thrift.TBase<getStoreOrderAdvanceInvoice_args, getStoreOrderAdvanceInvoice_args._Fields>, java.io.Serializable, Cloneable   {
142404
  public static class getStoreOrderAdvanceInvoice_args implements org.apache.thrift.TBase<getStoreOrderAdvanceInvoice_args, getStoreOrderAdvanceInvoice_args._Fields>, java.io.Serializable, Cloneable   {
142174
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStoreOrderAdvanceInvoice_args");
142405
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStoreOrderAdvanceInvoice_args");
142175
 
142406
 
142176
    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);
142407
    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);
-
 
142408
    private static final org.apache.thrift.protocol.TField STORE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("storeId", org.apache.thrift.protocol.TType.I64, (short)2);
142177
 
142409
 
142178
    private long orderId; // required
142410
    private long orderId; // required
-
 
142411
    private long storeId; // required
142179
 
142412
 
142180
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
142413
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
142181
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
142414
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
142182
      ORDER_ID((short)1, "orderId");
142415
      ORDER_ID((short)1, "orderId"),
-
 
142416
      STORE_ID((short)2, "storeId");
142183
 
142417
 
142184
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
142418
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
142185
 
142419
 
142186
      static {
142420
      static {
142187
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
142421
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 142194... Line 142428...
142194
       */
142428
       */
142195
      public static _Fields findByThriftId(int fieldId) {
142429
      public static _Fields findByThriftId(int fieldId) {
142196
        switch(fieldId) {
142430
        switch(fieldId) {
142197
          case 1: // ORDER_ID
142431
          case 1: // ORDER_ID
142198
            return ORDER_ID;
142432
            return ORDER_ID;
-
 
142433
          case 2: // STORE_ID
-
 
142434
            return STORE_ID;
142199
          default:
142435
          default:
142200
            return null;
142436
            return null;
142201
        }
142437
        }
142202
      }
142438
      }
142203
 
142439
 
Line 142235... Line 142471...
142235
      }
142471
      }
142236
    }
142472
    }
142237
 
142473
 
142238
    // isset id assignments
142474
    // isset id assignments
142239
    private static final int __ORDERID_ISSET_ID = 0;
142475
    private static final int __ORDERID_ISSET_ID = 0;
-
 
142476
    private static final int __STOREID_ISSET_ID = 1;
142240
    private BitSet __isset_bit_vector = new BitSet(1);
142477
    private BitSet __isset_bit_vector = new BitSet(2);
142241
 
142478
 
142242
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
142479
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
142243
    static {
142480
    static {
142244
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
142481
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
142245
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
142482
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
142246
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
142483
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
142484
      tmpMap.put(_Fields.STORE_ID, new org.apache.thrift.meta_data.FieldMetaData("storeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
142485
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
142247
      metaDataMap = Collections.unmodifiableMap(tmpMap);
142486
      metaDataMap = Collections.unmodifiableMap(tmpMap);
142248
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStoreOrderAdvanceInvoice_args.class, metaDataMap);
142487
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStoreOrderAdvanceInvoice_args.class, metaDataMap);
142249
    }
142488
    }
142250
 
142489
 
142251
    public getStoreOrderAdvanceInvoice_args() {
142490
    public getStoreOrderAdvanceInvoice_args() {
142252
    }
142491
    }
142253
 
142492
 
142254
    public getStoreOrderAdvanceInvoice_args(
142493
    public getStoreOrderAdvanceInvoice_args(
142255
      long orderId)
142494
      long orderId,
-
 
142495
      long storeId)
142256
    {
142496
    {
142257
      this();
142497
      this();
142258
      this.orderId = orderId;
142498
      this.orderId = orderId;
142259
      setOrderIdIsSet(true);
142499
      setOrderIdIsSet(true);
-
 
142500
      this.storeId = storeId;
-
 
142501
      setStoreIdIsSet(true);
142260
    }
142502
    }
142261
 
142503
 
142262
    /**
142504
    /**
142263
     * Performs a deep copy on <i>other</i>.
142505
     * Performs a deep copy on <i>other</i>.
142264
     */
142506
     */
142265
    public getStoreOrderAdvanceInvoice_args(getStoreOrderAdvanceInvoice_args other) {
142507
    public getStoreOrderAdvanceInvoice_args(getStoreOrderAdvanceInvoice_args other) {
142266
      __isset_bit_vector.clear();
142508
      __isset_bit_vector.clear();
142267
      __isset_bit_vector.or(other.__isset_bit_vector);
142509
      __isset_bit_vector.or(other.__isset_bit_vector);
142268
      this.orderId = other.orderId;
142510
      this.orderId = other.orderId;
-
 
142511
      this.storeId = other.storeId;
142269
    }
142512
    }
142270
 
142513
 
142271
    public getStoreOrderAdvanceInvoice_args deepCopy() {
142514
    public getStoreOrderAdvanceInvoice_args deepCopy() {
142272
      return new getStoreOrderAdvanceInvoice_args(this);
142515
      return new getStoreOrderAdvanceInvoice_args(this);
142273
    }
142516
    }
142274
 
142517
 
142275
    @Override
142518
    @Override
142276
    public void clear() {
142519
    public void clear() {
142277
      setOrderIdIsSet(false);
142520
      setOrderIdIsSet(false);
142278
      this.orderId = 0;
142521
      this.orderId = 0;
-
 
142522
      setStoreIdIsSet(false);
-
 
142523
      this.storeId = 0;
142279
    }
142524
    }
142280
 
142525
 
142281
    public long getOrderId() {
142526
    public long getOrderId() {
142282
      return this.orderId;
142527
      return this.orderId;
142283
    }
142528
    }
Line 142298... Line 142543...
142298
 
142543
 
142299
    public void setOrderIdIsSet(boolean value) {
142544
    public void setOrderIdIsSet(boolean value) {
142300
      __isset_bit_vector.set(__ORDERID_ISSET_ID, value);
142545
      __isset_bit_vector.set(__ORDERID_ISSET_ID, value);
142301
    }
142546
    }
142302
 
142547
 
-
 
142548
    public long getStoreId() {
-
 
142549
      return this.storeId;
-
 
142550
    }
-
 
142551
 
-
 
142552
    public void setStoreId(long storeId) {
-
 
142553
      this.storeId = storeId;
-
 
142554
      setStoreIdIsSet(true);
-
 
142555
    }
-
 
142556
 
-
 
142557
    public void unsetStoreId() {
-
 
142558
      __isset_bit_vector.clear(__STOREID_ISSET_ID);
-
 
142559
    }
-
 
142560
 
-
 
142561
    /** Returns true if field storeId is set (has been assigned a value) and false otherwise */
-
 
142562
    public boolean isSetStoreId() {
-
 
142563
      return __isset_bit_vector.get(__STOREID_ISSET_ID);
-
 
142564
    }
-
 
142565
 
-
 
142566
    public void setStoreIdIsSet(boolean value) {
-
 
142567
      __isset_bit_vector.set(__STOREID_ISSET_ID, value);
-
 
142568
    }
-
 
142569
 
142303
    public void setFieldValue(_Fields field, Object value) {
142570
    public void setFieldValue(_Fields field, Object value) {
142304
      switch (field) {
142571
      switch (field) {
142305
      case ORDER_ID:
142572
      case ORDER_ID:
142306
        if (value == null) {
142573
        if (value == null) {
142307
          unsetOrderId();
142574
          unsetOrderId();
142308
        } else {
142575
        } else {
142309
          setOrderId((Long)value);
142576
          setOrderId((Long)value);
142310
        }
142577
        }
142311
        break;
142578
        break;
142312
 
142579
 
-
 
142580
      case STORE_ID:
-
 
142581
        if (value == null) {
-
 
142582
          unsetStoreId();
-
 
142583
        } else {
-
 
142584
          setStoreId((Long)value);
-
 
142585
        }
-
 
142586
        break;
-
 
142587
 
142313
      }
142588
      }
142314
    }
142589
    }
142315
 
142590
 
142316
    public Object getFieldValue(_Fields field) {
142591
    public Object getFieldValue(_Fields field) {
142317
      switch (field) {
142592
      switch (field) {
142318
      case ORDER_ID:
142593
      case ORDER_ID:
142319
        return Long.valueOf(getOrderId());
142594
        return Long.valueOf(getOrderId());
142320
 
142595
 
-
 
142596
      case STORE_ID:
-
 
142597
        return Long.valueOf(getStoreId());
-
 
142598
 
142321
      }
142599
      }
142322
      throw new IllegalStateException();
142600
      throw new IllegalStateException();
142323
    }
142601
    }
142324
 
142602
 
142325
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
142603
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 142329... Line 142607...
142329
      }
142607
      }
142330
 
142608
 
142331
      switch (field) {
142609
      switch (field) {
142332
      case ORDER_ID:
142610
      case ORDER_ID:
142333
        return isSetOrderId();
142611
        return isSetOrderId();
-
 
142612
      case STORE_ID:
-
 
142613
        return isSetStoreId();
142334
      }
142614
      }
142335
      throw new IllegalStateException();
142615
      throw new IllegalStateException();
142336
    }
142616
    }
142337
 
142617
 
142338
    @Override
142618
    @Override
Line 142355... Line 142635...
142355
          return false;
142635
          return false;
142356
        if (this.orderId != that.orderId)
142636
        if (this.orderId != that.orderId)
142357
          return false;
142637
          return false;
142358
      }
142638
      }
142359
 
142639
 
-
 
142640
      boolean this_present_storeId = true;
-
 
142641
      boolean that_present_storeId = true;
-
 
142642
      if (this_present_storeId || that_present_storeId) {
-
 
142643
        if (!(this_present_storeId && that_present_storeId))
-
 
142644
          return false;
-
 
142645
        if (this.storeId != that.storeId)
-
 
142646
          return false;
-
 
142647
      }
-
 
142648
 
142360
      return true;
142649
      return true;
142361
    }
142650
    }
142362
 
142651
 
142363
    @Override
142652
    @Override
142364
    public int hashCode() {
142653
    public int hashCode() {
Line 142381... Line 142670...
142381
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
142670
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
142382
        if (lastComparison != 0) {
142671
        if (lastComparison != 0) {
142383
          return lastComparison;
142672
          return lastComparison;
142384
        }
142673
        }
142385
      }
142674
      }
-
 
142675
      lastComparison = Boolean.valueOf(isSetStoreId()).compareTo(typedOther.isSetStoreId());
-
 
142676
      if (lastComparison != 0) {
-
 
142677
        return lastComparison;
-
 
142678
      }
-
 
142679
      if (isSetStoreId()) {
-
 
142680
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeId, typedOther.storeId);
-
 
142681
        if (lastComparison != 0) {
-
 
142682
          return lastComparison;
-
 
142683
        }
-
 
142684
      }
142386
      return 0;
142685
      return 0;
142387
    }
142686
    }
142388
 
142687
 
142389
    public _Fields fieldForId(int fieldId) {
142688
    public _Fields fieldForId(int fieldId) {
142390
      return _Fields.findByThriftId(fieldId);
142689
      return _Fields.findByThriftId(fieldId);
Line 142406... Line 142705...
142406
              setOrderIdIsSet(true);
142705
              setOrderIdIsSet(true);
142407
            } else { 
142706
            } else { 
142408
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
142707
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
142409
            }
142708
            }
142410
            break;
142709
            break;
-
 
142710
          case 2: // STORE_ID
-
 
142711
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
142712
              this.storeId = iprot.readI64();
-
 
142713
              setStoreIdIsSet(true);
-
 
142714
            } else { 
-
 
142715
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
142716
            }
-
 
142717
            break;
142411
          default:
142718
          default:
142412
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
142719
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
142413
        }
142720
        }
142414
        iprot.readFieldEnd();
142721
        iprot.readFieldEnd();
142415
      }
142722
      }
Line 142422... Line 142729...
142422
 
142729
 
142423
      oprot.writeStructBegin(STRUCT_DESC);
142730
      oprot.writeStructBegin(STRUCT_DESC);
142424
      oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
142731
      oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
142425
      oprot.writeI64(this.orderId);
142732
      oprot.writeI64(this.orderId);
142426
      oprot.writeFieldEnd();
142733
      oprot.writeFieldEnd();
-
 
142734
      oprot.writeFieldBegin(STORE_ID_FIELD_DESC);
-
 
142735
      oprot.writeI64(this.storeId);
-
 
142736
      oprot.writeFieldEnd();
142427
      oprot.writeFieldStop();
142737
      oprot.writeFieldStop();
142428
      oprot.writeStructEnd();
142738
      oprot.writeStructEnd();
142429
    }
142739
    }
142430
 
142740
 
142431
    @Override
142741
    @Override
Line 142434... Line 142744...
142434
      boolean first = true;
142744
      boolean first = true;
142435
 
142745
 
142436
      sb.append("orderId:");
142746
      sb.append("orderId:");
142437
      sb.append(this.orderId);
142747
      sb.append(this.orderId);
142438
      first = false;
142748
      first = false;
-
 
142749
      if (!first) sb.append(", ");
-
 
142750
      sb.append("storeId:");
-
 
142751
      sb.append(this.storeId);
-
 
142752
      first = false;
142439
      sb.append(")");
142753
      sb.append(")");
142440
      return sb.toString();
142754
      return sb.toString();
142441
    }
142755
    }
142442
 
142756
 
142443
    public void validate() throws org.apache.thrift.TException {
142757
    public void validate() throws org.apache.thrift.TException {
Line 144324... Line 144638...
144324
      boolean first = true;
144638
      boolean first = true;
144325
 
144639
 
144326
      sb.append("success:");
144640
      sb.append("success:");
144327
      if (this.success == null) {
144641
      if (this.success == null) {
144328
        sb.append("null");
144642
        sb.append("null");
-
 
144643
      } else {
-
 
144644
        sb.append(this.success);
-
 
144645
      }
-
 
144646
      first = false;
-
 
144647
      sb.append(")");
-
 
144648
      return sb.toString();
-
 
144649
    }
-
 
144650
 
-
 
144651
    public void validate() throws org.apache.thrift.TException {
-
 
144652
      // check for required fields
-
 
144653
    }
-
 
144654
 
-
 
144655
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
144656
      try {
-
 
144657
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
144658
      } catch (org.apache.thrift.TException te) {
-
 
144659
        throw new java.io.IOException(te);
-
 
144660
      }
-
 
144661
    }
-
 
144662
 
-
 
144663
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
144664
      try {
-
 
144665
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
144666
      } catch (org.apache.thrift.TException te) {
-
 
144667
        throw new java.io.IOException(te);
-
 
144668
      }
-
 
144669
    }
-
 
144670
 
-
 
144671
  }
-
 
144672
 
-
 
144673
  public static class saveStoreOrderDetail_args implements org.apache.thrift.TBase<saveStoreOrderDetail_args, saveStoreOrderDetail_args._Fields>, java.io.Serializable, Cloneable   {
-
 
144674
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveStoreOrderDetail_args");
-
 
144675
 
-
 
144676
    private static final org.apache.thrift.protocol.TField STORE_ORDER_DETAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("storeOrderDetail", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
144677
 
-
 
144678
    private StoreOrderDetail storeOrderDetail; // required
-
 
144679
 
-
 
144680
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
144681
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
144682
      STORE_ORDER_DETAIL((short)1, "storeOrderDetail");
-
 
144683
 
-
 
144684
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
144685
 
-
 
144686
      static {
-
 
144687
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
144688
          byName.put(field.getFieldName(), field);
-
 
144689
        }
-
 
144690
      }
-
 
144691
 
-
 
144692
      /**
-
 
144693
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
144694
       */
-
 
144695
      public static _Fields findByThriftId(int fieldId) {
-
 
144696
        switch(fieldId) {
-
 
144697
          case 1: // STORE_ORDER_DETAIL
-
 
144698
            return STORE_ORDER_DETAIL;
-
 
144699
          default:
-
 
144700
            return null;
-
 
144701
        }
-
 
144702
      }
-
 
144703
 
-
 
144704
      /**
-
 
144705
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
144706
       * if it is not found.
-
 
144707
       */
-
 
144708
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
144709
        _Fields fields = findByThriftId(fieldId);
-
 
144710
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
144711
        return fields;
-
 
144712
      }
-
 
144713
 
-
 
144714
      /**
-
 
144715
       * Find the _Fields constant that matches name, or null if its not found.
-
 
144716
       */
-
 
144717
      public static _Fields findByName(String name) {
-
 
144718
        return byName.get(name);
-
 
144719
      }
-
 
144720
 
-
 
144721
      private final short _thriftId;
-
 
144722
      private final String _fieldName;
-
 
144723
 
-
 
144724
      _Fields(short thriftId, String fieldName) {
-
 
144725
        _thriftId = thriftId;
-
 
144726
        _fieldName = fieldName;
-
 
144727
      }
-
 
144728
 
-
 
144729
      public short getThriftFieldId() {
-
 
144730
        return _thriftId;
-
 
144731
      }
-
 
144732
 
-
 
144733
      public String getFieldName() {
-
 
144734
        return _fieldName;
-
 
144735
      }
-
 
144736
    }
-
 
144737
 
-
 
144738
    // isset id assignments
-
 
144739
 
-
 
144740
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
144741
    static {
-
 
144742
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
144743
      tmpMap.put(_Fields.STORE_ORDER_DETAIL, new org.apache.thrift.meta_data.FieldMetaData("storeOrderDetail", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
144744
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, StoreOrderDetail.class)));
-
 
144745
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
144746
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(saveStoreOrderDetail_args.class, metaDataMap);
-
 
144747
    }
-
 
144748
 
-
 
144749
    public saveStoreOrderDetail_args() {
-
 
144750
    }
-
 
144751
 
-
 
144752
    public saveStoreOrderDetail_args(
-
 
144753
      StoreOrderDetail storeOrderDetail)
-
 
144754
    {
-
 
144755
      this();
-
 
144756
      this.storeOrderDetail = storeOrderDetail;
-
 
144757
    }
-
 
144758
 
-
 
144759
    /**
-
 
144760
     * Performs a deep copy on <i>other</i>.
-
 
144761
     */
-
 
144762
    public saveStoreOrderDetail_args(saveStoreOrderDetail_args other) {
-
 
144763
      if (other.isSetStoreOrderDetail()) {
-
 
144764
        this.storeOrderDetail = new StoreOrderDetail(other.storeOrderDetail);
-
 
144765
      }
-
 
144766
    }
-
 
144767
 
-
 
144768
    public saveStoreOrderDetail_args deepCopy() {
-
 
144769
      return new saveStoreOrderDetail_args(this);
-
 
144770
    }
-
 
144771
 
-
 
144772
    @Override
-
 
144773
    public void clear() {
-
 
144774
      this.storeOrderDetail = null;
-
 
144775
    }
-
 
144776
 
-
 
144777
    public StoreOrderDetail getStoreOrderDetail() {
-
 
144778
      return this.storeOrderDetail;
-
 
144779
    }
-
 
144780
 
-
 
144781
    public void setStoreOrderDetail(StoreOrderDetail storeOrderDetail) {
-
 
144782
      this.storeOrderDetail = storeOrderDetail;
-
 
144783
    }
-
 
144784
 
-
 
144785
    public void unsetStoreOrderDetail() {
-
 
144786
      this.storeOrderDetail = null;
-
 
144787
    }
-
 
144788
 
-
 
144789
    /** Returns true if field storeOrderDetail is set (has been assigned a value) and false otherwise */
-
 
144790
    public boolean isSetStoreOrderDetail() {
-
 
144791
      return this.storeOrderDetail != null;
-
 
144792
    }
-
 
144793
 
-
 
144794
    public void setStoreOrderDetailIsSet(boolean value) {
-
 
144795
      if (!value) {
-
 
144796
        this.storeOrderDetail = null;
-
 
144797
      }
-
 
144798
    }
-
 
144799
 
-
 
144800
    public void setFieldValue(_Fields field, Object value) {
-
 
144801
      switch (field) {
-
 
144802
      case STORE_ORDER_DETAIL:
-
 
144803
        if (value == null) {
-
 
144804
          unsetStoreOrderDetail();
-
 
144805
        } else {
-
 
144806
          setStoreOrderDetail((StoreOrderDetail)value);
-
 
144807
        }
-
 
144808
        break;
-
 
144809
 
-
 
144810
      }
-
 
144811
    }
-
 
144812
 
-
 
144813
    public Object getFieldValue(_Fields field) {
-
 
144814
      switch (field) {
-
 
144815
      case STORE_ORDER_DETAIL:
-
 
144816
        return getStoreOrderDetail();
-
 
144817
 
-
 
144818
      }
-
 
144819
      throw new IllegalStateException();
-
 
144820
    }
-
 
144821
 
-
 
144822
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
144823
    public boolean isSet(_Fields field) {
-
 
144824
      if (field == null) {
-
 
144825
        throw new IllegalArgumentException();
-
 
144826
      }
-
 
144827
 
-
 
144828
      switch (field) {
-
 
144829
      case STORE_ORDER_DETAIL:
-
 
144830
        return isSetStoreOrderDetail();
-
 
144831
      }
-
 
144832
      throw new IllegalStateException();
-
 
144833
    }
-
 
144834
 
-
 
144835
    @Override
-
 
144836
    public boolean equals(Object that) {
-
 
144837
      if (that == null)
-
 
144838
        return false;
-
 
144839
      if (that instanceof saveStoreOrderDetail_args)
-
 
144840
        return this.equals((saveStoreOrderDetail_args)that);
-
 
144841
      return false;
-
 
144842
    }
-
 
144843
 
-
 
144844
    public boolean equals(saveStoreOrderDetail_args that) {
-
 
144845
      if (that == null)
-
 
144846
        return false;
-
 
144847
 
-
 
144848
      boolean this_present_storeOrderDetail = true && this.isSetStoreOrderDetail();
-
 
144849
      boolean that_present_storeOrderDetail = true && that.isSetStoreOrderDetail();
-
 
144850
      if (this_present_storeOrderDetail || that_present_storeOrderDetail) {
-
 
144851
        if (!(this_present_storeOrderDetail && that_present_storeOrderDetail))
-
 
144852
          return false;
-
 
144853
        if (!this.storeOrderDetail.equals(that.storeOrderDetail))
-
 
144854
          return false;
-
 
144855
      }
-
 
144856
 
-
 
144857
      return true;
-
 
144858
    }
-
 
144859
 
-
 
144860
    @Override
-
 
144861
    public int hashCode() {
-
 
144862
      return 0;
-
 
144863
    }
-
 
144864
 
-
 
144865
    public int compareTo(saveStoreOrderDetail_args other) {
-
 
144866
      if (!getClass().equals(other.getClass())) {
-
 
144867
        return getClass().getName().compareTo(other.getClass().getName());
-
 
144868
      }
-
 
144869
 
-
 
144870
      int lastComparison = 0;
-
 
144871
      saveStoreOrderDetail_args typedOther = (saveStoreOrderDetail_args)other;
-
 
144872
 
-
 
144873
      lastComparison = Boolean.valueOf(isSetStoreOrderDetail()).compareTo(typedOther.isSetStoreOrderDetail());
-
 
144874
      if (lastComparison != 0) {
-
 
144875
        return lastComparison;
-
 
144876
      }
-
 
144877
      if (isSetStoreOrderDetail()) {
-
 
144878
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeOrderDetail, typedOther.storeOrderDetail);
-
 
144879
        if (lastComparison != 0) {
-
 
144880
          return lastComparison;
-
 
144881
        }
-
 
144882
      }
-
 
144883
      return 0;
-
 
144884
    }
-
 
144885
 
-
 
144886
    public _Fields fieldForId(int fieldId) {
-
 
144887
      return _Fields.findByThriftId(fieldId);
-
 
144888
    }
-
 
144889
 
-
 
144890
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
144891
      org.apache.thrift.protocol.TField field;
-
 
144892
      iprot.readStructBegin();
-
 
144893
      while (true)
-
 
144894
      {
-
 
144895
        field = iprot.readFieldBegin();
-
 
144896
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
144897
          break;
-
 
144898
        }
-
 
144899
        switch (field.id) {
-
 
144900
          case 1: // STORE_ORDER_DETAIL
-
 
144901
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
144902
              this.storeOrderDetail = new StoreOrderDetail();
-
 
144903
              this.storeOrderDetail.read(iprot);
-
 
144904
            } else { 
-
 
144905
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
144906
            }
-
 
144907
            break;
-
 
144908
          default:
-
 
144909
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
144910
        }
-
 
144911
        iprot.readFieldEnd();
-
 
144912
      }
-
 
144913
      iprot.readStructEnd();
-
 
144914
      validate();
-
 
144915
    }
-
 
144916
 
-
 
144917
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
144918
      validate();
-
 
144919
 
-
 
144920
      oprot.writeStructBegin(STRUCT_DESC);
-
 
144921
      if (this.storeOrderDetail != null) {
-
 
144922
        oprot.writeFieldBegin(STORE_ORDER_DETAIL_FIELD_DESC);
-
 
144923
        this.storeOrderDetail.write(oprot);
-
 
144924
        oprot.writeFieldEnd();
-
 
144925
      }
-
 
144926
      oprot.writeFieldStop();
-
 
144927
      oprot.writeStructEnd();
-
 
144928
    }
-
 
144929
 
-
 
144930
    @Override
-
 
144931
    public String toString() {
-
 
144932
      StringBuilder sb = new StringBuilder("saveStoreOrderDetail_args(");
-
 
144933
      boolean first = true;
-
 
144934
 
-
 
144935
      sb.append("storeOrderDetail:");
-
 
144936
      if (this.storeOrderDetail == null) {
-
 
144937
        sb.append("null");
-
 
144938
      } else {
-
 
144939
        sb.append(this.storeOrderDetail);
-
 
144940
      }
-
 
144941
      first = false;
-
 
144942
      sb.append(")");
-
 
144943
      return sb.toString();
-
 
144944
    }
-
 
144945
 
-
 
144946
    public void validate() throws org.apache.thrift.TException {
-
 
144947
      // check for required fields
-
 
144948
    }
-
 
144949
 
-
 
144950
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
144951
      try {
-
 
144952
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
144953
      } catch (org.apache.thrift.TException te) {
-
 
144954
        throw new java.io.IOException(te);
-
 
144955
      }
-
 
144956
    }
-
 
144957
 
-
 
144958
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
144959
      try {
-
 
144960
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
144961
      } catch (org.apache.thrift.TException te) {
-
 
144962
        throw new java.io.IOException(te);
-
 
144963
      }
-
 
144964
    }
-
 
144965
 
-
 
144966
  }
-
 
144967
 
-
 
144968
  public static class saveStoreOrderDetail_result implements org.apache.thrift.TBase<saveStoreOrderDetail_result, saveStoreOrderDetail_result._Fields>, java.io.Serializable, Cloneable   {
-
 
144969
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("saveStoreOrderDetail_result");
-
 
144970
 
-
 
144971
    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);
-
 
144972
 
-
 
144973
    private boolean success; // required
-
 
144974
 
-
 
144975
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
144976
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
144977
      SUCCESS((short)0, "success");
-
 
144978
 
-
 
144979
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
144980
 
-
 
144981
      static {
-
 
144982
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
144983
          byName.put(field.getFieldName(), field);
-
 
144984
        }
-
 
144985
      }
-
 
144986
 
-
 
144987
      /**
-
 
144988
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
144989
       */
-
 
144990
      public static _Fields findByThriftId(int fieldId) {
-
 
144991
        switch(fieldId) {
-
 
144992
          case 0: // SUCCESS
-
 
144993
            return SUCCESS;
-
 
144994
          default:
-
 
144995
            return null;
-
 
144996
        }
-
 
144997
      }
-
 
144998
 
-
 
144999
      /**
-
 
145000
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
145001
       * if it is not found.
-
 
145002
       */
-
 
145003
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
145004
        _Fields fields = findByThriftId(fieldId);
-
 
145005
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
145006
        return fields;
-
 
145007
      }
-
 
145008
 
-
 
145009
      /**
-
 
145010
       * Find the _Fields constant that matches name, or null if its not found.
-
 
145011
       */
-
 
145012
      public static _Fields findByName(String name) {
-
 
145013
        return byName.get(name);
-
 
145014
      }
-
 
145015
 
-
 
145016
      private final short _thriftId;
-
 
145017
      private final String _fieldName;
-
 
145018
 
-
 
145019
      _Fields(short thriftId, String fieldName) {
-
 
145020
        _thriftId = thriftId;
-
 
145021
        _fieldName = fieldName;
-
 
145022
      }
-
 
145023
 
-
 
145024
      public short getThriftFieldId() {
-
 
145025
        return _thriftId;
-
 
145026
      }
-
 
145027
 
-
 
145028
      public String getFieldName() {
-
 
145029
        return _fieldName;
-
 
145030
      }
-
 
145031
    }
-
 
145032
 
-
 
145033
    // isset id assignments
-
 
145034
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
145035
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
145036
 
-
 
145037
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
145038
    static {
-
 
145039
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
145040
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
145041
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
145042
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
145043
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(saveStoreOrderDetail_result.class, metaDataMap);
-
 
145044
    }
-
 
145045
 
-
 
145046
    public saveStoreOrderDetail_result() {
-
 
145047
    }
-
 
145048
 
-
 
145049
    public saveStoreOrderDetail_result(
-
 
145050
      boolean success)
-
 
145051
    {
-
 
145052
      this();
-
 
145053
      this.success = success;
-
 
145054
      setSuccessIsSet(true);
-
 
145055
    }
-
 
145056
 
-
 
145057
    /**
-
 
145058
     * Performs a deep copy on <i>other</i>.
-
 
145059
     */
-
 
145060
    public saveStoreOrderDetail_result(saveStoreOrderDetail_result other) {
-
 
145061
      __isset_bit_vector.clear();
-
 
145062
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
145063
      this.success = other.success;
-
 
145064
    }
-
 
145065
 
-
 
145066
    public saveStoreOrderDetail_result deepCopy() {
-
 
145067
      return new saveStoreOrderDetail_result(this);
-
 
145068
    }
-
 
145069
 
-
 
145070
    @Override
-
 
145071
    public void clear() {
-
 
145072
      setSuccessIsSet(false);
-
 
145073
      this.success = false;
-
 
145074
    }
-
 
145075
 
-
 
145076
    public boolean isSuccess() {
-
 
145077
      return this.success;
-
 
145078
    }
-
 
145079
 
-
 
145080
    public void setSuccess(boolean success) {
-
 
145081
      this.success = success;
-
 
145082
      setSuccessIsSet(true);
-
 
145083
    }
-
 
145084
 
-
 
145085
    public void unsetSuccess() {
-
 
145086
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
145087
    }
-
 
145088
 
-
 
145089
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
145090
    public boolean isSetSuccess() {
-
 
145091
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
145092
    }
-
 
145093
 
-
 
145094
    public void setSuccessIsSet(boolean value) {
-
 
145095
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
145096
    }
-
 
145097
 
-
 
145098
    public void setFieldValue(_Fields field, Object value) {
-
 
145099
      switch (field) {
-
 
145100
      case SUCCESS:
-
 
145101
        if (value == null) {
-
 
145102
          unsetSuccess();
-
 
145103
        } else {
-
 
145104
          setSuccess((Boolean)value);
-
 
145105
        }
-
 
145106
        break;
-
 
145107
 
-
 
145108
      }
-
 
145109
    }
-
 
145110
 
-
 
145111
    public Object getFieldValue(_Fields field) {
-
 
145112
      switch (field) {
-
 
145113
      case SUCCESS:
-
 
145114
        return Boolean.valueOf(isSuccess());
-
 
145115
 
-
 
145116
      }
-
 
145117
      throw new IllegalStateException();
-
 
145118
    }
-
 
145119
 
-
 
145120
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
145121
    public boolean isSet(_Fields field) {
-
 
145122
      if (field == null) {
-
 
145123
        throw new IllegalArgumentException();
-
 
145124
      }
-
 
145125
 
-
 
145126
      switch (field) {
-
 
145127
      case SUCCESS:
-
 
145128
        return isSetSuccess();
-
 
145129
      }
-
 
145130
      throw new IllegalStateException();
-
 
145131
    }
-
 
145132
 
-
 
145133
    @Override
-
 
145134
    public boolean equals(Object that) {
-
 
145135
      if (that == null)
-
 
145136
        return false;
-
 
145137
      if (that instanceof saveStoreOrderDetail_result)
-
 
145138
        return this.equals((saveStoreOrderDetail_result)that);
-
 
145139
      return false;
-
 
145140
    }
-
 
145141
 
-
 
145142
    public boolean equals(saveStoreOrderDetail_result that) {
-
 
145143
      if (that == null)
-
 
145144
        return false;
-
 
145145
 
-
 
145146
      boolean this_present_success = true;
-
 
145147
      boolean that_present_success = true;
-
 
145148
      if (this_present_success || that_present_success) {
-
 
145149
        if (!(this_present_success && that_present_success))
-
 
145150
          return false;
-
 
145151
        if (this.success != that.success)
-
 
145152
          return false;
-
 
145153
      }
-
 
145154
 
-
 
145155
      return true;
-
 
145156
    }
-
 
145157
 
-
 
145158
    @Override
-
 
145159
    public int hashCode() {
-
 
145160
      return 0;
-
 
145161
    }
-
 
145162
 
-
 
145163
    public int compareTo(saveStoreOrderDetail_result other) {
-
 
145164
      if (!getClass().equals(other.getClass())) {
-
 
145165
        return getClass().getName().compareTo(other.getClass().getName());
-
 
145166
      }
-
 
145167
 
-
 
145168
      int lastComparison = 0;
-
 
145169
      saveStoreOrderDetail_result typedOther = (saveStoreOrderDetail_result)other;
-
 
145170
 
-
 
145171
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
145172
      if (lastComparison != 0) {
-
 
145173
        return lastComparison;
-
 
145174
      }
-
 
145175
      if (isSetSuccess()) {
-
 
145176
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
145177
        if (lastComparison != 0) {
-
 
145178
          return lastComparison;
-
 
145179
        }
-
 
145180
      }
-
 
145181
      return 0;
-
 
145182
    }
-
 
145183
 
-
 
145184
    public _Fields fieldForId(int fieldId) {
-
 
145185
      return _Fields.findByThriftId(fieldId);
-
 
145186
    }
-
 
145187
 
-
 
145188
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
145189
      org.apache.thrift.protocol.TField field;
-
 
145190
      iprot.readStructBegin();
-
 
145191
      while (true)
-
 
145192
      {
-
 
145193
        field = iprot.readFieldBegin();
-
 
145194
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
145195
          break;
-
 
145196
        }
-
 
145197
        switch (field.id) {
-
 
145198
          case 0: // SUCCESS
-
 
145199
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
145200
              this.success = iprot.readBool();
-
 
145201
              setSuccessIsSet(true);
-
 
145202
            } else { 
-
 
145203
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
145204
            }
-
 
145205
            break;
-
 
145206
          default:
-
 
145207
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
145208
        }
-
 
145209
        iprot.readFieldEnd();
-
 
145210
      }
-
 
145211
      iprot.readStructEnd();
-
 
145212
      validate();
-
 
145213
    }
-
 
145214
 
-
 
145215
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
145216
      oprot.writeStructBegin(STRUCT_DESC);
-
 
145217
 
-
 
145218
      if (this.isSetSuccess()) {
-
 
145219
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
145220
        oprot.writeBool(this.success);
-
 
145221
        oprot.writeFieldEnd();
-
 
145222
      }
-
 
145223
      oprot.writeFieldStop();
-
 
145224
      oprot.writeStructEnd();
-
 
145225
    }
-
 
145226
 
-
 
145227
    @Override
-
 
145228
    public String toString() {
-
 
145229
      StringBuilder sb = new StringBuilder("saveStoreOrderDetail_result(");
-
 
145230
      boolean first = true;
-
 
145231
 
-
 
145232
      sb.append("success:");
-
 
145233
      sb.append(this.success);
-
 
145234
      first = false;
-
 
145235
      sb.append(")");
-
 
145236
      return sb.toString();
-
 
145237
    }
-
 
145238
 
-
 
145239
    public void validate() throws org.apache.thrift.TException {
-
 
145240
      // check for required fields
-
 
145241
    }
-
 
145242
 
-
 
145243
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
145244
      try {
-
 
145245
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
145246
      } catch (org.apache.thrift.TException te) {
-
 
145247
        throw new java.io.IOException(te);
-
 
145248
      }
-
 
145249
    }
-
 
145250
 
-
 
145251
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
145252
      try {
-
 
145253
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
145254
      } catch (org.apache.thrift.TException te) {
-
 
145255
        throw new java.io.IOException(te);
-
 
145256
      }
-
 
145257
    }
-
 
145258
 
-
 
145259
  }
-
 
145260
 
-
 
145261
  public static class getStoreOrderDetail_args implements org.apache.thrift.TBase<getStoreOrderDetail_args, getStoreOrderDetail_args._Fields>, java.io.Serializable, Cloneable   {
-
 
145262
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStoreOrderDetail_args");
-
 
145263
 
-
 
145264
    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);
-
 
145265
    private static final org.apache.thrift.protocol.TField STORE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("storeId", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
145266
 
-
 
145267
    private long orderId; // required
-
 
145268
    private long storeId; // required
-
 
145269
 
-
 
145270
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
145271
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
145272
      ORDER_ID((short)1, "orderId"),
-
 
145273
      STORE_ID((short)2, "storeId");
-
 
145274
 
-
 
145275
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
145276
 
-
 
145277
      static {
-
 
145278
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
145279
          byName.put(field.getFieldName(), field);
-
 
145280
        }
-
 
145281
      }
-
 
145282
 
-
 
145283
      /**
-
 
145284
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
145285
       */
-
 
145286
      public static _Fields findByThriftId(int fieldId) {
-
 
145287
        switch(fieldId) {
-
 
145288
          case 1: // ORDER_ID
-
 
145289
            return ORDER_ID;
-
 
145290
          case 2: // STORE_ID
-
 
145291
            return STORE_ID;
-
 
145292
          default:
-
 
145293
            return null;
-
 
145294
        }
-
 
145295
      }
-
 
145296
 
-
 
145297
      /**
-
 
145298
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
145299
       * if it is not found.
-
 
145300
       */
-
 
145301
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
145302
        _Fields fields = findByThriftId(fieldId);
-
 
145303
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
145304
        return fields;
-
 
145305
      }
-
 
145306
 
-
 
145307
      /**
-
 
145308
       * Find the _Fields constant that matches name, or null if its not found.
-
 
145309
       */
-
 
145310
      public static _Fields findByName(String name) {
-
 
145311
        return byName.get(name);
-
 
145312
      }
-
 
145313
 
-
 
145314
      private final short _thriftId;
-
 
145315
      private final String _fieldName;
-
 
145316
 
-
 
145317
      _Fields(short thriftId, String fieldName) {
-
 
145318
        _thriftId = thriftId;
-
 
145319
        _fieldName = fieldName;
-
 
145320
      }
-
 
145321
 
-
 
145322
      public short getThriftFieldId() {
-
 
145323
        return _thriftId;
-
 
145324
      }
-
 
145325
 
-
 
145326
      public String getFieldName() {
-
 
145327
        return _fieldName;
-
 
145328
      }
-
 
145329
    }
-
 
145330
 
-
 
145331
    // isset id assignments
-
 
145332
    private static final int __ORDERID_ISSET_ID = 0;
-
 
145333
    private static final int __STOREID_ISSET_ID = 1;
-
 
145334
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
145335
 
-
 
145336
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
145337
    static {
-
 
145338
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
145339
      tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
145340
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
145341
      tmpMap.put(_Fields.STORE_ID, new org.apache.thrift.meta_data.FieldMetaData("storeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
145342
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
145343
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
145344
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStoreOrderDetail_args.class, metaDataMap);
-
 
145345
    }
-
 
145346
 
-
 
145347
    public getStoreOrderDetail_args() {
-
 
145348
    }
-
 
145349
 
-
 
145350
    public getStoreOrderDetail_args(
-
 
145351
      long orderId,
-
 
145352
      long storeId)
-
 
145353
    {
-
 
145354
      this();
-
 
145355
      this.orderId = orderId;
-
 
145356
      setOrderIdIsSet(true);
-
 
145357
      this.storeId = storeId;
-
 
145358
      setStoreIdIsSet(true);
-
 
145359
    }
-
 
145360
 
-
 
145361
    /**
-
 
145362
     * Performs a deep copy on <i>other</i>.
-
 
145363
     */
-
 
145364
    public getStoreOrderDetail_args(getStoreOrderDetail_args other) {
-
 
145365
      __isset_bit_vector.clear();
-
 
145366
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
145367
      this.orderId = other.orderId;
-
 
145368
      this.storeId = other.storeId;
-
 
145369
    }
-
 
145370
 
-
 
145371
    public getStoreOrderDetail_args deepCopy() {
-
 
145372
      return new getStoreOrderDetail_args(this);
-
 
145373
    }
-
 
145374
 
-
 
145375
    @Override
-
 
145376
    public void clear() {
-
 
145377
      setOrderIdIsSet(false);
-
 
145378
      this.orderId = 0;
-
 
145379
      setStoreIdIsSet(false);
-
 
145380
      this.storeId = 0;
-
 
145381
    }
-
 
145382
 
-
 
145383
    public long getOrderId() {
-
 
145384
      return this.orderId;
-
 
145385
    }
-
 
145386
 
-
 
145387
    public void setOrderId(long orderId) {
-
 
145388
      this.orderId = orderId;
-
 
145389
      setOrderIdIsSet(true);
-
 
145390
    }
-
 
145391
 
-
 
145392
    public void unsetOrderId() {
-
 
145393
      __isset_bit_vector.clear(__ORDERID_ISSET_ID);
-
 
145394
    }
-
 
145395
 
-
 
145396
    /** Returns true if field orderId is set (has been assigned a value) and false otherwise */
-
 
145397
    public boolean isSetOrderId() {
-
 
145398
      return __isset_bit_vector.get(__ORDERID_ISSET_ID);
-
 
145399
    }
-
 
145400
 
-
 
145401
    public void setOrderIdIsSet(boolean value) {
-
 
145402
      __isset_bit_vector.set(__ORDERID_ISSET_ID, value);
-
 
145403
    }
-
 
145404
 
-
 
145405
    public long getStoreId() {
-
 
145406
      return this.storeId;
-
 
145407
    }
-
 
145408
 
-
 
145409
    public void setStoreId(long storeId) {
-
 
145410
      this.storeId = storeId;
-
 
145411
      setStoreIdIsSet(true);
-
 
145412
    }
-
 
145413
 
-
 
145414
    public void unsetStoreId() {
-
 
145415
      __isset_bit_vector.clear(__STOREID_ISSET_ID);
-
 
145416
    }
-
 
145417
 
-
 
145418
    /** Returns true if field storeId is set (has been assigned a value) and false otherwise */
-
 
145419
    public boolean isSetStoreId() {
-
 
145420
      return __isset_bit_vector.get(__STOREID_ISSET_ID);
-
 
145421
    }
-
 
145422
 
-
 
145423
    public void setStoreIdIsSet(boolean value) {
-
 
145424
      __isset_bit_vector.set(__STOREID_ISSET_ID, value);
-
 
145425
    }
-
 
145426
 
-
 
145427
    public void setFieldValue(_Fields field, Object value) {
-
 
145428
      switch (field) {
-
 
145429
      case ORDER_ID:
-
 
145430
        if (value == null) {
-
 
145431
          unsetOrderId();
-
 
145432
        } else {
-
 
145433
          setOrderId((Long)value);
-
 
145434
        }
-
 
145435
        break;
-
 
145436
 
-
 
145437
      case STORE_ID:
-
 
145438
        if (value == null) {
-
 
145439
          unsetStoreId();
-
 
145440
        } else {
-
 
145441
          setStoreId((Long)value);
-
 
145442
        }
-
 
145443
        break;
-
 
145444
 
-
 
145445
      }
-
 
145446
    }
-
 
145447
 
-
 
145448
    public Object getFieldValue(_Fields field) {
-
 
145449
      switch (field) {
-
 
145450
      case ORDER_ID:
-
 
145451
        return Long.valueOf(getOrderId());
-
 
145452
 
-
 
145453
      case STORE_ID:
-
 
145454
        return Long.valueOf(getStoreId());
-
 
145455
 
-
 
145456
      }
-
 
145457
      throw new IllegalStateException();
-
 
145458
    }
-
 
145459
 
-
 
145460
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
145461
    public boolean isSet(_Fields field) {
-
 
145462
      if (field == null) {
-
 
145463
        throw new IllegalArgumentException();
-
 
145464
      }
-
 
145465
 
-
 
145466
      switch (field) {
-
 
145467
      case ORDER_ID:
-
 
145468
        return isSetOrderId();
-
 
145469
      case STORE_ID:
-
 
145470
        return isSetStoreId();
-
 
145471
      }
-
 
145472
      throw new IllegalStateException();
-
 
145473
    }
-
 
145474
 
-
 
145475
    @Override
-
 
145476
    public boolean equals(Object that) {
-
 
145477
      if (that == null)
-
 
145478
        return false;
-
 
145479
      if (that instanceof getStoreOrderDetail_args)
-
 
145480
        return this.equals((getStoreOrderDetail_args)that);
-
 
145481
      return false;
-
 
145482
    }
-
 
145483
 
-
 
145484
    public boolean equals(getStoreOrderDetail_args that) {
-
 
145485
      if (that == null)
-
 
145486
        return false;
-
 
145487
 
-
 
145488
      boolean this_present_orderId = true;
-
 
145489
      boolean that_present_orderId = true;
-
 
145490
      if (this_present_orderId || that_present_orderId) {
-
 
145491
        if (!(this_present_orderId && that_present_orderId))
-
 
145492
          return false;
-
 
145493
        if (this.orderId != that.orderId)
-
 
145494
          return false;
-
 
145495
      }
-
 
145496
 
-
 
145497
      boolean this_present_storeId = true;
-
 
145498
      boolean that_present_storeId = true;
-
 
145499
      if (this_present_storeId || that_present_storeId) {
-
 
145500
        if (!(this_present_storeId && that_present_storeId))
-
 
145501
          return false;
-
 
145502
        if (this.storeId != that.storeId)
-
 
145503
          return false;
-
 
145504
      }
-
 
145505
 
-
 
145506
      return true;
-
 
145507
    }
-
 
145508
 
-
 
145509
    @Override
-
 
145510
    public int hashCode() {
-
 
145511
      return 0;
-
 
145512
    }
-
 
145513
 
-
 
145514
    public int compareTo(getStoreOrderDetail_args other) {
-
 
145515
      if (!getClass().equals(other.getClass())) {
-
 
145516
        return getClass().getName().compareTo(other.getClass().getName());
-
 
145517
      }
-
 
145518
 
-
 
145519
      int lastComparison = 0;
-
 
145520
      getStoreOrderDetail_args typedOther = (getStoreOrderDetail_args)other;
-
 
145521
 
-
 
145522
      lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
-
 
145523
      if (lastComparison != 0) {
-
 
145524
        return lastComparison;
-
 
145525
      }
-
 
145526
      if (isSetOrderId()) {
-
 
145527
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
-
 
145528
        if (lastComparison != 0) {
-
 
145529
          return lastComparison;
-
 
145530
        }
-
 
145531
      }
-
 
145532
      lastComparison = Boolean.valueOf(isSetStoreId()).compareTo(typedOther.isSetStoreId());
-
 
145533
      if (lastComparison != 0) {
-
 
145534
        return lastComparison;
-
 
145535
      }
-
 
145536
      if (isSetStoreId()) {
-
 
145537
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeId, typedOther.storeId);
-
 
145538
        if (lastComparison != 0) {
-
 
145539
          return lastComparison;
-
 
145540
        }
-
 
145541
      }
-
 
145542
      return 0;
-
 
145543
    }
-
 
145544
 
-
 
145545
    public _Fields fieldForId(int fieldId) {
-
 
145546
      return _Fields.findByThriftId(fieldId);
-
 
145547
    }
-
 
145548
 
-
 
145549
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
145550
      org.apache.thrift.protocol.TField field;
-
 
145551
      iprot.readStructBegin();
-
 
145552
      while (true)
-
 
145553
      {
-
 
145554
        field = iprot.readFieldBegin();
-
 
145555
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
145556
          break;
-
 
145557
        }
-
 
145558
        switch (field.id) {
-
 
145559
          case 1: // ORDER_ID
-
 
145560
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
145561
              this.orderId = iprot.readI64();
-
 
145562
              setOrderIdIsSet(true);
-
 
145563
            } else { 
-
 
145564
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
145565
            }
-
 
145566
            break;
-
 
145567
          case 2: // STORE_ID
-
 
145568
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
145569
              this.storeId = iprot.readI64();
-
 
145570
              setStoreIdIsSet(true);
-
 
145571
            } else { 
-
 
145572
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
145573
            }
-
 
145574
            break;
-
 
145575
          default:
-
 
145576
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
145577
        }
-
 
145578
        iprot.readFieldEnd();
-
 
145579
      }
-
 
145580
      iprot.readStructEnd();
-
 
145581
      validate();
-
 
145582
    }
-
 
145583
 
-
 
145584
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
145585
      validate();
-
 
145586
 
-
 
145587
      oprot.writeStructBegin(STRUCT_DESC);
-
 
145588
      oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
-
 
145589
      oprot.writeI64(this.orderId);
-
 
145590
      oprot.writeFieldEnd();
-
 
145591
      oprot.writeFieldBegin(STORE_ID_FIELD_DESC);
-
 
145592
      oprot.writeI64(this.storeId);
-
 
145593
      oprot.writeFieldEnd();
-
 
145594
      oprot.writeFieldStop();
-
 
145595
      oprot.writeStructEnd();
-
 
145596
    }
-
 
145597
 
-
 
145598
    @Override
-
 
145599
    public String toString() {
-
 
145600
      StringBuilder sb = new StringBuilder("getStoreOrderDetail_args(");
-
 
145601
      boolean first = true;
-
 
145602
 
-
 
145603
      sb.append("orderId:");
-
 
145604
      sb.append(this.orderId);
-
 
145605
      first = false;
-
 
145606
      if (!first) sb.append(", ");
-
 
145607
      sb.append("storeId:");
-
 
145608
      sb.append(this.storeId);
-
 
145609
      first = false;
-
 
145610
      sb.append(")");
-
 
145611
      return sb.toString();
-
 
145612
    }
-
 
145613
 
-
 
145614
    public void validate() throws org.apache.thrift.TException {
-
 
145615
      // check for required fields
-
 
145616
    }
-
 
145617
 
-
 
145618
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
145619
      try {
-
 
145620
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
145621
      } catch (org.apache.thrift.TException te) {
-
 
145622
        throw new java.io.IOException(te);
-
 
145623
      }
-
 
145624
    }
-
 
145625
 
-
 
145626
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
145627
      try {
-
 
145628
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
145629
        __isset_bit_vector = new BitSet(1);
-
 
145630
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
145631
      } catch (org.apache.thrift.TException te) {
-
 
145632
        throw new java.io.IOException(te);
-
 
145633
      }
-
 
145634
    }
-
 
145635
 
-
 
145636
  }
-
 
145637
 
-
 
145638
  public static class getStoreOrderDetail_result implements org.apache.thrift.TBase<getStoreOrderDetail_result, getStoreOrderDetail_result._Fields>, java.io.Serializable, Cloneable   {
-
 
145639
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStoreOrderDetail_result");
-
 
145640
 
-
 
145641
    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);
-
 
145642
 
-
 
145643
    private StoreOrderDetail success; // required
-
 
145644
 
-
 
145645
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
145646
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
145647
      SUCCESS((short)0, "success");
-
 
145648
 
-
 
145649
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
145650
 
-
 
145651
      static {
-
 
145652
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
145653
          byName.put(field.getFieldName(), field);
-
 
145654
        }
-
 
145655
      }
-
 
145656
 
-
 
145657
      /**
-
 
145658
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
145659
       */
-
 
145660
      public static _Fields findByThriftId(int fieldId) {
-
 
145661
        switch(fieldId) {
-
 
145662
          case 0: // SUCCESS
-
 
145663
            return SUCCESS;
-
 
145664
          default:
-
 
145665
            return null;
-
 
145666
        }
-
 
145667
      }
-
 
145668
 
-
 
145669
      /**
-
 
145670
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
145671
       * if it is not found.
-
 
145672
       */
-
 
145673
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
145674
        _Fields fields = findByThriftId(fieldId);
-
 
145675
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
145676
        return fields;
-
 
145677
      }
-
 
145678
 
-
 
145679
      /**
-
 
145680
       * Find the _Fields constant that matches name, or null if its not found.
-
 
145681
       */
-
 
145682
      public static _Fields findByName(String name) {
-
 
145683
        return byName.get(name);
-
 
145684
      }
-
 
145685
 
-
 
145686
      private final short _thriftId;
-
 
145687
      private final String _fieldName;
-
 
145688
 
-
 
145689
      _Fields(short thriftId, String fieldName) {
-
 
145690
        _thriftId = thriftId;
-
 
145691
        _fieldName = fieldName;
-
 
145692
      }
-
 
145693
 
-
 
145694
      public short getThriftFieldId() {
-
 
145695
        return _thriftId;
-
 
145696
      }
-
 
145697
 
-
 
145698
      public String getFieldName() {
-
 
145699
        return _fieldName;
-
 
145700
      }
-
 
145701
    }
-
 
145702
 
-
 
145703
    // isset id assignments
-
 
145704
 
-
 
145705
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
145706
    static {
-
 
145707
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
145708
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
145709
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, StoreOrderDetail.class)));
-
 
145710
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
145711
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getStoreOrderDetail_result.class, metaDataMap);
-
 
145712
    }
-
 
145713
 
-
 
145714
    public getStoreOrderDetail_result() {
-
 
145715
    }
-
 
145716
 
-
 
145717
    public getStoreOrderDetail_result(
-
 
145718
      StoreOrderDetail success)
-
 
145719
    {
-
 
145720
      this();
-
 
145721
      this.success = success;
-
 
145722
    }
-
 
145723
 
-
 
145724
    /**
-
 
145725
     * Performs a deep copy on <i>other</i>.
-
 
145726
     */
-
 
145727
    public getStoreOrderDetail_result(getStoreOrderDetail_result other) {
-
 
145728
      if (other.isSetSuccess()) {
-
 
145729
        this.success = new StoreOrderDetail(other.success);
-
 
145730
      }
-
 
145731
    }
-
 
145732
 
-
 
145733
    public getStoreOrderDetail_result deepCopy() {
-
 
145734
      return new getStoreOrderDetail_result(this);
-
 
145735
    }
-
 
145736
 
-
 
145737
    @Override
-
 
145738
    public void clear() {
-
 
145739
      this.success = null;
-
 
145740
    }
-
 
145741
 
-
 
145742
    public StoreOrderDetail getSuccess() {
-
 
145743
      return this.success;
-
 
145744
    }
-
 
145745
 
-
 
145746
    public void setSuccess(StoreOrderDetail success) {
-
 
145747
      this.success = success;
-
 
145748
    }
-
 
145749
 
-
 
145750
    public void unsetSuccess() {
-
 
145751
      this.success = null;
-
 
145752
    }
-
 
145753
 
-
 
145754
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
145755
    public boolean isSetSuccess() {
-
 
145756
      return this.success != null;
-
 
145757
    }
-
 
145758
 
-
 
145759
    public void setSuccessIsSet(boolean value) {
-
 
145760
      if (!value) {
-
 
145761
        this.success = null;
-
 
145762
      }
-
 
145763
    }
-
 
145764
 
-
 
145765
    public void setFieldValue(_Fields field, Object value) {
-
 
145766
      switch (field) {
-
 
145767
      case SUCCESS:
-
 
145768
        if (value == null) {
-
 
145769
          unsetSuccess();
-
 
145770
        } else {
-
 
145771
          setSuccess((StoreOrderDetail)value);
-
 
145772
        }
-
 
145773
        break;
-
 
145774
 
-
 
145775
      }
-
 
145776
    }
-
 
145777
 
-
 
145778
    public Object getFieldValue(_Fields field) {
-
 
145779
      switch (field) {
-
 
145780
      case SUCCESS:
-
 
145781
        return getSuccess();
-
 
145782
 
-
 
145783
      }
-
 
145784
      throw new IllegalStateException();
-
 
145785
    }
-
 
145786
 
-
 
145787
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
145788
    public boolean isSet(_Fields field) {
-
 
145789
      if (field == null) {
-
 
145790
        throw new IllegalArgumentException();
-
 
145791
      }
-
 
145792
 
-
 
145793
      switch (field) {
-
 
145794
      case SUCCESS:
-
 
145795
        return isSetSuccess();
-
 
145796
      }
-
 
145797
      throw new IllegalStateException();
-
 
145798
    }
-
 
145799
 
-
 
145800
    @Override
-
 
145801
    public boolean equals(Object that) {
-
 
145802
      if (that == null)
-
 
145803
        return false;
-
 
145804
      if (that instanceof getStoreOrderDetail_result)
-
 
145805
        return this.equals((getStoreOrderDetail_result)that);
-
 
145806
      return false;
-
 
145807
    }
-
 
145808
 
-
 
145809
    public boolean equals(getStoreOrderDetail_result that) {
-
 
145810
      if (that == null)
-
 
145811
        return false;
-
 
145812
 
-
 
145813
      boolean this_present_success = true && this.isSetSuccess();
-
 
145814
      boolean that_present_success = true && that.isSetSuccess();
-
 
145815
      if (this_present_success || that_present_success) {
-
 
145816
        if (!(this_present_success && that_present_success))
-
 
145817
          return false;
-
 
145818
        if (!this.success.equals(that.success))
-
 
145819
          return false;
-
 
145820
      }
-
 
145821
 
-
 
145822
      return true;
-
 
145823
    }
-
 
145824
 
-
 
145825
    @Override
-
 
145826
    public int hashCode() {
-
 
145827
      return 0;
-
 
145828
    }
-
 
145829
 
-
 
145830
    public int compareTo(getStoreOrderDetail_result other) {
-
 
145831
      if (!getClass().equals(other.getClass())) {
-
 
145832
        return getClass().getName().compareTo(other.getClass().getName());
-
 
145833
      }
-
 
145834
 
-
 
145835
      int lastComparison = 0;
-
 
145836
      getStoreOrderDetail_result typedOther = (getStoreOrderDetail_result)other;
-
 
145837
 
-
 
145838
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
145839
      if (lastComparison != 0) {
-
 
145840
        return lastComparison;
-
 
145841
      }
-
 
145842
      if (isSetSuccess()) {
-
 
145843
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
145844
        if (lastComparison != 0) {
-
 
145845
          return lastComparison;
-
 
145846
        }
-
 
145847
      }
-
 
145848
      return 0;
-
 
145849
    }
-
 
145850
 
-
 
145851
    public _Fields fieldForId(int fieldId) {
-
 
145852
      return _Fields.findByThriftId(fieldId);
-
 
145853
    }
-
 
145854
 
-
 
145855
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
145856
      org.apache.thrift.protocol.TField field;
-
 
145857
      iprot.readStructBegin();
-
 
145858
      while (true)
-
 
145859
      {
-
 
145860
        field = iprot.readFieldBegin();
-
 
145861
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
145862
          break;
-
 
145863
        }
-
 
145864
        switch (field.id) {
-
 
145865
          case 0: // SUCCESS
-
 
145866
            if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
145867
              this.success = new StoreOrderDetail();
-
 
145868
              this.success.read(iprot);
-
 
145869
            } else { 
-
 
145870
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
145871
            }
-
 
145872
            break;
-
 
145873
          default:
-
 
145874
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
145875
        }
-
 
145876
        iprot.readFieldEnd();
-
 
145877
      }
-
 
145878
      iprot.readStructEnd();
-
 
145879
      validate();
-
 
145880
    }
-
 
145881
 
-
 
145882
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
145883
      oprot.writeStructBegin(STRUCT_DESC);
-
 
145884
 
-
 
145885
      if (this.isSetSuccess()) {
-
 
145886
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
145887
        this.success.write(oprot);
-
 
145888
        oprot.writeFieldEnd();
-
 
145889
      }
-
 
145890
      oprot.writeFieldStop();
-
 
145891
      oprot.writeStructEnd();
-
 
145892
    }
-
 
145893
 
-
 
145894
    @Override
-
 
145895
    public String toString() {
-
 
145896
      StringBuilder sb = new StringBuilder("getStoreOrderDetail_result(");
-
 
145897
      boolean first = true;
-
 
145898
 
-
 
145899
      sb.append("success:");
-
 
145900
      if (this.success == null) {
-
 
145901
        sb.append("null");
-
 
145902
      } else {
-
 
145903
        sb.append(this.success);
-
 
145904
      }
-
 
145905
      first = false;
-
 
145906
      sb.append(")");
-
 
145907
      return sb.toString();
-
 
145908
    }
-
 
145909
 
-
 
145910
    public void validate() throws org.apache.thrift.TException {
-
 
145911
      // check for required fields
-
 
145912
    }
-
 
145913
 
-
 
145914
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
145915
      try {
-
 
145916
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
145917
      } catch (org.apache.thrift.TException te) {
-
 
145918
        throw new java.io.IOException(te);
-
 
145919
      }
-
 
145920
    }
-
 
145921
 
-
 
145922
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
145923
      try {
-
 
145924
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
145925
      } catch (org.apache.thrift.TException te) {
-
 
145926
        throw new java.io.IOException(te);
-
 
145927
      }
-
 
145928
    }
-
 
145929
 
-
 
145930
  }
-
 
145931
 
-
 
145932
  public static class getAllEdcBanks_args implements org.apache.thrift.TBase<getAllEdcBanks_args, getAllEdcBanks_args._Fields>, java.io.Serializable, Cloneable   {
-
 
145933
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllEdcBanks_args");
-
 
145934
 
-
 
145935
 
-
 
145936
 
-
 
145937
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
145938
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
145939
;
-
 
145940
 
-
 
145941
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
145942
 
-
 
145943
      static {
-
 
145944
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
145945
          byName.put(field.getFieldName(), field);
-
 
145946
        }
-
 
145947
      }
-
 
145948
 
-
 
145949
      /**
-
 
145950
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
145951
       */
-
 
145952
      public static _Fields findByThriftId(int fieldId) {
-
 
145953
        switch(fieldId) {
-
 
145954
          default:
-
 
145955
            return null;
-
 
145956
        }
-
 
145957
      }
-
 
145958
 
-
 
145959
      /**
-
 
145960
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
145961
       * if it is not found.
-
 
145962
       */
-
 
145963
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
145964
        _Fields fields = findByThriftId(fieldId);
-
 
145965
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
145966
        return fields;
-
 
145967
      }
-
 
145968
 
-
 
145969
      /**
-
 
145970
       * Find the _Fields constant that matches name, or null if its not found.
-
 
145971
       */
-
 
145972
      public static _Fields findByName(String name) {
-
 
145973
        return byName.get(name);
-
 
145974
      }
-
 
145975
 
-
 
145976
      private final short _thriftId;
-
 
145977
      private final String _fieldName;
-
 
145978
 
-
 
145979
      _Fields(short thriftId, String fieldName) {
-
 
145980
        _thriftId = thriftId;
-
 
145981
        _fieldName = fieldName;
-
 
145982
      }
-
 
145983
 
-
 
145984
      public short getThriftFieldId() {
-
 
145985
        return _thriftId;
-
 
145986
      }
-
 
145987
 
-
 
145988
      public String getFieldName() {
-
 
145989
        return _fieldName;
-
 
145990
      }
-
 
145991
    }
-
 
145992
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
145993
    static {
-
 
145994
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
145995
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
145996
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllEdcBanks_args.class, metaDataMap);
-
 
145997
    }
-
 
145998
 
-
 
145999
    public getAllEdcBanks_args() {
-
 
146000
    }
-
 
146001
 
-
 
146002
    /**
-
 
146003
     * Performs a deep copy on <i>other</i>.
-
 
146004
     */
-
 
146005
    public getAllEdcBanks_args(getAllEdcBanks_args other) {
-
 
146006
    }
-
 
146007
 
-
 
146008
    public getAllEdcBanks_args deepCopy() {
-
 
146009
      return new getAllEdcBanks_args(this);
-
 
146010
    }
-
 
146011
 
-
 
146012
    @Override
-
 
146013
    public void clear() {
-
 
146014
    }
-
 
146015
 
-
 
146016
    public void setFieldValue(_Fields field, Object value) {
-
 
146017
      switch (field) {
-
 
146018
      }
-
 
146019
    }
-
 
146020
 
-
 
146021
    public Object getFieldValue(_Fields field) {
-
 
146022
      switch (field) {
-
 
146023
      }
-
 
146024
      throw new IllegalStateException();
-
 
146025
    }
-
 
146026
 
-
 
146027
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
146028
    public boolean isSet(_Fields field) {
-
 
146029
      if (field == null) {
-
 
146030
        throw new IllegalArgumentException();
-
 
146031
      }
-
 
146032
 
-
 
146033
      switch (field) {
-
 
146034
      }
-
 
146035
      throw new IllegalStateException();
-
 
146036
    }
-
 
146037
 
-
 
146038
    @Override
-
 
146039
    public boolean equals(Object that) {
-
 
146040
      if (that == null)
-
 
146041
        return false;
-
 
146042
      if (that instanceof getAllEdcBanks_args)
-
 
146043
        return this.equals((getAllEdcBanks_args)that);
-
 
146044
      return false;
-
 
146045
    }
-
 
146046
 
-
 
146047
    public boolean equals(getAllEdcBanks_args that) {
-
 
146048
      if (that == null)
-
 
146049
        return false;
-
 
146050
 
-
 
146051
      return true;
-
 
146052
    }
-
 
146053
 
-
 
146054
    @Override
-
 
146055
    public int hashCode() {
-
 
146056
      return 0;
-
 
146057
    }
-
 
146058
 
-
 
146059
    public int compareTo(getAllEdcBanks_args other) {
-
 
146060
      if (!getClass().equals(other.getClass())) {
-
 
146061
        return getClass().getName().compareTo(other.getClass().getName());
-
 
146062
      }
-
 
146063
 
-
 
146064
      int lastComparison = 0;
-
 
146065
      getAllEdcBanks_args typedOther = (getAllEdcBanks_args)other;
-
 
146066
 
-
 
146067
      return 0;
-
 
146068
    }
-
 
146069
 
-
 
146070
    public _Fields fieldForId(int fieldId) {
-
 
146071
      return _Fields.findByThriftId(fieldId);
-
 
146072
    }
-
 
146073
 
-
 
146074
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
146075
      org.apache.thrift.protocol.TField field;
-
 
146076
      iprot.readStructBegin();
-
 
146077
      while (true)
-
 
146078
      {
-
 
146079
        field = iprot.readFieldBegin();
-
 
146080
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
146081
          break;
-
 
146082
        }
-
 
146083
        switch (field.id) {
-
 
146084
          default:
-
 
146085
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
146086
        }
-
 
146087
        iprot.readFieldEnd();
-
 
146088
      }
-
 
146089
      iprot.readStructEnd();
-
 
146090
      validate();
-
 
146091
    }
-
 
146092
 
-
 
146093
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
146094
      validate();
-
 
146095
 
-
 
146096
      oprot.writeStructBegin(STRUCT_DESC);
-
 
146097
      oprot.writeFieldStop();
-
 
146098
      oprot.writeStructEnd();
-
 
146099
    }
-
 
146100
 
-
 
146101
    @Override
-
 
146102
    public String toString() {
-
 
146103
      StringBuilder sb = new StringBuilder("getAllEdcBanks_args(");
-
 
146104
      boolean first = true;
-
 
146105
 
-
 
146106
      sb.append(")");
-
 
146107
      return sb.toString();
-
 
146108
    }
-
 
146109
 
-
 
146110
    public void validate() throws org.apache.thrift.TException {
-
 
146111
      // check for required fields
-
 
146112
    }
-
 
146113
 
-
 
146114
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
146115
      try {
-
 
146116
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
146117
      } catch (org.apache.thrift.TException te) {
-
 
146118
        throw new java.io.IOException(te);
-
 
146119
      }
-
 
146120
    }
-
 
146121
 
-
 
146122
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
146123
      try {
-
 
146124
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
146125
      } catch (org.apache.thrift.TException te) {
-
 
146126
        throw new java.io.IOException(te);
-
 
146127
      }
-
 
146128
    }
-
 
146129
 
-
 
146130
  }
-
 
146131
 
-
 
146132
  public static class getAllEdcBanks_result implements org.apache.thrift.TBase<getAllEdcBanks_result, getAllEdcBanks_result._Fields>, java.io.Serializable, Cloneable   {
-
 
146133
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllEdcBanks_result");
-
 
146134
 
-
 
146135
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
146136
 
-
 
146137
    private List<String> success; // required
-
 
146138
 
-
 
146139
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
146140
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
146141
      SUCCESS((short)0, "success");
-
 
146142
 
-
 
146143
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
146144
 
-
 
146145
      static {
-
 
146146
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
146147
          byName.put(field.getFieldName(), field);
-
 
146148
        }
-
 
146149
      }
-
 
146150
 
-
 
146151
      /**
-
 
146152
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
146153
       */
-
 
146154
      public static _Fields findByThriftId(int fieldId) {
-
 
146155
        switch(fieldId) {
-
 
146156
          case 0: // SUCCESS
-
 
146157
            return SUCCESS;
-
 
146158
          default:
-
 
146159
            return null;
-
 
146160
        }
-
 
146161
      }
-
 
146162
 
-
 
146163
      /**
-
 
146164
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
146165
       * if it is not found.
-
 
146166
       */
-
 
146167
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
146168
        _Fields fields = findByThriftId(fieldId);
-
 
146169
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
146170
        return fields;
-
 
146171
      }
-
 
146172
 
-
 
146173
      /**
-
 
146174
       * Find the _Fields constant that matches name, or null if its not found.
-
 
146175
       */
-
 
146176
      public static _Fields findByName(String name) {
-
 
146177
        return byName.get(name);
-
 
146178
      }
-
 
146179
 
-
 
146180
      private final short _thriftId;
-
 
146181
      private final String _fieldName;
-
 
146182
 
-
 
146183
      _Fields(short thriftId, String fieldName) {
-
 
146184
        _thriftId = thriftId;
-
 
146185
        _fieldName = fieldName;
-
 
146186
      }
-
 
146187
 
-
 
146188
      public short getThriftFieldId() {
-
 
146189
        return _thriftId;
-
 
146190
      }
-
 
146191
 
-
 
146192
      public String getFieldName() {
-
 
146193
        return _fieldName;
-
 
146194
      }
-
 
146195
    }
-
 
146196
 
-
 
146197
    // isset id assignments
-
 
146198
 
-
 
146199
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
146200
    static {
-
 
146201
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
146202
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
146203
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
146204
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-
 
146205
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
146206
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllEdcBanks_result.class, metaDataMap);
-
 
146207
    }
-
 
146208
 
-
 
146209
    public getAllEdcBanks_result() {
-
 
146210
    }
-
 
146211
 
-
 
146212
    public getAllEdcBanks_result(
-
 
146213
      List<String> success)
-
 
146214
    {
-
 
146215
      this();
-
 
146216
      this.success = success;
-
 
146217
    }
-
 
146218
 
-
 
146219
    /**
-
 
146220
     * Performs a deep copy on <i>other</i>.
-
 
146221
     */
-
 
146222
    public getAllEdcBanks_result(getAllEdcBanks_result other) {
-
 
146223
      if (other.isSetSuccess()) {
-
 
146224
        List<String> __this__success = new ArrayList<String>();
-
 
146225
        for (String other_element : other.success) {
-
 
146226
          __this__success.add(other_element);
-
 
146227
        }
-
 
146228
        this.success = __this__success;
-
 
146229
      }
-
 
146230
    }
-
 
146231
 
-
 
146232
    public getAllEdcBanks_result deepCopy() {
-
 
146233
      return new getAllEdcBanks_result(this);
-
 
146234
    }
-
 
146235
 
-
 
146236
    @Override
-
 
146237
    public void clear() {
-
 
146238
      this.success = null;
-
 
146239
    }
-
 
146240
 
-
 
146241
    public int getSuccessSize() {
-
 
146242
      return (this.success == null) ? 0 : this.success.size();
-
 
146243
    }
-
 
146244
 
-
 
146245
    public java.util.Iterator<String> getSuccessIterator() {
-
 
146246
      return (this.success == null) ? null : this.success.iterator();
-
 
146247
    }
-
 
146248
 
-
 
146249
    public void addToSuccess(String elem) {
-
 
146250
      if (this.success == null) {
-
 
146251
        this.success = new ArrayList<String>();
-
 
146252
      }
-
 
146253
      this.success.add(elem);
-
 
146254
    }
-
 
146255
 
-
 
146256
    public List<String> getSuccess() {
-
 
146257
      return this.success;
-
 
146258
    }
-
 
146259
 
-
 
146260
    public void setSuccess(List<String> success) {
-
 
146261
      this.success = success;
-
 
146262
    }
-
 
146263
 
-
 
146264
    public void unsetSuccess() {
-
 
146265
      this.success = null;
-
 
146266
    }
-
 
146267
 
-
 
146268
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
146269
    public boolean isSetSuccess() {
-
 
146270
      return this.success != null;
-
 
146271
    }
-
 
146272
 
-
 
146273
    public void setSuccessIsSet(boolean value) {
-
 
146274
      if (!value) {
-
 
146275
        this.success = null;
-
 
146276
      }
-
 
146277
    }
-
 
146278
 
-
 
146279
    public void setFieldValue(_Fields field, Object value) {
-
 
146280
      switch (field) {
-
 
146281
      case SUCCESS:
-
 
146282
        if (value == null) {
-
 
146283
          unsetSuccess();
-
 
146284
        } else {
-
 
146285
          setSuccess((List<String>)value);
-
 
146286
        }
-
 
146287
        break;
-
 
146288
 
-
 
146289
      }
-
 
146290
    }
-
 
146291
 
-
 
146292
    public Object getFieldValue(_Fields field) {
-
 
146293
      switch (field) {
-
 
146294
      case SUCCESS:
-
 
146295
        return getSuccess();
-
 
146296
 
-
 
146297
      }
-
 
146298
      throw new IllegalStateException();
-
 
146299
    }
-
 
146300
 
-
 
146301
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
146302
    public boolean isSet(_Fields field) {
-
 
146303
      if (field == null) {
-
 
146304
        throw new IllegalArgumentException();
-
 
146305
      }
-
 
146306
 
-
 
146307
      switch (field) {
-
 
146308
      case SUCCESS:
-
 
146309
        return isSetSuccess();
-
 
146310
      }
-
 
146311
      throw new IllegalStateException();
-
 
146312
    }
-
 
146313
 
-
 
146314
    @Override
-
 
146315
    public boolean equals(Object that) {
-
 
146316
      if (that == null)
-
 
146317
        return false;
-
 
146318
      if (that instanceof getAllEdcBanks_result)
-
 
146319
        return this.equals((getAllEdcBanks_result)that);
-
 
146320
      return false;
-
 
146321
    }
-
 
146322
 
-
 
146323
    public boolean equals(getAllEdcBanks_result that) {
-
 
146324
      if (that == null)
-
 
146325
        return false;
-
 
146326
 
-
 
146327
      boolean this_present_success = true && this.isSetSuccess();
-
 
146328
      boolean that_present_success = true && that.isSetSuccess();
-
 
146329
      if (this_present_success || that_present_success) {
-
 
146330
        if (!(this_present_success && that_present_success))
-
 
146331
          return false;
-
 
146332
        if (!this.success.equals(that.success))
-
 
146333
          return false;
-
 
146334
      }
-
 
146335
 
-
 
146336
      return true;
-
 
146337
    }
-
 
146338
 
-
 
146339
    @Override
-
 
146340
    public int hashCode() {
-
 
146341
      return 0;
-
 
146342
    }
-
 
146343
 
-
 
146344
    public int compareTo(getAllEdcBanks_result other) {
-
 
146345
      if (!getClass().equals(other.getClass())) {
-
 
146346
        return getClass().getName().compareTo(other.getClass().getName());
-
 
146347
      }
-
 
146348
 
-
 
146349
      int lastComparison = 0;
-
 
146350
      getAllEdcBanks_result typedOther = (getAllEdcBanks_result)other;
-
 
146351
 
-
 
146352
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
146353
      if (lastComparison != 0) {
-
 
146354
        return lastComparison;
-
 
146355
      }
-
 
146356
      if (isSetSuccess()) {
-
 
146357
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
146358
        if (lastComparison != 0) {
-
 
146359
          return lastComparison;
-
 
146360
        }
-
 
146361
      }
-
 
146362
      return 0;
-
 
146363
    }
-
 
146364
 
-
 
146365
    public _Fields fieldForId(int fieldId) {
-
 
146366
      return _Fields.findByThriftId(fieldId);
-
 
146367
    }
-
 
146368
 
-
 
146369
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
146370
      org.apache.thrift.protocol.TField field;
-
 
146371
      iprot.readStructBegin();
-
 
146372
      while (true)
-
 
146373
      {
-
 
146374
        field = iprot.readFieldBegin();
-
 
146375
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
146376
          break;
-
 
146377
        }
-
 
146378
        switch (field.id) {
-
 
146379
          case 0: // SUCCESS
-
 
146380
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
146381
              {
-
 
146382
                org.apache.thrift.protocol.TList _list458 = iprot.readListBegin();
-
 
146383
                this.success = new ArrayList<String>(_list458.size);
-
 
146384
                for (int _i459 = 0; _i459 < _list458.size; ++_i459)
-
 
146385
                {
-
 
146386
                  String _elem460; // required
-
 
146387
                  _elem460 = iprot.readString();
-
 
146388
                  this.success.add(_elem460);
-
 
146389
                }
-
 
146390
                iprot.readListEnd();
-
 
146391
              }
-
 
146392
            } else { 
-
 
146393
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
146394
            }
-
 
146395
            break;
-
 
146396
          default:
-
 
146397
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
146398
        }
-
 
146399
        iprot.readFieldEnd();
-
 
146400
      }
-
 
146401
      iprot.readStructEnd();
-
 
146402
      validate();
-
 
146403
    }
-
 
146404
 
-
 
146405
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
146406
      oprot.writeStructBegin(STRUCT_DESC);
-
 
146407
 
-
 
146408
      if (this.isSetSuccess()) {
-
 
146409
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
146410
        {
-
 
146411
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
-
 
146412
          for (String _iter461 : this.success)
-
 
146413
          {
-
 
146414
            oprot.writeString(_iter461);
-
 
146415
          }
-
 
146416
          oprot.writeListEnd();
-
 
146417
        }
-
 
146418
        oprot.writeFieldEnd();
-
 
146419
      }
-
 
146420
      oprot.writeFieldStop();
-
 
146421
      oprot.writeStructEnd();
-
 
146422
    }
-
 
146423
 
-
 
146424
    @Override
-
 
146425
    public String toString() {
-
 
146426
      StringBuilder sb = new StringBuilder("getAllEdcBanks_result(");
-
 
146427
      boolean first = true;
-
 
146428
 
-
 
146429
      sb.append("success:");
-
 
146430
      if (this.success == null) {
-
 
146431
        sb.append("null");
144329
      } else {
146432
      } else {
144330
        sb.append(this.success);
146433
        sb.append(this.success);
144331
      }
146434
      }
144332
      first = false;
146435
      first = false;
144333
      sb.append(")");
146436
      sb.append(")");