Subversion Repositories SmartDukaan

Rev

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

Rev 7936 Rev 7967
Line 1003... Line 1003...
1003
 
1003
 
1004
    public boolean convertStoreToNormal(long orderId) throws org.apache.thrift.TException;
1004
    public boolean convertStoreToNormal(long orderId) throws org.apache.thrift.TException;
1005
 
1005
 
1006
    public Order updateFreebieItem(long orderId, long newFreebieItemId) throws org.apache.thrift.TException;
1006
    public Order updateFreebieItem(long orderId, long newFreebieItemId) throws org.apache.thrift.TException;
1007
 
1007
 
-
 
1008
    public List<HotspotServiceMatrix> getHotspotServiceMatrices() throws org.apache.thrift.TException;
-
 
1009
 
1008
    public Order updateOrderAWB(long orderId, String airwayBillNo) throws org.apache.thrift.TException;
1010
    public Order updateOrderAWB(long orderId, String airwayBillNo) throws org.apache.thrift.TException;
1009
 
1011
 
1010
  }
1012
  }
1011
 
1013
 
1012
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1014
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
Line 1397... Line 1399...
1397
 
1399
 
1398
    public void convertStoreToNormal(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.convertStoreToNormal_call> resultHandler) throws org.apache.thrift.TException;
1400
    public void convertStoreToNormal(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.convertStoreToNormal_call> resultHandler) throws org.apache.thrift.TException;
1399
 
1401
 
1400
    public void updateFreebieItem(long orderId, long newFreebieItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateFreebieItem_call> resultHandler) throws org.apache.thrift.TException;
1402
    public void updateFreebieItem(long orderId, long newFreebieItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateFreebieItem_call> resultHandler) throws org.apache.thrift.TException;
1401
 
1403
 
-
 
1404
    public void getHotspotServiceMatrices(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHotspotServiceMatrices_call> resultHandler) throws org.apache.thrift.TException;
-
 
1405
 
1402
    public void updateOrderAWB(long orderId, String airwayBillNo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateOrderAWB_call> resultHandler) throws org.apache.thrift.TException;
1406
    public void updateOrderAWB(long orderId, String airwayBillNo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateOrderAWB_call> resultHandler) throws org.apache.thrift.TException;
1403
 
1407
 
1404
  }
1408
  }
1405
 
1409
 
1406
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1410
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
Line 6248... Line 6252...
6248
        return result.success;
6252
        return result.success;
6249
      }
6253
      }
6250
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateFreebieItem failed: unknown result");
6254
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateFreebieItem failed: unknown result");
6251
    }
6255
    }
6252
 
6256
 
-
 
6257
    public List<HotspotServiceMatrix> getHotspotServiceMatrices() throws org.apache.thrift.TException
-
 
6258
    {
-
 
6259
      send_getHotspotServiceMatrices();
-
 
6260
      return recv_getHotspotServiceMatrices();
-
 
6261
    }
-
 
6262
 
-
 
6263
    public void send_getHotspotServiceMatrices() throws org.apache.thrift.TException
-
 
6264
    {
-
 
6265
      getHotspotServiceMatrices_args args = new getHotspotServiceMatrices_args();
-
 
6266
      sendBase("getHotspotServiceMatrices", args);
-
 
6267
    }
-
 
6268
 
-
 
6269
    public List<HotspotServiceMatrix> recv_getHotspotServiceMatrices() throws org.apache.thrift.TException
-
 
6270
    {
-
 
6271
      getHotspotServiceMatrices_result result = new getHotspotServiceMatrices_result();
-
 
6272
      receiveBase(result, "getHotspotServiceMatrices");
-
 
6273
      if (result.isSetSuccess()) {
-
 
6274
        return result.success;
-
 
6275
      }
-
 
6276
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getHotspotServiceMatrices failed: unknown result");
-
 
6277
    }
-
 
6278
 
6253
    public Order updateOrderAWB(long orderId, String airwayBillNo) throws org.apache.thrift.TException
6279
    public Order updateOrderAWB(long orderId, String airwayBillNo) throws org.apache.thrift.TException
6254
    {
6280
    {
6255
      send_updateOrderAWB(orderId, airwayBillNo);
6281
      send_updateOrderAWB(orderId, airwayBillNo);
6256
      return recv_updateOrderAWB();
6282
      return recv_updateOrderAWB();
6257
    }
6283
    }
Line 13053... Line 13079...
13053
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
13079
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
13054
        return (new Client(prot)).recv_updateFreebieItem();
13080
        return (new Client(prot)).recv_updateFreebieItem();
13055
      }
13081
      }
13056
    }
13082
    }
13057
 
13083
 
-
 
13084
    public void getHotspotServiceMatrices(org.apache.thrift.async.AsyncMethodCallback<getHotspotServiceMatrices_call> resultHandler) throws org.apache.thrift.TException {
-
 
13085
      checkReady();
-
 
13086
      getHotspotServiceMatrices_call method_call = new getHotspotServiceMatrices_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
13087
      this.___currentMethod = method_call;
-
 
13088
      ___manager.call(method_call);
-
 
13089
    }
-
 
13090
 
-
 
13091
    public static class getHotspotServiceMatrices_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
13092
      public getHotspotServiceMatrices_call(org.apache.thrift.async.AsyncMethodCallback<getHotspotServiceMatrices_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 {
-
 
13093
        super(client, protocolFactory, transport, resultHandler, false);
-
 
13094
      }
-
 
13095
 
-
 
13096
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
13097
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getHotspotServiceMatrices", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
13098
        getHotspotServiceMatrices_args args = new getHotspotServiceMatrices_args();
-
 
13099
        args.write(prot);
-
 
13100
        prot.writeMessageEnd();
-
 
13101
      }
-
 
13102
 
-
 
13103
      public List<HotspotServiceMatrix> getResult() throws org.apache.thrift.TException {
-
 
13104
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
13105
          throw new IllegalStateException("Method call not finished!");
-
 
13106
        }
-
 
13107
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
13108
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
13109
        return (new Client(prot)).recv_getHotspotServiceMatrices();
-
 
13110
      }
-
 
13111
    }
-
 
13112
 
13058
    public void updateOrderAWB(long orderId, String airwayBillNo, org.apache.thrift.async.AsyncMethodCallback<updateOrderAWB_call> resultHandler) throws org.apache.thrift.TException {
13113
    public void updateOrderAWB(long orderId, String airwayBillNo, org.apache.thrift.async.AsyncMethodCallback<updateOrderAWB_call> resultHandler) throws org.apache.thrift.TException {
13059
      checkReady();
13114
      checkReady();
13060
      updateOrderAWB_call method_call = new updateOrderAWB_call(orderId, airwayBillNo, resultHandler, this, ___protocolFactory, ___transport);
13115
      updateOrderAWB_call method_call = new updateOrderAWB_call(orderId, airwayBillNo, resultHandler, this, ___protocolFactory, ___transport);
13061
      this.___currentMethod = method_call;
13116
      this.___currentMethod = method_call;
13062
      ___manager.call(method_call);
13117
      ___manager.call(method_call);
Line 13295... Line 13350...
13295
      processMap.put("updateSourceDetailTimestamp", new updateSourceDetailTimestamp());
13350
      processMap.put("updateSourceDetailTimestamp", new updateSourceDetailTimestamp());
13296
      processMap.put("getOrdersByMobileNumber", new getOrdersByMobileNumber());
13351
      processMap.put("getOrdersByMobileNumber", new getOrdersByMobileNumber());
13297
      processMap.put("getOrdersByAmazonOrderCode", new getOrdersByAmazonOrderCode());
13352
      processMap.put("getOrdersByAmazonOrderCode", new getOrdersByAmazonOrderCode());
13298
      processMap.put("convertStoreToNormal", new convertStoreToNormal());
13353
      processMap.put("convertStoreToNormal", new convertStoreToNormal());
13299
      processMap.put("updateFreebieItem", new updateFreebieItem());
13354
      processMap.put("updateFreebieItem", new updateFreebieItem());
-
 
13355
      processMap.put("getHotspotServiceMatrices", new getHotspotServiceMatrices());
13300
      processMap.put("updateOrderAWB", new updateOrderAWB());
13356
      processMap.put("updateOrderAWB", new updateOrderAWB());
13301
      return processMap;
13357
      return processMap;
13302
    }
13358
    }
13303
 
13359
 
13304
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
13360
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
Line 16847... Line 16903...
16847
        result.success = iface.updateFreebieItem(args.orderId, args.newFreebieItemId);
16903
        result.success = iface.updateFreebieItem(args.orderId, args.newFreebieItemId);
16848
        return result;
16904
        return result;
16849
      }
16905
      }
16850
    }
16906
    }
16851
 
16907
 
-
 
16908
    private static class getHotspotServiceMatrices<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getHotspotServiceMatrices_args> {
-
 
16909
      public getHotspotServiceMatrices() {
-
 
16910
        super("getHotspotServiceMatrices");
-
 
16911
      }
-
 
16912
 
-
 
16913
      protected getHotspotServiceMatrices_args getEmptyArgsInstance() {
-
 
16914
        return new getHotspotServiceMatrices_args();
-
 
16915
      }
-
 
16916
 
-
 
16917
      protected getHotspotServiceMatrices_result getResult(I iface, getHotspotServiceMatrices_args args) throws org.apache.thrift.TException {
-
 
16918
        getHotspotServiceMatrices_result result = new getHotspotServiceMatrices_result();
-
 
16919
        result.success = iface.getHotspotServiceMatrices();
-
 
16920
        return result;
-
 
16921
      }
-
 
16922
    }
-
 
16923
 
16852
    private static class updateOrderAWB<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateOrderAWB_args> {
16924
    private static class updateOrderAWB<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateOrderAWB_args> {
16853
      public updateOrderAWB() {
16925
      public updateOrderAWB() {
16854
        super("updateOrderAWB");
16926
        super("updateOrderAWB");
16855
      }
16927
      }
16856
 
16928
 
Line 61484... Line 61556...
61484
      }
61556
      }
61485
    }
61557
    }
61486
 
61558
 
61487
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
61559
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
61488
      try {
61560
      try {
61489
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
61490
        __isset_bit_vector = new BitSet(1);
-
 
61491
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
61561
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
61492
      } catch (org.apache.thrift.TException te) {
61562
      } catch (org.apache.thrift.TException te) {
61493
        throw new java.io.IOException(te);
61563
        throw new java.io.IOException(te);
61494
      }
61564
      }
61495
    }
61565
    }
Line 67092... Line 67162...
67092
      }
67162
      }
67093
    }
67163
    }
67094
 
67164
 
67095
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
67165
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
67096
      try {
67166
      try {
-
 
67167
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
67168
        __isset_bit_vector = new BitSet(1);
67097
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
67169
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
67098
      } catch (org.apache.thrift.TException te) {
67170
      } catch (org.apache.thrift.TException te) {
67099
        throw new java.io.IOException(te);
67171
        throw new java.io.IOException(te);
67100
      }
67172
      }
67101
    }
67173
    }
Line 77864... Line 77936...
77864
      }
77936
      }
77865
    }
77937
    }
77866
 
77938
 
77867
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
77939
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
77868
      try {
77940
      try {
77869
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
77870
        __isset_bit_vector = new BitSet(1);
-
 
77871
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
77941
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
77872
      } catch (org.apache.thrift.TException te) {
77942
      } catch (org.apache.thrift.TException te) {
77873
        throw new java.io.IOException(te);
77943
        throw new java.io.IOException(te);
77874
      }
77944
      }
77875
    }
77945
    }
Line 106798... Line 106868...
106798
      }
106868
      }
106799
    }
106869
    }
106800
 
106870
 
106801
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
106871
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
106802
      try {
106872
      try {
-
 
106873
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
106874
        __isset_bit_vector = new BitSet(1);
106803
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
106875
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
106804
      } catch (org.apache.thrift.TException te) {
106876
      } catch (org.apache.thrift.TException te) {
106805
        throw new java.io.IOException(te);
106877
        throw new java.io.IOException(te);
106806
      }
106878
      }
106807
    }
106879
    }
Line 155681... Line 155753...
155681
      boolean first = true;
155753
      boolean first = true;
155682
 
155754
 
155683
      sb.append("success:");
155755
      sb.append("success:");
155684
      if (this.success == null) {
155756
      if (this.success == null) {
155685
        sb.append("null");
155757
        sb.append("null");
-
 
155758
      } else {
-
 
155759
        sb.append(this.success);
-
 
155760
      }
-
 
155761
      first = false;
-
 
155762
      sb.append(")");
-
 
155763
      return sb.toString();
-
 
155764
    }
-
 
155765
 
-
 
155766
    public void validate() throws org.apache.thrift.TException {
-
 
155767
      // check for required fields
-
 
155768
    }
-
 
155769
 
-
 
155770
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
155771
      try {
-
 
155772
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
155773
      } catch (org.apache.thrift.TException te) {
-
 
155774
        throw new java.io.IOException(te);
-
 
155775
      }
-
 
155776
    }
-
 
155777
 
-
 
155778
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
155779
      try {
-
 
155780
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
155781
      } catch (org.apache.thrift.TException te) {
-
 
155782
        throw new java.io.IOException(te);
-
 
155783
      }
-
 
155784
    }
-
 
155785
 
-
 
155786
  }
-
 
155787
 
-
 
155788
  public static class getHotspotServiceMatrices_args implements org.apache.thrift.TBase<getHotspotServiceMatrices_args, getHotspotServiceMatrices_args._Fields>, java.io.Serializable, Cloneable   {
-
 
155789
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getHotspotServiceMatrices_args");
-
 
155790
 
-
 
155791
 
-
 
155792
 
-
 
155793
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
155794
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
155795
;
-
 
155796
 
-
 
155797
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
155798
 
-
 
155799
      static {
-
 
155800
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
155801
          byName.put(field.getFieldName(), field);
-
 
155802
        }
-
 
155803
      }
-
 
155804
 
-
 
155805
      /**
-
 
155806
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
155807
       */
-
 
155808
      public static _Fields findByThriftId(int fieldId) {
-
 
155809
        switch(fieldId) {
-
 
155810
          default:
-
 
155811
            return null;
-
 
155812
        }
-
 
155813
      }
-
 
155814
 
-
 
155815
      /**
-
 
155816
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
155817
       * if it is not found.
-
 
155818
       */
-
 
155819
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
155820
        _Fields fields = findByThriftId(fieldId);
-
 
155821
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
155822
        return fields;
-
 
155823
      }
-
 
155824
 
-
 
155825
      /**
-
 
155826
       * Find the _Fields constant that matches name, or null if its not found.
-
 
155827
       */
-
 
155828
      public static _Fields findByName(String name) {
-
 
155829
        return byName.get(name);
-
 
155830
      }
-
 
155831
 
-
 
155832
      private final short _thriftId;
-
 
155833
      private final String _fieldName;
-
 
155834
 
-
 
155835
      _Fields(short thriftId, String fieldName) {
-
 
155836
        _thriftId = thriftId;
-
 
155837
        _fieldName = fieldName;
-
 
155838
      }
-
 
155839
 
-
 
155840
      public short getThriftFieldId() {
-
 
155841
        return _thriftId;
-
 
155842
      }
-
 
155843
 
-
 
155844
      public String getFieldName() {
-
 
155845
        return _fieldName;
-
 
155846
      }
-
 
155847
    }
-
 
155848
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
155849
    static {
-
 
155850
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
155851
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
155852
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getHotspotServiceMatrices_args.class, metaDataMap);
-
 
155853
    }
-
 
155854
 
-
 
155855
    public getHotspotServiceMatrices_args() {
-
 
155856
    }
-
 
155857
 
-
 
155858
    /**
-
 
155859
     * Performs a deep copy on <i>other</i>.
-
 
155860
     */
-
 
155861
    public getHotspotServiceMatrices_args(getHotspotServiceMatrices_args other) {
-
 
155862
    }
-
 
155863
 
-
 
155864
    public getHotspotServiceMatrices_args deepCopy() {
-
 
155865
      return new getHotspotServiceMatrices_args(this);
-
 
155866
    }
-
 
155867
 
-
 
155868
    @Override
-
 
155869
    public void clear() {
-
 
155870
    }
-
 
155871
 
-
 
155872
    public void setFieldValue(_Fields field, Object value) {
-
 
155873
      switch (field) {
-
 
155874
      }
-
 
155875
    }
-
 
155876
 
-
 
155877
    public Object getFieldValue(_Fields field) {
-
 
155878
      switch (field) {
-
 
155879
      }
-
 
155880
      throw new IllegalStateException();
-
 
155881
    }
-
 
155882
 
-
 
155883
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
155884
    public boolean isSet(_Fields field) {
-
 
155885
      if (field == null) {
-
 
155886
        throw new IllegalArgumentException();
-
 
155887
      }
-
 
155888
 
-
 
155889
      switch (field) {
-
 
155890
      }
-
 
155891
      throw new IllegalStateException();
-
 
155892
    }
-
 
155893
 
-
 
155894
    @Override
-
 
155895
    public boolean equals(Object that) {
-
 
155896
      if (that == null)
-
 
155897
        return false;
-
 
155898
      if (that instanceof getHotspotServiceMatrices_args)
-
 
155899
        return this.equals((getHotspotServiceMatrices_args)that);
-
 
155900
      return false;
-
 
155901
    }
-
 
155902
 
-
 
155903
    public boolean equals(getHotspotServiceMatrices_args that) {
-
 
155904
      if (that == null)
-
 
155905
        return false;
-
 
155906
 
-
 
155907
      return true;
-
 
155908
    }
-
 
155909
 
-
 
155910
    @Override
-
 
155911
    public int hashCode() {
-
 
155912
      return 0;
-
 
155913
    }
-
 
155914
 
-
 
155915
    public int compareTo(getHotspotServiceMatrices_args other) {
-
 
155916
      if (!getClass().equals(other.getClass())) {
-
 
155917
        return getClass().getName().compareTo(other.getClass().getName());
-
 
155918
      }
-
 
155919
 
-
 
155920
      int lastComparison = 0;
-
 
155921
      getHotspotServiceMatrices_args typedOther = (getHotspotServiceMatrices_args)other;
-
 
155922
 
-
 
155923
      return 0;
-
 
155924
    }
-
 
155925
 
-
 
155926
    public _Fields fieldForId(int fieldId) {
-
 
155927
      return _Fields.findByThriftId(fieldId);
-
 
155928
    }
-
 
155929
 
-
 
155930
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
155931
      org.apache.thrift.protocol.TField field;
-
 
155932
      iprot.readStructBegin();
-
 
155933
      while (true)
-
 
155934
      {
-
 
155935
        field = iprot.readFieldBegin();
-
 
155936
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
155937
          break;
-
 
155938
        }
-
 
155939
        switch (field.id) {
-
 
155940
          default:
-
 
155941
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
155942
        }
-
 
155943
        iprot.readFieldEnd();
-
 
155944
      }
-
 
155945
      iprot.readStructEnd();
-
 
155946
      validate();
-
 
155947
    }
-
 
155948
 
-
 
155949
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
155950
      validate();
-
 
155951
 
-
 
155952
      oprot.writeStructBegin(STRUCT_DESC);
-
 
155953
      oprot.writeFieldStop();
-
 
155954
      oprot.writeStructEnd();
-
 
155955
    }
-
 
155956
 
-
 
155957
    @Override
-
 
155958
    public String toString() {
-
 
155959
      StringBuilder sb = new StringBuilder("getHotspotServiceMatrices_args(");
-
 
155960
      boolean first = true;
-
 
155961
 
-
 
155962
      sb.append(")");
-
 
155963
      return sb.toString();
-
 
155964
    }
-
 
155965
 
-
 
155966
    public void validate() throws org.apache.thrift.TException {
-
 
155967
      // check for required fields
-
 
155968
    }
-
 
155969
 
-
 
155970
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
155971
      try {
-
 
155972
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
155973
      } catch (org.apache.thrift.TException te) {
-
 
155974
        throw new java.io.IOException(te);
-
 
155975
      }
-
 
155976
    }
-
 
155977
 
-
 
155978
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
155979
      try {
-
 
155980
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
155981
      } catch (org.apache.thrift.TException te) {
-
 
155982
        throw new java.io.IOException(te);
-
 
155983
      }
-
 
155984
    }
-
 
155985
 
-
 
155986
  }
-
 
155987
 
-
 
155988
  public static class getHotspotServiceMatrices_result implements org.apache.thrift.TBase<getHotspotServiceMatrices_result, getHotspotServiceMatrices_result._Fields>, java.io.Serializable, Cloneable   {
-
 
155989
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getHotspotServiceMatrices_result");
-
 
155990
 
-
 
155991
    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);
-
 
155992
 
-
 
155993
    private List<HotspotServiceMatrix> success; // required
-
 
155994
 
-
 
155995
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
155996
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
155997
      SUCCESS((short)0, "success");
-
 
155998
 
-
 
155999
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
156000
 
-
 
156001
      static {
-
 
156002
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
156003
          byName.put(field.getFieldName(), field);
-
 
156004
        }
-
 
156005
      }
-
 
156006
 
-
 
156007
      /**
-
 
156008
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
156009
       */
-
 
156010
      public static _Fields findByThriftId(int fieldId) {
-
 
156011
        switch(fieldId) {
-
 
156012
          case 0: // SUCCESS
-
 
156013
            return SUCCESS;
-
 
156014
          default:
-
 
156015
            return null;
-
 
156016
        }
-
 
156017
      }
-
 
156018
 
-
 
156019
      /**
-
 
156020
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
156021
       * if it is not found.
-
 
156022
       */
-
 
156023
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
156024
        _Fields fields = findByThriftId(fieldId);
-
 
156025
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
156026
        return fields;
-
 
156027
      }
-
 
156028
 
-
 
156029
      /**
-
 
156030
       * Find the _Fields constant that matches name, or null if its not found.
-
 
156031
       */
-
 
156032
      public static _Fields findByName(String name) {
-
 
156033
        return byName.get(name);
-
 
156034
      }
-
 
156035
 
-
 
156036
      private final short _thriftId;
-
 
156037
      private final String _fieldName;
-
 
156038
 
-
 
156039
      _Fields(short thriftId, String fieldName) {
-
 
156040
        _thriftId = thriftId;
-
 
156041
        _fieldName = fieldName;
-
 
156042
      }
-
 
156043
 
-
 
156044
      public short getThriftFieldId() {
-
 
156045
        return _thriftId;
-
 
156046
      }
-
 
156047
 
-
 
156048
      public String getFieldName() {
-
 
156049
        return _fieldName;
-
 
156050
      }
-
 
156051
    }
-
 
156052
 
-
 
156053
    // isset id assignments
-
 
156054
 
-
 
156055
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
156056
    static {
-
 
156057
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
156058
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
156059
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
156060
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, HotspotServiceMatrix.class))));
-
 
156061
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
156062
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getHotspotServiceMatrices_result.class, metaDataMap);
-
 
156063
    }
-
 
156064
 
-
 
156065
    public getHotspotServiceMatrices_result() {
-
 
156066
    }
-
 
156067
 
-
 
156068
    public getHotspotServiceMatrices_result(
-
 
156069
      List<HotspotServiceMatrix> success)
-
 
156070
    {
-
 
156071
      this();
-
 
156072
      this.success = success;
-
 
156073
    }
-
 
156074
 
-
 
156075
    /**
-
 
156076
     * Performs a deep copy on <i>other</i>.
-
 
156077
     */
-
 
156078
    public getHotspotServiceMatrices_result(getHotspotServiceMatrices_result other) {
-
 
156079
      if (other.isSetSuccess()) {
-
 
156080
        List<HotspotServiceMatrix> __this__success = new ArrayList<HotspotServiceMatrix>();
-
 
156081
        for (HotspotServiceMatrix other_element : other.success) {
-
 
156082
          __this__success.add(new HotspotServiceMatrix(other_element));
-
 
156083
        }
-
 
156084
        this.success = __this__success;
-
 
156085
      }
-
 
156086
    }
-
 
156087
 
-
 
156088
    public getHotspotServiceMatrices_result deepCopy() {
-
 
156089
      return new getHotspotServiceMatrices_result(this);
-
 
156090
    }
-
 
156091
 
-
 
156092
    @Override
-
 
156093
    public void clear() {
-
 
156094
      this.success = null;
-
 
156095
    }
-
 
156096
 
-
 
156097
    public int getSuccessSize() {
-
 
156098
      return (this.success == null) ? 0 : this.success.size();
-
 
156099
    }
-
 
156100
 
-
 
156101
    public java.util.Iterator<HotspotServiceMatrix> getSuccessIterator() {
-
 
156102
      return (this.success == null) ? null : this.success.iterator();
-
 
156103
    }
-
 
156104
 
-
 
156105
    public void addToSuccess(HotspotServiceMatrix elem) {
-
 
156106
      if (this.success == null) {
-
 
156107
        this.success = new ArrayList<HotspotServiceMatrix>();
-
 
156108
      }
-
 
156109
      this.success.add(elem);
-
 
156110
    }
-
 
156111
 
-
 
156112
    public List<HotspotServiceMatrix> getSuccess() {
-
 
156113
      return this.success;
-
 
156114
    }
-
 
156115
 
-
 
156116
    public void setSuccess(List<HotspotServiceMatrix> success) {
-
 
156117
      this.success = success;
-
 
156118
    }
-
 
156119
 
-
 
156120
    public void unsetSuccess() {
-
 
156121
      this.success = null;
-
 
156122
    }
-
 
156123
 
-
 
156124
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
156125
    public boolean isSetSuccess() {
-
 
156126
      return this.success != null;
-
 
156127
    }
-
 
156128
 
-
 
156129
    public void setSuccessIsSet(boolean value) {
-
 
156130
      if (!value) {
-
 
156131
        this.success = null;
-
 
156132
      }
-
 
156133
    }
-
 
156134
 
-
 
156135
    public void setFieldValue(_Fields field, Object value) {
-
 
156136
      switch (field) {
-
 
156137
      case SUCCESS:
-
 
156138
        if (value == null) {
-
 
156139
          unsetSuccess();
-
 
156140
        } else {
-
 
156141
          setSuccess((List<HotspotServiceMatrix>)value);
-
 
156142
        }
-
 
156143
        break;
-
 
156144
 
-
 
156145
      }
-
 
156146
    }
-
 
156147
 
-
 
156148
    public Object getFieldValue(_Fields field) {
-
 
156149
      switch (field) {
-
 
156150
      case SUCCESS:
-
 
156151
        return getSuccess();
-
 
156152
 
-
 
156153
      }
-
 
156154
      throw new IllegalStateException();
-
 
156155
    }
-
 
156156
 
-
 
156157
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
156158
    public boolean isSet(_Fields field) {
-
 
156159
      if (field == null) {
-
 
156160
        throw new IllegalArgumentException();
-
 
156161
      }
-
 
156162
 
-
 
156163
      switch (field) {
-
 
156164
      case SUCCESS:
-
 
156165
        return isSetSuccess();
-
 
156166
      }
-
 
156167
      throw new IllegalStateException();
-
 
156168
    }
-
 
156169
 
-
 
156170
    @Override
-
 
156171
    public boolean equals(Object that) {
-
 
156172
      if (that == null)
-
 
156173
        return false;
-
 
156174
      if (that instanceof getHotspotServiceMatrices_result)
-
 
156175
        return this.equals((getHotspotServiceMatrices_result)that);
-
 
156176
      return false;
-
 
156177
    }
-
 
156178
 
-
 
156179
    public boolean equals(getHotspotServiceMatrices_result that) {
-
 
156180
      if (that == null)
-
 
156181
        return false;
-
 
156182
 
-
 
156183
      boolean this_present_success = true && this.isSetSuccess();
-
 
156184
      boolean that_present_success = true && that.isSetSuccess();
-
 
156185
      if (this_present_success || that_present_success) {
-
 
156186
        if (!(this_present_success && that_present_success))
-
 
156187
          return false;
-
 
156188
        if (!this.success.equals(that.success))
-
 
156189
          return false;
-
 
156190
      }
-
 
156191
 
-
 
156192
      return true;
-
 
156193
    }
-
 
156194
 
-
 
156195
    @Override
-
 
156196
    public int hashCode() {
-
 
156197
      return 0;
-
 
156198
    }
-
 
156199
 
-
 
156200
    public int compareTo(getHotspotServiceMatrices_result other) {
-
 
156201
      if (!getClass().equals(other.getClass())) {
-
 
156202
        return getClass().getName().compareTo(other.getClass().getName());
-
 
156203
      }
-
 
156204
 
-
 
156205
      int lastComparison = 0;
-
 
156206
      getHotspotServiceMatrices_result typedOther = (getHotspotServiceMatrices_result)other;
-
 
156207
 
-
 
156208
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
156209
      if (lastComparison != 0) {
-
 
156210
        return lastComparison;
-
 
156211
      }
-
 
156212
      if (isSetSuccess()) {
-
 
156213
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
156214
        if (lastComparison != 0) {
-
 
156215
          return lastComparison;
-
 
156216
        }
-
 
156217
      }
-
 
156218
      return 0;
-
 
156219
    }
-
 
156220
 
-
 
156221
    public _Fields fieldForId(int fieldId) {
-
 
156222
      return _Fields.findByThriftId(fieldId);
-
 
156223
    }
-
 
156224
 
-
 
156225
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
156226
      org.apache.thrift.protocol.TField field;
-
 
156227
      iprot.readStructBegin();
-
 
156228
      while (true)
-
 
156229
      {
-
 
156230
        field = iprot.readFieldBegin();
-
 
156231
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
156232
          break;
-
 
156233
        }
-
 
156234
        switch (field.id) {
-
 
156235
          case 0: // SUCCESS
-
 
156236
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
156237
              {
-
 
156238
                org.apache.thrift.protocol.TList _list492 = iprot.readListBegin();
-
 
156239
                this.success = new ArrayList<HotspotServiceMatrix>(_list492.size);
-
 
156240
                for (int _i493 = 0; _i493 < _list492.size; ++_i493)
-
 
156241
                {
-
 
156242
                  HotspotServiceMatrix _elem494; // required
-
 
156243
                  _elem494 = new HotspotServiceMatrix();
-
 
156244
                  _elem494.read(iprot);
-
 
156245
                  this.success.add(_elem494);
-
 
156246
                }
-
 
156247
                iprot.readListEnd();
-
 
156248
              }
-
 
156249
            } else { 
-
 
156250
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
156251
            }
-
 
156252
            break;
-
 
156253
          default:
-
 
156254
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
156255
        }
-
 
156256
        iprot.readFieldEnd();
-
 
156257
      }
-
 
156258
      iprot.readStructEnd();
-
 
156259
      validate();
-
 
156260
    }
-
 
156261
 
-
 
156262
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
156263
      oprot.writeStructBegin(STRUCT_DESC);
-
 
156264
 
-
 
156265
      if (this.isSetSuccess()) {
-
 
156266
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
156267
        {
-
 
156268
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
156269
          for (HotspotServiceMatrix _iter495 : this.success)
-
 
156270
          {
-
 
156271
            _iter495.write(oprot);
-
 
156272
          }
-
 
156273
          oprot.writeListEnd();
-
 
156274
        }
-
 
156275
        oprot.writeFieldEnd();
-
 
156276
      }
-
 
156277
      oprot.writeFieldStop();
-
 
156278
      oprot.writeStructEnd();
-
 
156279
    }
-
 
156280
 
-
 
156281
    @Override
-
 
156282
    public String toString() {
-
 
156283
      StringBuilder sb = new StringBuilder("getHotspotServiceMatrices_result(");
-
 
156284
      boolean first = true;
-
 
156285
 
-
 
156286
      sb.append("success:");
-
 
156287
      if (this.success == null) {
-
 
156288
        sb.append("null");
155686
      } else {
156289
      } else {
155687
        sb.append(this.success);
156290
        sb.append(this.success);
155688
      }
156291
      }
155689
      first = false;
156292
      first = false;
155690
      sb.append(")");
156293
      sb.append(")");