Subversion Repositories SmartDukaan

Rev

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

Rev 7672 Rev 7676
Line 178... Line 178...
178
     */
178
     */
179
    public void scanForLostItem(List<InventoryItem> lostItems, long vendorId) throws WarehouseServiceException, org.apache.thrift.TException;
179
    public void scanForLostItem(List<InventoryItem> lostItems, long vendorId) throws WarehouseServiceException, org.apache.thrift.TException;
180
 
180
 
181
    /**
181
    /**
182
     * Get inventory count for available Serialized items in our warehouses using entries in ScanNew table
182
     * Get inventory count for available Serialized items in our warehouses using entries in ScanNew table
-
 
183
     * 
-
 
184
     * @param physicalWarehouseId
183
     */
185
     */
184
    public List<InventoryAvailability> getCurrentSerializedInventoryByScans() throws org.apache.thrift.TException;
186
    public List<InventoryAvailability> getCurrentSerializedInventoryByScans(long physicalWarehouseId) throws org.apache.thrift.TException;
185
 
187
 
186
    /**
188
    /**
187
     * Get inventory count for available Serialized items in our warehouses using entries in ScanNew table
189
     * Get inventory count for available Serialized items in our warehouses using entries in ScanNew table
-
 
190
     * 
-
 
191
     * @param physicalWarehouseId
188
     */
192
     */
189
    public List<InventoryAvailability> getCurrentNonSerializedInventoryByScans() throws org.apache.thrift.TException;
193
    public List<InventoryAvailability> getCurrentNonSerializedInventoryByScans(long physicalWarehouseId) throws org.apache.thrift.TException;
190
 
194
 
191
    /**
195
    /**
192
     * Get inventory for Serialized items in our warehouses at a given date using entries in ScanNew table
196
     * Get inventory for Serialized items in our warehouses at a given date using entries in ScanNew table
193
     * 
197
     * 
194
     * @param date
198
     * @param date
Line 304... Line 308...
304
 
308
 
305
    public void scanForPurchaseReturn(List<InventoryItem> saleReturnItems, long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForPurchaseReturn_call> resultHandler) throws org.apache.thrift.TException;
309
    public void scanForPurchaseReturn(List<InventoryItem> saleReturnItems, long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForPurchaseReturn_call> resultHandler) throws org.apache.thrift.TException;
306
 
310
 
307
    public void scanForLostItem(List<InventoryItem> lostItems, long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForLostItem_call> resultHandler) throws org.apache.thrift.TException;
311
    public void scanForLostItem(List<InventoryItem> lostItems, long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.scanForLostItem_call> resultHandler) throws org.apache.thrift.TException;
308
 
312
 
309
    public void getCurrentSerializedInventoryByScans(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCurrentSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
313
    public void getCurrentSerializedInventoryByScans(long physicalWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCurrentSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
310
 
314
 
311
    public void getCurrentNonSerializedInventoryByScans(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCurrentNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
315
    public void getCurrentNonSerializedInventoryByScans(long physicalWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCurrentNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
312
 
316
 
313
    public void getHistoricSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
317
    public void getHistoricSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
314
 
318
 
315
    public void getHistoricNonSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
319
    public void getHistoricNonSerializedInventoryByScans(long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHistoricNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException;
316
 
320
 
Line 855... Line 859...
855
        throw result.ex;
859
        throw result.ex;
856
      }
860
      }
857
      return;
861
      return;
858
    }
862
    }
859
 
863
 
860
    public List<InventoryAvailability> getCurrentSerializedInventoryByScans() throws org.apache.thrift.TException
864
    public List<InventoryAvailability> getCurrentSerializedInventoryByScans(long physicalWarehouseId) throws org.apache.thrift.TException
861
    {
865
    {
862
      send_getCurrentSerializedInventoryByScans();
866
      send_getCurrentSerializedInventoryByScans(physicalWarehouseId);
863
      return recv_getCurrentSerializedInventoryByScans();
867
      return recv_getCurrentSerializedInventoryByScans();
864
    }
868
    }
865
 
869
 
866
    public void send_getCurrentSerializedInventoryByScans() throws org.apache.thrift.TException
870
    public void send_getCurrentSerializedInventoryByScans(long physicalWarehouseId) throws org.apache.thrift.TException
867
    {
871
    {
868
      getCurrentSerializedInventoryByScans_args args = new getCurrentSerializedInventoryByScans_args();
872
      getCurrentSerializedInventoryByScans_args args = new getCurrentSerializedInventoryByScans_args();
-
 
873
      args.setPhysicalWarehouseId(physicalWarehouseId);
869
      sendBase("getCurrentSerializedInventoryByScans", args);
874
      sendBase("getCurrentSerializedInventoryByScans", args);
870
    }
875
    }
871
 
876
 
872
    public List<InventoryAvailability> recv_getCurrentSerializedInventoryByScans() throws org.apache.thrift.TException
877
    public List<InventoryAvailability> recv_getCurrentSerializedInventoryByScans() throws org.apache.thrift.TException
873
    {
878
    {
Line 877... Line 882...
877
        return result.success;
882
        return result.success;
878
      }
883
      }
879
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getCurrentSerializedInventoryByScans failed: unknown result");
884
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getCurrentSerializedInventoryByScans failed: unknown result");
880
    }
885
    }
881
 
886
 
882
    public List<InventoryAvailability> getCurrentNonSerializedInventoryByScans() throws org.apache.thrift.TException
887
    public List<InventoryAvailability> getCurrentNonSerializedInventoryByScans(long physicalWarehouseId) throws org.apache.thrift.TException
883
    {
888
    {
884
      send_getCurrentNonSerializedInventoryByScans();
889
      send_getCurrentNonSerializedInventoryByScans(physicalWarehouseId);
885
      return recv_getCurrentNonSerializedInventoryByScans();
890
      return recv_getCurrentNonSerializedInventoryByScans();
886
    }
891
    }
887
 
892
 
888
    public void send_getCurrentNonSerializedInventoryByScans() throws org.apache.thrift.TException
893
    public void send_getCurrentNonSerializedInventoryByScans(long physicalWarehouseId) throws org.apache.thrift.TException
889
    {
894
    {
890
      getCurrentNonSerializedInventoryByScans_args args = new getCurrentNonSerializedInventoryByScans_args();
895
      getCurrentNonSerializedInventoryByScans_args args = new getCurrentNonSerializedInventoryByScans_args();
-
 
896
      args.setPhysicalWarehouseId(physicalWarehouseId);
891
      sendBase("getCurrentNonSerializedInventoryByScans", args);
897
      sendBase("getCurrentNonSerializedInventoryByScans", args);
892
    }
898
    }
893
 
899
 
894
    public List<InventoryAvailability> recv_getCurrentNonSerializedInventoryByScans() throws org.apache.thrift.TException
900
    public List<InventoryAvailability> recv_getCurrentNonSerializedInventoryByScans() throws org.apache.thrift.TException
895
    {
901
    {
Line 2192... Line 2198...
2192
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2198
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2193
        (new Client(prot)).recv_scanForLostItem();
2199
        (new Client(prot)).recv_scanForLostItem();
2194
      }
2200
      }
2195
    }
2201
    }
2196
 
2202
 
2197
    public void getCurrentSerializedInventoryByScans(org.apache.thrift.async.AsyncMethodCallback<getCurrentSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException {
2203
    public void getCurrentSerializedInventoryByScans(long physicalWarehouseId, org.apache.thrift.async.AsyncMethodCallback<getCurrentSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException {
2198
      checkReady();
2204
      checkReady();
2199
      getCurrentSerializedInventoryByScans_call method_call = new getCurrentSerializedInventoryByScans_call(resultHandler, this, ___protocolFactory, ___transport);
2205
      getCurrentSerializedInventoryByScans_call method_call = new getCurrentSerializedInventoryByScans_call(physicalWarehouseId, resultHandler, this, ___protocolFactory, ___transport);
2200
      this.___currentMethod = method_call;
2206
      this.___currentMethod = method_call;
2201
      ___manager.call(method_call);
2207
      ___manager.call(method_call);
2202
    }
2208
    }
2203
 
2209
 
2204
    public static class getCurrentSerializedInventoryByScans_call extends org.apache.thrift.async.TAsyncMethodCall {
2210
    public static class getCurrentSerializedInventoryByScans_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2211
      private long physicalWarehouseId;
2205
      public getCurrentSerializedInventoryByScans_call(org.apache.thrift.async.AsyncMethodCallback<getCurrentSerializedInventoryByScans_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 {
2212
      public getCurrentSerializedInventoryByScans_call(long physicalWarehouseId, org.apache.thrift.async.AsyncMethodCallback<getCurrentSerializedInventoryByScans_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 {
2206
        super(client, protocolFactory, transport, resultHandler, false);
2213
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2214
        this.physicalWarehouseId = physicalWarehouseId;
2207
      }
2215
      }
2208
 
2216
 
2209
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2217
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2210
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getCurrentSerializedInventoryByScans", org.apache.thrift.protocol.TMessageType.CALL, 0));
2218
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getCurrentSerializedInventoryByScans", org.apache.thrift.protocol.TMessageType.CALL, 0));
2211
        getCurrentSerializedInventoryByScans_args args = new getCurrentSerializedInventoryByScans_args();
2219
        getCurrentSerializedInventoryByScans_args args = new getCurrentSerializedInventoryByScans_args();
-
 
2220
        args.setPhysicalWarehouseId(physicalWarehouseId);
2212
        args.write(prot);
2221
        args.write(prot);
2213
        prot.writeMessageEnd();
2222
        prot.writeMessageEnd();
2214
      }
2223
      }
2215
 
2224
 
2216
      public List<InventoryAvailability> getResult() throws org.apache.thrift.TException {
2225
      public List<InventoryAvailability> getResult() throws org.apache.thrift.TException {
Line 2221... Line 2230...
2221
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2230
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2222
        return (new Client(prot)).recv_getCurrentSerializedInventoryByScans();
2231
        return (new Client(prot)).recv_getCurrentSerializedInventoryByScans();
2223
      }
2232
      }
2224
    }
2233
    }
2225
 
2234
 
2226
    public void getCurrentNonSerializedInventoryByScans(org.apache.thrift.async.AsyncMethodCallback<getCurrentNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException {
2235
    public void getCurrentNonSerializedInventoryByScans(long physicalWarehouseId, org.apache.thrift.async.AsyncMethodCallback<getCurrentNonSerializedInventoryByScans_call> resultHandler) throws org.apache.thrift.TException {
2227
      checkReady();
2236
      checkReady();
2228
      getCurrentNonSerializedInventoryByScans_call method_call = new getCurrentNonSerializedInventoryByScans_call(resultHandler, this, ___protocolFactory, ___transport);
2237
      getCurrentNonSerializedInventoryByScans_call method_call = new getCurrentNonSerializedInventoryByScans_call(physicalWarehouseId, resultHandler, this, ___protocolFactory, ___transport);
2229
      this.___currentMethod = method_call;
2238
      this.___currentMethod = method_call;
2230
      ___manager.call(method_call);
2239
      ___manager.call(method_call);
2231
    }
2240
    }
2232
 
2241
 
2233
    public static class getCurrentNonSerializedInventoryByScans_call extends org.apache.thrift.async.TAsyncMethodCall {
2242
    public static class getCurrentNonSerializedInventoryByScans_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
2243
      private long physicalWarehouseId;
2234
      public getCurrentNonSerializedInventoryByScans_call(org.apache.thrift.async.AsyncMethodCallback<getCurrentNonSerializedInventoryByScans_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 {
2244
      public getCurrentNonSerializedInventoryByScans_call(long physicalWarehouseId, org.apache.thrift.async.AsyncMethodCallback<getCurrentNonSerializedInventoryByScans_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 {
2235
        super(client, protocolFactory, transport, resultHandler, false);
2245
        super(client, protocolFactory, transport, resultHandler, false);
-
 
2246
        this.physicalWarehouseId = physicalWarehouseId;
2236
      }
2247
      }
2237
 
2248
 
2238
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2249
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
2239
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getCurrentNonSerializedInventoryByScans", org.apache.thrift.protocol.TMessageType.CALL, 0));
2250
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getCurrentNonSerializedInventoryByScans", org.apache.thrift.protocol.TMessageType.CALL, 0));
2240
        getCurrentNonSerializedInventoryByScans_args args = new getCurrentNonSerializedInventoryByScans_args();
2251
        getCurrentNonSerializedInventoryByScans_args args = new getCurrentNonSerializedInventoryByScans_args();
-
 
2252
        args.setPhysicalWarehouseId(physicalWarehouseId);
2241
        args.write(prot);
2253
        args.write(prot);
2242
        prot.writeMessageEnd();
2254
        prot.writeMessageEnd();
2243
      }
2255
      }
2244
 
2256
 
2245
      public List<InventoryAvailability> getResult() throws org.apache.thrift.TException {
2257
      public List<InventoryAvailability> getResult() throws org.apache.thrift.TException {
Line 3518... Line 3530...
3518
        return new getCurrentSerializedInventoryByScans_args();
3530
        return new getCurrentSerializedInventoryByScans_args();
3519
      }
3531
      }
3520
 
3532
 
3521
      protected getCurrentSerializedInventoryByScans_result getResult(I iface, getCurrentSerializedInventoryByScans_args args) throws org.apache.thrift.TException {
3533
      protected getCurrentSerializedInventoryByScans_result getResult(I iface, getCurrentSerializedInventoryByScans_args args) throws org.apache.thrift.TException {
3522
        getCurrentSerializedInventoryByScans_result result = new getCurrentSerializedInventoryByScans_result();
3534
        getCurrentSerializedInventoryByScans_result result = new getCurrentSerializedInventoryByScans_result();
3523
        result.success = iface.getCurrentSerializedInventoryByScans();
3535
        result.success = iface.getCurrentSerializedInventoryByScans(args.physicalWarehouseId);
3524
        return result;
3536
        return result;
3525
      }
3537
      }
3526
    }
3538
    }
3527
 
3539
 
3528
    private static class getCurrentNonSerializedInventoryByScans<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getCurrentNonSerializedInventoryByScans_args> {
3540
    private static class getCurrentNonSerializedInventoryByScans<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getCurrentNonSerializedInventoryByScans_args> {
Line 3534... Line 3546...
3534
        return new getCurrentNonSerializedInventoryByScans_args();
3546
        return new getCurrentNonSerializedInventoryByScans_args();
3535
      }
3547
      }
3536
 
3548
 
3537
      protected getCurrentNonSerializedInventoryByScans_result getResult(I iface, getCurrentNonSerializedInventoryByScans_args args) throws org.apache.thrift.TException {
3549
      protected getCurrentNonSerializedInventoryByScans_result getResult(I iface, getCurrentNonSerializedInventoryByScans_args args) throws org.apache.thrift.TException {
3538
        getCurrentNonSerializedInventoryByScans_result result = new getCurrentNonSerializedInventoryByScans_result();
3550
        getCurrentNonSerializedInventoryByScans_result result = new getCurrentNonSerializedInventoryByScans_result();
3539
        result.success = iface.getCurrentNonSerializedInventoryByScans();
3551
        result.success = iface.getCurrentNonSerializedInventoryByScans(args.physicalWarehouseId);
3540
        return result;
3552
        return result;
3541
      }
3553
      }
3542
    }
3554
    }
3543
 
3555
 
3544
    private static class getHistoricSerializedInventoryByScans<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getHistoricSerializedInventoryByScans_args> {
3556
    private static class getHistoricSerializedInventoryByScans<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getHistoricSerializedInventoryByScans_args> {
Line 17994... Line 18006...
17994
  }
18006
  }
17995
 
18007
 
17996
  public static class getCurrentSerializedInventoryByScans_args implements org.apache.thrift.TBase<getCurrentSerializedInventoryByScans_args, getCurrentSerializedInventoryByScans_args._Fields>, java.io.Serializable, Cloneable   {
18008
  public static class getCurrentSerializedInventoryByScans_args implements org.apache.thrift.TBase<getCurrentSerializedInventoryByScans_args, getCurrentSerializedInventoryByScans_args._Fields>, java.io.Serializable, Cloneable   {
17997
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCurrentSerializedInventoryByScans_args");
18009
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCurrentSerializedInventoryByScans_args");
17998
 
18010
 
-
 
18011
    private static final org.apache.thrift.protocol.TField PHYSICAL_WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("physicalWarehouseId", org.apache.thrift.protocol.TType.I64, (short)1);
17999
 
18012
 
-
 
18013
    private long physicalWarehouseId; // required
18000
 
18014
 
18001
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
18015
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
18002
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
18016
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
18003
;
-
 
-
 
18017
      PHYSICAL_WAREHOUSE_ID((short)1, "physicalWarehouseId");
18004
 
18018
 
18005
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
18019
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
18006
 
18020
 
18007
      static {
18021
      static {
18008
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
18022
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 18013... Line 18027...
18013
      /**
18027
      /**
18014
       * Find the _Fields constant that matches fieldId, or null if its not found.
18028
       * Find the _Fields constant that matches fieldId, or null if its not found.
18015
       */
18029
       */
18016
      public static _Fields findByThriftId(int fieldId) {
18030
      public static _Fields findByThriftId(int fieldId) {
18017
        switch(fieldId) {
18031
        switch(fieldId) {
-
 
18032
          case 1: // PHYSICAL_WAREHOUSE_ID
-
 
18033
            return PHYSICAL_WAREHOUSE_ID;
18018
          default:
18034
          default:
18019
            return null;
18035
            return null;
18020
        }
18036
        }
18021
      }
18037
      }
18022
 
18038
 
Line 18051... Line 18067...
18051
 
18067
 
18052
      public String getFieldName() {
18068
      public String getFieldName() {
18053
        return _fieldName;
18069
        return _fieldName;
18054
      }
18070
      }
18055
    }
18071
    }
-
 
18072
 
-
 
18073
    // isset id assignments
-
 
18074
    private static final int __PHYSICALWAREHOUSEID_ISSET_ID = 0;
-
 
18075
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
18076
 
18056
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
18077
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
18057
    static {
18078
    static {
18058
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
18079
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
18080
      tmpMap.put(_Fields.PHYSICAL_WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("physicalWarehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
18081
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
18059
      metaDataMap = Collections.unmodifiableMap(tmpMap);
18082
      metaDataMap = Collections.unmodifiableMap(tmpMap);
18060
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCurrentSerializedInventoryByScans_args.class, metaDataMap);
18083
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCurrentSerializedInventoryByScans_args.class, metaDataMap);
18061
    }
18084
    }
18062
 
18085
 
18063
    public getCurrentSerializedInventoryByScans_args() {
18086
    public getCurrentSerializedInventoryByScans_args() {
18064
    }
18087
    }
18065
 
18088
 
-
 
18089
    public getCurrentSerializedInventoryByScans_args(
-
 
18090
      long physicalWarehouseId)
-
 
18091
    {
-
 
18092
      this();
-
 
18093
      this.physicalWarehouseId = physicalWarehouseId;
-
 
18094
      setPhysicalWarehouseIdIsSet(true);
-
 
18095
    }
-
 
18096
 
18066
    /**
18097
    /**
18067
     * Performs a deep copy on <i>other</i>.
18098
     * Performs a deep copy on <i>other</i>.
18068
     */
18099
     */
18069
    public getCurrentSerializedInventoryByScans_args(getCurrentSerializedInventoryByScans_args other) {
18100
    public getCurrentSerializedInventoryByScans_args(getCurrentSerializedInventoryByScans_args other) {
-
 
18101
      __isset_bit_vector.clear();
-
 
18102
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
18103
      this.physicalWarehouseId = other.physicalWarehouseId;
18070
    }
18104
    }
18071
 
18105
 
18072
    public getCurrentSerializedInventoryByScans_args deepCopy() {
18106
    public getCurrentSerializedInventoryByScans_args deepCopy() {
18073
      return new getCurrentSerializedInventoryByScans_args(this);
18107
      return new getCurrentSerializedInventoryByScans_args(this);
18074
    }
18108
    }
18075
 
18109
 
18076
    @Override
18110
    @Override
18077
    public void clear() {
18111
    public void clear() {
-
 
18112
      setPhysicalWarehouseIdIsSet(false);
-
 
18113
      this.physicalWarehouseId = 0;
-
 
18114
    }
-
 
18115
 
-
 
18116
    public long getPhysicalWarehouseId() {
-
 
18117
      return this.physicalWarehouseId;
-
 
18118
    }
-
 
18119
 
-
 
18120
    public void setPhysicalWarehouseId(long physicalWarehouseId) {
-
 
18121
      this.physicalWarehouseId = physicalWarehouseId;
-
 
18122
      setPhysicalWarehouseIdIsSet(true);
-
 
18123
    }
-
 
18124
 
-
 
18125
    public void unsetPhysicalWarehouseId() {
-
 
18126
      __isset_bit_vector.clear(__PHYSICALWAREHOUSEID_ISSET_ID);
-
 
18127
    }
-
 
18128
 
-
 
18129
    /** Returns true if field physicalWarehouseId is set (has been assigned a value) and false otherwise */
-
 
18130
    public boolean isSetPhysicalWarehouseId() {
-
 
18131
      return __isset_bit_vector.get(__PHYSICALWAREHOUSEID_ISSET_ID);
-
 
18132
    }
-
 
18133
 
-
 
18134
    public void setPhysicalWarehouseIdIsSet(boolean value) {
-
 
18135
      __isset_bit_vector.set(__PHYSICALWAREHOUSEID_ISSET_ID, value);
18078
    }
18136
    }
18079
 
18137
 
18080
    public void setFieldValue(_Fields field, Object value) {
18138
    public void setFieldValue(_Fields field, Object value) {
18081
      switch (field) {
18139
      switch (field) {
-
 
18140
      case PHYSICAL_WAREHOUSE_ID:
-
 
18141
        if (value == null) {
-
 
18142
          unsetPhysicalWarehouseId();
-
 
18143
        } else {
-
 
18144
          setPhysicalWarehouseId((Long)value);
-
 
18145
        }
-
 
18146
        break;
-
 
18147
 
18082
      }
18148
      }
18083
    }
18149
    }
18084
 
18150
 
18085
    public Object getFieldValue(_Fields field) {
18151
    public Object getFieldValue(_Fields field) {
18086
      switch (field) {
18152
      switch (field) {
-
 
18153
      case PHYSICAL_WAREHOUSE_ID:
-
 
18154
        return Long.valueOf(getPhysicalWarehouseId());
-
 
18155
 
18087
      }
18156
      }
18088
      throw new IllegalStateException();
18157
      throw new IllegalStateException();
18089
    }
18158
    }
18090
 
18159
 
18091
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
18160
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 18093... Line 18162...
18093
      if (field == null) {
18162
      if (field == null) {
18094
        throw new IllegalArgumentException();
18163
        throw new IllegalArgumentException();
18095
      }
18164
      }
18096
 
18165
 
18097
      switch (field) {
18166
      switch (field) {
-
 
18167
      case PHYSICAL_WAREHOUSE_ID:
-
 
18168
        return isSetPhysicalWarehouseId();
18098
      }
18169
      }
18099
      throw new IllegalStateException();
18170
      throw new IllegalStateException();
18100
    }
18171
    }
18101
 
18172
 
18102
    @Override
18173
    @Override
Line 18110... Line 18181...
18110
 
18181
 
18111
    public boolean equals(getCurrentSerializedInventoryByScans_args that) {
18182
    public boolean equals(getCurrentSerializedInventoryByScans_args that) {
18112
      if (that == null)
18183
      if (that == null)
18113
        return false;
18184
        return false;
18114
 
18185
 
-
 
18186
      boolean this_present_physicalWarehouseId = true;
-
 
18187
      boolean that_present_physicalWarehouseId = true;
-
 
18188
      if (this_present_physicalWarehouseId || that_present_physicalWarehouseId) {
-
 
18189
        if (!(this_present_physicalWarehouseId && that_present_physicalWarehouseId))
-
 
18190
          return false;
-
 
18191
        if (this.physicalWarehouseId != that.physicalWarehouseId)
-
 
18192
          return false;
-
 
18193
      }
-
 
18194
 
18115
      return true;
18195
      return true;
18116
    }
18196
    }
18117
 
18197
 
18118
    @Override
18198
    @Override
18119
    public int hashCode() {
18199
    public int hashCode() {
Line 18126... Line 18206...
18126
      }
18206
      }
18127
 
18207
 
18128
      int lastComparison = 0;
18208
      int lastComparison = 0;
18129
      getCurrentSerializedInventoryByScans_args typedOther = (getCurrentSerializedInventoryByScans_args)other;
18209
      getCurrentSerializedInventoryByScans_args typedOther = (getCurrentSerializedInventoryByScans_args)other;
18130
 
18210
 
-
 
18211
      lastComparison = Boolean.valueOf(isSetPhysicalWarehouseId()).compareTo(typedOther.isSetPhysicalWarehouseId());
-
 
18212
      if (lastComparison != 0) {
-
 
18213
        return lastComparison;
-
 
18214
      }
-
 
18215
      if (isSetPhysicalWarehouseId()) {
-
 
18216
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.physicalWarehouseId, typedOther.physicalWarehouseId);
-
 
18217
        if (lastComparison != 0) {
-
 
18218
          return lastComparison;
-
 
18219
        }
-
 
18220
      }
18131
      return 0;
18221
      return 0;
18132
    }
18222
    }
18133
 
18223
 
18134
    public _Fields fieldForId(int fieldId) {
18224
    public _Fields fieldForId(int fieldId) {
18135
      return _Fields.findByThriftId(fieldId);
18225
      return _Fields.findByThriftId(fieldId);
Line 18143... Line 18233...
18143
        field = iprot.readFieldBegin();
18233
        field = iprot.readFieldBegin();
18144
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
18234
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
18145
          break;
18235
          break;
18146
        }
18236
        }
18147
        switch (field.id) {
18237
        switch (field.id) {
-
 
18238
          case 1: // PHYSICAL_WAREHOUSE_ID
-
 
18239
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
18240
              this.physicalWarehouseId = iprot.readI64();
-
 
18241
              setPhysicalWarehouseIdIsSet(true);
-
 
18242
            } else { 
-
 
18243
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
18244
            }
-
 
18245
            break;
18148
          default:
18246
          default:
18149
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
18247
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
18150
        }
18248
        }
18151
        iprot.readFieldEnd();
18249
        iprot.readFieldEnd();
18152
      }
18250
      }
Line 18156... Line 18254...
18156
 
18254
 
18157
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
18255
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
18158
      validate();
18256
      validate();
18159
 
18257
 
18160
      oprot.writeStructBegin(STRUCT_DESC);
18258
      oprot.writeStructBegin(STRUCT_DESC);
-
 
18259
      oprot.writeFieldBegin(PHYSICAL_WAREHOUSE_ID_FIELD_DESC);
-
 
18260
      oprot.writeI64(this.physicalWarehouseId);
-
 
18261
      oprot.writeFieldEnd();
18161
      oprot.writeFieldStop();
18262
      oprot.writeFieldStop();
18162
      oprot.writeStructEnd();
18263
      oprot.writeStructEnd();
18163
    }
18264
    }
18164
 
18265
 
18165
    @Override
18266
    @Override
18166
    public String toString() {
18267
    public String toString() {
18167
      StringBuilder sb = new StringBuilder("getCurrentSerializedInventoryByScans_args(");
18268
      StringBuilder sb = new StringBuilder("getCurrentSerializedInventoryByScans_args(");
18168
      boolean first = true;
18269
      boolean first = true;
18169
 
18270
 
-
 
18271
      sb.append("physicalWarehouseId:");
-
 
18272
      sb.append(this.physicalWarehouseId);
-
 
18273
      first = false;
18170
      sb.append(")");
18274
      sb.append(")");
18171
      return sb.toString();
18275
      return sb.toString();
18172
    }
18276
    }
18173
 
18277
 
18174
    public void validate() throws org.apache.thrift.TException {
18278
    public void validate() throws org.apache.thrift.TException {
Line 18183... Line 18287...
18183
      }
18287
      }
18184
    }
18288
    }
18185
 
18289
 
18186
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
18290
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
18187
      try {
18291
      try {
-
 
18292
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
18293
        __isset_bit_vector = new BitSet(1);
18188
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
18294
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
18189
      } catch (org.apache.thrift.TException te) {
18295
      } catch (org.apache.thrift.TException te) {
18190
        throw new java.io.IOException(te);
18296
        throw new java.io.IOException(te);
18191
      }
18297
      }
18192
    }
18298
    }
Line 18525... Line 18631...
18525
  }
18631
  }
18526
 
18632
 
18527
  public static class getCurrentNonSerializedInventoryByScans_args implements org.apache.thrift.TBase<getCurrentNonSerializedInventoryByScans_args, getCurrentNonSerializedInventoryByScans_args._Fields>, java.io.Serializable, Cloneable   {
18633
  public static class getCurrentNonSerializedInventoryByScans_args implements org.apache.thrift.TBase<getCurrentNonSerializedInventoryByScans_args, getCurrentNonSerializedInventoryByScans_args._Fields>, java.io.Serializable, Cloneable   {
18528
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCurrentNonSerializedInventoryByScans_args");
18634
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCurrentNonSerializedInventoryByScans_args");
18529
 
18635
 
-
 
18636
    private static final org.apache.thrift.protocol.TField PHYSICAL_WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("physicalWarehouseId", org.apache.thrift.protocol.TType.I64, (short)1);
18530
 
18637
 
-
 
18638
    private long physicalWarehouseId; // required
18531
 
18639
 
18532
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
18640
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
18533
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
18641
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
18534
;
-
 
-
 
18642
      PHYSICAL_WAREHOUSE_ID((short)1, "physicalWarehouseId");
18535
 
18643
 
18536
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
18644
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
18537
 
18645
 
18538
      static {
18646
      static {
18539
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
18647
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 18544... Line 18652...
18544
      /**
18652
      /**
18545
       * Find the _Fields constant that matches fieldId, or null if its not found.
18653
       * Find the _Fields constant that matches fieldId, or null if its not found.
18546
       */
18654
       */
18547
      public static _Fields findByThriftId(int fieldId) {
18655
      public static _Fields findByThriftId(int fieldId) {
18548
        switch(fieldId) {
18656
        switch(fieldId) {
-
 
18657
          case 1: // PHYSICAL_WAREHOUSE_ID
-
 
18658
            return PHYSICAL_WAREHOUSE_ID;
18549
          default:
18659
          default:
18550
            return null;
18660
            return null;
18551
        }
18661
        }
18552
      }
18662
      }
18553
 
18663
 
Line 18582... Line 18692...
18582
 
18692
 
18583
      public String getFieldName() {
18693
      public String getFieldName() {
18584
        return _fieldName;
18694
        return _fieldName;
18585
      }
18695
      }
18586
    }
18696
    }
-
 
18697
 
-
 
18698
    // isset id assignments
-
 
18699
    private static final int __PHYSICALWAREHOUSEID_ISSET_ID = 0;
-
 
18700
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
18701
 
18587
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
18702
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
18588
    static {
18703
    static {
18589
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
18704
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
18705
      tmpMap.put(_Fields.PHYSICAL_WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("physicalWarehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
18706
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
18590
      metaDataMap = Collections.unmodifiableMap(tmpMap);
18707
      metaDataMap = Collections.unmodifiableMap(tmpMap);
18591
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCurrentNonSerializedInventoryByScans_args.class, metaDataMap);
18708
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getCurrentNonSerializedInventoryByScans_args.class, metaDataMap);
18592
    }
18709
    }
18593
 
18710
 
18594
    public getCurrentNonSerializedInventoryByScans_args() {
18711
    public getCurrentNonSerializedInventoryByScans_args() {
18595
    }
18712
    }
18596
 
18713
 
-
 
18714
    public getCurrentNonSerializedInventoryByScans_args(
-
 
18715
      long physicalWarehouseId)
-
 
18716
    {
-
 
18717
      this();
-
 
18718
      this.physicalWarehouseId = physicalWarehouseId;
-
 
18719
      setPhysicalWarehouseIdIsSet(true);
-
 
18720
    }
-
 
18721
 
18597
    /**
18722
    /**
18598
     * Performs a deep copy on <i>other</i>.
18723
     * Performs a deep copy on <i>other</i>.
18599
     */
18724
     */
18600
    public getCurrentNonSerializedInventoryByScans_args(getCurrentNonSerializedInventoryByScans_args other) {
18725
    public getCurrentNonSerializedInventoryByScans_args(getCurrentNonSerializedInventoryByScans_args other) {
-
 
18726
      __isset_bit_vector.clear();
-
 
18727
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
18728
      this.physicalWarehouseId = other.physicalWarehouseId;
18601
    }
18729
    }
18602
 
18730
 
18603
    public getCurrentNonSerializedInventoryByScans_args deepCopy() {
18731
    public getCurrentNonSerializedInventoryByScans_args deepCopy() {
18604
      return new getCurrentNonSerializedInventoryByScans_args(this);
18732
      return new getCurrentNonSerializedInventoryByScans_args(this);
18605
    }
18733
    }
18606
 
18734
 
18607
    @Override
18735
    @Override
18608
    public void clear() {
18736
    public void clear() {
-
 
18737
      setPhysicalWarehouseIdIsSet(false);
-
 
18738
      this.physicalWarehouseId = 0;
-
 
18739
    }
-
 
18740
 
-
 
18741
    public long getPhysicalWarehouseId() {
-
 
18742
      return this.physicalWarehouseId;
-
 
18743
    }
-
 
18744
 
-
 
18745
    public void setPhysicalWarehouseId(long physicalWarehouseId) {
-
 
18746
      this.physicalWarehouseId = physicalWarehouseId;
-
 
18747
      setPhysicalWarehouseIdIsSet(true);
-
 
18748
    }
-
 
18749
 
-
 
18750
    public void unsetPhysicalWarehouseId() {
-
 
18751
      __isset_bit_vector.clear(__PHYSICALWAREHOUSEID_ISSET_ID);
-
 
18752
    }
-
 
18753
 
-
 
18754
    /** Returns true if field physicalWarehouseId is set (has been assigned a value) and false otherwise */
-
 
18755
    public boolean isSetPhysicalWarehouseId() {
-
 
18756
      return __isset_bit_vector.get(__PHYSICALWAREHOUSEID_ISSET_ID);
-
 
18757
    }
-
 
18758
 
-
 
18759
    public void setPhysicalWarehouseIdIsSet(boolean value) {
-
 
18760
      __isset_bit_vector.set(__PHYSICALWAREHOUSEID_ISSET_ID, value);
18609
    }
18761
    }
18610
 
18762
 
18611
    public void setFieldValue(_Fields field, Object value) {
18763
    public void setFieldValue(_Fields field, Object value) {
18612
      switch (field) {
18764
      switch (field) {
-
 
18765
      case PHYSICAL_WAREHOUSE_ID:
-
 
18766
        if (value == null) {
-
 
18767
          unsetPhysicalWarehouseId();
-
 
18768
        } else {
-
 
18769
          setPhysicalWarehouseId((Long)value);
-
 
18770
        }
-
 
18771
        break;
-
 
18772
 
18613
      }
18773
      }
18614
    }
18774
    }
18615
 
18775
 
18616
    public Object getFieldValue(_Fields field) {
18776
    public Object getFieldValue(_Fields field) {
18617
      switch (field) {
18777
      switch (field) {
-
 
18778
      case PHYSICAL_WAREHOUSE_ID:
-
 
18779
        return Long.valueOf(getPhysicalWarehouseId());
-
 
18780
 
18618
      }
18781
      }
18619
      throw new IllegalStateException();
18782
      throw new IllegalStateException();
18620
    }
18783
    }
18621
 
18784
 
18622
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
18785
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 18624... Line 18787...
18624
      if (field == null) {
18787
      if (field == null) {
18625
        throw new IllegalArgumentException();
18788
        throw new IllegalArgumentException();
18626
      }
18789
      }
18627
 
18790
 
18628
      switch (field) {
18791
      switch (field) {
-
 
18792
      case PHYSICAL_WAREHOUSE_ID:
-
 
18793
        return isSetPhysicalWarehouseId();
18629
      }
18794
      }
18630
      throw new IllegalStateException();
18795
      throw new IllegalStateException();
18631
    }
18796
    }
18632
 
18797
 
18633
    @Override
18798
    @Override
Line 18641... Line 18806...
18641
 
18806
 
18642
    public boolean equals(getCurrentNonSerializedInventoryByScans_args that) {
18807
    public boolean equals(getCurrentNonSerializedInventoryByScans_args that) {
18643
      if (that == null)
18808
      if (that == null)
18644
        return false;
18809
        return false;
18645
 
18810
 
-
 
18811
      boolean this_present_physicalWarehouseId = true;
-
 
18812
      boolean that_present_physicalWarehouseId = true;
-
 
18813
      if (this_present_physicalWarehouseId || that_present_physicalWarehouseId) {
-
 
18814
        if (!(this_present_physicalWarehouseId && that_present_physicalWarehouseId))
-
 
18815
          return false;
-
 
18816
        if (this.physicalWarehouseId != that.physicalWarehouseId)
-
 
18817
          return false;
-
 
18818
      }
-
 
18819
 
18646
      return true;
18820
      return true;
18647
    }
18821
    }
18648
 
18822
 
18649
    @Override
18823
    @Override
18650
    public int hashCode() {
18824
    public int hashCode() {
Line 18657... Line 18831...
18657
      }
18831
      }
18658
 
18832
 
18659
      int lastComparison = 0;
18833
      int lastComparison = 0;
18660
      getCurrentNonSerializedInventoryByScans_args typedOther = (getCurrentNonSerializedInventoryByScans_args)other;
18834
      getCurrentNonSerializedInventoryByScans_args typedOther = (getCurrentNonSerializedInventoryByScans_args)other;
18661
 
18835
 
-
 
18836
      lastComparison = Boolean.valueOf(isSetPhysicalWarehouseId()).compareTo(typedOther.isSetPhysicalWarehouseId());
-
 
18837
      if (lastComparison != 0) {
-
 
18838
        return lastComparison;
-
 
18839
      }
-
 
18840
      if (isSetPhysicalWarehouseId()) {
-
 
18841
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.physicalWarehouseId, typedOther.physicalWarehouseId);
-
 
18842
        if (lastComparison != 0) {
-
 
18843
          return lastComparison;
-
 
18844
        }
-
 
18845
      }
18662
      return 0;
18846
      return 0;
18663
    }
18847
    }
18664
 
18848
 
18665
    public _Fields fieldForId(int fieldId) {
18849
    public _Fields fieldForId(int fieldId) {
18666
      return _Fields.findByThriftId(fieldId);
18850
      return _Fields.findByThriftId(fieldId);
Line 18674... Line 18858...
18674
        field = iprot.readFieldBegin();
18858
        field = iprot.readFieldBegin();
18675
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
18859
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
18676
          break;
18860
          break;
18677
        }
18861
        }
18678
        switch (field.id) {
18862
        switch (field.id) {
-
 
18863
          case 1: // PHYSICAL_WAREHOUSE_ID
-
 
18864
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
18865
              this.physicalWarehouseId = iprot.readI64();
-
 
18866
              setPhysicalWarehouseIdIsSet(true);
-
 
18867
            } else { 
-
 
18868
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
18869
            }
-
 
18870
            break;
18679
          default:
18871
          default:
18680
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
18872
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
18681
        }
18873
        }
18682
        iprot.readFieldEnd();
18874
        iprot.readFieldEnd();
18683
      }
18875
      }
Line 18687... Line 18879...
18687
 
18879
 
18688
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
18880
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
18689
      validate();
18881
      validate();
18690
 
18882
 
18691
      oprot.writeStructBegin(STRUCT_DESC);
18883
      oprot.writeStructBegin(STRUCT_DESC);
-
 
18884
      oprot.writeFieldBegin(PHYSICAL_WAREHOUSE_ID_FIELD_DESC);
-
 
18885
      oprot.writeI64(this.physicalWarehouseId);
-
 
18886
      oprot.writeFieldEnd();
18692
      oprot.writeFieldStop();
18887
      oprot.writeFieldStop();
18693
      oprot.writeStructEnd();
18888
      oprot.writeStructEnd();
18694
    }
18889
    }
18695
 
18890
 
18696
    @Override
18891
    @Override
18697
    public String toString() {
18892
    public String toString() {
18698
      StringBuilder sb = new StringBuilder("getCurrentNonSerializedInventoryByScans_args(");
18893
      StringBuilder sb = new StringBuilder("getCurrentNonSerializedInventoryByScans_args(");
18699
      boolean first = true;
18894
      boolean first = true;
18700
 
18895
 
-
 
18896
      sb.append("physicalWarehouseId:");
-
 
18897
      sb.append(this.physicalWarehouseId);
-
 
18898
      first = false;
18701
      sb.append(")");
18899
      sb.append(")");
18702
      return sb.toString();
18900
      return sb.toString();
18703
    }
18901
    }
18704
 
18902
 
18705
    public void validate() throws org.apache.thrift.TException {
18903
    public void validate() throws org.apache.thrift.TException {
Line 18714... Line 18912...
18714
      }
18912
      }
18715
    }
18913
    }
18716
 
18914
 
18717
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
18915
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
18718
      try {
18916
      try {
-
 
18917
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
18918
        __isset_bit_vector = new BitSet(1);
18719
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
18919
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
18720
      } catch (org.apache.thrift.TException te) {
18920
      } catch (org.apache.thrift.TException te) {
18721
        throw new java.io.IOException(te);
18921
        throw new java.io.IOException(te);
18722
      }
18922
      }
18723
    }
18923
    }
Line 19337... Line 19537...
19337
      }
19537
      }
19338
    }
19538
    }
19339
 
19539
 
19340
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
19540
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
19341
      try {
19541
      try {
-
 
19542
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
19543
        __isset_bit_vector = new BitSet(1);
19342
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
19544
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
19343
      } catch (org.apache.thrift.TException te) {
19545
      } catch (org.apache.thrift.TException te) {
19344
        throw new java.io.IOException(te);
19546
        throw new java.io.IOException(te);
19345
      }
19547
      }
19346
    }
19548
    }
Line 19960... Line 20162...
19960
      }
20162
      }
19961
    }
20163
    }
19962
 
20164
 
19963
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
20165
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
19964
      try {
20166
      try {
19965
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
19966
        __isset_bit_vector = new BitSet(1);
-
 
19967
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
20167
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
19968
      } catch (org.apache.thrift.TException te) {
20168
      } catch (org.apache.thrift.TException te) {
19969
        throw new java.io.IOException(te);
20169
        throw new java.io.IOException(te);
19970
      }
20170
      }
19971
    }
20171
    }
Line 21181... Line 21381...
21181
      }
21381
      }
21182
    }
21382
    }
21183
 
21383
 
21184
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
21384
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
21185
      try {
21385
      try {
21186
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
21187
        __isset_bit_vector = new BitSet(1);
-
 
21188
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
21386
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
21189
      } catch (org.apache.thrift.TException te) {
21387
      } catch (org.apache.thrift.TException te) {
21190
        throw new java.io.IOException(te);
21388
        throw new java.io.IOException(te);
21191
      }
21389
      }
21192
    }
21390
    }