Subversion Repositories SmartDukaan

Rev

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

Rev 6736 Rev 6821
Line 283... Line 283...
283
     * @param startDate
283
     * @param startDate
284
     * @param endDate
284
     * @param endDate
285
     */
285
     */
286
    public List<String> getUserEmails(long startDate, long endDate) throws org.apache.thrift.TException;
286
    public List<String> getUserEmails(long startDate, long endDate) throws org.apache.thrift.TException;
287
 
287
 
-
 
288
    /**
-
 
289
     * Returns whether product is added to cart from startDate to endDate
-
 
290
     * 
-
 
291
     * @param itemId
-
 
292
     * @param startDate
-
 
293
     * @param endDate
-
 
294
     */
-
 
295
    public boolean isProductAddedToCart(long itemId, long startDate, long endDate) throws org.apache.thrift.TException;
-
 
296
 
288
  }
297
  }
289
 
298
 
290
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
299
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
291
 
300
 
292
    public void createAnonymousUser(String jsessionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createAnonymousUser_call> resultHandler) throws org.apache.thrift.TException;
301
    public void createAnonymousUser(String jsessionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createAnonymousUser_call> resultHandler) throws org.apache.thrift.TException;
Line 421... Line 430...
421
 
430
 
422
    public void showCODOption(long cartId, long sourceId, String pincode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.showCODOption_call> resultHandler) throws org.apache.thrift.TException;
431
    public void showCODOption(long cartId, long sourceId, String pincode, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.showCODOption_call> resultHandler) throws org.apache.thrift.TException;
423
 
432
 
424
    public void getUserEmails(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserEmails_call> resultHandler) throws org.apache.thrift.TException;
433
    public void getUserEmails(long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserEmails_call> resultHandler) throws org.apache.thrift.TException;
425
 
434
 
-
 
435
    public void isProductAddedToCart(long itemId, long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.isProductAddedToCart_call> resultHandler) throws org.apache.thrift.TException;
-
 
436
 
426
  }
437
  }
427
 
438
 
428
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
439
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
429
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
440
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
430
      public Factory() {}
441
      public Factory() {}
Line 2171... Line 2182...
2171
        return result.success;
2182
        return result.success;
2172
      }
2183
      }
2173
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserEmails failed: unknown result");
2184
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserEmails failed: unknown result");
2174
    }
2185
    }
2175
 
2186
 
-
 
2187
    public boolean isProductAddedToCart(long itemId, long startDate, long endDate) throws org.apache.thrift.TException
-
 
2188
    {
-
 
2189
      send_isProductAddedToCart(itemId, startDate, endDate);
-
 
2190
      return recv_isProductAddedToCart();
-
 
2191
    }
-
 
2192
 
-
 
2193
    public void send_isProductAddedToCart(long itemId, long startDate, long endDate) throws org.apache.thrift.TException
-
 
2194
    {
-
 
2195
      isProductAddedToCart_args args = new isProductAddedToCart_args();
-
 
2196
      args.setItemId(itemId);
-
 
2197
      args.setStartDate(startDate);
-
 
2198
      args.setEndDate(endDate);
-
 
2199
      sendBase("isProductAddedToCart", args);
-
 
2200
    }
-
 
2201
 
-
 
2202
    public boolean recv_isProductAddedToCart() throws org.apache.thrift.TException
-
 
2203
    {
-
 
2204
      isProductAddedToCart_result result = new isProductAddedToCart_result();
-
 
2205
      receiveBase(result, "isProductAddedToCart");
-
 
2206
      if (result.isSetSuccess()) {
-
 
2207
        return result.success;
-
 
2208
      }
-
 
2209
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isProductAddedToCart failed: unknown result");
-
 
2210
    }
-
 
2211
 
2176
  }
2212
  }
2177
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2213
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2178
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2214
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2179
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2215
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2180
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
2216
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 4503... Line 4539...
4503
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4539
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4504
        return (new Client(prot)).recv_getUserEmails();
4540
        return (new Client(prot)).recv_getUserEmails();
4505
      }
4541
      }
4506
    }
4542
    }
4507
 
4543
 
-
 
4544
    public void isProductAddedToCart(long itemId, long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<isProductAddedToCart_call> resultHandler) throws org.apache.thrift.TException {
-
 
4545
      checkReady();
-
 
4546
      isProductAddedToCart_call method_call = new isProductAddedToCart_call(itemId, startDate, endDate, resultHandler, this, ___protocolFactory, ___transport);
-
 
4547
      this.___currentMethod = method_call;
-
 
4548
      ___manager.call(method_call);
-
 
4549
    }
-
 
4550
 
-
 
4551
    public static class isProductAddedToCart_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4552
      private long itemId;
-
 
4553
      private long startDate;
-
 
4554
      private long endDate;
-
 
4555
      public isProductAddedToCart_call(long itemId, long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<isProductAddedToCart_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 {
-
 
4556
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4557
        this.itemId = itemId;
-
 
4558
        this.startDate = startDate;
-
 
4559
        this.endDate = endDate;
-
 
4560
      }
-
 
4561
 
-
 
4562
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4563
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("isProductAddedToCart", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4564
        isProductAddedToCart_args args = new isProductAddedToCart_args();
-
 
4565
        args.setItemId(itemId);
-
 
4566
        args.setStartDate(startDate);
-
 
4567
        args.setEndDate(endDate);
-
 
4568
        args.write(prot);
-
 
4569
        prot.writeMessageEnd();
-
 
4570
      }
-
 
4571
 
-
 
4572
      public boolean getResult() throws org.apache.thrift.TException {
-
 
4573
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4574
          throw new IllegalStateException("Method call not finished!");
-
 
4575
        }
-
 
4576
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4577
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4578
        return (new Client(prot)).recv_isProductAddedToCart();
-
 
4579
      }
-
 
4580
    }
-
 
4581
 
4508
  }
4582
  }
4509
 
4583
 
4510
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
4584
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
4511
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
4585
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
4512
    public Processor(I iface) {
4586
    public Processor(I iface) {
Line 4583... Line 4657...
4583
      processMap.put("getCartsWithCouponCount", new getCartsWithCouponCount());
4657
      processMap.put("getCartsWithCouponCount", new getCartsWithCouponCount());
4584
      processMap.put("increaseTrustLevel", new increaseTrustLevel());
4658
      processMap.put("increaseTrustLevel", new increaseTrustLevel());
4585
      processMap.put("getTrustLevel", new getTrustLevel());
4659
      processMap.put("getTrustLevel", new getTrustLevel());
4586
      processMap.put("showCODOption", new showCODOption());
4660
      processMap.put("showCODOption", new showCODOption());
4587
      processMap.put("getUserEmails", new getUserEmails());
4661
      processMap.put("getUserEmails", new getUserEmails());
-
 
4662
      processMap.put("isProductAddedToCart", new isProductAddedToCart());
4588
      return processMap;
4663
      return processMap;
4589
    }
4664
    }
4590
 
4665
 
4591
    private static class createAnonymousUser<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createAnonymousUser_args> {
4666
    private static class createAnonymousUser<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createAnonymousUser_args> {
4592
      public createAnonymousUser() {
4667
      public createAnonymousUser() {
Line 5908... Line 5983...
5908
        result.success = iface.getUserEmails(args.startDate, args.endDate);
5983
        result.success = iface.getUserEmails(args.startDate, args.endDate);
5909
        return result;
5984
        return result;
5910
      }
5985
      }
5911
    }
5986
    }
5912
 
5987
 
-
 
5988
    private static class isProductAddedToCart<I extends Iface> extends org.apache.thrift.ProcessFunction<I, isProductAddedToCart_args> {
-
 
5989
      public isProductAddedToCart() {
-
 
5990
        super("isProductAddedToCart");
-
 
5991
      }
-
 
5992
 
-
 
5993
      protected isProductAddedToCart_args getEmptyArgsInstance() {
-
 
5994
        return new isProductAddedToCart_args();
-
 
5995
      }
-
 
5996
 
-
 
5997
      protected isProductAddedToCart_result getResult(I iface, isProductAddedToCart_args args) throws org.apache.thrift.TException {
-
 
5998
        isProductAddedToCart_result result = new isProductAddedToCart_result();
-
 
5999
        result.success = iface.isProductAddedToCart(args.itemId, args.startDate, args.endDate);
-
 
6000
        result.setSuccessIsSet(true);
-
 
6001
        return result;
-
 
6002
      }
-
 
6003
    }
-
 
6004
 
5913
  }
6005
  }
5914
 
6006
 
5915
  public static class createAnonymousUser_args implements org.apache.thrift.TBase<createAnonymousUser_args, createAnonymousUser_args._Fields>, java.io.Serializable, Cloneable   {
6007
  public static class createAnonymousUser_args implements org.apache.thrift.TBase<createAnonymousUser_args, createAnonymousUser_args._Fields>, java.io.Serializable, Cloneable   {
5916
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createAnonymousUser_args");
6008
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createAnonymousUser_args");
5917
 
6009
 
Line 54559... Line 54651...
54559
      first = false;
54651
      first = false;
54560
      sb.append(")");
54652
      sb.append(")");
54561
      return sb.toString();
54653
      return sb.toString();
54562
    }
54654
    }
54563
 
54655
 
-
 
54656
    public void validate() throws org.apache.thrift.TException {
-
 
54657
      // check for required fields
-
 
54658
    }
-
 
54659
 
-
 
54660
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
54661
      try {
-
 
54662
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
54663
      } catch (org.apache.thrift.TException te) {
-
 
54664
        throw new java.io.IOException(te);
-
 
54665
      }
-
 
54666
    }
-
 
54667
 
-
 
54668
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
54669
      try {
-
 
54670
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
54671
      } catch (org.apache.thrift.TException te) {
-
 
54672
        throw new java.io.IOException(te);
-
 
54673
      }
-
 
54674
    }
-
 
54675
 
-
 
54676
  }
-
 
54677
 
-
 
54678
  public static class isProductAddedToCart_args implements org.apache.thrift.TBase<isProductAddedToCart_args, isProductAddedToCart_args._Fields>, java.io.Serializable, Cloneable   {
-
 
54679
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isProductAddedToCart_args");
-
 
54680
 
-
 
54681
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
54682
    private static final org.apache.thrift.protocol.TField START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("startDate", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
54683
    private static final org.apache.thrift.protocol.TField END_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("endDate", org.apache.thrift.protocol.TType.I64, (short)3);
-
 
54684
 
-
 
54685
    private long itemId; // required
-
 
54686
    private long startDate; // required
-
 
54687
    private long endDate; // required
-
 
54688
 
-
 
54689
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
54690
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
54691
      ITEM_ID((short)1, "itemId"),
-
 
54692
      START_DATE((short)2, "startDate"),
-
 
54693
      END_DATE((short)3, "endDate");
-
 
54694
 
-
 
54695
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
54696
 
-
 
54697
      static {
-
 
54698
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
54699
          byName.put(field.getFieldName(), field);
-
 
54700
        }
-
 
54701
      }
-
 
54702
 
-
 
54703
      /**
-
 
54704
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
54705
       */
-
 
54706
      public static _Fields findByThriftId(int fieldId) {
-
 
54707
        switch(fieldId) {
-
 
54708
          case 1: // ITEM_ID
-
 
54709
            return ITEM_ID;
-
 
54710
          case 2: // START_DATE
-
 
54711
            return START_DATE;
-
 
54712
          case 3: // END_DATE
-
 
54713
            return END_DATE;
-
 
54714
          default:
-
 
54715
            return null;
-
 
54716
        }
-
 
54717
      }
-
 
54718
 
-
 
54719
      /**
-
 
54720
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
54721
       * if it is not found.
-
 
54722
       */
-
 
54723
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
54724
        _Fields fields = findByThriftId(fieldId);
-
 
54725
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
54726
        return fields;
-
 
54727
      }
-
 
54728
 
-
 
54729
      /**
-
 
54730
       * Find the _Fields constant that matches name, or null if its not found.
-
 
54731
       */
-
 
54732
      public static _Fields findByName(String name) {
-
 
54733
        return byName.get(name);
-
 
54734
      }
-
 
54735
 
-
 
54736
      private final short _thriftId;
-
 
54737
      private final String _fieldName;
-
 
54738
 
-
 
54739
      _Fields(short thriftId, String fieldName) {
-
 
54740
        _thriftId = thriftId;
-
 
54741
        _fieldName = fieldName;
-
 
54742
      }
-
 
54743
 
-
 
54744
      public short getThriftFieldId() {
-
 
54745
        return _thriftId;
-
 
54746
      }
-
 
54747
 
-
 
54748
      public String getFieldName() {
-
 
54749
        return _fieldName;
-
 
54750
      }
-
 
54751
    }
-
 
54752
 
-
 
54753
    // isset id assignments
-
 
54754
    private static final int __ITEMID_ISSET_ID = 0;
-
 
54755
    private static final int __STARTDATE_ISSET_ID = 1;
-
 
54756
    private static final int __ENDDATE_ISSET_ID = 2;
-
 
54757
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
54758
 
-
 
54759
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
54760
    static {
-
 
54761
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
54762
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
54763
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
54764
      tmpMap.put(_Fields.START_DATE, new org.apache.thrift.meta_data.FieldMetaData("startDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
54765
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
54766
      tmpMap.put(_Fields.END_DATE, new org.apache.thrift.meta_data.FieldMetaData("endDate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
54767
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
54768
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
54769
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isProductAddedToCart_args.class, metaDataMap);
-
 
54770
    }
-
 
54771
 
-
 
54772
    public isProductAddedToCart_args() {
-
 
54773
    }
-
 
54774
 
-
 
54775
    public isProductAddedToCart_args(
-
 
54776
      long itemId,
-
 
54777
      long startDate,
-
 
54778
      long endDate)
-
 
54779
    {
-
 
54780
      this();
-
 
54781
      this.itemId = itemId;
-
 
54782
      setItemIdIsSet(true);
-
 
54783
      this.startDate = startDate;
-
 
54784
      setStartDateIsSet(true);
-
 
54785
      this.endDate = endDate;
-
 
54786
      setEndDateIsSet(true);
-
 
54787
    }
-
 
54788
 
-
 
54789
    /**
-
 
54790
     * Performs a deep copy on <i>other</i>.
-
 
54791
     */
-
 
54792
    public isProductAddedToCart_args(isProductAddedToCart_args other) {
-
 
54793
      __isset_bit_vector.clear();
-
 
54794
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
54795
      this.itemId = other.itemId;
-
 
54796
      this.startDate = other.startDate;
-
 
54797
      this.endDate = other.endDate;
-
 
54798
    }
-
 
54799
 
-
 
54800
    public isProductAddedToCart_args deepCopy() {
-
 
54801
      return new isProductAddedToCart_args(this);
-
 
54802
    }
-
 
54803
 
-
 
54804
    @Override
-
 
54805
    public void clear() {
-
 
54806
      setItemIdIsSet(false);
-
 
54807
      this.itemId = 0;
-
 
54808
      setStartDateIsSet(false);
-
 
54809
      this.startDate = 0;
-
 
54810
      setEndDateIsSet(false);
-
 
54811
      this.endDate = 0;
-
 
54812
    }
-
 
54813
 
-
 
54814
    public long getItemId() {
-
 
54815
      return this.itemId;
-
 
54816
    }
-
 
54817
 
-
 
54818
    public void setItemId(long itemId) {
-
 
54819
      this.itemId = itemId;
-
 
54820
      setItemIdIsSet(true);
-
 
54821
    }
-
 
54822
 
-
 
54823
    public void unsetItemId() {
-
 
54824
      __isset_bit_vector.clear(__ITEMID_ISSET_ID);
-
 
54825
    }
-
 
54826
 
-
 
54827
    /** Returns true if field itemId is set (has been assigned a value) and false otherwise */
-
 
54828
    public boolean isSetItemId() {
-
 
54829
      return __isset_bit_vector.get(__ITEMID_ISSET_ID);
-
 
54830
    }
-
 
54831
 
-
 
54832
    public void setItemIdIsSet(boolean value) {
-
 
54833
      __isset_bit_vector.set(__ITEMID_ISSET_ID, value);
-
 
54834
    }
-
 
54835
 
-
 
54836
    public long getStartDate() {
-
 
54837
      return this.startDate;
-
 
54838
    }
-
 
54839
 
-
 
54840
    public void setStartDate(long startDate) {
-
 
54841
      this.startDate = startDate;
-
 
54842
      setStartDateIsSet(true);
-
 
54843
    }
-
 
54844
 
-
 
54845
    public void unsetStartDate() {
-
 
54846
      __isset_bit_vector.clear(__STARTDATE_ISSET_ID);
-
 
54847
    }
-
 
54848
 
-
 
54849
    /** Returns true if field startDate is set (has been assigned a value) and false otherwise */
-
 
54850
    public boolean isSetStartDate() {
-
 
54851
      return __isset_bit_vector.get(__STARTDATE_ISSET_ID);
-
 
54852
    }
-
 
54853
 
-
 
54854
    public void setStartDateIsSet(boolean value) {
-
 
54855
      __isset_bit_vector.set(__STARTDATE_ISSET_ID, value);
-
 
54856
    }
-
 
54857
 
-
 
54858
    public long getEndDate() {
-
 
54859
      return this.endDate;
-
 
54860
    }
-
 
54861
 
-
 
54862
    public void setEndDate(long endDate) {
-
 
54863
      this.endDate = endDate;
-
 
54864
      setEndDateIsSet(true);
-
 
54865
    }
-
 
54866
 
-
 
54867
    public void unsetEndDate() {
-
 
54868
      __isset_bit_vector.clear(__ENDDATE_ISSET_ID);
-
 
54869
    }
-
 
54870
 
-
 
54871
    /** Returns true if field endDate is set (has been assigned a value) and false otherwise */
-
 
54872
    public boolean isSetEndDate() {
-
 
54873
      return __isset_bit_vector.get(__ENDDATE_ISSET_ID);
-
 
54874
    }
-
 
54875
 
-
 
54876
    public void setEndDateIsSet(boolean value) {
-
 
54877
      __isset_bit_vector.set(__ENDDATE_ISSET_ID, value);
-
 
54878
    }
-
 
54879
 
-
 
54880
    public void setFieldValue(_Fields field, Object value) {
-
 
54881
      switch (field) {
-
 
54882
      case ITEM_ID:
-
 
54883
        if (value == null) {
-
 
54884
          unsetItemId();
-
 
54885
        } else {
-
 
54886
          setItemId((Long)value);
-
 
54887
        }
-
 
54888
        break;
-
 
54889
 
-
 
54890
      case START_DATE:
-
 
54891
        if (value == null) {
-
 
54892
          unsetStartDate();
-
 
54893
        } else {
-
 
54894
          setStartDate((Long)value);
-
 
54895
        }
-
 
54896
        break;
-
 
54897
 
-
 
54898
      case END_DATE:
-
 
54899
        if (value == null) {
-
 
54900
          unsetEndDate();
-
 
54901
        } else {
-
 
54902
          setEndDate((Long)value);
-
 
54903
        }
-
 
54904
        break;
-
 
54905
 
-
 
54906
      }
-
 
54907
    }
-
 
54908
 
-
 
54909
    public Object getFieldValue(_Fields field) {
-
 
54910
      switch (field) {
-
 
54911
      case ITEM_ID:
-
 
54912
        return Long.valueOf(getItemId());
-
 
54913
 
-
 
54914
      case START_DATE:
-
 
54915
        return Long.valueOf(getStartDate());
-
 
54916
 
-
 
54917
      case END_DATE:
-
 
54918
        return Long.valueOf(getEndDate());
-
 
54919
 
-
 
54920
      }
-
 
54921
      throw new IllegalStateException();
-
 
54922
    }
-
 
54923
 
-
 
54924
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
54925
    public boolean isSet(_Fields field) {
-
 
54926
      if (field == null) {
-
 
54927
        throw new IllegalArgumentException();
-
 
54928
      }
-
 
54929
 
-
 
54930
      switch (field) {
-
 
54931
      case ITEM_ID:
-
 
54932
        return isSetItemId();
-
 
54933
      case START_DATE:
-
 
54934
        return isSetStartDate();
-
 
54935
      case END_DATE:
-
 
54936
        return isSetEndDate();
-
 
54937
      }
-
 
54938
      throw new IllegalStateException();
-
 
54939
    }
-
 
54940
 
-
 
54941
    @Override
-
 
54942
    public boolean equals(Object that) {
-
 
54943
      if (that == null)
-
 
54944
        return false;
-
 
54945
      if (that instanceof isProductAddedToCart_args)
-
 
54946
        return this.equals((isProductAddedToCart_args)that);
-
 
54947
      return false;
-
 
54948
    }
-
 
54949
 
-
 
54950
    public boolean equals(isProductAddedToCart_args that) {
-
 
54951
      if (that == null)
-
 
54952
        return false;
-
 
54953
 
-
 
54954
      boolean this_present_itemId = true;
-
 
54955
      boolean that_present_itemId = true;
-
 
54956
      if (this_present_itemId || that_present_itemId) {
-
 
54957
        if (!(this_present_itemId && that_present_itemId))
-
 
54958
          return false;
-
 
54959
        if (this.itemId != that.itemId)
-
 
54960
          return false;
-
 
54961
      }
-
 
54962
 
-
 
54963
      boolean this_present_startDate = true;
-
 
54964
      boolean that_present_startDate = true;
-
 
54965
      if (this_present_startDate || that_present_startDate) {
-
 
54966
        if (!(this_present_startDate && that_present_startDate))
-
 
54967
          return false;
-
 
54968
        if (this.startDate != that.startDate)
-
 
54969
          return false;
-
 
54970
      }
-
 
54971
 
-
 
54972
      boolean this_present_endDate = true;
-
 
54973
      boolean that_present_endDate = true;
-
 
54974
      if (this_present_endDate || that_present_endDate) {
-
 
54975
        if (!(this_present_endDate && that_present_endDate))
-
 
54976
          return false;
-
 
54977
        if (this.endDate != that.endDate)
-
 
54978
          return false;
-
 
54979
      }
-
 
54980
 
-
 
54981
      return true;
-
 
54982
    }
-
 
54983
 
-
 
54984
    @Override
-
 
54985
    public int hashCode() {
-
 
54986
      return 0;
-
 
54987
    }
-
 
54988
 
-
 
54989
    public int compareTo(isProductAddedToCart_args other) {
-
 
54990
      if (!getClass().equals(other.getClass())) {
-
 
54991
        return getClass().getName().compareTo(other.getClass().getName());
-
 
54992
      }
-
 
54993
 
-
 
54994
      int lastComparison = 0;
-
 
54995
      isProductAddedToCart_args typedOther = (isProductAddedToCart_args)other;
-
 
54996
 
-
 
54997
      lastComparison = Boolean.valueOf(isSetItemId()).compareTo(typedOther.isSetItemId());
-
 
54998
      if (lastComparison != 0) {
-
 
54999
        return lastComparison;
-
 
55000
      }
-
 
55001
      if (isSetItemId()) {
-
 
55002
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
-
 
55003
        if (lastComparison != 0) {
-
 
55004
          return lastComparison;
-
 
55005
        }
-
 
55006
      }
-
 
55007
      lastComparison = Boolean.valueOf(isSetStartDate()).compareTo(typedOther.isSetStartDate());
-
 
55008
      if (lastComparison != 0) {
-
 
55009
        return lastComparison;
-
 
55010
      }
-
 
55011
      if (isSetStartDate()) {
-
 
55012
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startDate, typedOther.startDate);
-
 
55013
        if (lastComparison != 0) {
-
 
55014
          return lastComparison;
-
 
55015
        }
-
 
55016
      }
-
 
55017
      lastComparison = Boolean.valueOf(isSetEndDate()).compareTo(typedOther.isSetEndDate());
-
 
55018
      if (lastComparison != 0) {
-
 
55019
        return lastComparison;
-
 
55020
      }
-
 
55021
      if (isSetEndDate()) {
-
 
55022
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endDate, typedOther.endDate);
-
 
55023
        if (lastComparison != 0) {
-
 
55024
          return lastComparison;
-
 
55025
        }
-
 
55026
      }
-
 
55027
      return 0;
-
 
55028
    }
-
 
55029
 
-
 
55030
    public _Fields fieldForId(int fieldId) {
-
 
55031
      return _Fields.findByThriftId(fieldId);
-
 
55032
    }
-
 
55033
 
-
 
55034
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
55035
      org.apache.thrift.protocol.TField field;
-
 
55036
      iprot.readStructBegin();
-
 
55037
      while (true)
-
 
55038
      {
-
 
55039
        field = iprot.readFieldBegin();
-
 
55040
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
55041
          break;
-
 
55042
        }
-
 
55043
        switch (field.id) {
-
 
55044
          case 1: // ITEM_ID
-
 
55045
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
55046
              this.itemId = iprot.readI64();
-
 
55047
              setItemIdIsSet(true);
-
 
55048
            } else { 
-
 
55049
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
55050
            }
-
 
55051
            break;
-
 
55052
          case 2: // START_DATE
-
 
55053
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
55054
              this.startDate = iprot.readI64();
-
 
55055
              setStartDateIsSet(true);
-
 
55056
            } else { 
-
 
55057
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
55058
            }
-
 
55059
            break;
-
 
55060
          case 3: // END_DATE
-
 
55061
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
55062
              this.endDate = iprot.readI64();
-
 
55063
              setEndDateIsSet(true);
-
 
55064
            } else { 
-
 
55065
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
55066
            }
-
 
55067
            break;
-
 
55068
          default:
-
 
55069
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
55070
        }
-
 
55071
        iprot.readFieldEnd();
-
 
55072
      }
-
 
55073
      iprot.readStructEnd();
-
 
55074
      validate();
-
 
55075
    }
-
 
55076
 
-
 
55077
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
55078
      validate();
-
 
55079
 
-
 
55080
      oprot.writeStructBegin(STRUCT_DESC);
-
 
55081
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
55082
      oprot.writeI64(this.itemId);
-
 
55083
      oprot.writeFieldEnd();
-
 
55084
      oprot.writeFieldBegin(START_DATE_FIELD_DESC);
-
 
55085
      oprot.writeI64(this.startDate);
-
 
55086
      oprot.writeFieldEnd();
-
 
55087
      oprot.writeFieldBegin(END_DATE_FIELD_DESC);
-
 
55088
      oprot.writeI64(this.endDate);
-
 
55089
      oprot.writeFieldEnd();
-
 
55090
      oprot.writeFieldStop();
-
 
55091
      oprot.writeStructEnd();
-
 
55092
    }
-
 
55093
 
-
 
55094
    @Override
-
 
55095
    public String toString() {
-
 
55096
      StringBuilder sb = new StringBuilder("isProductAddedToCart_args(");
-
 
55097
      boolean first = true;
-
 
55098
 
-
 
55099
      sb.append("itemId:");
-
 
55100
      sb.append(this.itemId);
-
 
55101
      first = false;
-
 
55102
      if (!first) sb.append(", ");
-
 
55103
      sb.append("startDate:");
-
 
55104
      sb.append(this.startDate);
-
 
55105
      first = false;
-
 
55106
      if (!first) sb.append(", ");
-
 
55107
      sb.append("endDate:");
-
 
55108
      sb.append(this.endDate);
-
 
55109
      first = false;
-
 
55110
      sb.append(")");
-
 
55111
      return sb.toString();
-
 
55112
    }
-
 
55113
 
-
 
55114
    public void validate() throws org.apache.thrift.TException {
-
 
55115
      // check for required fields
-
 
55116
    }
-
 
55117
 
-
 
55118
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
55119
      try {
-
 
55120
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
55121
      } catch (org.apache.thrift.TException te) {
-
 
55122
        throw new java.io.IOException(te);
-
 
55123
      }
-
 
55124
    }
-
 
55125
 
-
 
55126
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
55127
      try {
-
 
55128
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
55129
        __isset_bit_vector = new BitSet(1);
-
 
55130
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
55131
      } catch (org.apache.thrift.TException te) {
-
 
55132
        throw new java.io.IOException(te);
-
 
55133
      }
-
 
55134
    }
-
 
55135
 
-
 
55136
  }
-
 
55137
 
-
 
55138
  public static class isProductAddedToCart_result implements org.apache.thrift.TBase<isProductAddedToCart_result, isProductAddedToCart_result._Fields>, java.io.Serializable, Cloneable   {
-
 
55139
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isProductAddedToCart_result");
-
 
55140
 
-
 
55141
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
55142
 
-
 
55143
    private boolean success; // required
-
 
55144
 
-
 
55145
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
55146
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
55147
      SUCCESS((short)0, "success");
-
 
55148
 
-
 
55149
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
55150
 
-
 
55151
      static {
-
 
55152
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
55153
          byName.put(field.getFieldName(), field);
-
 
55154
        }
-
 
55155
      }
-
 
55156
 
-
 
55157
      /**
-
 
55158
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
55159
       */
-
 
55160
      public static _Fields findByThriftId(int fieldId) {
-
 
55161
        switch(fieldId) {
-
 
55162
          case 0: // SUCCESS
-
 
55163
            return SUCCESS;
-
 
55164
          default:
-
 
55165
            return null;
-
 
55166
        }
-
 
55167
      }
-
 
55168
 
-
 
55169
      /**
-
 
55170
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
55171
       * if it is not found.
-
 
55172
       */
-
 
55173
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
55174
        _Fields fields = findByThriftId(fieldId);
-
 
55175
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
55176
        return fields;
-
 
55177
      }
-
 
55178
 
-
 
55179
      /**
-
 
55180
       * Find the _Fields constant that matches name, or null if its not found.
-
 
55181
       */
-
 
55182
      public static _Fields findByName(String name) {
-
 
55183
        return byName.get(name);
-
 
55184
      }
-
 
55185
 
-
 
55186
      private final short _thriftId;
-
 
55187
      private final String _fieldName;
-
 
55188
 
-
 
55189
      _Fields(short thriftId, String fieldName) {
-
 
55190
        _thriftId = thriftId;
-
 
55191
        _fieldName = fieldName;
-
 
55192
      }
-
 
55193
 
-
 
55194
      public short getThriftFieldId() {
-
 
55195
        return _thriftId;
-
 
55196
      }
-
 
55197
 
-
 
55198
      public String getFieldName() {
-
 
55199
        return _fieldName;
-
 
55200
      }
-
 
55201
    }
-
 
55202
 
-
 
55203
    // isset id assignments
-
 
55204
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
55205
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
55206
 
-
 
55207
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
55208
    static {
-
 
55209
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
55210
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
55211
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
55212
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
55213
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isProductAddedToCart_result.class, metaDataMap);
-
 
55214
    }
-
 
55215
 
-
 
55216
    public isProductAddedToCart_result() {
-
 
55217
    }
-
 
55218
 
-
 
55219
    public isProductAddedToCart_result(
-
 
55220
      boolean success)
-
 
55221
    {
-
 
55222
      this();
-
 
55223
      this.success = success;
-
 
55224
      setSuccessIsSet(true);
-
 
55225
    }
-
 
55226
 
-
 
55227
    /**
-
 
55228
     * Performs a deep copy on <i>other</i>.
-
 
55229
     */
-
 
55230
    public isProductAddedToCart_result(isProductAddedToCart_result other) {
-
 
55231
      __isset_bit_vector.clear();
-
 
55232
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
55233
      this.success = other.success;
-
 
55234
    }
-
 
55235
 
-
 
55236
    public isProductAddedToCart_result deepCopy() {
-
 
55237
      return new isProductAddedToCart_result(this);
-
 
55238
    }
-
 
55239
 
-
 
55240
    @Override
-
 
55241
    public void clear() {
-
 
55242
      setSuccessIsSet(false);
-
 
55243
      this.success = false;
-
 
55244
    }
-
 
55245
 
-
 
55246
    public boolean isSuccess() {
-
 
55247
      return this.success;
-
 
55248
    }
-
 
55249
 
-
 
55250
    public void setSuccess(boolean success) {
-
 
55251
      this.success = success;
-
 
55252
      setSuccessIsSet(true);
-
 
55253
    }
-
 
55254
 
-
 
55255
    public void unsetSuccess() {
-
 
55256
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
55257
    }
-
 
55258
 
-
 
55259
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
55260
    public boolean isSetSuccess() {
-
 
55261
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
55262
    }
-
 
55263
 
-
 
55264
    public void setSuccessIsSet(boolean value) {
-
 
55265
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
55266
    }
-
 
55267
 
-
 
55268
    public void setFieldValue(_Fields field, Object value) {
-
 
55269
      switch (field) {
-
 
55270
      case SUCCESS:
-
 
55271
        if (value == null) {
-
 
55272
          unsetSuccess();
-
 
55273
        } else {
-
 
55274
          setSuccess((Boolean)value);
-
 
55275
        }
-
 
55276
        break;
-
 
55277
 
-
 
55278
      }
-
 
55279
    }
-
 
55280
 
-
 
55281
    public Object getFieldValue(_Fields field) {
-
 
55282
      switch (field) {
-
 
55283
      case SUCCESS:
-
 
55284
        return Boolean.valueOf(isSuccess());
-
 
55285
 
-
 
55286
      }
-
 
55287
      throw new IllegalStateException();
-
 
55288
    }
-
 
55289
 
-
 
55290
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
55291
    public boolean isSet(_Fields field) {
-
 
55292
      if (field == null) {
-
 
55293
        throw new IllegalArgumentException();
-
 
55294
      }
-
 
55295
 
-
 
55296
      switch (field) {
-
 
55297
      case SUCCESS:
-
 
55298
        return isSetSuccess();
-
 
55299
      }
-
 
55300
      throw new IllegalStateException();
-
 
55301
    }
-
 
55302
 
-
 
55303
    @Override
-
 
55304
    public boolean equals(Object that) {
-
 
55305
      if (that == null)
-
 
55306
        return false;
-
 
55307
      if (that instanceof isProductAddedToCart_result)
-
 
55308
        return this.equals((isProductAddedToCart_result)that);
-
 
55309
      return false;
-
 
55310
    }
-
 
55311
 
-
 
55312
    public boolean equals(isProductAddedToCart_result that) {
-
 
55313
      if (that == null)
-
 
55314
        return false;
-
 
55315
 
-
 
55316
      boolean this_present_success = true;
-
 
55317
      boolean that_present_success = true;
-
 
55318
      if (this_present_success || that_present_success) {
-
 
55319
        if (!(this_present_success && that_present_success))
-
 
55320
          return false;
-
 
55321
        if (this.success != that.success)
-
 
55322
          return false;
-
 
55323
      }
-
 
55324
 
-
 
55325
      return true;
-
 
55326
    }
-
 
55327
 
-
 
55328
    @Override
-
 
55329
    public int hashCode() {
-
 
55330
      return 0;
-
 
55331
    }
-
 
55332
 
-
 
55333
    public int compareTo(isProductAddedToCart_result other) {
-
 
55334
      if (!getClass().equals(other.getClass())) {
-
 
55335
        return getClass().getName().compareTo(other.getClass().getName());
-
 
55336
      }
-
 
55337
 
-
 
55338
      int lastComparison = 0;
-
 
55339
      isProductAddedToCart_result typedOther = (isProductAddedToCart_result)other;
-
 
55340
 
-
 
55341
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
55342
      if (lastComparison != 0) {
-
 
55343
        return lastComparison;
-
 
55344
      }
-
 
55345
      if (isSetSuccess()) {
-
 
55346
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
55347
        if (lastComparison != 0) {
-
 
55348
          return lastComparison;
-
 
55349
        }
-
 
55350
      }
-
 
55351
      return 0;
-
 
55352
    }
-
 
55353
 
-
 
55354
    public _Fields fieldForId(int fieldId) {
-
 
55355
      return _Fields.findByThriftId(fieldId);
-
 
55356
    }
-
 
55357
 
-
 
55358
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
55359
      org.apache.thrift.protocol.TField field;
-
 
55360
      iprot.readStructBegin();
-
 
55361
      while (true)
-
 
55362
      {
-
 
55363
        field = iprot.readFieldBegin();
-
 
55364
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
55365
          break;
-
 
55366
        }
-
 
55367
        switch (field.id) {
-
 
55368
          case 0: // SUCCESS
-
 
55369
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
55370
              this.success = iprot.readBool();
-
 
55371
              setSuccessIsSet(true);
-
 
55372
            } else { 
-
 
55373
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
55374
            }
-
 
55375
            break;
-
 
55376
          default:
-
 
55377
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
55378
        }
-
 
55379
        iprot.readFieldEnd();
-
 
55380
      }
-
 
55381
      iprot.readStructEnd();
-
 
55382
      validate();
-
 
55383
    }
-
 
55384
 
-
 
55385
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
55386
      oprot.writeStructBegin(STRUCT_DESC);
-
 
55387
 
-
 
55388
      if (this.isSetSuccess()) {
-
 
55389
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
55390
        oprot.writeBool(this.success);
-
 
55391
        oprot.writeFieldEnd();
-
 
55392
      }
-
 
55393
      oprot.writeFieldStop();
-
 
55394
      oprot.writeStructEnd();
-
 
55395
    }
-
 
55396
 
-
 
55397
    @Override
-
 
55398
    public String toString() {
-
 
55399
      StringBuilder sb = new StringBuilder("isProductAddedToCart_result(");
-
 
55400
      boolean first = true;
-
 
55401
 
-
 
55402
      sb.append("success:");
-
 
55403
      sb.append(this.success);
-
 
55404
      first = false;
-
 
55405
      sb.append(")");
-
 
55406
      return sb.toString();
-
 
55407
    }
-
 
55408
 
54564
    public void validate() throws org.apache.thrift.TException {
55409
    public void validate() throws org.apache.thrift.TException {
54565
      // check for required fields
55410
      // check for required fields
54566
    }
55411
    }
54567
 
55412
 
54568
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
55413
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {