Subversion Repositories SmartDukaan

Rev

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

Rev 3986 Rev 4008
Line 460... Line 460...
460
     * @param xferTxnId
460
     * @param xferTxnId
461
     * @param xferDate
461
     * @param xferDate
462
     */
462
     */
463
    public Map<String,String> reconcileCodCollection(Map<String,Double> collectedAmountMap, String xferBy, String xferTxnId, long xferDate) throws TransactionServiceException, org.apache.thrift.TException;
463
    public Map<String,String> reconcileCodCollection(Map<String,Double> collectedAmountMap, String xferBy, String xferTxnId, long xferDate) throws TransactionServiceException, org.apache.thrift.TException;
464
 
464
 
-
 
465
    /**
-
 
466
     * Returns the list of transactions that require some extra processing and
-
 
467
     * which belong to a particular category. This is currently used by CRM
-
 
468
     * application.
-
 
469
     * 
-
 
470
     * @param category
-
 
471
     */
-
 
472
    public List<Long> getTransactionsRequiringExtraProcessing(ExtraTransactionProcessingType category) throws org.apache.thrift.TException;
-
 
473
 
-
 
474
    /**
-
 
475
     * Marks a particular transaction as processed for a particular cateogory.
-
 
476
     * It essentially deletes the transaction if it is processed for a particular
-
 
477
     * category. This is currently used by CRM application.
-
 
478
     * 
-
 
479
     * @param transactionId
-
 
480
     * @param category
-
 
481
     */
-
 
482
    public void markTransactionAsProcessed(long transactionId, ExtraTransactionProcessingType category) throws org.apache.thrift.TException;
-
 
483
 
465
  }
484
  }
466
 
485
 
467
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
486
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
468
 
487
 
469
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
488
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 574... Line 593...
574
 
593
 
575
    public void addDelayReason(long orderId, DelayReason delayReason, long furtherDelay, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addDelayReason_call> resultHandler) throws org.apache.thrift.TException;
594
    public void addDelayReason(long orderId, DelayReason delayReason, long furtherDelay, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addDelayReason_call> resultHandler) throws org.apache.thrift.TException;
576
 
595
 
577
    public void reconcileCodCollection(Map<String,Double> collectedAmountMap, String xferBy, String xferTxnId, long xferDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.reconcileCodCollection_call> resultHandler) throws org.apache.thrift.TException;
596
    public void reconcileCodCollection(Map<String,Double> collectedAmountMap, String xferBy, String xferTxnId, long xferDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.reconcileCodCollection_call> resultHandler) throws org.apache.thrift.TException;
578
 
597
 
-
 
598
    public void getTransactionsRequiringExtraProcessing(ExtraTransactionProcessingType category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTransactionsRequiringExtraProcessing_call> resultHandler) throws org.apache.thrift.TException;
-
 
599
 
-
 
600
    public void markTransactionAsProcessed(long transactionId, ExtraTransactionProcessingType category, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markTransactionAsProcessed_call> resultHandler) throws org.apache.thrift.TException;
-
 
601
 
579
  }
602
  }
580
 
603
 
581
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
604
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
582
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
605
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
583
      public Factory() {}
606
      public Factory() {}
Line 2038... Line 2061...
2038
        throw result.ex;
2061
        throw result.ex;
2039
      }
2062
      }
2040
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "reconcileCodCollection failed: unknown result");
2063
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "reconcileCodCollection failed: unknown result");
2041
    }
2064
    }
2042
 
2065
 
-
 
2066
    public List<Long> getTransactionsRequiringExtraProcessing(ExtraTransactionProcessingType category) throws org.apache.thrift.TException
-
 
2067
    {
-
 
2068
      send_getTransactionsRequiringExtraProcessing(category);
-
 
2069
      return recv_getTransactionsRequiringExtraProcessing();
-
 
2070
    }
-
 
2071
 
-
 
2072
    public void send_getTransactionsRequiringExtraProcessing(ExtraTransactionProcessingType category) throws org.apache.thrift.TException
-
 
2073
    {
-
 
2074
      getTransactionsRequiringExtraProcessing_args args = new getTransactionsRequiringExtraProcessing_args();
-
 
2075
      args.setCategory(category);
-
 
2076
      sendBase("getTransactionsRequiringExtraProcessing", args);
-
 
2077
    }
-
 
2078
 
-
 
2079
    public List<Long> recv_getTransactionsRequiringExtraProcessing() throws org.apache.thrift.TException
-
 
2080
    {
-
 
2081
      getTransactionsRequiringExtraProcessing_result result = new getTransactionsRequiringExtraProcessing_result();
-
 
2082
      receiveBase(result, "getTransactionsRequiringExtraProcessing");
-
 
2083
      if (result.isSetSuccess()) {
-
 
2084
        return result.success;
-
 
2085
      }
-
 
2086
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTransactionsRequiringExtraProcessing failed: unknown result");
-
 
2087
    }
-
 
2088
 
-
 
2089
    public void markTransactionAsProcessed(long transactionId, ExtraTransactionProcessingType category) throws org.apache.thrift.TException
-
 
2090
    {
-
 
2091
      send_markTransactionAsProcessed(transactionId, category);
-
 
2092
      recv_markTransactionAsProcessed();
-
 
2093
    }
-
 
2094
 
-
 
2095
    public void send_markTransactionAsProcessed(long transactionId, ExtraTransactionProcessingType category) throws org.apache.thrift.TException
-
 
2096
    {
-
 
2097
      markTransactionAsProcessed_args args = new markTransactionAsProcessed_args();
-
 
2098
      args.setTransactionId(transactionId);
-
 
2099
      args.setCategory(category);
-
 
2100
      sendBase("markTransactionAsProcessed", args);
-
 
2101
    }
-
 
2102
 
-
 
2103
    public void recv_markTransactionAsProcessed() throws org.apache.thrift.TException
-
 
2104
    {
-
 
2105
      markTransactionAsProcessed_result result = new markTransactionAsProcessed_result();
-
 
2106
      receiveBase(result, "markTransactionAsProcessed");
-
 
2107
      return;
-
 
2108
    }
-
 
2109
 
2043
  }
2110
  }
2044
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2111
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
2045
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2112
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
2046
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2113
      private org.apache.thrift.async.TAsyncClientManager clientManager;
2047
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
2114
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 3978... Line 4045...
3978
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4045
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3979
        return (new Client(prot)).recv_reconcileCodCollection();
4046
        return (new Client(prot)).recv_reconcileCodCollection();
3980
      }
4047
      }
3981
    }
4048
    }
3982
 
4049
 
-
 
4050
    public void getTransactionsRequiringExtraProcessing(ExtraTransactionProcessingType category, org.apache.thrift.async.AsyncMethodCallback<getTransactionsRequiringExtraProcessing_call> resultHandler) throws org.apache.thrift.TException {
-
 
4051
      checkReady();
-
 
4052
      getTransactionsRequiringExtraProcessing_call method_call = new getTransactionsRequiringExtraProcessing_call(category, resultHandler, this, ___protocolFactory, ___transport);
-
 
4053
      this.___currentMethod = method_call;
-
 
4054
      ___manager.call(method_call);
-
 
4055
    }
-
 
4056
 
-
 
4057
    public static class getTransactionsRequiringExtraProcessing_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4058
      private ExtraTransactionProcessingType category;
-
 
4059
      public getTransactionsRequiringExtraProcessing_call(ExtraTransactionProcessingType category, org.apache.thrift.async.AsyncMethodCallback<getTransactionsRequiringExtraProcessing_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 {
-
 
4060
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4061
        this.category = category;
-
 
4062
      }
-
 
4063
 
-
 
4064
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4065
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTransactionsRequiringExtraProcessing", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4066
        getTransactionsRequiringExtraProcessing_args args = new getTransactionsRequiringExtraProcessing_args();
-
 
4067
        args.setCategory(category);
-
 
4068
        args.write(prot);
-
 
4069
        prot.writeMessageEnd();
-
 
4070
      }
-
 
4071
 
-
 
4072
      public List<Long> getResult() throws org.apache.thrift.TException {
-
 
4073
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4074
          throw new IllegalStateException("Method call not finished!");
-
 
4075
        }
-
 
4076
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4077
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4078
        return (new Client(prot)).recv_getTransactionsRequiringExtraProcessing();
-
 
4079
      }
-
 
4080
    }
-
 
4081
 
-
 
4082
    public void markTransactionAsProcessed(long transactionId, ExtraTransactionProcessingType category, org.apache.thrift.async.AsyncMethodCallback<markTransactionAsProcessed_call> resultHandler) throws org.apache.thrift.TException {
-
 
4083
      checkReady();
-
 
4084
      markTransactionAsProcessed_call method_call = new markTransactionAsProcessed_call(transactionId, category, resultHandler, this, ___protocolFactory, ___transport);
-
 
4085
      this.___currentMethod = method_call;
-
 
4086
      ___manager.call(method_call);
-
 
4087
    }
-
 
4088
 
-
 
4089
    public static class markTransactionAsProcessed_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4090
      private long transactionId;
-
 
4091
      private ExtraTransactionProcessingType category;
-
 
4092
      public markTransactionAsProcessed_call(long transactionId, ExtraTransactionProcessingType category, org.apache.thrift.async.AsyncMethodCallback<markTransactionAsProcessed_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 {
-
 
4093
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4094
        this.transactionId = transactionId;
-
 
4095
        this.category = category;
-
 
4096
      }
-
 
4097
 
-
 
4098
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4099
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markTransactionAsProcessed", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4100
        markTransactionAsProcessed_args args = new markTransactionAsProcessed_args();
-
 
4101
        args.setTransactionId(transactionId);
-
 
4102
        args.setCategory(category);
-
 
4103
        args.write(prot);
-
 
4104
        prot.writeMessageEnd();
-
 
4105
      }
-
 
4106
 
-
 
4107
      public void getResult() throws org.apache.thrift.TException {
-
 
4108
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4109
          throw new IllegalStateException("Method call not finished!");
-
 
4110
        }
-
 
4111
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4112
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4113
        (new Client(prot)).recv_markTransactionAsProcessed();
-
 
4114
      }
-
 
4115
    }
-
 
4116
 
3983
  }
4117
  }
3984
 
4118
 
3985
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
4119
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
3986
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
4120
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
3987
    public Processor(I iface) {
4121
    public Processor(I iface) {
Line 4046... Line 4180...
4046
      processMap.put("updateWeight", new updateWeight());
4180
      processMap.put("updateWeight", new updateWeight());
4047
      processMap.put("changeItem", new changeItem());
4181
      processMap.put("changeItem", new changeItem());
4048
      processMap.put("shiftToWarehouse", new shiftToWarehouse());
4182
      processMap.put("shiftToWarehouse", new shiftToWarehouse());
4049
      processMap.put("addDelayReason", new addDelayReason());
4183
      processMap.put("addDelayReason", new addDelayReason());
4050
      processMap.put("reconcileCodCollection", new reconcileCodCollection());
4184
      processMap.put("reconcileCodCollection", new reconcileCodCollection());
-
 
4185
      processMap.put("getTransactionsRequiringExtraProcessing", new getTransactionsRequiringExtraProcessing());
-
 
4186
      processMap.put("markTransactionAsProcessed", new markTransactionAsProcessed());
4051
      return processMap;
4187
      return processMap;
4052
    }
4188
    }
4053
 
4189
 
4054
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
4190
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
4055
      public createTransaction() {
4191
      public createTransaction() {
Line 5136... Line 5272...
5136
        }
5272
        }
5137
        return result;
5273
        return result;
5138
      }
5274
      }
5139
    }
5275
    }
5140
 
5276
 
-
 
5277
    private static class getTransactionsRequiringExtraProcessing<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getTransactionsRequiringExtraProcessing_args> {
-
 
5278
      public getTransactionsRequiringExtraProcessing() {
-
 
5279
        super("getTransactionsRequiringExtraProcessing");
-
 
5280
      }
-
 
5281
 
-
 
5282
      protected getTransactionsRequiringExtraProcessing_args getEmptyArgsInstance() {
-
 
5283
        return new getTransactionsRequiringExtraProcessing_args();
-
 
5284
      }
-
 
5285
 
-
 
5286
      protected getTransactionsRequiringExtraProcessing_result getResult(I iface, getTransactionsRequiringExtraProcessing_args args) throws org.apache.thrift.TException {
-
 
5287
        getTransactionsRequiringExtraProcessing_result result = new getTransactionsRequiringExtraProcessing_result();
-
 
5288
        result.success = iface.getTransactionsRequiringExtraProcessing(args.category);
-
 
5289
        return result;
-
 
5290
      }
-
 
5291
    }
-
 
5292
 
-
 
5293
    private static class markTransactionAsProcessed<I extends Iface> extends org.apache.thrift.ProcessFunction<I, markTransactionAsProcessed_args> {
-
 
5294
      public markTransactionAsProcessed() {
-
 
5295
        super("markTransactionAsProcessed");
-
 
5296
      }
-
 
5297
 
-
 
5298
      protected markTransactionAsProcessed_args getEmptyArgsInstance() {
-
 
5299
        return new markTransactionAsProcessed_args();
-
 
5300
      }
-
 
5301
 
-
 
5302
      protected markTransactionAsProcessed_result getResult(I iface, markTransactionAsProcessed_args args) throws org.apache.thrift.TException {
-
 
5303
        markTransactionAsProcessed_result result = new markTransactionAsProcessed_result();
-
 
5304
        iface.markTransactionAsProcessed(args.transactionId, args.category);
-
 
5305
        return result;
-
 
5306
      }
-
 
5307
    }
-
 
5308
 
5141
  }
5309
  }
5142
 
5310
 
5143
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
5311
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
5144
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
5312
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
5145
 
5313
 
Line 46644... Line 46812...
46644
      sb.append(")");
46812
      sb.append(")");
46645
      return sb.toString();
46813
      return sb.toString();
46646
    }
46814
    }
46647
 
46815
 
46648
    public void validate() throws org.apache.thrift.TException {
46816
    public void validate() throws org.apache.thrift.TException {
-
 
46817
      // check for required fields
-
 
46818
    }
-
 
46819
 
-
 
46820
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
46821
      try {
-
 
46822
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
46823
      } catch (org.apache.thrift.TException te) {
-
 
46824
        throw new java.io.IOException(te);
-
 
46825
      }
-
 
46826
    }
-
 
46827
 
-
 
46828
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
46829
      try {
-
 
46830
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
46831
      } catch (org.apache.thrift.TException te) {
-
 
46832
        throw new java.io.IOException(te);
-
 
46833
      }
-
 
46834
    }
-
 
46835
 
-
 
46836
  }
-
 
46837
 
-
 
46838
  public static class getTransactionsRequiringExtraProcessing_args implements org.apache.thrift.TBase<getTransactionsRequiringExtraProcessing_args, getTransactionsRequiringExtraProcessing_args._Fields>, java.io.Serializable, Cloneable   {
-
 
46839
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTransactionsRequiringExtraProcessing_args");
-
 
46840
 
-
 
46841
    private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I32, (short)1);
-
 
46842
 
-
 
46843
    private ExtraTransactionProcessingType category; // required
-
 
46844
 
-
 
46845
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
46846
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
46847
      /**
-
 
46848
       * 
-
 
46849
       * @see ExtraTransactionProcessingType
-
 
46850
       */
-
 
46851
      CATEGORY((short)1, "category");
-
 
46852
 
-
 
46853
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
46854
 
-
 
46855
      static {
-
 
46856
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
46857
          byName.put(field.getFieldName(), field);
-
 
46858
        }
-
 
46859
      }
-
 
46860
 
-
 
46861
      /**
-
 
46862
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
46863
       */
-
 
46864
      public static _Fields findByThriftId(int fieldId) {
-
 
46865
        switch(fieldId) {
-
 
46866
          case 1: // CATEGORY
-
 
46867
            return CATEGORY;
-
 
46868
          default:
-
 
46869
            return null;
-
 
46870
        }
-
 
46871
      }
-
 
46872
 
-
 
46873
      /**
-
 
46874
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
46875
       * if it is not found.
-
 
46876
       */
-
 
46877
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
46878
        _Fields fields = findByThriftId(fieldId);
-
 
46879
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
46880
        return fields;
-
 
46881
      }
-
 
46882
 
-
 
46883
      /**
-
 
46884
       * Find the _Fields constant that matches name, or null if its not found.
-
 
46885
       */
-
 
46886
      public static _Fields findByName(String name) {
-
 
46887
        return byName.get(name);
-
 
46888
      }
-
 
46889
 
-
 
46890
      private final short _thriftId;
-
 
46891
      private final String _fieldName;
-
 
46892
 
-
 
46893
      _Fields(short thriftId, String fieldName) {
-
 
46894
        _thriftId = thriftId;
-
 
46895
        _fieldName = fieldName;
-
 
46896
      }
-
 
46897
 
-
 
46898
      public short getThriftFieldId() {
-
 
46899
        return _thriftId;
-
 
46900
      }
-
 
46901
 
-
 
46902
      public String getFieldName() {
-
 
46903
        return _fieldName;
-
 
46904
      }
-
 
46905
    }
-
 
46906
 
-
 
46907
    // isset id assignments
-
 
46908
 
-
 
46909
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
46910
    static {
-
 
46911
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
46912
      tmpMap.put(_Fields.CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("category", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
46913
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ExtraTransactionProcessingType.class)));
-
 
46914
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
46915
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTransactionsRequiringExtraProcessing_args.class, metaDataMap);
-
 
46916
    }
-
 
46917
 
-
 
46918
    public getTransactionsRequiringExtraProcessing_args() {
-
 
46919
    }
-
 
46920
 
-
 
46921
    public getTransactionsRequiringExtraProcessing_args(
-
 
46922
      ExtraTransactionProcessingType category)
-
 
46923
    {
-
 
46924
      this();
-
 
46925
      this.category = category;
-
 
46926
    }
-
 
46927
 
-
 
46928
    /**
-
 
46929
     * Performs a deep copy on <i>other</i>.
-
 
46930
     */
-
 
46931
    public getTransactionsRequiringExtraProcessing_args(getTransactionsRequiringExtraProcessing_args other) {
-
 
46932
      if (other.isSetCategory()) {
-
 
46933
        this.category = other.category;
-
 
46934
      }
-
 
46935
    }
-
 
46936
 
-
 
46937
    public getTransactionsRequiringExtraProcessing_args deepCopy() {
-
 
46938
      return new getTransactionsRequiringExtraProcessing_args(this);
-
 
46939
    }
-
 
46940
 
-
 
46941
    @Override
-
 
46942
    public void clear() {
-
 
46943
      this.category = null;
-
 
46944
    }
-
 
46945
 
-
 
46946
    /**
-
 
46947
     * 
-
 
46948
     * @see ExtraTransactionProcessingType
-
 
46949
     */
-
 
46950
    public ExtraTransactionProcessingType getCategory() {
-
 
46951
      return this.category;
-
 
46952
    }
-
 
46953
 
-
 
46954
    /**
-
 
46955
     * 
-
 
46956
     * @see ExtraTransactionProcessingType
-
 
46957
     */
-
 
46958
    public void setCategory(ExtraTransactionProcessingType category) {
-
 
46959
      this.category = category;
-
 
46960
    }
-
 
46961
 
-
 
46962
    public void unsetCategory() {
-
 
46963
      this.category = null;
-
 
46964
    }
-
 
46965
 
-
 
46966
    /** Returns true if field category is set (has been assigned a value) and false otherwise */
-
 
46967
    public boolean isSetCategory() {
-
 
46968
      return this.category != null;
-
 
46969
    }
-
 
46970
 
-
 
46971
    public void setCategoryIsSet(boolean value) {
-
 
46972
      if (!value) {
-
 
46973
        this.category = null;
-
 
46974
      }
-
 
46975
    }
-
 
46976
 
-
 
46977
    public void setFieldValue(_Fields field, Object value) {
-
 
46978
      switch (field) {
-
 
46979
      case CATEGORY:
-
 
46980
        if (value == null) {
-
 
46981
          unsetCategory();
-
 
46982
        } else {
-
 
46983
          setCategory((ExtraTransactionProcessingType)value);
-
 
46984
        }
-
 
46985
        break;
-
 
46986
 
-
 
46987
      }
-
 
46988
    }
-
 
46989
 
-
 
46990
    public Object getFieldValue(_Fields field) {
-
 
46991
      switch (field) {
-
 
46992
      case CATEGORY:
-
 
46993
        return getCategory();
-
 
46994
 
-
 
46995
      }
-
 
46996
      throw new IllegalStateException();
-
 
46997
    }
-
 
46998
 
-
 
46999
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
47000
    public boolean isSet(_Fields field) {
-
 
47001
      if (field == null) {
-
 
47002
        throw new IllegalArgumentException();
-
 
47003
      }
-
 
47004
 
-
 
47005
      switch (field) {
-
 
47006
      case CATEGORY:
-
 
47007
        return isSetCategory();
-
 
47008
      }
-
 
47009
      throw new IllegalStateException();
-
 
47010
    }
-
 
47011
 
-
 
47012
    @Override
-
 
47013
    public boolean equals(Object that) {
-
 
47014
      if (that == null)
-
 
47015
        return false;
-
 
47016
      if (that instanceof getTransactionsRequiringExtraProcessing_args)
-
 
47017
        return this.equals((getTransactionsRequiringExtraProcessing_args)that);
-
 
47018
      return false;
-
 
47019
    }
-
 
47020
 
-
 
47021
    public boolean equals(getTransactionsRequiringExtraProcessing_args that) {
-
 
47022
      if (that == null)
-
 
47023
        return false;
-
 
47024
 
-
 
47025
      boolean this_present_category = true && this.isSetCategory();
-
 
47026
      boolean that_present_category = true && that.isSetCategory();
-
 
47027
      if (this_present_category || that_present_category) {
-
 
47028
        if (!(this_present_category && that_present_category))
-
 
47029
          return false;
-
 
47030
        if (!this.category.equals(that.category))
-
 
47031
          return false;
-
 
47032
      }
-
 
47033
 
-
 
47034
      return true;
-
 
47035
    }
-
 
47036
 
-
 
47037
    @Override
-
 
47038
    public int hashCode() {
-
 
47039
      return 0;
-
 
47040
    }
-
 
47041
 
-
 
47042
    public int compareTo(getTransactionsRequiringExtraProcessing_args other) {
-
 
47043
      if (!getClass().equals(other.getClass())) {
-
 
47044
        return getClass().getName().compareTo(other.getClass().getName());
-
 
47045
      }
-
 
47046
 
-
 
47047
      int lastComparison = 0;
-
 
47048
      getTransactionsRequiringExtraProcessing_args typedOther = (getTransactionsRequiringExtraProcessing_args)other;
-
 
47049
 
-
 
47050
      lastComparison = Boolean.valueOf(isSetCategory()).compareTo(typedOther.isSetCategory());
-
 
47051
      if (lastComparison != 0) {
-
 
47052
        return lastComparison;
-
 
47053
      }
-
 
47054
      if (isSetCategory()) {
-
 
47055
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.category, typedOther.category);
-
 
47056
        if (lastComparison != 0) {
-
 
47057
          return lastComparison;
-
 
47058
        }
-
 
47059
      }
-
 
47060
      return 0;
-
 
47061
    }
-
 
47062
 
-
 
47063
    public _Fields fieldForId(int fieldId) {
-
 
47064
      return _Fields.findByThriftId(fieldId);
-
 
47065
    }
-
 
47066
 
-
 
47067
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
47068
      org.apache.thrift.protocol.TField field;
-
 
47069
      iprot.readStructBegin();
-
 
47070
      while (true)
-
 
47071
      {
-
 
47072
        field = iprot.readFieldBegin();
-
 
47073
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
47074
          break;
-
 
47075
        }
-
 
47076
        switch (field.id) {
-
 
47077
          case 1: // CATEGORY
-
 
47078
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
47079
              this.category = ExtraTransactionProcessingType.findByValue(iprot.readI32());
-
 
47080
            } else { 
-
 
47081
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47082
            }
-
 
47083
            break;
-
 
47084
          default:
-
 
47085
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47086
        }
-
 
47087
        iprot.readFieldEnd();
-
 
47088
      }
-
 
47089
      iprot.readStructEnd();
-
 
47090
      validate();
-
 
47091
    }
-
 
47092
 
-
 
47093
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
47094
      validate();
-
 
47095
 
-
 
47096
      oprot.writeStructBegin(STRUCT_DESC);
-
 
47097
      if (this.category != null) {
-
 
47098
        oprot.writeFieldBegin(CATEGORY_FIELD_DESC);
-
 
47099
        oprot.writeI32(this.category.getValue());
-
 
47100
        oprot.writeFieldEnd();
-
 
47101
      }
-
 
47102
      oprot.writeFieldStop();
-
 
47103
      oprot.writeStructEnd();
-
 
47104
    }
-
 
47105
 
-
 
47106
    @Override
-
 
47107
    public String toString() {
-
 
47108
      StringBuilder sb = new StringBuilder("getTransactionsRequiringExtraProcessing_args(");
-
 
47109
      boolean first = true;
-
 
47110
 
-
 
47111
      sb.append("category:");
-
 
47112
      if (this.category == null) {
-
 
47113
        sb.append("null");
-
 
47114
      } else {
-
 
47115
        sb.append(this.category);
-
 
47116
      }
-
 
47117
      first = false;
-
 
47118
      sb.append(")");
-
 
47119
      return sb.toString();
-
 
47120
    }
-
 
47121
 
-
 
47122
    public void validate() throws org.apache.thrift.TException {
-
 
47123
      // check for required fields
-
 
47124
    }
-
 
47125
 
-
 
47126
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
47127
      try {
-
 
47128
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
47129
      } catch (org.apache.thrift.TException te) {
-
 
47130
        throw new java.io.IOException(te);
-
 
47131
      }
-
 
47132
    }
-
 
47133
 
-
 
47134
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
47135
      try {
-
 
47136
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
47137
      } catch (org.apache.thrift.TException te) {
-
 
47138
        throw new java.io.IOException(te);
-
 
47139
      }
-
 
47140
    }
-
 
47141
 
-
 
47142
  }
-
 
47143
 
-
 
47144
  public static class getTransactionsRequiringExtraProcessing_result implements org.apache.thrift.TBase<getTransactionsRequiringExtraProcessing_result, getTransactionsRequiringExtraProcessing_result._Fields>, java.io.Serializable, Cloneable   {
-
 
47145
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getTransactionsRequiringExtraProcessing_result");
-
 
47146
 
-
 
47147
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
47148
 
-
 
47149
    private List<Long> success; // required
-
 
47150
 
-
 
47151
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
47152
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
47153
      SUCCESS((short)0, "success");
-
 
47154
 
-
 
47155
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
47156
 
-
 
47157
      static {
-
 
47158
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
47159
          byName.put(field.getFieldName(), field);
-
 
47160
        }
-
 
47161
      }
-
 
47162
 
-
 
47163
      /**
-
 
47164
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
47165
       */
-
 
47166
      public static _Fields findByThriftId(int fieldId) {
-
 
47167
        switch(fieldId) {
-
 
47168
          case 0: // SUCCESS
-
 
47169
            return SUCCESS;
-
 
47170
          default:
-
 
47171
            return null;
-
 
47172
        }
-
 
47173
      }
-
 
47174
 
-
 
47175
      /**
-
 
47176
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
47177
       * if it is not found.
-
 
47178
       */
-
 
47179
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
47180
        _Fields fields = findByThriftId(fieldId);
-
 
47181
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
47182
        return fields;
-
 
47183
      }
-
 
47184
 
-
 
47185
      /**
-
 
47186
       * Find the _Fields constant that matches name, or null if its not found.
-
 
47187
       */
-
 
47188
      public static _Fields findByName(String name) {
-
 
47189
        return byName.get(name);
-
 
47190
      }
-
 
47191
 
-
 
47192
      private final short _thriftId;
-
 
47193
      private final String _fieldName;
-
 
47194
 
-
 
47195
      _Fields(short thriftId, String fieldName) {
-
 
47196
        _thriftId = thriftId;
-
 
47197
        _fieldName = fieldName;
-
 
47198
      }
-
 
47199
 
-
 
47200
      public short getThriftFieldId() {
-
 
47201
        return _thriftId;
-
 
47202
      }
-
 
47203
 
-
 
47204
      public String getFieldName() {
-
 
47205
        return _fieldName;
-
 
47206
      }
-
 
47207
    }
-
 
47208
 
-
 
47209
    // isset id assignments
-
 
47210
 
-
 
47211
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
47212
    static {
-
 
47213
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
47214
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
47215
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
47216
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
47217
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
47218
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getTransactionsRequiringExtraProcessing_result.class, metaDataMap);
-
 
47219
    }
-
 
47220
 
-
 
47221
    public getTransactionsRequiringExtraProcessing_result() {
-
 
47222
    }
-
 
47223
 
-
 
47224
    public getTransactionsRequiringExtraProcessing_result(
-
 
47225
      List<Long> success)
-
 
47226
    {
-
 
47227
      this();
-
 
47228
      this.success = success;
-
 
47229
    }
-
 
47230
 
-
 
47231
    /**
-
 
47232
     * Performs a deep copy on <i>other</i>.
-
 
47233
     */
-
 
47234
    public getTransactionsRequiringExtraProcessing_result(getTransactionsRequiringExtraProcessing_result other) {
-
 
47235
      if (other.isSetSuccess()) {
-
 
47236
        List<Long> __this__success = new ArrayList<Long>();
-
 
47237
        for (Long other_element : other.success) {
-
 
47238
          __this__success.add(other_element);
-
 
47239
        }
-
 
47240
        this.success = __this__success;
-
 
47241
      }
-
 
47242
    }
-
 
47243
 
-
 
47244
    public getTransactionsRequiringExtraProcessing_result deepCopy() {
-
 
47245
      return new getTransactionsRequiringExtraProcessing_result(this);
-
 
47246
    }
-
 
47247
 
-
 
47248
    @Override
-
 
47249
    public void clear() {
-
 
47250
      this.success = null;
-
 
47251
    }
-
 
47252
 
-
 
47253
    public int getSuccessSize() {
-
 
47254
      return (this.success == null) ? 0 : this.success.size();
-
 
47255
    }
-
 
47256
 
-
 
47257
    public java.util.Iterator<Long> getSuccessIterator() {
-
 
47258
      return (this.success == null) ? null : this.success.iterator();
-
 
47259
    }
-
 
47260
 
-
 
47261
    public void addToSuccess(long elem) {
-
 
47262
      if (this.success == null) {
-
 
47263
        this.success = new ArrayList<Long>();
-
 
47264
      }
-
 
47265
      this.success.add(elem);
-
 
47266
    }
-
 
47267
 
-
 
47268
    public List<Long> getSuccess() {
-
 
47269
      return this.success;
-
 
47270
    }
-
 
47271
 
-
 
47272
    public void setSuccess(List<Long> success) {
-
 
47273
      this.success = success;
-
 
47274
    }
-
 
47275
 
-
 
47276
    public void unsetSuccess() {
-
 
47277
      this.success = null;
-
 
47278
    }
-
 
47279
 
-
 
47280
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
47281
    public boolean isSetSuccess() {
-
 
47282
      return this.success != null;
-
 
47283
    }
-
 
47284
 
-
 
47285
    public void setSuccessIsSet(boolean value) {
-
 
47286
      if (!value) {
-
 
47287
        this.success = null;
-
 
47288
      }
-
 
47289
    }
-
 
47290
 
-
 
47291
    public void setFieldValue(_Fields field, Object value) {
-
 
47292
      switch (field) {
-
 
47293
      case SUCCESS:
-
 
47294
        if (value == null) {
-
 
47295
          unsetSuccess();
-
 
47296
        } else {
-
 
47297
          setSuccess((List<Long>)value);
-
 
47298
        }
-
 
47299
        break;
-
 
47300
 
-
 
47301
      }
-
 
47302
    }
-
 
47303
 
-
 
47304
    public Object getFieldValue(_Fields field) {
-
 
47305
      switch (field) {
-
 
47306
      case SUCCESS:
-
 
47307
        return getSuccess();
-
 
47308
 
-
 
47309
      }
-
 
47310
      throw new IllegalStateException();
-
 
47311
    }
-
 
47312
 
-
 
47313
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
47314
    public boolean isSet(_Fields field) {
-
 
47315
      if (field == null) {
-
 
47316
        throw new IllegalArgumentException();
-
 
47317
      }
-
 
47318
 
-
 
47319
      switch (field) {
-
 
47320
      case SUCCESS:
-
 
47321
        return isSetSuccess();
-
 
47322
      }
-
 
47323
      throw new IllegalStateException();
-
 
47324
    }
-
 
47325
 
-
 
47326
    @Override
-
 
47327
    public boolean equals(Object that) {
-
 
47328
      if (that == null)
-
 
47329
        return false;
-
 
47330
      if (that instanceof getTransactionsRequiringExtraProcessing_result)
-
 
47331
        return this.equals((getTransactionsRequiringExtraProcessing_result)that);
-
 
47332
      return false;
-
 
47333
    }
-
 
47334
 
-
 
47335
    public boolean equals(getTransactionsRequiringExtraProcessing_result that) {
-
 
47336
      if (that == null)
-
 
47337
        return false;
-
 
47338
 
-
 
47339
      boolean this_present_success = true && this.isSetSuccess();
-
 
47340
      boolean that_present_success = true && that.isSetSuccess();
-
 
47341
      if (this_present_success || that_present_success) {
-
 
47342
        if (!(this_present_success && that_present_success))
-
 
47343
          return false;
-
 
47344
        if (!this.success.equals(that.success))
-
 
47345
          return false;
-
 
47346
      }
-
 
47347
 
-
 
47348
      return true;
-
 
47349
    }
-
 
47350
 
-
 
47351
    @Override
-
 
47352
    public int hashCode() {
-
 
47353
      return 0;
-
 
47354
    }
-
 
47355
 
-
 
47356
    public int compareTo(getTransactionsRequiringExtraProcessing_result other) {
-
 
47357
      if (!getClass().equals(other.getClass())) {
-
 
47358
        return getClass().getName().compareTo(other.getClass().getName());
-
 
47359
      }
-
 
47360
 
-
 
47361
      int lastComparison = 0;
-
 
47362
      getTransactionsRequiringExtraProcessing_result typedOther = (getTransactionsRequiringExtraProcessing_result)other;
-
 
47363
 
-
 
47364
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
47365
      if (lastComparison != 0) {
-
 
47366
        return lastComparison;
-
 
47367
      }
-
 
47368
      if (isSetSuccess()) {
-
 
47369
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
47370
        if (lastComparison != 0) {
-
 
47371
          return lastComparison;
-
 
47372
        }
-
 
47373
      }
-
 
47374
      return 0;
-
 
47375
    }
-
 
47376
 
-
 
47377
    public _Fields fieldForId(int fieldId) {
-
 
47378
      return _Fields.findByThriftId(fieldId);
-
 
47379
    }
-
 
47380
 
-
 
47381
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
47382
      org.apache.thrift.protocol.TField field;
-
 
47383
      iprot.readStructBegin();
-
 
47384
      while (true)
-
 
47385
      {
-
 
47386
        field = iprot.readFieldBegin();
-
 
47387
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
47388
          break;
-
 
47389
        }
-
 
47390
        switch (field.id) {
-
 
47391
          case 0: // SUCCESS
-
 
47392
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
47393
              {
-
 
47394
                org.apache.thrift.protocol.TList _list119 = iprot.readListBegin();
-
 
47395
                this.success = new ArrayList<Long>(_list119.size);
-
 
47396
                for (int _i120 = 0; _i120 < _list119.size; ++_i120)
-
 
47397
                {
-
 
47398
                  long _elem121; // required
-
 
47399
                  _elem121 = iprot.readI64();
-
 
47400
                  this.success.add(_elem121);
-
 
47401
                }
-
 
47402
                iprot.readListEnd();
-
 
47403
              }
-
 
47404
            } else { 
-
 
47405
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47406
            }
-
 
47407
            break;
-
 
47408
          default:
-
 
47409
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47410
        }
-
 
47411
        iprot.readFieldEnd();
-
 
47412
      }
-
 
47413
      iprot.readStructEnd();
-
 
47414
      validate();
-
 
47415
    }
-
 
47416
 
-
 
47417
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
47418
      oprot.writeStructBegin(STRUCT_DESC);
-
 
47419
 
-
 
47420
      if (this.isSetSuccess()) {
-
 
47421
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
47422
        {
-
 
47423
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
-
 
47424
          for (long _iter122 : this.success)
-
 
47425
          {
-
 
47426
            oprot.writeI64(_iter122);
-
 
47427
          }
-
 
47428
          oprot.writeListEnd();
-
 
47429
        }
-
 
47430
        oprot.writeFieldEnd();
-
 
47431
      }
-
 
47432
      oprot.writeFieldStop();
-
 
47433
      oprot.writeStructEnd();
-
 
47434
    }
-
 
47435
 
-
 
47436
    @Override
-
 
47437
    public String toString() {
-
 
47438
      StringBuilder sb = new StringBuilder("getTransactionsRequiringExtraProcessing_result(");
-
 
47439
      boolean first = true;
-
 
47440
 
-
 
47441
      sb.append("success:");
-
 
47442
      if (this.success == null) {
-
 
47443
        sb.append("null");
-
 
47444
      } else {
-
 
47445
        sb.append(this.success);
-
 
47446
      }
-
 
47447
      first = false;
-
 
47448
      sb.append(")");
-
 
47449
      return sb.toString();
-
 
47450
    }
-
 
47451
 
-
 
47452
    public void validate() throws org.apache.thrift.TException {
-
 
47453
      // check for required fields
-
 
47454
    }
-
 
47455
 
-
 
47456
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
47457
      try {
-
 
47458
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
47459
      } catch (org.apache.thrift.TException te) {
-
 
47460
        throw new java.io.IOException(te);
-
 
47461
      }
-
 
47462
    }
-
 
47463
 
-
 
47464
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
47465
      try {
-
 
47466
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
47467
      } catch (org.apache.thrift.TException te) {
-
 
47468
        throw new java.io.IOException(te);
-
 
47469
      }
-
 
47470
    }
-
 
47471
 
-
 
47472
  }
-
 
47473
 
-
 
47474
  public static class markTransactionAsProcessed_args implements org.apache.thrift.TBase<markTransactionAsProcessed_args, markTransactionAsProcessed_args._Fields>, java.io.Serializable, Cloneable   {
-
 
47475
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markTransactionAsProcessed_args");
-
 
47476
 
-
 
47477
    private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
47478
    private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I32, (short)2);
-
 
47479
 
-
 
47480
    private long transactionId; // required
-
 
47481
    private ExtraTransactionProcessingType category; // required
-
 
47482
 
-
 
47483
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
47484
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
47485
      TRANSACTION_ID((short)1, "transactionId"),
-
 
47486
      /**
-
 
47487
       * 
-
 
47488
       * @see ExtraTransactionProcessingType
-
 
47489
       */
-
 
47490
      CATEGORY((short)2, "category");
-
 
47491
 
-
 
47492
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
47493
 
-
 
47494
      static {
-
 
47495
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
47496
          byName.put(field.getFieldName(), field);
-
 
47497
        }
-
 
47498
      }
-
 
47499
 
-
 
47500
      /**
-
 
47501
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
47502
       */
-
 
47503
      public static _Fields findByThriftId(int fieldId) {
-
 
47504
        switch(fieldId) {
-
 
47505
          case 1: // TRANSACTION_ID
-
 
47506
            return TRANSACTION_ID;
-
 
47507
          case 2: // CATEGORY
-
 
47508
            return CATEGORY;
-
 
47509
          default:
-
 
47510
            return null;
-
 
47511
        }
-
 
47512
      }
-
 
47513
 
-
 
47514
      /**
-
 
47515
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
47516
       * if it is not found.
-
 
47517
       */
-
 
47518
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
47519
        _Fields fields = findByThriftId(fieldId);
-
 
47520
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
47521
        return fields;
-
 
47522
      }
-
 
47523
 
-
 
47524
      /**
-
 
47525
       * Find the _Fields constant that matches name, or null if its not found.
-
 
47526
       */
-
 
47527
      public static _Fields findByName(String name) {
-
 
47528
        return byName.get(name);
-
 
47529
      }
-
 
47530
 
-
 
47531
      private final short _thriftId;
-
 
47532
      private final String _fieldName;
-
 
47533
 
-
 
47534
      _Fields(short thriftId, String fieldName) {
-
 
47535
        _thriftId = thriftId;
-
 
47536
        _fieldName = fieldName;
-
 
47537
      }
-
 
47538
 
-
 
47539
      public short getThriftFieldId() {
-
 
47540
        return _thriftId;
-
 
47541
      }
-
 
47542
 
-
 
47543
      public String getFieldName() {
-
 
47544
        return _fieldName;
-
 
47545
      }
-
 
47546
    }
-
 
47547
 
-
 
47548
    // isset id assignments
-
 
47549
    private static final int __TRANSACTIONID_ISSET_ID = 0;
-
 
47550
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
47551
 
-
 
47552
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
47553
    static {
-
 
47554
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
47555
      tmpMap.put(_Fields.TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("transactionId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
47556
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
47557
      tmpMap.put(_Fields.CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("category", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
47558
          new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ExtraTransactionProcessingType.class)));
-
 
47559
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
47560
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markTransactionAsProcessed_args.class, metaDataMap);
-
 
47561
    }
-
 
47562
 
-
 
47563
    public markTransactionAsProcessed_args() {
-
 
47564
    }
-
 
47565
 
-
 
47566
    public markTransactionAsProcessed_args(
-
 
47567
      long transactionId,
-
 
47568
      ExtraTransactionProcessingType category)
-
 
47569
    {
-
 
47570
      this();
-
 
47571
      this.transactionId = transactionId;
-
 
47572
      setTransactionIdIsSet(true);
-
 
47573
      this.category = category;
-
 
47574
    }
-
 
47575
 
-
 
47576
    /**
-
 
47577
     * Performs a deep copy on <i>other</i>.
-
 
47578
     */
-
 
47579
    public markTransactionAsProcessed_args(markTransactionAsProcessed_args other) {
-
 
47580
      __isset_bit_vector.clear();
-
 
47581
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
47582
      this.transactionId = other.transactionId;
-
 
47583
      if (other.isSetCategory()) {
-
 
47584
        this.category = other.category;
-
 
47585
      }
-
 
47586
    }
-
 
47587
 
-
 
47588
    public markTransactionAsProcessed_args deepCopy() {
-
 
47589
      return new markTransactionAsProcessed_args(this);
-
 
47590
    }
-
 
47591
 
-
 
47592
    @Override
-
 
47593
    public void clear() {
-
 
47594
      setTransactionIdIsSet(false);
-
 
47595
      this.transactionId = 0;
-
 
47596
      this.category = null;
-
 
47597
    }
-
 
47598
 
-
 
47599
    public long getTransactionId() {
-
 
47600
      return this.transactionId;
-
 
47601
    }
-
 
47602
 
-
 
47603
    public void setTransactionId(long transactionId) {
-
 
47604
      this.transactionId = transactionId;
-
 
47605
      setTransactionIdIsSet(true);
-
 
47606
    }
-
 
47607
 
-
 
47608
    public void unsetTransactionId() {
-
 
47609
      __isset_bit_vector.clear(__TRANSACTIONID_ISSET_ID);
-
 
47610
    }
-
 
47611
 
-
 
47612
    /** Returns true if field transactionId is set (has been assigned a value) and false otherwise */
-
 
47613
    public boolean isSetTransactionId() {
-
 
47614
      return __isset_bit_vector.get(__TRANSACTIONID_ISSET_ID);
-
 
47615
    }
-
 
47616
 
-
 
47617
    public void setTransactionIdIsSet(boolean value) {
-
 
47618
      __isset_bit_vector.set(__TRANSACTIONID_ISSET_ID, value);
-
 
47619
    }
-
 
47620
 
-
 
47621
    /**
-
 
47622
     * 
-
 
47623
     * @see ExtraTransactionProcessingType
-
 
47624
     */
-
 
47625
    public ExtraTransactionProcessingType getCategory() {
-
 
47626
      return this.category;
-
 
47627
    }
-
 
47628
 
-
 
47629
    /**
-
 
47630
     * 
-
 
47631
     * @see ExtraTransactionProcessingType
-
 
47632
     */
-
 
47633
    public void setCategory(ExtraTransactionProcessingType category) {
-
 
47634
      this.category = category;
-
 
47635
    }
-
 
47636
 
-
 
47637
    public void unsetCategory() {
-
 
47638
      this.category = null;
-
 
47639
    }
-
 
47640
 
-
 
47641
    /** Returns true if field category is set (has been assigned a value) and false otherwise */
-
 
47642
    public boolean isSetCategory() {
-
 
47643
      return this.category != null;
-
 
47644
    }
-
 
47645
 
-
 
47646
    public void setCategoryIsSet(boolean value) {
-
 
47647
      if (!value) {
-
 
47648
        this.category = null;
-
 
47649
      }
-
 
47650
    }
-
 
47651
 
-
 
47652
    public void setFieldValue(_Fields field, Object value) {
-
 
47653
      switch (field) {
-
 
47654
      case TRANSACTION_ID:
-
 
47655
        if (value == null) {
-
 
47656
          unsetTransactionId();
-
 
47657
        } else {
-
 
47658
          setTransactionId((Long)value);
-
 
47659
        }
-
 
47660
        break;
-
 
47661
 
-
 
47662
      case CATEGORY:
-
 
47663
        if (value == null) {
-
 
47664
          unsetCategory();
-
 
47665
        } else {
-
 
47666
          setCategory((ExtraTransactionProcessingType)value);
-
 
47667
        }
-
 
47668
        break;
-
 
47669
 
-
 
47670
      }
-
 
47671
    }
-
 
47672
 
-
 
47673
    public Object getFieldValue(_Fields field) {
-
 
47674
      switch (field) {
-
 
47675
      case TRANSACTION_ID:
-
 
47676
        return Long.valueOf(getTransactionId());
-
 
47677
 
-
 
47678
      case CATEGORY:
-
 
47679
        return getCategory();
-
 
47680
 
-
 
47681
      }
-
 
47682
      throw new IllegalStateException();
-
 
47683
    }
-
 
47684
 
-
 
47685
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
47686
    public boolean isSet(_Fields field) {
-
 
47687
      if (field == null) {
-
 
47688
        throw new IllegalArgumentException();
-
 
47689
      }
-
 
47690
 
-
 
47691
      switch (field) {
-
 
47692
      case TRANSACTION_ID:
-
 
47693
        return isSetTransactionId();
-
 
47694
      case CATEGORY:
-
 
47695
        return isSetCategory();
-
 
47696
      }
-
 
47697
      throw new IllegalStateException();
-
 
47698
    }
-
 
47699
 
-
 
47700
    @Override
-
 
47701
    public boolean equals(Object that) {
-
 
47702
      if (that == null)
-
 
47703
        return false;
-
 
47704
      if (that instanceof markTransactionAsProcessed_args)
-
 
47705
        return this.equals((markTransactionAsProcessed_args)that);
-
 
47706
      return false;
-
 
47707
    }
-
 
47708
 
-
 
47709
    public boolean equals(markTransactionAsProcessed_args that) {
-
 
47710
      if (that == null)
-
 
47711
        return false;
-
 
47712
 
-
 
47713
      boolean this_present_transactionId = true;
-
 
47714
      boolean that_present_transactionId = true;
-
 
47715
      if (this_present_transactionId || that_present_transactionId) {
-
 
47716
        if (!(this_present_transactionId && that_present_transactionId))
-
 
47717
          return false;
-
 
47718
        if (this.transactionId != that.transactionId)
-
 
47719
          return false;
-
 
47720
      }
-
 
47721
 
-
 
47722
      boolean this_present_category = true && this.isSetCategory();
-
 
47723
      boolean that_present_category = true && that.isSetCategory();
-
 
47724
      if (this_present_category || that_present_category) {
-
 
47725
        if (!(this_present_category && that_present_category))
-
 
47726
          return false;
-
 
47727
        if (!this.category.equals(that.category))
-
 
47728
          return false;
-
 
47729
      }
-
 
47730
 
-
 
47731
      return true;
-
 
47732
    }
-
 
47733
 
-
 
47734
    @Override
-
 
47735
    public int hashCode() {
-
 
47736
      return 0;
-
 
47737
    }
-
 
47738
 
-
 
47739
    public int compareTo(markTransactionAsProcessed_args other) {
-
 
47740
      if (!getClass().equals(other.getClass())) {
-
 
47741
        return getClass().getName().compareTo(other.getClass().getName());
-
 
47742
      }
-
 
47743
 
-
 
47744
      int lastComparison = 0;
-
 
47745
      markTransactionAsProcessed_args typedOther = (markTransactionAsProcessed_args)other;
-
 
47746
 
-
 
47747
      lastComparison = Boolean.valueOf(isSetTransactionId()).compareTo(typedOther.isSetTransactionId());
-
 
47748
      if (lastComparison != 0) {
-
 
47749
        return lastComparison;
-
 
47750
      }
-
 
47751
      if (isSetTransactionId()) {
-
 
47752
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transactionId, typedOther.transactionId);
-
 
47753
        if (lastComparison != 0) {
-
 
47754
          return lastComparison;
-
 
47755
        }
-
 
47756
      }
-
 
47757
      lastComparison = Boolean.valueOf(isSetCategory()).compareTo(typedOther.isSetCategory());
-
 
47758
      if (lastComparison != 0) {
-
 
47759
        return lastComparison;
-
 
47760
      }
-
 
47761
      if (isSetCategory()) {
-
 
47762
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.category, typedOther.category);
-
 
47763
        if (lastComparison != 0) {
-
 
47764
          return lastComparison;
-
 
47765
        }
-
 
47766
      }
-
 
47767
      return 0;
-
 
47768
    }
-
 
47769
 
-
 
47770
    public _Fields fieldForId(int fieldId) {
-
 
47771
      return _Fields.findByThriftId(fieldId);
-
 
47772
    }
-
 
47773
 
-
 
47774
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
47775
      org.apache.thrift.protocol.TField field;
-
 
47776
      iprot.readStructBegin();
-
 
47777
      while (true)
-
 
47778
      {
-
 
47779
        field = iprot.readFieldBegin();
-
 
47780
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
47781
          break;
-
 
47782
        }
-
 
47783
        switch (field.id) {
-
 
47784
          case 1: // TRANSACTION_ID
-
 
47785
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
47786
              this.transactionId = iprot.readI64();
-
 
47787
              setTransactionIdIsSet(true);
-
 
47788
            } else { 
-
 
47789
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47790
            }
-
 
47791
            break;
-
 
47792
          case 2: // CATEGORY
-
 
47793
            if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
47794
              this.category = ExtraTransactionProcessingType.findByValue(iprot.readI32());
-
 
47795
            } else { 
-
 
47796
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47797
            }
-
 
47798
            break;
-
 
47799
          default:
-
 
47800
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
47801
        }
-
 
47802
        iprot.readFieldEnd();
-
 
47803
      }
-
 
47804
      iprot.readStructEnd();
-
 
47805
      validate();
-
 
47806
    }
-
 
47807
 
-
 
47808
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
47809
      validate();
-
 
47810
 
-
 
47811
      oprot.writeStructBegin(STRUCT_DESC);
-
 
47812
      oprot.writeFieldBegin(TRANSACTION_ID_FIELD_DESC);
-
 
47813
      oprot.writeI64(this.transactionId);
-
 
47814
      oprot.writeFieldEnd();
-
 
47815
      if (this.category != null) {
-
 
47816
        oprot.writeFieldBegin(CATEGORY_FIELD_DESC);
-
 
47817
        oprot.writeI32(this.category.getValue());
-
 
47818
        oprot.writeFieldEnd();
-
 
47819
      }
-
 
47820
      oprot.writeFieldStop();
-
 
47821
      oprot.writeStructEnd();
-
 
47822
    }
-
 
47823
 
-
 
47824
    @Override
-
 
47825
    public String toString() {
-
 
47826
      StringBuilder sb = new StringBuilder("markTransactionAsProcessed_args(");
-
 
47827
      boolean first = true;
-
 
47828
 
-
 
47829
      sb.append("transactionId:");
-
 
47830
      sb.append(this.transactionId);
-
 
47831
      first = false;
-
 
47832
      if (!first) sb.append(", ");
-
 
47833
      sb.append("category:");
-
 
47834
      if (this.category == null) {
-
 
47835
        sb.append("null");
-
 
47836
      } else {
-
 
47837
        sb.append(this.category);
-
 
47838
      }
-
 
47839
      first = false;
-
 
47840
      sb.append(")");
-
 
47841
      return sb.toString();
-
 
47842
    }
-
 
47843
 
-
 
47844
    public void validate() throws org.apache.thrift.TException {
-
 
47845
      // check for required fields
-
 
47846
    }
-
 
47847
 
-
 
47848
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
47849
      try {
-
 
47850
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
47851
      } catch (org.apache.thrift.TException te) {
-
 
47852
        throw new java.io.IOException(te);
-
 
47853
      }
-
 
47854
    }
-
 
47855
 
-
 
47856
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
47857
      try {
-
 
47858
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
47859
      } catch (org.apache.thrift.TException te) {
-
 
47860
        throw new java.io.IOException(te);
-
 
47861
      }
-
 
47862
    }
-
 
47863
 
-
 
47864
  }
-
 
47865
 
-
 
47866
  public static class markTransactionAsProcessed_result implements org.apache.thrift.TBase<markTransactionAsProcessed_result, markTransactionAsProcessed_result._Fields>, java.io.Serializable, Cloneable   {
-
 
47867
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("markTransactionAsProcessed_result");
-
 
47868
 
-
 
47869
 
-
 
47870
 
-
 
47871
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
47872
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
47873
;
-
 
47874
 
-
 
47875
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
47876
 
-
 
47877
      static {
-
 
47878
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
47879
          byName.put(field.getFieldName(), field);
-
 
47880
        }
-
 
47881
      }
-
 
47882
 
-
 
47883
      /**
-
 
47884
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
47885
       */
-
 
47886
      public static _Fields findByThriftId(int fieldId) {
-
 
47887
        switch(fieldId) {
-
 
47888
          default:
-
 
47889
            return null;
-
 
47890
        }
-
 
47891
      }
-
 
47892
 
-
 
47893
      /**
-
 
47894
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
47895
       * if it is not found.
-
 
47896
       */
-
 
47897
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
47898
        _Fields fields = findByThriftId(fieldId);
-
 
47899
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
47900
        return fields;
-
 
47901
      }
-
 
47902
 
-
 
47903
      /**
-
 
47904
       * Find the _Fields constant that matches name, or null if its not found.
-
 
47905
       */
-
 
47906
      public static _Fields findByName(String name) {
-
 
47907
        return byName.get(name);
-
 
47908
      }
-
 
47909
 
-
 
47910
      private final short _thriftId;
-
 
47911
      private final String _fieldName;
-
 
47912
 
-
 
47913
      _Fields(short thriftId, String fieldName) {
-
 
47914
        _thriftId = thriftId;
-
 
47915
        _fieldName = fieldName;
-
 
47916
      }
-
 
47917
 
-
 
47918
      public short getThriftFieldId() {
-
 
47919
        return _thriftId;
-
 
47920
      }
-
 
47921
 
-
 
47922
      public String getFieldName() {
-
 
47923
        return _fieldName;
-
 
47924
      }
-
 
47925
    }
-
 
47926
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
47927
    static {
-
 
47928
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
47929
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
47930
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markTransactionAsProcessed_result.class, metaDataMap);
-
 
47931
    }
-
 
47932
 
-
 
47933
    public markTransactionAsProcessed_result() {
-
 
47934
    }
-
 
47935
 
-
 
47936
    /**
-
 
47937
     * Performs a deep copy on <i>other</i>.
-
 
47938
     */
-
 
47939
    public markTransactionAsProcessed_result(markTransactionAsProcessed_result other) {
-
 
47940
    }
-
 
47941
 
-
 
47942
    public markTransactionAsProcessed_result deepCopy() {
-
 
47943
      return new markTransactionAsProcessed_result(this);
-
 
47944
    }
-
 
47945
 
-
 
47946
    @Override
-
 
47947
    public void clear() {
-
 
47948
    }
-
 
47949
 
-
 
47950
    public void setFieldValue(_Fields field, Object value) {
-
 
47951
      switch (field) {
-
 
47952
      }
-
 
47953
    }
-
 
47954
 
-
 
47955
    public Object getFieldValue(_Fields field) {
-
 
47956
      switch (field) {
-
 
47957
      }
-
 
47958
      throw new IllegalStateException();
-
 
47959
    }
-
 
47960
 
-
 
47961
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
47962
    public boolean isSet(_Fields field) {
-
 
47963
      if (field == null) {
-
 
47964
        throw new IllegalArgumentException();
-
 
47965
      }
-
 
47966
 
-
 
47967
      switch (field) {
-
 
47968
      }
-
 
47969
      throw new IllegalStateException();
-
 
47970
    }
-
 
47971
 
-
 
47972
    @Override
-
 
47973
    public boolean equals(Object that) {
-
 
47974
      if (that == null)
-
 
47975
        return false;
-
 
47976
      if (that instanceof markTransactionAsProcessed_result)
-
 
47977
        return this.equals((markTransactionAsProcessed_result)that);
-
 
47978
      return false;
-
 
47979
    }
-
 
47980
 
-
 
47981
    public boolean equals(markTransactionAsProcessed_result that) {
-
 
47982
      if (that == null)
-
 
47983
        return false;
-
 
47984
 
-
 
47985
      return true;
-
 
47986
    }
-
 
47987
 
-
 
47988
    @Override
-
 
47989
    public int hashCode() {
-
 
47990
      return 0;
-
 
47991
    }
-
 
47992
 
-
 
47993
    public int compareTo(markTransactionAsProcessed_result other) {
-
 
47994
      if (!getClass().equals(other.getClass())) {
-
 
47995
        return getClass().getName().compareTo(other.getClass().getName());
-
 
47996
      }
-
 
47997
 
-
 
47998
      int lastComparison = 0;
-
 
47999
      markTransactionAsProcessed_result typedOther = (markTransactionAsProcessed_result)other;
-
 
48000
 
-
 
48001
      return 0;
-
 
48002
    }
-
 
48003
 
-
 
48004
    public _Fields fieldForId(int fieldId) {
-
 
48005
      return _Fields.findByThriftId(fieldId);
-
 
48006
    }
-
 
48007
 
-
 
48008
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
48009
      org.apache.thrift.protocol.TField field;
-
 
48010
      iprot.readStructBegin();
-
 
48011
      while (true)
-
 
48012
      {
-
 
48013
        field = iprot.readFieldBegin();
-
 
48014
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
48015
          break;
-
 
48016
        }
-
 
48017
        switch (field.id) {
-
 
48018
          default:
-
 
48019
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
48020
        }
-
 
48021
        iprot.readFieldEnd();
-
 
48022
      }
-
 
48023
      iprot.readStructEnd();
-
 
48024
      validate();
-
 
48025
    }
-
 
48026
 
-
 
48027
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
48028
      oprot.writeStructBegin(STRUCT_DESC);
-
 
48029
 
-
 
48030
      oprot.writeFieldStop();
-
 
48031
      oprot.writeStructEnd();
-
 
48032
    }
-
 
48033
 
-
 
48034
    @Override
-
 
48035
    public String toString() {
-
 
48036
      StringBuilder sb = new StringBuilder("markTransactionAsProcessed_result(");
-
 
48037
      boolean first = true;
-
 
48038
 
-
 
48039
      sb.append(")");
-
 
48040
      return sb.toString();
-
 
48041
    }
-
 
48042
 
-
 
48043
    public void validate() throws org.apache.thrift.TException {
46649
      // check for required fields
48044
      // check for required fields
46650
    }
48045
    }
46651
 
48046
 
46652
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
48047
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
46653
      try {
48048
      try {