Subversion Repositories SmartDukaan

Rev

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

Rev 7169 Rev 7172
Line 932... Line 932...
932
 
932
 
933
    public TelecomCircle getTelecomCircle(long id, String code) throws org.apache.thrift.TException;
933
    public TelecomCircle getTelecomCircle(long id, String code) throws org.apache.thrift.TException;
934
 
934
 
935
    public ByteBuffer retrieveHotspotRechargeInvoice(long rechargeId) throws org.apache.thrift.TException;
935
    public ByteBuffer retrieveHotspotRechargeInvoice(long rechargeId) throws org.apache.thrift.TException;
936
 
936
 
937
    public List<RechargeTransaction> getRechargeTransactionsByNumber(String number) throws org.apache.thrift.TException;
937
    public List<RechargeTransaction> getRechargeTransactionsByNumber(String number, long storeId) throws org.apache.thrift.TException;
938
 
938
 
939
    public boolean updateHotspotStorePassword(long storeId, String password) throws org.apache.thrift.TException;
939
    public boolean updateHotspotStorePassword(long storeId, String password) throws org.apache.thrift.TException;
940
 
940
 
941
  }
941
  }
942
 
942
 
Line 1262... Line 1262...
1262
 
1262
 
1263
    public void getTelecomCircle(long id, String code, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTelecomCircle_call> resultHandler) throws org.apache.thrift.TException;
1263
    public void getTelecomCircle(long id, String code, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTelecomCircle_call> resultHandler) throws org.apache.thrift.TException;
1264
 
1264
 
1265
    public void retrieveHotspotRechargeInvoice(long rechargeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.retrieveHotspotRechargeInvoice_call> resultHandler) throws org.apache.thrift.TException;
1265
    public void retrieveHotspotRechargeInvoice(long rechargeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.retrieveHotspotRechargeInvoice_call> resultHandler) throws org.apache.thrift.TException;
1266
 
1266
 
1267
    public void getRechargeTransactionsByNumber(String number, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeTransactionsByNumber_call> resultHandler) throws org.apache.thrift.TException;
1267
    public void getRechargeTransactionsByNumber(String number, long storeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getRechargeTransactionsByNumber_call> resultHandler) throws org.apache.thrift.TException;
1268
 
1268
 
1269
    public void updateHotspotStorePassword(long storeId, String password, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateHotspotStorePassword_call> resultHandler) throws org.apache.thrift.TException;
1269
    public void updateHotspotStorePassword(long storeId, String password, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateHotspotStorePassword_call> resultHandler) throws org.apache.thrift.TException;
1270
 
1270
 
1271
  }
1271
  }
1272
 
1272
 
Line 5332... Line 5332...
5332
        return result.success;
5332
        return result.success;
5333
      }
5333
      }
5334
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "retrieveHotspotRechargeInvoice failed: unknown result");
5334
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "retrieveHotspotRechargeInvoice failed: unknown result");
5335
    }
5335
    }
5336
 
5336
 
5337
    public List<RechargeTransaction> getRechargeTransactionsByNumber(String number) throws org.apache.thrift.TException
5337
    public List<RechargeTransaction> getRechargeTransactionsByNumber(String number, long storeId) throws org.apache.thrift.TException
5338
    {
5338
    {
5339
      send_getRechargeTransactionsByNumber(number);
5339
      send_getRechargeTransactionsByNumber(number, storeId);
5340
      return recv_getRechargeTransactionsByNumber();
5340
      return recv_getRechargeTransactionsByNumber();
5341
    }
5341
    }
5342
 
5342
 
5343
    public void send_getRechargeTransactionsByNumber(String number) throws org.apache.thrift.TException
5343
    public void send_getRechargeTransactionsByNumber(String number, long storeId) throws org.apache.thrift.TException
5344
    {
5344
    {
5345
      getRechargeTransactionsByNumber_args args = new getRechargeTransactionsByNumber_args();
5345
      getRechargeTransactionsByNumber_args args = new getRechargeTransactionsByNumber_args();
5346
      args.setNumber(number);
5346
      args.setNumber(number);
-
 
5347
      args.setStoreId(storeId);
5347
      sendBase("getRechargeTransactionsByNumber", args);
5348
      sendBase("getRechargeTransactionsByNumber", args);
5348
    }
5349
    }
5349
 
5350
 
5350
    public List<RechargeTransaction> recv_getRechargeTransactionsByNumber() throws org.apache.thrift.TException
5351
    public List<RechargeTransaction> recv_getRechargeTransactionsByNumber() throws org.apache.thrift.TException
5351
    {
5352
    {
Line 11023... Line 11024...
11023
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11024
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11024
        return (new Client(prot)).recv_retrieveHotspotRechargeInvoice();
11025
        return (new Client(prot)).recv_retrieveHotspotRechargeInvoice();
11025
      }
11026
      }
11026
    }
11027
    }
11027
 
11028
 
11028
    public void getRechargeTransactionsByNumber(String number, org.apache.thrift.async.AsyncMethodCallback<getRechargeTransactionsByNumber_call> resultHandler) throws org.apache.thrift.TException {
11029
    public void getRechargeTransactionsByNumber(String number, long storeId, org.apache.thrift.async.AsyncMethodCallback<getRechargeTransactionsByNumber_call> resultHandler) throws org.apache.thrift.TException {
11029
      checkReady();
11030
      checkReady();
11030
      getRechargeTransactionsByNumber_call method_call = new getRechargeTransactionsByNumber_call(number, resultHandler, this, ___protocolFactory, ___transport);
11031
      getRechargeTransactionsByNumber_call method_call = new getRechargeTransactionsByNumber_call(number, storeId, resultHandler, this, ___protocolFactory, ___transport);
11031
      this.___currentMethod = method_call;
11032
      this.___currentMethod = method_call;
11032
      ___manager.call(method_call);
11033
      ___manager.call(method_call);
11033
    }
11034
    }
11034
 
11035
 
11035
    public static class getRechargeTransactionsByNumber_call extends org.apache.thrift.async.TAsyncMethodCall {
11036
    public static class getRechargeTransactionsByNumber_call extends org.apache.thrift.async.TAsyncMethodCall {
11036
      private String number;
11037
      private String number;
-
 
11038
      private long storeId;
11037
      public getRechargeTransactionsByNumber_call(String number, org.apache.thrift.async.AsyncMethodCallback<getRechargeTransactionsByNumber_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 {
11039
      public getRechargeTransactionsByNumber_call(String number, long storeId, org.apache.thrift.async.AsyncMethodCallback<getRechargeTransactionsByNumber_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 {
11038
        super(client, protocolFactory, transport, resultHandler, false);
11040
        super(client, protocolFactory, transport, resultHandler, false);
11039
        this.number = number;
11041
        this.number = number;
-
 
11042
        this.storeId = storeId;
11040
      }
11043
      }
11041
 
11044
 
11042
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
11045
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
11043
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRechargeTransactionsByNumber", org.apache.thrift.protocol.TMessageType.CALL, 0));
11046
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRechargeTransactionsByNumber", org.apache.thrift.protocol.TMessageType.CALL, 0));
11044
        getRechargeTransactionsByNumber_args args = new getRechargeTransactionsByNumber_args();
11047
        getRechargeTransactionsByNumber_args args = new getRechargeTransactionsByNumber_args();
11045
        args.setNumber(number);
11048
        args.setNumber(number);
-
 
11049
        args.setStoreId(storeId);
11046
        args.write(prot);
11050
        args.write(prot);
11047
        prot.writeMessageEnd();
11051
        prot.writeMessageEnd();
11048
      }
11052
      }
11049
 
11053
 
11050
      public List<RechargeTransaction> getResult() throws org.apache.thrift.TException {
11054
      public List<RechargeTransaction> getResult() throws org.apache.thrift.TException {
Line 14284... Line 14288...
14284
        return new getRechargeTransactionsByNumber_args();
14288
        return new getRechargeTransactionsByNumber_args();
14285
      }
14289
      }
14286
 
14290
 
14287
      protected getRechargeTransactionsByNumber_result getResult(I iface, getRechargeTransactionsByNumber_args args) throws org.apache.thrift.TException {
14291
      protected getRechargeTransactionsByNumber_result getResult(I iface, getRechargeTransactionsByNumber_args args) throws org.apache.thrift.TException {
14288
        getRechargeTransactionsByNumber_result result = new getRechargeTransactionsByNumber_result();
14292
        getRechargeTransactionsByNumber_result result = new getRechargeTransactionsByNumber_result();
14289
        result.success = iface.getRechargeTransactionsByNumber(args.number);
14293
        result.success = iface.getRechargeTransactionsByNumber(args.number, args.storeId);
14290
        return result;
14294
        return result;
14291
      }
14295
      }
14292
    }
14296
    }
14293
 
14297
 
14294
    private static class updateHotspotStorePassword<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateHotspotStorePassword_args> {
14298
    private static class updateHotspotStorePassword<I extends Iface> extends org.apache.thrift.ProcessFunction<I, updateHotspotStorePassword_args> {
Line 131069... Line 131073...
131069
 
131073
 
131070
  public static class getRechargeTransactionsByNumber_args implements org.apache.thrift.TBase<getRechargeTransactionsByNumber_args, getRechargeTransactionsByNumber_args._Fields>, java.io.Serializable, Cloneable   {
131074
  public static class getRechargeTransactionsByNumber_args implements org.apache.thrift.TBase<getRechargeTransactionsByNumber_args, getRechargeTransactionsByNumber_args._Fields>, java.io.Serializable, Cloneable   {
131071
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeTransactionsByNumber_args");
131075
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getRechargeTransactionsByNumber_args");
131072
 
131076
 
131073
    private static final org.apache.thrift.protocol.TField NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("number", org.apache.thrift.protocol.TType.STRING, (short)1);
131077
    private static final org.apache.thrift.protocol.TField NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("number", org.apache.thrift.protocol.TType.STRING, (short)1);
-
 
131078
    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);
131074
 
131079
 
131075
    private String number; // required
131080
    private String number; // required
-
 
131081
    private long storeId; // required
131076
 
131082
 
131077
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
131083
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
131078
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
131084
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
131079
      NUMBER((short)1, "number");
131085
      NUMBER((short)1, "number"),
-
 
131086
      STORE_ID((short)2, "storeId");
131080
 
131087
 
131081
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
131088
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
131082
 
131089
 
131083
      static {
131090
      static {
131084
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
131091
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 131091... Line 131098...
131091
       */
131098
       */
131092
      public static _Fields findByThriftId(int fieldId) {
131099
      public static _Fields findByThriftId(int fieldId) {
131093
        switch(fieldId) {
131100
        switch(fieldId) {
131094
          case 1: // NUMBER
131101
          case 1: // NUMBER
131095
            return NUMBER;
131102
            return NUMBER;
-
 
131103
          case 2: // STORE_ID
-
 
131104
            return STORE_ID;
131096
          default:
131105
          default:
131097
            return null;
131106
            return null;
131098
        }
131107
        }
131099
      }
131108
      }
131100
 
131109
 
Line 131131... Line 131140...
131131
        return _fieldName;
131140
        return _fieldName;
131132
      }
131141
      }
131133
    }
131142
    }
131134
 
131143
 
131135
    // isset id assignments
131144
    // isset id assignments
-
 
131145
    private static final int __STOREID_ISSET_ID = 0;
-
 
131146
    private BitSet __isset_bit_vector = new BitSet(1);
131136
 
131147
 
131137
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
131148
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
131138
    static {
131149
    static {
131139
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
131150
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
131140
      tmpMap.put(_Fields.NUMBER, new org.apache.thrift.meta_data.FieldMetaData("number", org.apache.thrift.TFieldRequirementType.DEFAULT, 
131151
      tmpMap.put(_Fields.NUMBER, new org.apache.thrift.meta_data.FieldMetaData("number", org.apache.thrift.TFieldRequirementType.DEFAULT, 
131141
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
131152
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
131153
      tmpMap.put(_Fields.STORE_ID, new org.apache.thrift.meta_data.FieldMetaData("storeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
131154
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
131142
      metaDataMap = Collections.unmodifiableMap(tmpMap);
131155
      metaDataMap = Collections.unmodifiableMap(tmpMap);
131143
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeTransactionsByNumber_args.class, metaDataMap);
131156
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRechargeTransactionsByNumber_args.class, metaDataMap);
131144
    }
131157
    }
131145
 
131158
 
131146
    public getRechargeTransactionsByNumber_args() {
131159
    public getRechargeTransactionsByNumber_args() {
131147
    }
131160
    }
131148
 
131161
 
131149
    public getRechargeTransactionsByNumber_args(
131162
    public getRechargeTransactionsByNumber_args(
131150
      String number)
131163
      String number,
-
 
131164
      long storeId)
131151
    {
131165
    {
131152
      this();
131166
      this();
131153
      this.number = number;
131167
      this.number = number;
-
 
131168
      this.storeId = storeId;
-
 
131169
      setStoreIdIsSet(true);
131154
    }
131170
    }
131155
 
131171
 
131156
    /**
131172
    /**
131157
     * Performs a deep copy on <i>other</i>.
131173
     * Performs a deep copy on <i>other</i>.
131158
     */
131174
     */
131159
    public getRechargeTransactionsByNumber_args(getRechargeTransactionsByNumber_args other) {
131175
    public getRechargeTransactionsByNumber_args(getRechargeTransactionsByNumber_args other) {
-
 
131176
      __isset_bit_vector.clear();
-
 
131177
      __isset_bit_vector.or(other.__isset_bit_vector);
131160
      if (other.isSetNumber()) {
131178
      if (other.isSetNumber()) {
131161
        this.number = other.number;
131179
        this.number = other.number;
131162
      }
131180
      }
-
 
131181
      this.storeId = other.storeId;
131163
    }
131182
    }
131164
 
131183
 
131165
    public getRechargeTransactionsByNumber_args deepCopy() {
131184
    public getRechargeTransactionsByNumber_args deepCopy() {
131166
      return new getRechargeTransactionsByNumber_args(this);
131185
      return new getRechargeTransactionsByNumber_args(this);
131167
    }
131186
    }
131168
 
131187
 
131169
    @Override
131188
    @Override
131170
    public void clear() {
131189
    public void clear() {
131171
      this.number = null;
131190
      this.number = null;
-
 
131191
      setStoreIdIsSet(false);
-
 
131192
      this.storeId = 0;
131172
    }
131193
    }
131173
 
131194
 
131174
    public String getNumber() {
131195
    public String getNumber() {
131175
      return this.number;
131196
      return this.number;
131176
    }
131197
    }
Line 131192... Line 131213...
131192
      if (!value) {
131213
      if (!value) {
131193
        this.number = null;
131214
        this.number = null;
131194
      }
131215
      }
131195
    }
131216
    }
131196
 
131217
 
-
 
131218
    public long getStoreId() {
-
 
131219
      return this.storeId;
-
 
131220
    }
-
 
131221
 
-
 
131222
    public void setStoreId(long storeId) {
-
 
131223
      this.storeId = storeId;
-
 
131224
      setStoreIdIsSet(true);
-
 
131225
    }
-
 
131226
 
-
 
131227
    public void unsetStoreId() {
-
 
131228
      __isset_bit_vector.clear(__STOREID_ISSET_ID);
-
 
131229
    }
-
 
131230
 
-
 
131231
    /** Returns true if field storeId is set (has been assigned a value) and false otherwise */
-
 
131232
    public boolean isSetStoreId() {
-
 
131233
      return __isset_bit_vector.get(__STOREID_ISSET_ID);
-
 
131234
    }
-
 
131235
 
-
 
131236
    public void setStoreIdIsSet(boolean value) {
-
 
131237
      __isset_bit_vector.set(__STOREID_ISSET_ID, value);
-
 
131238
    }
-
 
131239
 
131197
    public void setFieldValue(_Fields field, Object value) {
131240
    public void setFieldValue(_Fields field, Object value) {
131198
      switch (field) {
131241
      switch (field) {
131199
      case NUMBER:
131242
      case NUMBER:
131200
        if (value == null) {
131243
        if (value == null) {
131201
          unsetNumber();
131244
          unsetNumber();
131202
        } else {
131245
        } else {
131203
          setNumber((String)value);
131246
          setNumber((String)value);
131204
        }
131247
        }
131205
        break;
131248
        break;
131206
 
131249
 
-
 
131250
      case STORE_ID:
-
 
131251
        if (value == null) {
-
 
131252
          unsetStoreId();
-
 
131253
        } else {
-
 
131254
          setStoreId((Long)value);
-
 
131255
        }
-
 
131256
        break;
-
 
131257
 
131207
      }
131258
      }
131208
    }
131259
    }
131209
 
131260
 
131210
    public Object getFieldValue(_Fields field) {
131261
    public Object getFieldValue(_Fields field) {
131211
      switch (field) {
131262
      switch (field) {
131212
      case NUMBER:
131263
      case NUMBER:
131213
        return getNumber();
131264
        return getNumber();
131214
 
131265
 
-
 
131266
      case STORE_ID:
-
 
131267
        return Long.valueOf(getStoreId());
-
 
131268
 
131215
      }
131269
      }
131216
      throw new IllegalStateException();
131270
      throw new IllegalStateException();
131217
    }
131271
    }
131218
 
131272
 
131219
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
131273
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 131223... Line 131277...
131223
      }
131277
      }
131224
 
131278
 
131225
      switch (field) {
131279
      switch (field) {
131226
      case NUMBER:
131280
      case NUMBER:
131227
        return isSetNumber();
131281
        return isSetNumber();
-
 
131282
      case STORE_ID:
-
 
131283
        return isSetStoreId();
131228
      }
131284
      }
131229
      throw new IllegalStateException();
131285
      throw new IllegalStateException();
131230
    }
131286
    }
131231
 
131287
 
131232
    @Override
131288
    @Override
Line 131249... Line 131305...
131249
          return false;
131305
          return false;
131250
        if (!this.number.equals(that.number))
131306
        if (!this.number.equals(that.number))
131251
          return false;
131307
          return false;
131252
      }
131308
      }
131253
 
131309
 
-
 
131310
      boolean this_present_storeId = true;
-
 
131311
      boolean that_present_storeId = true;
-
 
131312
      if (this_present_storeId || that_present_storeId) {
-
 
131313
        if (!(this_present_storeId && that_present_storeId))
-
 
131314
          return false;
-
 
131315
        if (this.storeId != that.storeId)
-
 
131316
          return false;
-
 
131317
      }
-
 
131318
 
131254
      return true;
131319
      return true;
131255
    }
131320
    }
131256
 
131321
 
131257
    @Override
131322
    @Override
131258
    public int hashCode() {
131323
    public int hashCode() {
Line 131275... Line 131340...
131275
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.number, typedOther.number);
131340
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.number, typedOther.number);
131276
        if (lastComparison != 0) {
131341
        if (lastComparison != 0) {
131277
          return lastComparison;
131342
          return lastComparison;
131278
        }
131343
        }
131279
      }
131344
      }
-
 
131345
      lastComparison = Boolean.valueOf(isSetStoreId()).compareTo(typedOther.isSetStoreId());
-
 
131346
      if (lastComparison != 0) {
-
 
131347
        return lastComparison;
-
 
131348
      }
-
 
131349
      if (isSetStoreId()) {
-
 
131350
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeId, typedOther.storeId);
-
 
131351
        if (lastComparison != 0) {
-
 
131352
          return lastComparison;
-
 
131353
        }
-
 
131354
      }
131280
      return 0;
131355
      return 0;
131281
    }
131356
    }
131282
 
131357
 
131283
    public _Fields fieldForId(int fieldId) {
131358
    public _Fields fieldForId(int fieldId) {
131284
      return _Fields.findByThriftId(fieldId);
131359
      return _Fields.findByThriftId(fieldId);
Line 131299... Line 131374...
131299
              this.number = iprot.readString();
131374
              this.number = iprot.readString();
131300
            } else { 
131375
            } else { 
131301
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
131376
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
131302
            }
131377
            }
131303
            break;
131378
            break;
-
 
131379
          case 2: // STORE_ID
-
 
131380
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
131381
              this.storeId = iprot.readI64();
-
 
131382
              setStoreIdIsSet(true);
-
 
131383
            } else { 
-
 
131384
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
131385
            }
-
 
131386
            break;
131304
          default:
131387
          default:
131305
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
131388
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
131306
        }
131389
        }
131307
        iprot.readFieldEnd();
131390
        iprot.readFieldEnd();
131308
      }
131391
      }
Line 131317... Line 131400...
131317
      if (this.number != null) {
131400
      if (this.number != null) {
131318
        oprot.writeFieldBegin(NUMBER_FIELD_DESC);
131401
        oprot.writeFieldBegin(NUMBER_FIELD_DESC);
131319
        oprot.writeString(this.number);
131402
        oprot.writeString(this.number);
131320
        oprot.writeFieldEnd();
131403
        oprot.writeFieldEnd();
131321
      }
131404
      }
-
 
131405
      oprot.writeFieldBegin(STORE_ID_FIELD_DESC);
-
 
131406
      oprot.writeI64(this.storeId);
-
 
131407
      oprot.writeFieldEnd();
131322
      oprot.writeFieldStop();
131408
      oprot.writeFieldStop();
131323
      oprot.writeStructEnd();
131409
      oprot.writeStructEnd();
131324
    }
131410
    }
131325
 
131411
 
131326
    @Override
131412
    @Override
Line 131333... Line 131419...
131333
        sb.append("null");
131419
        sb.append("null");
131334
      } else {
131420
      } else {
131335
        sb.append(this.number);
131421
        sb.append(this.number);
131336
      }
131422
      }
131337
      first = false;
131423
      first = false;
-
 
131424
      if (!first) sb.append(", ");
-
 
131425
      sb.append("storeId:");
-
 
131426
      sb.append(this.storeId);
-
 
131427
      first = false;
131338
      sb.append(")");
131428
      sb.append(")");
131339
      return sb.toString();
131429
      return sb.toString();
131340
    }
131430
    }
131341
 
131431
 
131342
    public void validate() throws org.apache.thrift.TException {
131432
    public void validate() throws org.apache.thrift.TException {
Line 131351... Line 131441...
131351
      }
131441
      }
131352
    }
131442
    }
131353
 
131443
 
131354
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
131444
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
131355
      try {
131445
      try {
-
 
131446
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
131447
        __isset_bit_vector = new BitSet(1);
131356
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
131448
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
131357
      } catch (org.apache.thrift.TException te) {
131449
      } catch (org.apache.thrift.TException te) {
131358
        throw new java.io.IOException(te);
131450
        throw new java.io.IOException(te);
131359
      }
131451
      }
131360
    }
131452
    }