Subversion Repositories SmartDukaan

Rev

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

Rev 7367 Rev 7382
Line 390... Line 390...
390
 
390
 
391
    public StorePricing getStorePricing(long itemId) throws org.apache.thrift.TException;
391
    public StorePricing getStorePricing(long itemId) throws org.apache.thrift.TException;
392
 
392
 
393
    public List<StorePricing> getStorePricings(List<Long> itemIds) throws org.apache.thrift.TException;
393
    public List<StorePricing> getStorePricings(List<Long> itemIds) throws org.apache.thrift.TException;
394
 
394
 
395
    public void updateStorePricing(StorePricing sp) throws org.apache.thrift.TException;
395
    public void updateStorePricing(StorePricing sp, boolean allColors) throws org.apache.thrift.TException;
396
 
396
 
397
    public List<Amazonlisted> getAllAmazonListedItems() throws org.apache.thrift.TException;
397
    public List<Amazonlisted> getAllAmazonListedItems() throws org.apache.thrift.TException;
398
 
398
 
399
    public Amazonlisted getAmazonItemDetails(long itemId) throws org.apache.thrift.TException;
399
    public Amazonlisted getAmazonItemDetails(long itemId) throws org.apache.thrift.TException;
400
 
400
 
Line 586... Line 586...
586
 
586
 
587
    public void getStorePricing(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStorePricing_call> resultHandler) throws org.apache.thrift.TException;
587
    public void getStorePricing(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStorePricing_call> resultHandler) throws org.apache.thrift.TException;
588
 
588
 
589
    public void getStorePricings(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStorePricings_call> resultHandler) throws org.apache.thrift.TException;
589
    public void getStorePricings(List<Long> itemIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getStorePricings_call> resultHandler) throws org.apache.thrift.TException;
590
 
590
 
591
    public void updateStorePricing(StorePricing sp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateStorePricing_call> resultHandler) throws org.apache.thrift.TException;
591
    public void updateStorePricing(StorePricing sp, boolean allColors, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateStorePricing_call> resultHandler) throws org.apache.thrift.TException;
592
 
592
 
593
    public void getAllAmazonListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
593
    public void getAllAmazonListedItems(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAmazonListedItems_call> resultHandler) throws org.apache.thrift.TException;
594
 
594
 
595
    public void getAmazonItemDetails(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException;
595
    public void getAmazonItemDetails(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonItemDetails_call> resultHandler) throws org.apache.thrift.TException;
596
 
596
 
Line 2772... Line 2772...
2772
        return result.success;
2772
        return result.success;
2773
      }
2773
      }
2774
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getStorePricings failed: unknown result");
2774
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getStorePricings failed: unknown result");
2775
    }
2775
    }
2776
 
2776
 
2777
    public void updateStorePricing(StorePricing sp) throws org.apache.thrift.TException
2777
    public void updateStorePricing(StorePricing sp, boolean allColors) throws org.apache.thrift.TException
2778
    {
2778
    {
2779
      send_updateStorePricing(sp);
2779
      send_updateStorePricing(sp, allColors);
2780
      recv_updateStorePricing();
2780
      recv_updateStorePricing();
2781
    }
2781
    }
2782
 
2782
 
2783
    public void send_updateStorePricing(StorePricing sp) throws org.apache.thrift.TException
2783
    public void send_updateStorePricing(StorePricing sp, boolean allColors) throws org.apache.thrift.TException
2784
    {
2784
    {
2785
      updateStorePricing_args args = new updateStorePricing_args();
2785
      updateStorePricing_args args = new updateStorePricing_args();
2786
      args.setSp(sp);
2786
      args.setSp(sp);
-
 
2787
      args.setAllColors(allColors);
2787
      sendBase("updateStorePricing", args);
2788
      sendBase("updateStorePricing", args);
2788
    }
2789
    }
2789
 
2790
 
2790
    public void recv_updateStorePricing() throws org.apache.thrift.TException
2791
    public void recv_updateStorePricing() throws org.apache.thrift.TException
2791
    {
2792
    {
Line 5904... Line 5905...
5904
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5905
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5905
        return (new Client(prot)).recv_getStorePricings();
5906
        return (new Client(prot)).recv_getStorePricings();
5906
      }
5907
      }
5907
    }
5908
    }
5908
 
5909
 
5909
    public void updateStorePricing(StorePricing sp, org.apache.thrift.async.AsyncMethodCallback<updateStorePricing_call> resultHandler) throws org.apache.thrift.TException {
5910
    public void updateStorePricing(StorePricing sp, boolean allColors, org.apache.thrift.async.AsyncMethodCallback<updateStorePricing_call> resultHandler) throws org.apache.thrift.TException {
5910
      checkReady();
5911
      checkReady();
5911
      updateStorePricing_call method_call = new updateStorePricing_call(sp, resultHandler, this, ___protocolFactory, ___transport);
5912
      updateStorePricing_call method_call = new updateStorePricing_call(sp, allColors, resultHandler, this, ___protocolFactory, ___transport);
5912
      this.___currentMethod = method_call;
5913
      this.___currentMethod = method_call;
5913
      ___manager.call(method_call);
5914
      ___manager.call(method_call);
5914
    }
5915
    }
5915
 
5916
 
5916
    public static class updateStorePricing_call extends org.apache.thrift.async.TAsyncMethodCall {
5917
    public static class updateStorePricing_call extends org.apache.thrift.async.TAsyncMethodCall {
5917
      private StorePricing sp;
5918
      private StorePricing sp;
-
 
5919
      private boolean allColors;
5918
      public updateStorePricing_call(StorePricing sp, org.apache.thrift.async.AsyncMethodCallback<updateStorePricing_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 {
5920
      public updateStorePricing_call(StorePricing sp, boolean allColors, org.apache.thrift.async.AsyncMethodCallback<updateStorePricing_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 {
5919
        super(client, protocolFactory, transport, resultHandler, false);
5921
        super(client, protocolFactory, transport, resultHandler, false);
5920
        this.sp = sp;
5922
        this.sp = sp;
-
 
5923
        this.allColors = allColors;
5921
      }
5924
      }
5922
 
5925
 
5923
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5926
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5924
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateStorePricing", org.apache.thrift.protocol.TMessageType.CALL, 0));
5927
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateStorePricing", org.apache.thrift.protocol.TMessageType.CALL, 0));
5925
        updateStorePricing_args args = new updateStorePricing_args();
5928
        updateStorePricing_args args = new updateStorePricing_args();
5926
        args.setSp(sp);
5929
        args.setSp(sp);
-
 
5930
        args.setAllColors(allColors);
5927
        args.write(prot);
5931
        args.write(prot);
5928
        prot.writeMessageEnd();
5932
        prot.writeMessageEnd();
5929
      }
5933
      }
5930
 
5934
 
5931
      public void getResult() throws org.apache.thrift.TException {
5935
      public void getResult() throws org.apache.thrift.TException {
Line 7879... Line 7883...
7879
        return new updateStorePricing_args();
7883
        return new updateStorePricing_args();
7880
      }
7884
      }
7881
 
7885
 
7882
      protected updateStorePricing_result getResult(I iface, updateStorePricing_args args) throws org.apache.thrift.TException {
7886
      protected updateStorePricing_result getResult(I iface, updateStorePricing_args args) throws org.apache.thrift.TException {
7883
        updateStorePricing_result result = new updateStorePricing_result();
7887
        updateStorePricing_result result = new updateStorePricing_result();
7884
        iface.updateStorePricing(args.sp);
7888
        iface.updateStorePricing(args.sp, args.allColors);
7885
        return result;
7889
        return result;
7886
      }
7890
      }
7887
    }
7891
    }
7888
 
7892
 
7889
    private static class getAllAmazonListedItems<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllAmazonListedItems_args> {
7893
    private static class getAllAmazonListedItems<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllAmazonListedItems_args> {
Line 66974... Line 66978...
66974
 
66978
 
66975
  public static class updateStorePricing_args implements org.apache.thrift.TBase<updateStorePricing_args, updateStorePricing_args._Fields>, java.io.Serializable, Cloneable   {
66979
  public static class updateStorePricing_args implements org.apache.thrift.TBase<updateStorePricing_args, updateStorePricing_args._Fields>, java.io.Serializable, Cloneable   {
66976
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateStorePricing_args");
66980
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateStorePricing_args");
66977
 
66981
 
66978
    private static final org.apache.thrift.protocol.TField SP_FIELD_DESC = new org.apache.thrift.protocol.TField("sp", org.apache.thrift.protocol.TType.STRUCT, (short)1);
66982
    private static final org.apache.thrift.protocol.TField SP_FIELD_DESC = new org.apache.thrift.protocol.TField("sp", org.apache.thrift.protocol.TType.STRUCT, (short)1);
-
 
66983
    private static final org.apache.thrift.protocol.TField ALL_COLORS_FIELD_DESC = new org.apache.thrift.protocol.TField("allColors", org.apache.thrift.protocol.TType.BOOL, (short)2);
66979
 
66984
 
66980
    private StorePricing sp; // required
66985
    private StorePricing sp; // required
-
 
66986
    private boolean allColors; // required
66981
 
66987
 
66982
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
66988
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
66983
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
66989
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
66984
      SP((short)1, "sp");
66990
      SP((short)1, "sp"),
-
 
66991
      ALL_COLORS((short)2, "allColors");
66985
 
66992
 
66986
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
66993
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
66987
 
66994
 
66988
      static {
66995
      static {
66989
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
66996
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 66996... Line 67003...
66996
       */
67003
       */
66997
      public static _Fields findByThriftId(int fieldId) {
67004
      public static _Fields findByThriftId(int fieldId) {
66998
        switch(fieldId) {
67005
        switch(fieldId) {
66999
          case 1: // SP
67006
          case 1: // SP
67000
            return SP;
67007
            return SP;
-
 
67008
          case 2: // ALL_COLORS
-
 
67009
            return ALL_COLORS;
67001
          default:
67010
          default:
67002
            return null;
67011
            return null;
67003
        }
67012
        }
67004
      }
67013
      }
67005
 
67014
 
Line 67036... Line 67045...
67036
        return _fieldName;
67045
        return _fieldName;
67037
      }
67046
      }
67038
    }
67047
    }
67039
 
67048
 
67040
    // isset id assignments
67049
    // isset id assignments
-
 
67050
    private static final int __ALLCOLORS_ISSET_ID = 0;
-
 
67051
    private BitSet __isset_bit_vector = new BitSet(1);
67041
 
67052
 
67042
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
67053
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
67043
    static {
67054
    static {
67044
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
67055
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
67045
      tmpMap.put(_Fields.SP, new org.apache.thrift.meta_data.FieldMetaData("sp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
67056
      tmpMap.put(_Fields.SP, new org.apache.thrift.meta_data.FieldMetaData("sp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
67046
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, StorePricing.class)));
67057
          new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, StorePricing.class)));
-
 
67058
      tmpMap.put(_Fields.ALL_COLORS, new org.apache.thrift.meta_data.FieldMetaData("allColors", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
67059
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
67047
      metaDataMap = Collections.unmodifiableMap(tmpMap);
67060
      metaDataMap = Collections.unmodifiableMap(tmpMap);
67048
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateStorePricing_args.class, metaDataMap);
67061
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateStorePricing_args.class, metaDataMap);
67049
    }
67062
    }
67050
 
67063
 
67051
    public updateStorePricing_args() {
67064
    public updateStorePricing_args() {
67052
    }
67065
    }
67053
 
67066
 
67054
    public updateStorePricing_args(
67067
    public updateStorePricing_args(
67055
      StorePricing sp)
67068
      StorePricing sp,
-
 
67069
      boolean allColors)
67056
    {
67070
    {
67057
      this();
67071
      this();
67058
      this.sp = sp;
67072
      this.sp = sp;
-
 
67073
      this.allColors = allColors;
-
 
67074
      setAllColorsIsSet(true);
67059
    }
67075
    }
67060
 
67076
 
67061
    /**
67077
    /**
67062
     * Performs a deep copy on <i>other</i>.
67078
     * Performs a deep copy on <i>other</i>.
67063
     */
67079
     */
67064
    public updateStorePricing_args(updateStorePricing_args other) {
67080
    public updateStorePricing_args(updateStorePricing_args other) {
-
 
67081
      __isset_bit_vector.clear();
-
 
67082
      __isset_bit_vector.or(other.__isset_bit_vector);
67065
      if (other.isSetSp()) {
67083
      if (other.isSetSp()) {
67066
        this.sp = new StorePricing(other.sp);
67084
        this.sp = new StorePricing(other.sp);
67067
      }
67085
      }
-
 
67086
      this.allColors = other.allColors;
67068
    }
67087
    }
67069
 
67088
 
67070
    public updateStorePricing_args deepCopy() {
67089
    public updateStorePricing_args deepCopy() {
67071
      return new updateStorePricing_args(this);
67090
      return new updateStorePricing_args(this);
67072
    }
67091
    }
67073
 
67092
 
67074
    @Override
67093
    @Override
67075
    public void clear() {
67094
    public void clear() {
67076
      this.sp = null;
67095
      this.sp = null;
-
 
67096
      setAllColorsIsSet(false);
-
 
67097
      this.allColors = false;
67077
    }
67098
    }
67078
 
67099
 
67079
    public StorePricing getSp() {
67100
    public StorePricing getSp() {
67080
      return this.sp;
67101
      return this.sp;
67081
    }
67102
    }
Line 67097... Line 67118...
67097
      if (!value) {
67118
      if (!value) {
67098
        this.sp = null;
67119
        this.sp = null;
67099
      }
67120
      }
67100
    }
67121
    }
67101
 
67122
 
-
 
67123
    public boolean isAllColors() {
-
 
67124
      return this.allColors;
-
 
67125
    }
-
 
67126
 
-
 
67127
    public void setAllColors(boolean allColors) {
-
 
67128
      this.allColors = allColors;
-
 
67129
      setAllColorsIsSet(true);
-
 
67130
    }
-
 
67131
 
-
 
67132
    public void unsetAllColors() {
-
 
67133
      __isset_bit_vector.clear(__ALLCOLORS_ISSET_ID);
-
 
67134
    }
-
 
67135
 
-
 
67136
    /** Returns true if field allColors is set (has been assigned a value) and false otherwise */
-
 
67137
    public boolean isSetAllColors() {
-
 
67138
      return __isset_bit_vector.get(__ALLCOLORS_ISSET_ID);
-
 
67139
    }
-
 
67140
 
-
 
67141
    public void setAllColorsIsSet(boolean value) {
-
 
67142
      __isset_bit_vector.set(__ALLCOLORS_ISSET_ID, value);
-
 
67143
    }
-
 
67144
 
67102
    public void setFieldValue(_Fields field, Object value) {
67145
    public void setFieldValue(_Fields field, Object value) {
67103
      switch (field) {
67146
      switch (field) {
67104
      case SP:
67147
      case SP:
67105
        if (value == null) {
67148
        if (value == null) {
67106
          unsetSp();
67149
          unsetSp();
67107
        } else {
67150
        } else {
67108
          setSp((StorePricing)value);
67151
          setSp((StorePricing)value);
67109
        }
67152
        }
67110
        break;
67153
        break;
67111
 
67154
 
-
 
67155
      case ALL_COLORS:
-
 
67156
        if (value == null) {
-
 
67157
          unsetAllColors();
-
 
67158
        } else {
-
 
67159
          setAllColors((Boolean)value);
-
 
67160
        }
-
 
67161
        break;
-
 
67162
 
67112
      }
67163
      }
67113
    }
67164
    }
67114
 
67165
 
67115
    public Object getFieldValue(_Fields field) {
67166
    public Object getFieldValue(_Fields field) {
67116
      switch (field) {
67167
      switch (field) {
67117
      case SP:
67168
      case SP:
67118
        return getSp();
67169
        return getSp();
67119
 
67170
 
-
 
67171
      case ALL_COLORS:
-
 
67172
        return Boolean.valueOf(isAllColors());
-
 
67173
 
67120
      }
67174
      }
67121
      throw new IllegalStateException();
67175
      throw new IllegalStateException();
67122
    }
67176
    }
67123
 
67177
 
67124
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
67178
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 67128... Line 67182...
67128
      }
67182
      }
67129
 
67183
 
67130
      switch (field) {
67184
      switch (field) {
67131
      case SP:
67185
      case SP:
67132
        return isSetSp();
67186
        return isSetSp();
-
 
67187
      case ALL_COLORS:
-
 
67188
        return isSetAllColors();
67133
      }
67189
      }
67134
      throw new IllegalStateException();
67190
      throw new IllegalStateException();
67135
    }
67191
    }
67136
 
67192
 
67137
    @Override
67193
    @Override
Line 67154... Line 67210...
67154
          return false;
67210
          return false;
67155
        if (!this.sp.equals(that.sp))
67211
        if (!this.sp.equals(that.sp))
67156
          return false;
67212
          return false;
67157
      }
67213
      }
67158
 
67214
 
-
 
67215
      boolean this_present_allColors = true;
-
 
67216
      boolean that_present_allColors = true;
-
 
67217
      if (this_present_allColors || that_present_allColors) {
-
 
67218
        if (!(this_present_allColors && that_present_allColors))
-
 
67219
          return false;
-
 
67220
        if (this.allColors != that.allColors)
-
 
67221
          return false;
-
 
67222
      }
-
 
67223
 
67159
      return true;
67224
      return true;
67160
    }
67225
    }
67161
 
67226
 
67162
    @Override
67227
    @Override
67163
    public int hashCode() {
67228
    public int hashCode() {
Line 67180... Line 67245...
67180
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sp, typedOther.sp);
67245
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sp, typedOther.sp);
67181
        if (lastComparison != 0) {
67246
        if (lastComparison != 0) {
67182
          return lastComparison;
67247
          return lastComparison;
67183
        }
67248
        }
67184
      }
67249
      }
-
 
67250
      lastComparison = Boolean.valueOf(isSetAllColors()).compareTo(typedOther.isSetAllColors());
-
 
67251
      if (lastComparison != 0) {
-
 
67252
        return lastComparison;
-
 
67253
      }
-
 
67254
      if (isSetAllColors()) {
-
 
67255
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.allColors, typedOther.allColors);
-
 
67256
        if (lastComparison != 0) {
-
 
67257
          return lastComparison;
-
 
67258
        }
-
 
67259
      }
67185
      return 0;
67260
      return 0;
67186
    }
67261
    }
67187
 
67262
 
67188
    public _Fields fieldForId(int fieldId) {
67263
    public _Fields fieldForId(int fieldId) {
67189
      return _Fields.findByThriftId(fieldId);
67264
      return _Fields.findByThriftId(fieldId);
Line 67205... Line 67280...
67205
              this.sp.read(iprot);
67280
              this.sp.read(iprot);
67206
            } else { 
67281
            } else { 
67207
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
67282
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
67208
            }
67283
            }
67209
            break;
67284
            break;
-
 
67285
          case 2: // ALL_COLORS
-
 
67286
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
67287
              this.allColors = iprot.readBool();
-
 
67288
              setAllColorsIsSet(true);
-
 
67289
            } else { 
-
 
67290
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
67291
            }
-
 
67292
            break;
67210
          default:
67293
          default:
67211
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
67294
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
67212
        }
67295
        }
67213
        iprot.readFieldEnd();
67296
        iprot.readFieldEnd();
67214
      }
67297
      }
Line 67223... Line 67306...
67223
      if (this.sp != null) {
67306
      if (this.sp != null) {
67224
        oprot.writeFieldBegin(SP_FIELD_DESC);
67307
        oprot.writeFieldBegin(SP_FIELD_DESC);
67225
        this.sp.write(oprot);
67308
        this.sp.write(oprot);
67226
        oprot.writeFieldEnd();
67309
        oprot.writeFieldEnd();
67227
      }
67310
      }
-
 
67311
      oprot.writeFieldBegin(ALL_COLORS_FIELD_DESC);
-
 
67312
      oprot.writeBool(this.allColors);
-
 
67313
      oprot.writeFieldEnd();
67228
      oprot.writeFieldStop();
67314
      oprot.writeFieldStop();
67229
      oprot.writeStructEnd();
67315
      oprot.writeStructEnd();
67230
    }
67316
    }
67231
 
67317
 
67232
    @Override
67318
    @Override
Line 67239... Line 67325...
67239
        sb.append("null");
67325
        sb.append("null");
67240
      } else {
67326
      } else {
67241
        sb.append(this.sp);
67327
        sb.append(this.sp);
67242
      }
67328
      }
67243
      first = false;
67329
      first = false;
-
 
67330
      if (!first) sb.append(", ");
-
 
67331
      sb.append("allColors:");
-
 
67332
      sb.append(this.allColors);
-
 
67333
      first = false;
67244
      sb.append(")");
67334
      sb.append(")");
67245
      return sb.toString();
67335
      return sb.toString();
67246
    }
67336
    }
67247
 
67337
 
67248
    public void validate() throws org.apache.thrift.TException {
67338
    public void validate() throws org.apache.thrift.TException {
Line 67257... Line 67347...
67257
      }
67347
      }
67258
    }
67348
    }
67259
 
67349
 
67260
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
67350
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
67261
      try {
67351
      try {
-
 
67352
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
67353
        __isset_bit_vector = new BitSet(1);
67262
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
67354
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
67263
      } catch (org.apache.thrift.TException te) {
67355
      } catch (org.apache.thrift.TException te) {
67264
        throw new java.io.IOException(te);
67356
        throw new java.io.IOException(te);
67265
      }
67357
      }
67266
    }
67358
    }