Subversion Repositories SmartDukaan

Rev

Rev 4375 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4375 Rev 5110
Line 24... Line 24...
24
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Warehouse");
24
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Warehouse");
25
 
25
 
26
  private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
26
  private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
27
  private static final org.apache.thrift.protocol.TField DISPLAY_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("displayName", org.apache.thrift.protocol.TType.STRING, (short)2);
27
  private static final org.apache.thrift.protocol.TField DISPLAY_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("displayName", org.apache.thrift.protocol.TType.STRING, (short)2);
28
  private static final org.apache.thrift.protocol.TField LOCATION_FIELD_DESC = new org.apache.thrift.protocol.TField("location", org.apache.thrift.protocol.TType.STRING, (short)3);
28
  private static final org.apache.thrift.protocol.TField LOCATION_FIELD_DESC = new org.apache.thrift.protocol.TField("location", org.apache.thrift.protocol.TType.STRING, (short)3);
29
  private static final org.apache.thrift.protocol.TField WAREHOUSE_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouseStatus", org.apache.thrift.protocol.TType.I32, (short)4);
-
 
30
  private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)5);
29
  private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)5);
31
  private static final org.apache.thrift.protocol.TField LAST_CHECKED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("lastCheckedOn", org.apache.thrift.protocol.TType.I64, (short)6);
30
  private static final org.apache.thrift.protocol.TField LAST_CHECKED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("lastCheckedOn", org.apache.thrift.protocol.TType.I64, (short)6);
32
  private static final org.apache.thrift.protocol.TField TIN_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("tinNumber", org.apache.thrift.protocol.TType.STRING, (short)7);
31
  private static final org.apache.thrift.protocol.TField TIN_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("tinNumber", org.apache.thrift.protocol.TType.STRING, (short)7);
33
  private static final org.apache.thrift.protocol.TField PINCODE_FIELD_DESC = new org.apache.thrift.protocol.TField("pincode", org.apache.thrift.protocol.TType.STRING, (short)8);
32
  private static final org.apache.thrift.protocol.TField PINCODE_FIELD_DESC = new org.apache.thrift.protocol.TField("pincode", org.apache.thrift.protocol.TType.STRING, (short)8);
34
  private static final org.apache.thrift.protocol.TField VENDOR_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorString", org.apache.thrift.protocol.TType.STRING, (short)9);
33
  private static final org.apache.thrift.protocol.TField VENDOR_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorString", org.apache.thrift.protocol.TType.STRING, (short)9);
35
  private static final org.apache.thrift.protocol.TField LOGISTICS_LOCATION_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsLocation", org.apache.thrift.protocol.TType.I32, (short)10);
34
  private static final org.apache.thrift.protocol.TField LOGISTICS_LOCATION_FIELD_DESC = new org.apache.thrift.protocol.TField("logisticsLocation", org.apache.thrift.protocol.TType.I32, (short)10);
36
  private static final org.apache.thrift.protocol.TField VENDOR_FIELD_DESC = new org.apache.thrift.protocol.TField("vendor", org.apache.thrift.protocol.TType.STRING, (short)11);
-
 
37
  private static final org.apache.thrift.protocol.TField BILLING_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("billingType", org.apache.thrift.protocol.TType.I32, (short)12);
35
  private static final org.apache.thrift.protocol.TField BILLING_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("billingType", org.apache.thrift.protocol.TType.I32, (short)12);
-
 
36
  private static final org.apache.thrift.protocol.TField WAREHOUSE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouseType", org.apache.thrift.protocol.TType.I32, (short)13);
-
 
37
  private static final org.apache.thrift.protocol.TField INVENTORY_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("inventoryType", org.apache.thrift.protocol.TType.I32, (short)14);
-
 
38
  private static final org.apache.thrift.protocol.TField VENDOR_FIELD_DESC = new org.apache.thrift.protocol.TField("vendor", org.apache.thrift.protocol.TType.STRUCT, (short)15);
-
 
39
  private static final org.apache.thrift.protocol.TField SHIPPING_WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("shippingWarehouseId", org.apache.thrift.protocol.TType.I64, (short)16);
-
 
40
  private static final org.apache.thrift.protocol.TField BILLING_WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("billingWarehouseId", org.apache.thrift.protocol.TType.I64, (short)17);
-
 
41
  private static final org.apache.thrift.protocol.TField IS_AVAILABILITY_MONITORED_FIELD_DESC = new org.apache.thrift.protocol.TField("isAvailabilityMonitored", org.apache.thrift.protocol.TType.BOOL, (short)18);
-
 
42
  private static final org.apache.thrift.protocol.TField TRANSFER_DELAY_IN_HOURS_FIELD_DESC = new org.apache.thrift.protocol.TField("transferDelayInHours", org.apache.thrift.protocol.TType.I64, (short)19);
38
 
43
 
39
  private long id; // required
44
  private long id; // required
40
  private String displayName; // required
45
  private String displayName; // required
41
  private String location; // required
46
  private String location; // required
42
  private status warehouseStatus; // required
-
 
43
  private long addedOn; // required
47
  private long addedOn; // required
44
  private long lastCheckedOn; // required
48
  private long lastCheckedOn; // required
45
  private String tinNumber; // required
49
  private String tinNumber; // required
46
  private String pincode; // required
50
  private String pincode; // required
47
  private String vendorString; // required
51
  private String vendorString; // required
48
  private WarehouseLocation logisticsLocation; // required
52
  private WarehouseLocation logisticsLocation; // required
49
  private String vendor; // required
-
 
50
  private BillingType billingType; // required
53
  private BillingType billingType; // required
-
 
54
  private WarehouseType warehouseType; // required
-
 
55
  private InventoryType inventoryType; // required
-
 
56
  private Vendor vendor; // required
-
 
57
  private long shippingWarehouseId; // required
-
 
58
  private long billingWarehouseId; // required
-
 
59
  private boolean isAvailabilityMonitored; // required
-
 
60
  private long transferDelayInHours; // required
51
 
61
 
52
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
62
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
53
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
63
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
54
    ID((short)1, "id"),
64
    ID((short)1, "id"),
55
    DISPLAY_NAME((short)2, "displayName"),
65
    DISPLAY_NAME((short)2, "displayName"),
56
    LOCATION((short)3, "location"),
66
    LOCATION((short)3, "location"),
57
    /**
-
 
58
     * 
-
 
59
     * @see status
-
 
60
     */
-
 
61
    WAREHOUSE_STATUS((short)4, "warehouseStatus"),
-
 
62
    ADDED_ON((short)5, "addedOn"),
67
    ADDED_ON((short)5, "addedOn"),
63
    LAST_CHECKED_ON((short)6, "lastCheckedOn"),
68
    LAST_CHECKED_ON((short)6, "lastCheckedOn"),
64
    TIN_NUMBER((short)7, "tinNumber"),
69
    TIN_NUMBER((short)7, "tinNumber"),
65
    PINCODE((short)8, "pincode"),
70
    PINCODE((short)8, "pincode"),
66
    VENDOR_STRING((short)9, "vendorString"),
71
    VENDOR_STRING((short)9, "vendorString"),
67
    /**
72
    /**
68
     * 
73
     * 
69
     * @see WarehouseLocation
74
     * @see WarehouseLocation
70
     */
75
     */
71
    LOGISTICS_LOCATION((short)10, "logisticsLocation"),
76
    LOGISTICS_LOCATION((short)10, "logisticsLocation"),
72
    VENDOR((short)11, "vendor"),
-
 
73
    /**
77
    /**
74
     * 
78
     * 
75
     * @see BillingType
79
     * @see BillingType
76
     */
80
     */
77
    BILLING_TYPE((short)12, "billingType");
81
    BILLING_TYPE((short)12, "billingType"),
-
 
82
    /**
-
 
83
     * 
-
 
84
     * @see WarehouseType
-
 
85
     */
-
 
86
    WAREHOUSE_TYPE((short)13, "warehouseType"),
-
 
87
    /**
-
 
88
     * 
-
 
89
     * @see InventoryType
-
 
90
     */
-
 
91
    INVENTORY_TYPE((short)14, "inventoryType"),
-
 
92
    VENDOR((short)15, "vendor"),
-
 
93
    SHIPPING_WAREHOUSE_ID((short)16, "shippingWarehouseId"),
-
 
94
    BILLING_WAREHOUSE_ID((short)17, "billingWarehouseId"),
-
 
95
    IS_AVAILABILITY_MONITORED((short)18, "isAvailabilityMonitored"),
-
 
96
    TRANSFER_DELAY_IN_HOURS((short)19, "transferDelayInHours");
78
 
97
 
79
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
98
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
80
 
99
 
81
    static {
100
    static {
82
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
101
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 93... Line 112...
93
          return ID;
112
          return ID;
94
        case 2: // DISPLAY_NAME
113
        case 2: // DISPLAY_NAME
95
          return DISPLAY_NAME;
114
          return DISPLAY_NAME;
96
        case 3: // LOCATION
115
        case 3: // LOCATION
97
          return LOCATION;
116
          return LOCATION;
98
        case 4: // WAREHOUSE_STATUS
-
 
99
          return WAREHOUSE_STATUS;
-
 
100
        case 5: // ADDED_ON
117
        case 5: // ADDED_ON
101
          return ADDED_ON;
118
          return ADDED_ON;
102
        case 6: // LAST_CHECKED_ON
119
        case 6: // LAST_CHECKED_ON
103
          return LAST_CHECKED_ON;
120
          return LAST_CHECKED_ON;
104
        case 7: // TIN_NUMBER
121
        case 7: // TIN_NUMBER
Line 107... Line 124...
107
          return PINCODE;
124
          return PINCODE;
108
        case 9: // VENDOR_STRING
125
        case 9: // VENDOR_STRING
109
          return VENDOR_STRING;
126
          return VENDOR_STRING;
110
        case 10: // LOGISTICS_LOCATION
127
        case 10: // LOGISTICS_LOCATION
111
          return LOGISTICS_LOCATION;
128
          return LOGISTICS_LOCATION;
112
        case 11: // VENDOR
-
 
113
          return VENDOR;
-
 
114
        case 12: // BILLING_TYPE
129
        case 12: // BILLING_TYPE
115
          return BILLING_TYPE;
130
          return BILLING_TYPE;
-
 
131
        case 13: // WAREHOUSE_TYPE
-
 
132
          return WAREHOUSE_TYPE;
-
 
133
        case 14: // INVENTORY_TYPE
-
 
134
          return INVENTORY_TYPE;
-
 
135
        case 15: // VENDOR
-
 
136
          return VENDOR;
-
 
137
        case 16: // SHIPPING_WAREHOUSE_ID
-
 
138
          return SHIPPING_WAREHOUSE_ID;
-
 
139
        case 17: // BILLING_WAREHOUSE_ID
-
 
140
          return BILLING_WAREHOUSE_ID;
-
 
141
        case 18: // IS_AVAILABILITY_MONITORED
-
 
142
          return IS_AVAILABILITY_MONITORED;
-
 
143
        case 19: // TRANSFER_DELAY_IN_HOURS
-
 
144
          return TRANSFER_DELAY_IN_HOURS;
116
        default:
145
        default:
117
          return null;
146
          return null;
118
      }
147
      }
119
    }
148
    }
120
 
149
 
Line 154... Line 183...
154
 
183
 
155
  // isset id assignments
184
  // isset id assignments
156
  private static final int __ID_ISSET_ID = 0;
185
  private static final int __ID_ISSET_ID = 0;
157
  private static final int __ADDEDON_ISSET_ID = 1;
186
  private static final int __ADDEDON_ISSET_ID = 1;
158
  private static final int __LASTCHECKEDON_ISSET_ID = 2;
187
  private static final int __LASTCHECKEDON_ISSET_ID = 2;
-
 
188
  private static final int __SHIPPINGWAREHOUSEID_ISSET_ID = 3;
-
 
189
  private static final int __BILLINGWAREHOUSEID_ISSET_ID = 4;
-
 
190
  private static final int __ISAVAILABILITYMONITORED_ISSET_ID = 5;
-
 
191
  private static final int __TRANSFERDELAYINHOURS_ISSET_ID = 6;
159
  private BitSet __isset_bit_vector = new BitSet(3);
192
  private BitSet __isset_bit_vector = new BitSet(7);
160
 
193
 
161
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
194
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
162
  static {
195
  static {
163
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
196
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
164
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
197
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
165
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
198
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
166
    tmpMap.put(_Fields.DISPLAY_NAME, new org.apache.thrift.meta_data.FieldMetaData("displayName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
199
    tmpMap.put(_Fields.DISPLAY_NAME, new org.apache.thrift.meta_data.FieldMetaData("displayName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
167
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
200
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
168
    tmpMap.put(_Fields.LOCATION, new org.apache.thrift.meta_data.FieldMetaData("location", org.apache.thrift.TFieldRequirementType.DEFAULT, 
201
    tmpMap.put(_Fields.LOCATION, new org.apache.thrift.meta_data.FieldMetaData("location", org.apache.thrift.TFieldRequirementType.DEFAULT, 
169
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
202
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
170
    tmpMap.put(_Fields.WAREHOUSE_STATUS, new org.apache.thrift.meta_data.FieldMetaData("warehouseStatus", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
171
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, status.class)));
-
 
172
    tmpMap.put(_Fields.ADDED_ON, new org.apache.thrift.meta_data.FieldMetaData("addedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
203
    tmpMap.put(_Fields.ADDED_ON, new org.apache.thrift.meta_data.FieldMetaData("addedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
173
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
204
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
174
    tmpMap.put(_Fields.LAST_CHECKED_ON, new org.apache.thrift.meta_data.FieldMetaData("lastCheckedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
205
    tmpMap.put(_Fields.LAST_CHECKED_ON, new org.apache.thrift.meta_data.FieldMetaData("lastCheckedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
175
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
206
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
176
    tmpMap.put(_Fields.TIN_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("tinNumber", org.apache.thrift.TFieldRequirementType.DEFAULT, 
207
    tmpMap.put(_Fields.TIN_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("tinNumber", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 179... Line 210...
179
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
210
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
180
    tmpMap.put(_Fields.VENDOR_STRING, new org.apache.thrift.meta_data.FieldMetaData("vendorString", org.apache.thrift.TFieldRequirementType.DEFAULT, 
211
    tmpMap.put(_Fields.VENDOR_STRING, new org.apache.thrift.meta_data.FieldMetaData("vendorString", org.apache.thrift.TFieldRequirementType.DEFAULT, 
181
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
212
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
182
    tmpMap.put(_Fields.LOGISTICS_LOCATION, new org.apache.thrift.meta_data.FieldMetaData("logisticsLocation", org.apache.thrift.TFieldRequirementType.DEFAULT, 
213
    tmpMap.put(_Fields.LOGISTICS_LOCATION, new org.apache.thrift.meta_data.FieldMetaData("logisticsLocation", org.apache.thrift.TFieldRequirementType.DEFAULT, 
183
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, WarehouseLocation.class)));
214
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, WarehouseLocation.class)));
184
    tmpMap.put(_Fields.VENDOR, new org.apache.thrift.meta_data.FieldMetaData("vendor", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
185
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
186
    tmpMap.put(_Fields.BILLING_TYPE, new org.apache.thrift.meta_data.FieldMetaData("billingType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
215
    tmpMap.put(_Fields.BILLING_TYPE, new org.apache.thrift.meta_data.FieldMetaData("billingType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
187
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, BillingType.class)));
216
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, BillingType.class)));
-
 
217
    tmpMap.put(_Fields.WAREHOUSE_TYPE, new org.apache.thrift.meta_data.FieldMetaData("warehouseType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
218
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, WarehouseType.class)));
-
 
219
    tmpMap.put(_Fields.INVENTORY_TYPE, new org.apache.thrift.meta_data.FieldMetaData("inventoryType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
220
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, InventoryType.class)));
-
 
221
    tmpMap.put(_Fields.VENDOR, new org.apache.thrift.meta_data.FieldMetaData("vendor", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
222
        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Vendor.class)));
-
 
223
    tmpMap.put(_Fields.SHIPPING_WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("shippingWarehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
224
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
225
    tmpMap.put(_Fields.BILLING_WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("billingWarehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
226
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
227
    tmpMap.put(_Fields.IS_AVAILABILITY_MONITORED, new org.apache.thrift.meta_data.FieldMetaData("isAvailabilityMonitored", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
228
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
229
    tmpMap.put(_Fields.TRANSFER_DELAY_IN_HOURS, new org.apache.thrift.meta_data.FieldMetaData("transferDelayInHours", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
230
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
188
    metaDataMap = Collections.unmodifiableMap(tmpMap);
231
    metaDataMap = Collections.unmodifiableMap(tmpMap);
189
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Warehouse.class, metaDataMap);
232
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Warehouse.class, metaDataMap);
190
  }
233
  }
191
 
234
 
192
  public Warehouse() {
235
  public Warehouse() {
Line 194... Line 237...
194
 
237
 
195
  public Warehouse(
238
  public Warehouse(
196
    long id,
239
    long id,
197
    String displayName,
240
    String displayName,
198
    String location,
241
    String location,
199
    status warehouseStatus,
-
 
200
    long addedOn,
242
    long addedOn,
201
    long lastCheckedOn,
243
    long lastCheckedOn,
202
    String tinNumber,
244
    String tinNumber,
203
    String pincode,
245
    String pincode,
204
    String vendorString,
246
    String vendorString,
205
    WarehouseLocation logisticsLocation,
247
    WarehouseLocation logisticsLocation,
-
 
248
    BillingType billingType,
-
 
249
    WarehouseType warehouseType,
-
 
250
    InventoryType inventoryType,
206
    String vendor,
251
    Vendor vendor,
-
 
252
    long shippingWarehouseId,
207
    BillingType billingType)
253
    long billingWarehouseId,
-
 
254
    boolean isAvailabilityMonitored,
-
 
255
    long transferDelayInHours)
208
  {
256
  {
209
    this();
257
    this();
210
    this.id = id;
258
    this.id = id;
211
    setIdIsSet(true);
259
    setIdIsSet(true);
212
    this.displayName = displayName;
260
    this.displayName = displayName;
213
    this.location = location;
261
    this.location = location;
214
    this.warehouseStatus = warehouseStatus;
-
 
215
    this.addedOn = addedOn;
262
    this.addedOn = addedOn;
216
    setAddedOnIsSet(true);
263
    setAddedOnIsSet(true);
217
    this.lastCheckedOn = lastCheckedOn;
264
    this.lastCheckedOn = lastCheckedOn;
218
    setLastCheckedOnIsSet(true);
265
    setLastCheckedOnIsSet(true);
219
    this.tinNumber = tinNumber;
266
    this.tinNumber = tinNumber;
220
    this.pincode = pincode;
267
    this.pincode = pincode;
221
    this.vendorString = vendorString;
268
    this.vendorString = vendorString;
222
    this.logisticsLocation = logisticsLocation;
269
    this.logisticsLocation = logisticsLocation;
223
    this.vendor = vendor;
-
 
224
    this.billingType = billingType;
270
    this.billingType = billingType;
-
 
271
    this.warehouseType = warehouseType;
-
 
272
    this.inventoryType = inventoryType;
-
 
273
    this.vendor = vendor;
-
 
274
    this.shippingWarehouseId = shippingWarehouseId;
-
 
275
    setShippingWarehouseIdIsSet(true);
-
 
276
    this.billingWarehouseId = billingWarehouseId;
-
 
277
    setBillingWarehouseIdIsSet(true);
-
 
278
    this.isAvailabilityMonitored = isAvailabilityMonitored;
-
 
279
    setIsAvailabilityMonitoredIsSet(true);
-
 
280
    this.transferDelayInHours = transferDelayInHours;
-
 
281
    setTransferDelayInHoursIsSet(true);
225
  }
282
  }
226
 
283
 
227
  /**
284
  /**
228
   * Performs a deep copy on <i>other</i>.
285
   * Performs a deep copy on <i>other</i>.
229
   */
286
   */
Line 235... Line 292...
235
      this.displayName = other.displayName;
292
      this.displayName = other.displayName;
236
    }
293
    }
237
    if (other.isSetLocation()) {
294
    if (other.isSetLocation()) {
238
      this.location = other.location;
295
      this.location = other.location;
239
    }
296
    }
240
    if (other.isSetWarehouseStatus()) {
-
 
241
      this.warehouseStatus = other.warehouseStatus;
-
 
242
    }
-
 
243
    this.addedOn = other.addedOn;
297
    this.addedOn = other.addedOn;
244
    this.lastCheckedOn = other.lastCheckedOn;
298
    this.lastCheckedOn = other.lastCheckedOn;
245
    if (other.isSetTinNumber()) {
299
    if (other.isSetTinNumber()) {
246
      this.tinNumber = other.tinNumber;
300
      this.tinNumber = other.tinNumber;
247
    }
301
    }
Line 252... Line 306...
252
      this.vendorString = other.vendorString;
306
      this.vendorString = other.vendorString;
253
    }
307
    }
254
    if (other.isSetLogisticsLocation()) {
308
    if (other.isSetLogisticsLocation()) {
255
      this.logisticsLocation = other.logisticsLocation;
309
      this.logisticsLocation = other.logisticsLocation;
256
    }
310
    }
257
    if (other.isSetVendor()) {
-
 
258
      this.vendor = other.vendor;
-
 
259
    }
-
 
260
    if (other.isSetBillingType()) {
311
    if (other.isSetBillingType()) {
261
      this.billingType = other.billingType;
312
      this.billingType = other.billingType;
262
    }
313
    }
-
 
314
    if (other.isSetWarehouseType()) {
-
 
315
      this.warehouseType = other.warehouseType;
-
 
316
    }
-
 
317
    if (other.isSetInventoryType()) {
-
 
318
      this.inventoryType = other.inventoryType;
-
 
319
    }
-
 
320
    if (other.isSetVendor()) {
-
 
321
      this.vendor = new Vendor(other.vendor);
-
 
322
    }
-
 
323
    this.shippingWarehouseId = other.shippingWarehouseId;
-
 
324
    this.billingWarehouseId = other.billingWarehouseId;
-
 
325
    this.isAvailabilityMonitored = other.isAvailabilityMonitored;
-
 
326
    this.transferDelayInHours = other.transferDelayInHours;
263
  }
327
  }
264
 
328
 
265
  public Warehouse deepCopy() {
329
  public Warehouse deepCopy() {
266
    return new Warehouse(this);
330
    return new Warehouse(this);
267
  }
331
  }
Line 270... Line 334...
270
  public void clear() {
334
  public void clear() {
271
    setIdIsSet(false);
335
    setIdIsSet(false);
272
    this.id = 0;
336
    this.id = 0;
273
    this.displayName = null;
337
    this.displayName = null;
274
    this.location = null;
338
    this.location = null;
275
    this.warehouseStatus = null;
-
 
276
    setAddedOnIsSet(false);
339
    setAddedOnIsSet(false);
277
    this.addedOn = 0;
340
    this.addedOn = 0;
278
    setLastCheckedOnIsSet(false);
341
    setLastCheckedOnIsSet(false);
279
    this.lastCheckedOn = 0;
342
    this.lastCheckedOn = 0;
280
    this.tinNumber = null;
343
    this.tinNumber = null;
281
    this.pincode = null;
344
    this.pincode = null;
282
    this.vendorString = null;
345
    this.vendorString = null;
283
    this.logisticsLocation = null;
346
    this.logisticsLocation = null;
284
    this.vendor = null;
-
 
285
    this.billingType = null;
347
    this.billingType = null;
-
 
348
    this.warehouseType = null;
-
 
349
    this.inventoryType = null;
-
 
350
    this.vendor = null;
-
 
351
    setShippingWarehouseIdIsSet(false);
-
 
352
    this.shippingWarehouseId = 0;
-
 
353
    setBillingWarehouseIdIsSet(false);
-
 
354
    this.billingWarehouseId = 0;
-
 
355
    setIsAvailabilityMonitoredIsSet(false);
-
 
356
    this.isAvailabilityMonitored = false;
-
 
357
    setTransferDelayInHoursIsSet(false);
-
 
358
    this.transferDelayInHours = 0;
286
  }
359
  }
287
 
360
 
288
  public long getId() {
361
  public long getId() {
289
    return this.id;
362
    return this.id;
290
  }
363
  }
Line 351... Line 424...
351
    if (!value) {
424
    if (!value) {
352
      this.location = null;
425
      this.location = null;
353
    }
426
    }
354
  }
427
  }
355
 
428
 
356
  /**
-
 
357
   * 
-
 
358
   * @see status
-
 
359
   */
-
 
360
  public status getWarehouseStatus() {
-
 
361
    return this.warehouseStatus;
-
 
362
  }
-
 
363
 
-
 
364
  /**
-
 
365
   * 
-
 
366
   * @see status
-
 
367
   */
-
 
368
  public void setWarehouseStatus(status warehouseStatus) {
-
 
369
    this.warehouseStatus = warehouseStatus;
-
 
370
  }
-
 
371
 
-
 
372
  public void unsetWarehouseStatus() {
-
 
373
    this.warehouseStatus = null;
-
 
374
  }
-
 
375
 
-
 
376
  /** Returns true if field warehouseStatus is set (has been assigned a value) and false otherwise */
-
 
377
  public boolean isSetWarehouseStatus() {
-
 
378
    return this.warehouseStatus != null;
-
 
379
  }
-
 
380
 
-
 
381
  public void setWarehouseStatusIsSet(boolean value) {
-
 
382
    if (!value) {
-
 
383
      this.warehouseStatus = null;
-
 
384
    }
-
 
385
  }
-
 
386
 
-
 
387
  public long getAddedOn() {
429
  public long getAddedOn() {
388
    return this.addedOn;
430
    return this.addedOn;
389
  }
431
  }
390
 
432
 
391
  public void setAddedOn(long addedOn) {
433
  public void setAddedOn(long addedOn) {
Line 526... Line 568...
526
    if (!value) {
568
    if (!value) {
527
      this.logisticsLocation = null;
569
      this.logisticsLocation = null;
528
    }
570
    }
529
  }
571
  }
530
 
572
 
531
  public String getVendor() {
-
 
532
    return this.vendor;
-
 
533
  }
-
 
534
 
-
 
535
  public void setVendor(String vendor) {
-
 
536
    this.vendor = vendor;
-
 
537
  }
-
 
538
 
-
 
539
  public void unsetVendor() {
-
 
540
    this.vendor = null;
-
 
541
  }
-
 
542
 
-
 
543
  /** Returns true if field vendor is set (has been assigned a value) and false otherwise */
-
 
544
  public boolean isSetVendor() {
-
 
545
    return this.vendor != null;
-
 
546
  }
-
 
547
 
-
 
548
  public void setVendorIsSet(boolean value) {
-
 
549
    if (!value) {
-
 
550
      this.vendor = null;
-
 
551
    }
-
 
552
  }
-
 
553
 
-
 
554
  /**
573
  /**
555
   * 
574
   * 
556
   * @see BillingType
575
   * @see BillingType
557
   */
576
   */
558
  public BillingType getBillingType() {
577
  public BillingType getBillingType() {
Line 580... Line 599...
580
    if (!value) {
599
    if (!value) {
581
      this.billingType = null;
600
      this.billingType = null;
582
    }
601
    }
583
  }
602
  }
584
 
603
 
-
 
604
  /**
-
 
605
   * 
-
 
606
   * @see WarehouseType
-
 
607
   */
-
 
608
  public WarehouseType getWarehouseType() {
-
 
609
    return this.warehouseType;
-
 
610
  }
-
 
611
 
-
 
612
  /**
-
 
613
   * 
-
 
614
   * @see WarehouseType
-
 
615
   */
-
 
616
  public void setWarehouseType(WarehouseType warehouseType) {
-
 
617
    this.warehouseType = warehouseType;
-
 
618
  }
-
 
619
 
-
 
620
  public void unsetWarehouseType() {
-
 
621
    this.warehouseType = null;
-
 
622
  }
-
 
623
 
-
 
624
  /** Returns true if field warehouseType is set (has been assigned a value) and false otherwise */
-
 
625
  public boolean isSetWarehouseType() {
-
 
626
    return this.warehouseType != null;
-
 
627
  }
-
 
628
 
-
 
629
  public void setWarehouseTypeIsSet(boolean value) {
-
 
630
    if (!value) {
-
 
631
      this.warehouseType = null;
-
 
632
    }
-
 
633
  }
-
 
634
 
-
 
635
  /**
-
 
636
   * 
-
 
637
   * @see InventoryType
-
 
638
   */
-
 
639
  public InventoryType getInventoryType() {
-
 
640
    return this.inventoryType;
-
 
641
  }
-
 
642
 
-
 
643
  /**
-
 
644
   * 
-
 
645
   * @see InventoryType
-
 
646
   */
-
 
647
  public void setInventoryType(InventoryType inventoryType) {
-
 
648
    this.inventoryType = inventoryType;
-
 
649
  }
-
 
650
 
-
 
651
  public void unsetInventoryType() {
-
 
652
    this.inventoryType = null;
-
 
653
  }
-
 
654
 
-
 
655
  /** Returns true if field inventoryType is set (has been assigned a value) and false otherwise */
-
 
656
  public boolean isSetInventoryType() {
-
 
657
    return this.inventoryType != null;
-
 
658
  }
-
 
659
 
-
 
660
  public void setInventoryTypeIsSet(boolean value) {
-
 
661
    if (!value) {
-
 
662
      this.inventoryType = null;
-
 
663
    }
-
 
664
  }
-
 
665
 
-
 
666
  public Vendor getVendor() {
-
 
667
    return this.vendor;
-
 
668
  }
-
 
669
 
-
 
670
  public void setVendor(Vendor vendor) {
-
 
671
    this.vendor = vendor;
-
 
672
  }
-
 
673
 
-
 
674
  public void unsetVendor() {
-
 
675
    this.vendor = null;
-
 
676
  }
-
 
677
 
-
 
678
  /** Returns true if field vendor is set (has been assigned a value) and false otherwise */
-
 
679
  public boolean isSetVendor() {
-
 
680
    return this.vendor != null;
-
 
681
  }
-
 
682
 
-
 
683
  public void setVendorIsSet(boolean value) {
-
 
684
    if (!value) {
-
 
685
      this.vendor = null;
-
 
686
    }
-
 
687
  }
-
 
688
 
-
 
689
  public long getShippingWarehouseId() {
-
 
690
    return this.shippingWarehouseId;
-
 
691
  }
-
 
692
 
-
 
693
  public void setShippingWarehouseId(long shippingWarehouseId) {
-
 
694
    this.shippingWarehouseId = shippingWarehouseId;
-
 
695
    setShippingWarehouseIdIsSet(true);
-
 
696
  }
-
 
697
 
-
 
698
  public void unsetShippingWarehouseId() {
-
 
699
    __isset_bit_vector.clear(__SHIPPINGWAREHOUSEID_ISSET_ID);
-
 
700
  }
-
 
701
 
-
 
702
  /** Returns true if field shippingWarehouseId is set (has been assigned a value) and false otherwise */
-
 
703
  public boolean isSetShippingWarehouseId() {
-
 
704
    return __isset_bit_vector.get(__SHIPPINGWAREHOUSEID_ISSET_ID);
-
 
705
  }
-
 
706
 
-
 
707
  public void setShippingWarehouseIdIsSet(boolean value) {
-
 
708
    __isset_bit_vector.set(__SHIPPINGWAREHOUSEID_ISSET_ID, value);
-
 
709
  }
-
 
710
 
-
 
711
  public long getBillingWarehouseId() {
-
 
712
    return this.billingWarehouseId;
-
 
713
  }
-
 
714
 
-
 
715
  public void setBillingWarehouseId(long billingWarehouseId) {
-
 
716
    this.billingWarehouseId = billingWarehouseId;
-
 
717
    setBillingWarehouseIdIsSet(true);
-
 
718
  }
-
 
719
 
-
 
720
  public void unsetBillingWarehouseId() {
-
 
721
    __isset_bit_vector.clear(__BILLINGWAREHOUSEID_ISSET_ID);
-
 
722
  }
-
 
723
 
-
 
724
  /** Returns true if field billingWarehouseId is set (has been assigned a value) and false otherwise */
-
 
725
  public boolean isSetBillingWarehouseId() {
-
 
726
    return __isset_bit_vector.get(__BILLINGWAREHOUSEID_ISSET_ID);
-
 
727
  }
-
 
728
 
-
 
729
  public void setBillingWarehouseIdIsSet(boolean value) {
-
 
730
    __isset_bit_vector.set(__BILLINGWAREHOUSEID_ISSET_ID, value);
-
 
731
  }
-
 
732
 
-
 
733
  public boolean isIsAvailabilityMonitored() {
-
 
734
    return this.isAvailabilityMonitored;
-
 
735
  }
-
 
736
 
-
 
737
  public void setIsAvailabilityMonitored(boolean isAvailabilityMonitored) {
-
 
738
    this.isAvailabilityMonitored = isAvailabilityMonitored;
-
 
739
    setIsAvailabilityMonitoredIsSet(true);
-
 
740
  }
-
 
741
 
-
 
742
  public void unsetIsAvailabilityMonitored() {
-
 
743
    __isset_bit_vector.clear(__ISAVAILABILITYMONITORED_ISSET_ID);
-
 
744
  }
-
 
745
 
-
 
746
  /** Returns true if field isAvailabilityMonitored is set (has been assigned a value) and false otherwise */
-
 
747
  public boolean isSetIsAvailabilityMonitored() {
-
 
748
    return __isset_bit_vector.get(__ISAVAILABILITYMONITORED_ISSET_ID);
-
 
749
  }
-
 
750
 
-
 
751
  public void setIsAvailabilityMonitoredIsSet(boolean value) {
-
 
752
    __isset_bit_vector.set(__ISAVAILABILITYMONITORED_ISSET_ID, value);
-
 
753
  }
-
 
754
 
-
 
755
  public long getTransferDelayInHours() {
-
 
756
    return this.transferDelayInHours;
-
 
757
  }
-
 
758
 
-
 
759
  public void setTransferDelayInHours(long transferDelayInHours) {
-
 
760
    this.transferDelayInHours = transferDelayInHours;
-
 
761
    setTransferDelayInHoursIsSet(true);
-
 
762
  }
-
 
763
 
-
 
764
  public void unsetTransferDelayInHours() {
-
 
765
    __isset_bit_vector.clear(__TRANSFERDELAYINHOURS_ISSET_ID);
-
 
766
  }
-
 
767
 
-
 
768
  /** Returns true if field transferDelayInHours is set (has been assigned a value) and false otherwise */
-
 
769
  public boolean isSetTransferDelayInHours() {
-
 
770
    return __isset_bit_vector.get(__TRANSFERDELAYINHOURS_ISSET_ID);
-
 
771
  }
-
 
772
 
-
 
773
  public void setTransferDelayInHoursIsSet(boolean value) {
-
 
774
    __isset_bit_vector.set(__TRANSFERDELAYINHOURS_ISSET_ID, value);
-
 
775
  }
-
 
776
 
585
  public void setFieldValue(_Fields field, Object value) {
777
  public void setFieldValue(_Fields field, Object value) {
586
    switch (field) {
778
    switch (field) {
587
    case ID:
779
    case ID:
588
      if (value == null) {
780
      if (value == null) {
589
        unsetId();
781
        unsetId();
Line 606... Line 798...
606
      } else {
798
      } else {
607
        setLocation((String)value);
799
        setLocation((String)value);
608
      }
800
      }
609
      break;
801
      break;
610
 
802
 
611
    case WAREHOUSE_STATUS:
-
 
612
      if (value == null) {
-
 
613
        unsetWarehouseStatus();
-
 
614
      } else {
-
 
615
        setWarehouseStatus((status)value);
-
 
616
      }
-
 
617
      break;
-
 
618
 
-
 
619
    case ADDED_ON:
803
    case ADDED_ON:
620
      if (value == null) {
804
      if (value == null) {
621
        unsetAddedOn();
805
        unsetAddedOn();
622
      } else {
806
      } else {
623
        setAddedOn((Long)value);
807
        setAddedOn((Long)value);
Line 662... Line 846...
662
      } else {
846
      } else {
663
        setLogisticsLocation((WarehouseLocation)value);
847
        setLogisticsLocation((WarehouseLocation)value);
664
      }
848
      }
665
      break;
849
      break;
666
 
850
 
-
 
851
    case BILLING_TYPE:
-
 
852
      if (value == null) {
-
 
853
        unsetBillingType();
-
 
854
      } else {
-
 
855
        setBillingType((BillingType)value);
-
 
856
      }
-
 
857
      break;
-
 
858
 
-
 
859
    case WAREHOUSE_TYPE:
-
 
860
      if (value == null) {
-
 
861
        unsetWarehouseType();
-
 
862
      } else {
-
 
863
        setWarehouseType((WarehouseType)value);
-
 
864
      }
-
 
865
      break;
-
 
866
 
-
 
867
    case INVENTORY_TYPE:
-
 
868
      if (value == null) {
-
 
869
        unsetInventoryType();
-
 
870
      } else {
-
 
871
        setInventoryType((InventoryType)value);
-
 
872
      }
-
 
873
      break;
-
 
874
 
667
    case VENDOR:
875
    case VENDOR:
668
      if (value == null) {
876
      if (value == null) {
669
        unsetVendor();
877
        unsetVendor();
670
      } else {
878
      } else {
671
        setVendor((String)value);
879
        setVendor((Vendor)value);
672
      }
880
      }
673
      break;
881
      break;
674
 
882
 
675
    case BILLING_TYPE:
883
    case SHIPPING_WAREHOUSE_ID:
676
      if (value == null) {
884
      if (value == null) {
677
        unsetBillingType();
885
        unsetShippingWarehouseId();
678
      } else {
886
      } else {
-
 
887
        setShippingWarehouseId((Long)value);
-
 
888
      }
-
 
889
      break;
-
 
890
 
-
 
891
    case BILLING_WAREHOUSE_ID:
-
 
892
      if (value == null) {
-
 
893
        unsetBillingWarehouseId();
-
 
894
      } else {
679
        setBillingType((BillingType)value);
895
        setBillingWarehouseId((Long)value);
-
 
896
      }
-
 
897
      break;
-
 
898
 
-
 
899
    case IS_AVAILABILITY_MONITORED:
-
 
900
      if (value == null) {
-
 
901
        unsetIsAvailabilityMonitored();
-
 
902
      } else {
-
 
903
        setIsAvailabilityMonitored((Boolean)value);
-
 
904
      }
-
 
905
      break;
-
 
906
 
-
 
907
    case TRANSFER_DELAY_IN_HOURS:
-
 
908
      if (value == null) {
-
 
909
        unsetTransferDelayInHours();
-
 
910
      } else {
-
 
911
        setTransferDelayInHours((Long)value);
680
      }
912
      }
681
      break;
913
      break;
682
 
914
 
683
    }
915
    }
684
  }
916
  }
Line 692... Line 924...
692
      return getDisplayName();
924
      return getDisplayName();
693
 
925
 
694
    case LOCATION:
926
    case LOCATION:
695
      return getLocation();
927
      return getLocation();
696
 
928
 
697
    case WAREHOUSE_STATUS:
-
 
698
      return getWarehouseStatus();
-
 
699
 
-
 
700
    case ADDED_ON:
929
    case ADDED_ON:
701
      return Long.valueOf(getAddedOn());
930
      return Long.valueOf(getAddedOn());
702
 
931
 
703
    case LAST_CHECKED_ON:
932
    case LAST_CHECKED_ON:
704
      return Long.valueOf(getLastCheckedOn());
933
      return Long.valueOf(getLastCheckedOn());
Line 713... Line 942...
713
      return getVendorString();
942
      return getVendorString();
714
 
943
 
715
    case LOGISTICS_LOCATION:
944
    case LOGISTICS_LOCATION:
716
      return getLogisticsLocation();
945
      return getLogisticsLocation();
717
 
946
 
-
 
947
    case BILLING_TYPE:
-
 
948
      return getBillingType();
-
 
949
 
-
 
950
    case WAREHOUSE_TYPE:
-
 
951
      return getWarehouseType();
-
 
952
 
-
 
953
    case INVENTORY_TYPE:
-
 
954
      return getInventoryType();
-
 
955
 
718
    case VENDOR:
956
    case VENDOR:
719
      return getVendor();
957
      return getVendor();
720
 
958
 
-
 
959
    case SHIPPING_WAREHOUSE_ID:
-
 
960
      return Long.valueOf(getShippingWarehouseId());
-
 
961
 
721
    case BILLING_TYPE:
962
    case BILLING_WAREHOUSE_ID:
722
      return getBillingType();
963
      return Long.valueOf(getBillingWarehouseId());
-
 
964
 
-
 
965
    case IS_AVAILABILITY_MONITORED:
-
 
966
      return Boolean.valueOf(isIsAvailabilityMonitored());
-
 
967
 
-
 
968
    case TRANSFER_DELAY_IN_HOURS:
-
 
969
      return Long.valueOf(getTransferDelayInHours());
723
 
970
 
724
    }
971
    }
725
    throw new IllegalStateException();
972
    throw new IllegalStateException();
726
  }
973
  }
727
 
974
 
Line 736... Line 983...
736
      return isSetId();
983
      return isSetId();
737
    case DISPLAY_NAME:
984
    case DISPLAY_NAME:
738
      return isSetDisplayName();
985
      return isSetDisplayName();
739
    case LOCATION:
986
    case LOCATION:
740
      return isSetLocation();
987
      return isSetLocation();
741
    case WAREHOUSE_STATUS:
-
 
742
      return isSetWarehouseStatus();
-
 
743
    case ADDED_ON:
988
    case ADDED_ON:
744
      return isSetAddedOn();
989
      return isSetAddedOn();
745
    case LAST_CHECKED_ON:
990
    case LAST_CHECKED_ON:
746
      return isSetLastCheckedOn();
991
      return isSetLastCheckedOn();
747
    case TIN_NUMBER:
992
    case TIN_NUMBER:
Line 750... Line 995...
750
      return isSetPincode();
995
      return isSetPincode();
751
    case VENDOR_STRING:
996
    case VENDOR_STRING:
752
      return isSetVendorString();
997
      return isSetVendorString();
753
    case LOGISTICS_LOCATION:
998
    case LOGISTICS_LOCATION:
754
      return isSetLogisticsLocation();
999
      return isSetLogisticsLocation();
755
    case VENDOR:
-
 
756
      return isSetVendor();
-
 
757
    case BILLING_TYPE:
1000
    case BILLING_TYPE:
758
      return isSetBillingType();
1001
      return isSetBillingType();
-
 
1002
    case WAREHOUSE_TYPE:
-
 
1003
      return isSetWarehouseType();
-
 
1004
    case INVENTORY_TYPE:
-
 
1005
      return isSetInventoryType();
-
 
1006
    case VENDOR:
-
 
1007
      return isSetVendor();
-
 
1008
    case SHIPPING_WAREHOUSE_ID:
-
 
1009
      return isSetShippingWarehouseId();
-
 
1010
    case BILLING_WAREHOUSE_ID:
-
 
1011
      return isSetBillingWarehouseId();
-
 
1012
    case IS_AVAILABILITY_MONITORED:
-
 
1013
      return isSetIsAvailabilityMonitored();
-
 
1014
    case TRANSFER_DELAY_IN_HOURS:
-
 
1015
      return isSetTransferDelayInHours();
759
    }
1016
    }
760
    throw new IllegalStateException();
1017
    throw new IllegalStateException();
761
  }
1018
  }
762
 
1019
 
763
  @Override
1020
  @Override
Line 798... Line 1055...
798
        return false;
1055
        return false;
799
      if (!this.location.equals(that.location))
1056
      if (!this.location.equals(that.location))
800
        return false;
1057
        return false;
801
    }
1058
    }
802
 
1059
 
803
    boolean this_present_warehouseStatus = true && this.isSetWarehouseStatus();
-
 
804
    boolean that_present_warehouseStatus = true && that.isSetWarehouseStatus();
-
 
805
    if (this_present_warehouseStatus || that_present_warehouseStatus) {
-
 
806
      if (!(this_present_warehouseStatus && that_present_warehouseStatus))
-
 
807
        return false;
-
 
808
      if (!this.warehouseStatus.equals(that.warehouseStatus))
-
 
809
        return false;
-
 
810
    }
-
 
811
 
-
 
812
    boolean this_present_addedOn = true;
1060
    boolean this_present_addedOn = true;
813
    boolean that_present_addedOn = true;
1061
    boolean that_present_addedOn = true;
814
    if (this_present_addedOn || that_present_addedOn) {
1062
    if (this_present_addedOn || that_present_addedOn) {
815
      if (!(this_present_addedOn && that_present_addedOn))
1063
      if (!(this_present_addedOn && that_present_addedOn))
816
        return false;
1064
        return false;
Line 861... Line 1109...
861
        return false;
1109
        return false;
862
      if (!this.logisticsLocation.equals(that.logisticsLocation))
1110
      if (!this.logisticsLocation.equals(that.logisticsLocation))
863
        return false;
1111
        return false;
864
    }
1112
    }
865
 
1113
 
-
 
1114
    boolean this_present_billingType = true && this.isSetBillingType();
-
 
1115
    boolean that_present_billingType = true && that.isSetBillingType();
-
 
1116
    if (this_present_billingType || that_present_billingType) {
-
 
1117
      if (!(this_present_billingType && that_present_billingType))
-
 
1118
        return false;
-
 
1119
      if (!this.billingType.equals(that.billingType))
-
 
1120
        return false;
-
 
1121
    }
-
 
1122
 
-
 
1123
    boolean this_present_warehouseType = true && this.isSetWarehouseType();
-
 
1124
    boolean that_present_warehouseType = true && that.isSetWarehouseType();
-
 
1125
    if (this_present_warehouseType || that_present_warehouseType) {
-
 
1126
      if (!(this_present_warehouseType && that_present_warehouseType))
-
 
1127
        return false;
-
 
1128
      if (!this.warehouseType.equals(that.warehouseType))
-
 
1129
        return false;
-
 
1130
    }
-
 
1131
 
-
 
1132
    boolean this_present_inventoryType = true && this.isSetInventoryType();
-
 
1133
    boolean that_present_inventoryType = true && that.isSetInventoryType();
-
 
1134
    if (this_present_inventoryType || that_present_inventoryType) {
-
 
1135
      if (!(this_present_inventoryType && that_present_inventoryType))
-
 
1136
        return false;
-
 
1137
      if (!this.inventoryType.equals(that.inventoryType))
-
 
1138
        return false;
-
 
1139
    }
-
 
1140
 
866
    boolean this_present_vendor = true && this.isSetVendor();
1141
    boolean this_present_vendor = true && this.isSetVendor();
867
    boolean that_present_vendor = true && that.isSetVendor();
1142
    boolean that_present_vendor = true && that.isSetVendor();
868
    if (this_present_vendor || that_present_vendor) {
1143
    if (this_present_vendor || that_present_vendor) {
869
      if (!(this_present_vendor && that_present_vendor))
1144
      if (!(this_present_vendor && that_present_vendor))
870
        return false;
1145
        return false;
871
      if (!this.vendor.equals(that.vendor))
1146
      if (!this.vendor.equals(that.vendor))
872
        return false;
1147
        return false;
873
    }
1148
    }
874
 
1149
 
875
    boolean this_present_billingType = true && this.isSetBillingType();
1150
    boolean this_present_shippingWarehouseId = true;
876
    boolean that_present_billingType = true && that.isSetBillingType();
1151
    boolean that_present_shippingWarehouseId = true;
877
    if (this_present_billingType || that_present_billingType) {
1152
    if (this_present_shippingWarehouseId || that_present_shippingWarehouseId) {
878
      if (!(this_present_billingType && that_present_billingType))
1153
      if (!(this_present_shippingWarehouseId && that_present_shippingWarehouseId))
879
        return false;
1154
        return false;
-
 
1155
      if (this.shippingWarehouseId != that.shippingWarehouseId)
-
 
1156
        return false;
-
 
1157
    }
-
 
1158
 
-
 
1159
    boolean this_present_billingWarehouseId = true;
-
 
1160
    boolean that_present_billingWarehouseId = true;
-
 
1161
    if (this_present_billingWarehouseId || that_present_billingWarehouseId) {
-
 
1162
      if (!(this_present_billingWarehouseId && that_present_billingWarehouseId))
-
 
1163
        return false;
880
      if (!this.billingType.equals(that.billingType))
1164
      if (this.billingWarehouseId != that.billingWarehouseId)
-
 
1165
        return false;
-
 
1166
    }
-
 
1167
 
-
 
1168
    boolean this_present_isAvailabilityMonitored = true;
-
 
1169
    boolean that_present_isAvailabilityMonitored = true;
-
 
1170
    if (this_present_isAvailabilityMonitored || that_present_isAvailabilityMonitored) {
-
 
1171
      if (!(this_present_isAvailabilityMonitored && that_present_isAvailabilityMonitored))
-
 
1172
        return false;
-
 
1173
      if (this.isAvailabilityMonitored != that.isAvailabilityMonitored)
-
 
1174
        return false;
-
 
1175
    }
-
 
1176
 
-
 
1177
    boolean this_present_transferDelayInHours = true;
-
 
1178
    boolean that_present_transferDelayInHours = true;
-
 
1179
    if (this_present_transferDelayInHours || that_present_transferDelayInHours) {
-
 
1180
      if (!(this_present_transferDelayInHours && that_present_transferDelayInHours))
-
 
1181
        return false;
-
 
1182
      if (this.transferDelayInHours != that.transferDelayInHours)
881
        return false;
1183
        return false;
882
    }
1184
    }
883
 
1185
 
884
    return true;
1186
    return true;
885
  }
1187
  }
Line 925... Line 1227...
925
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.location, typedOther.location);
1227
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.location, typedOther.location);
926
      if (lastComparison != 0) {
1228
      if (lastComparison != 0) {
927
        return lastComparison;
1229
        return lastComparison;
928
      }
1230
      }
929
    }
1231
    }
930
    lastComparison = Boolean.valueOf(isSetWarehouseStatus()).compareTo(typedOther.isSetWarehouseStatus());
-
 
931
    if (lastComparison != 0) {
-
 
932
      return lastComparison;
-
 
933
    }
-
 
934
    if (isSetWarehouseStatus()) {
-
 
935
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouseStatus, typedOther.warehouseStatus);
-
 
936
      if (lastComparison != 0) {
-
 
937
        return lastComparison;
-
 
938
      }
-
 
939
    }
-
 
940
    lastComparison = Boolean.valueOf(isSetAddedOn()).compareTo(typedOther.isSetAddedOn());
1232
    lastComparison = Boolean.valueOf(isSetAddedOn()).compareTo(typedOther.isSetAddedOn());
941
    if (lastComparison != 0) {
1233
    if (lastComparison != 0) {
942
      return lastComparison;
1234
      return lastComparison;
943
    }
1235
    }
944
    if (isSetAddedOn()) {
1236
    if (isSetAddedOn()) {
Line 995... Line 1287...
995
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logisticsLocation, typedOther.logisticsLocation);
1287
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logisticsLocation, typedOther.logisticsLocation);
996
      if (lastComparison != 0) {
1288
      if (lastComparison != 0) {
997
        return lastComparison;
1289
        return lastComparison;
998
      }
1290
      }
999
    }
1291
    }
-
 
1292
    lastComparison = Boolean.valueOf(isSetBillingType()).compareTo(typedOther.isSetBillingType());
-
 
1293
    if (lastComparison != 0) {
-
 
1294
      return lastComparison;
-
 
1295
    }
-
 
1296
    if (isSetBillingType()) {
-
 
1297
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billingType, typedOther.billingType);
-
 
1298
      if (lastComparison != 0) {
-
 
1299
        return lastComparison;
-
 
1300
      }
-
 
1301
    }
-
 
1302
    lastComparison = Boolean.valueOf(isSetWarehouseType()).compareTo(typedOther.isSetWarehouseType());
-
 
1303
    if (lastComparison != 0) {
-
 
1304
      return lastComparison;
-
 
1305
    }
-
 
1306
    if (isSetWarehouseType()) {
-
 
1307
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouseType, typedOther.warehouseType);
-
 
1308
      if (lastComparison != 0) {
-
 
1309
        return lastComparison;
-
 
1310
      }
-
 
1311
    }
-
 
1312
    lastComparison = Boolean.valueOf(isSetInventoryType()).compareTo(typedOther.isSetInventoryType());
-
 
1313
    if (lastComparison != 0) {
-
 
1314
      return lastComparison;
-
 
1315
    }
-
 
1316
    if (isSetInventoryType()) {
-
 
1317
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.inventoryType, typedOther.inventoryType);
-
 
1318
      if (lastComparison != 0) {
-
 
1319
        return lastComparison;
-
 
1320
      }
-
 
1321
    }
1000
    lastComparison = Boolean.valueOf(isSetVendor()).compareTo(typedOther.isSetVendor());
1322
    lastComparison = Boolean.valueOf(isSetVendor()).compareTo(typedOther.isSetVendor());
1001
    if (lastComparison != 0) {
1323
    if (lastComparison != 0) {
1002
      return lastComparison;
1324
      return lastComparison;
1003
    }
1325
    }
1004
    if (isSetVendor()) {
1326
    if (isSetVendor()) {
1005
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendor, typedOther.vendor);
1327
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendor, typedOther.vendor);
1006
      if (lastComparison != 0) {
1328
      if (lastComparison != 0) {
1007
        return lastComparison;
1329
        return lastComparison;
1008
      }
1330
      }
1009
    }
1331
    }
1010
    lastComparison = Boolean.valueOf(isSetBillingType()).compareTo(typedOther.isSetBillingType());
1332
    lastComparison = Boolean.valueOf(isSetShippingWarehouseId()).compareTo(typedOther.isSetShippingWarehouseId());
1011
    if (lastComparison != 0) {
1333
    if (lastComparison != 0) {
1012
      return lastComparison;
1334
      return lastComparison;
1013
    }
1335
    }
-
 
1336
    if (isSetShippingWarehouseId()) {
-
 
1337
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shippingWarehouseId, typedOther.shippingWarehouseId);
-
 
1338
      if (lastComparison != 0) {
-
 
1339
        return lastComparison;
-
 
1340
      }
-
 
1341
    }
-
 
1342
    lastComparison = Boolean.valueOf(isSetBillingWarehouseId()).compareTo(typedOther.isSetBillingWarehouseId());
-
 
1343
    if (lastComparison != 0) {
-
 
1344
      return lastComparison;
-
 
1345
    }
1014
    if (isSetBillingType()) {
1346
    if (isSetBillingWarehouseId()) {
1015
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billingType, typedOther.billingType);
1347
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billingWarehouseId, typedOther.billingWarehouseId);
-
 
1348
      if (lastComparison != 0) {
-
 
1349
        return lastComparison;
-
 
1350
      }
-
 
1351
    }
-
 
1352
    lastComparison = Boolean.valueOf(isSetIsAvailabilityMonitored()).compareTo(typedOther.isSetIsAvailabilityMonitored());
-
 
1353
    if (lastComparison != 0) {
-
 
1354
      return lastComparison;
-
 
1355
    }
-
 
1356
    if (isSetIsAvailabilityMonitored()) {
-
 
1357
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isAvailabilityMonitored, typedOther.isAvailabilityMonitored);
-
 
1358
      if (lastComparison != 0) {
-
 
1359
        return lastComparison;
-
 
1360
      }
-
 
1361
    }
-
 
1362
    lastComparison = Boolean.valueOf(isSetTransferDelayInHours()).compareTo(typedOther.isSetTransferDelayInHours());
-
 
1363
    if (lastComparison != 0) {
-
 
1364
      return lastComparison;
-
 
1365
    }
-
 
1366
    if (isSetTransferDelayInHours()) {
-
 
1367
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferDelayInHours, typedOther.transferDelayInHours);
1016
      if (lastComparison != 0) {
1368
      if (lastComparison != 0) {
1017
        return lastComparison;
1369
        return lastComparison;
1018
      }
1370
      }
1019
    }
1371
    }
1020
    return 0;
1372
    return 0;
Line 1054... Line 1406...
1054
            this.location = iprot.readString();
1406
            this.location = iprot.readString();
1055
          } else { 
1407
          } else { 
1056
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1408
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1057
          }
1409
          }
1058
          break;
1410
          break;
1059
        case 4: // WAREHOUSE_STATUS
-
 
1060
          if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
1061
            this.warehouseStatus = status.findByValue(iprot.readI32());
-
 
1062
          } else { 
-
 
1063
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1064
          }
-
 
1065
          break;
-
 
1066
        case 5: // ADDED_ON
1411
        case 5: // ADDED_ON
1067
          if (field.type == org.apache.thrift.protocol.TType.I64) {
1412
          if (field.type == org.apache.thrift.protocol.TType.I64) {
1068
            this.addedOn = iprot.readI64();
1413
            this.addedOn = iprot.readI64();
1069
            setAddedOnIsSet(true);
1414
            setAddedOnIsSet(true);
1070
          } else { 
1415
          } else { 
Line 1105... Line 1450...
1105
            this.logisticsLocation = WarehouseLocation.findByValue(iprot.readI32());
1450
            this.logisticsLocation = WarehouseLocation.findByValue(iprot.readI32());
1106
          } else { 
1451
          } else { 
1107
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1452
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1108
          }
1453
          }
1109
          break;
1454
          break;
1110
        case 11: // VENDOR
1455
        case 12: // BILLING_TYPE
1111
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
1456
          if (field.type == org.apache.thrift.protocol.TType.I32) {
1112
            this.vendor = iprot.readString();
1457
            this.billingType = BillingType.findByValue(iprot.readI32());
1113
          } else { 
1458
          } else { 
1114
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1459
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1115
          }
1460
          }
1116
          break;
1461
          break;
1117
        case 12: // BILLING_TYPE
1462
        case 13: // WAREHOUSE_TYPE
1118
          if (field.type == org.apache.thrift.protocol.TType.I32) {
1463
          if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
1464
            this.warehouseType = WarehouseType.findByValue(iprot.readI32());
-
 
1465
          } else { 
-
 
1466
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1467
          }
-
 
1468
          break;
-
 
1469
        case 14: // INVENTORY_TYPE
-
 
1470
          if (field.type == org.apache.thrift.protocol.TType.I32) {
1119
            this.billingType = BillingType.findByValue(iprot.readI32());
1471
            this.inventoryType = InventoryType.findByValue(iprot.readI32());
-
 
1472
          } else { 
-
 
1473
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1474
          }
-
 
1475
          break;
-
 
1476
        case 15: // VENDOR
-
 
1477
          if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
1478
            this.vendor = new Vendor();
-
 
1479
            this.vendor.read(iprot);
-
 
1480
          } else { 
-
 
1481
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1482
          }
-
 
1483
          break;
-
 
1484
        case 16: // SHIPPING_WAREHOUSE_ID
-
 
1485
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
1486
            this.shippingWarehouseId = iprot.readI64();
-
 
1487
            setShippingWarehouseIdIsSet(true);
-
 
1488
          } else { 
-
 
1489
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1490
          }
-
 
1491
          break;
-
 
1492
        case 17: // BILLING_WAREHOUSE_ID
-
 
1493
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
1494
            this.billingWarehouseId = iprot.readI64();
-
 
1495
            setBillingWarehouseIdIsSet(true);
-
 
1496
          } else { 
-
 
1497
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1498
          }
-
 
1499
          break;
-
 
1500
        case 18: // IS_AVAILABILITY_MONITORED
-
 
1501
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
1502
            this.isAvailabilityMonitored = iprot.readBool();
-
 
1503
            setIsAvailabilityMonitoredIsSet(true);
-
 
1504
          } else { 
-
 
1505
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1506
          }
-
 
1507
          break;
-
 
1508
        case 19: // TRANSFER_DELAY_IN_HOURS
-
 
1509
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
1510
            this.transferDelayInHours = iprot.readI64();
-
 
1511
            setTransferDelayInHoursIsSet(true);
1120
          } else { 
1512
          } else { 
1121
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1513
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1122
          }
1514
          }
1123
          break;
1515
          break;
1124
        default:
1516
        default:
Line 1145... Line 1537...
1145
    if (this.location != null) {
1537
    if (this.location != null) {
1146
      oprot.writeFieldBegin(LOCATION_FIELD_DESC);
1538
      oprot.writeFieldBegin(LOCATION_FIELD_DESC);
1147
      oprot.writeString(this.location);
1539
      oprot.writeString(this.location);
1148
      oprot.writeFieldEnd();
1540
      oprot.writeFieldEnd();
1149
    }
1541
    }
1150
    if (this.warehouseStatus != null) {
-
 
1151
      oprot.writeFieldBegin(WAREHOUSE_STATUS_FIELD_DESC);
-
 
1152
      oprot.writeI32(this.warehouseStatus.getValue());
-
 
1153
      oprot.writeFieldEnd();
-
 
1154
    }
-
 
1155
    oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
1542
    oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
1156
    oprot.writeI64(this.addedOn);
1543
    oprot.writeI64(this.addedOn);
1157
    oprot.writeFieldEnd();
1544
    oprot.writeFieldEnd();
1158
    oprot.writeFieldBegin(LAST_CHECKED_ON_FIELD_DESC);
1545
    oprot.writeFieldBegin(LAST_CHECKED_ON_FIELD_DESC);
1159
    oprot.writeI64(this.lastCheckedOn);
1546
    oprot.writeI64(this.lastCheckedOn);
Line 1176... Line 1563...
1176
    if (this.logisticsLocation != null) {
1563
    if (this.logisticsLocation != null) {
1177
      oprot.writeFieldBegin(LOGISTICS_LOCATION_FIELD_DESC);
1564
      oprot.writeFieldBegin(LOGISTICS_LOCATION_FIELD_DESC);
1178
      oprot.writeI32(this.logisticsLocation.getValue());
1565
      oprot.writeI32(this.logisticsLocation.getValue());
1179
      oprot.writeFieldEnd();
1566
      oprot.writeFieldEnd();
1180
    }
1567
    }
1181
    if (this.vendor != null) {
-
 
1182
      oprot.writeFieldBegin(VENDOR_FIELD_DESC);
-
 
1183
      oprot.writeString(this.vendor);
-
 
1184
      oprot.writeFieldEnd();
-
 
1185
    }
-
 
1186
    if (this.billingType != null) {
1568
    if (this.billingType != null) {
1187
      oprot.writeFieldBegin(BILLING_TYPE_FIELD_DESC);
1569
      oprot.writeFieldBegin(BILLING_TYPE_FIELD_DESC);
1188
      oprot.writeI32(this.billingType.getValue());
1570
      oprot.writeI32(this.billingType.getValue());
1189
      oprot.writeFieldEnd();
1571
      oprot.writeFieldEnd();
1190
    }
1572
    }
-
 
1573
    if (this.warehouseType != null) {
-
 
1574
      oprot.writeFieldBegin(WAREHOUSE_TYPE_FIELD_DESC);
-
 
1575
      oprot.writeI32(this.warehouseType.getValue());
-
 
1576
      oprot.writeFieldEnd();
-
 
1577
    }
-
 
1578
    if (this.inventoryType != null) {
-
 
1579
      oprot.writeFieldBegin(INVENTORY_TYPE_FIELD_DESC);
-
 
1580
      oprot.writeI32(this.inventoryType.getValue());
-
 
1581
      oprot.writeFieldEnd();
-
 
1582
    }
-
 
1583
    if (this.vendor != null) {
-
 
1584
      oprot.writeFieldBegin(VENDOR_FIELD_DESC);
-
 
1585
      this.vendor.write(oprot);
-
 
1586
      oprot.writeFieldEnd();
-
 
1587
    }
-
 
1588
    oprot.writeFieldBegin(SHIPPING_WAREHOUSE_ID_FIELD_DESC);
-
 
1589
    oprot.writeI64(this.shippingWarehouseId);
-
 
1590
    oprot.writeFieldEnd();
-
 
1591
    oprot.writeFieldBegin(BILLING_WAREHOUSE_ID_FIELD_DESC);
-
 
1592
    oprot.writeI64(this.billingWarehouseId);
-
 
1593
    oprot.writeFieldEnd();
-
 
1594
    oprot.writeFieldBegin(IS_AVAILABILITY_MONITORED_FIELD_DESC);
-
 
1595
    oprot.writeBool(this.isAvailabilityMonitored);
-
 
1596
    oprot.writeFieldEnd();
-
 
1597
    oprot.writeFieldBegin(TRANSFER_DELAY_IN_HOURS_FIELD_DESC);
-
 
1598
    oprot.writeI64(this.transferDelayInHours);
-
 
1599
    oprot.writeFieldEnd();
1191
    oprot.writeFieldStop();
1600
    oprot.writeFieldStop();
1192
    oprot.writeStructEnd();
1601
    oprot.writeStructEnd();
1193
  }
1602
  }
1194
 
1603
 
1195
  @Override
1604
  @Override
Line 1215... Line 1624...
1215
    } else {
1624
    } else {
1216
      sb.append(this.location);
1625
      sb.append(this.location);
1217
    }
1626
    }
1218
    first = false;
1627
    first = false;
1219
    if (!first) sb.append(", ");
1628
    if (!first) sb.append(", ");
1220
    sb.append("warehouseStatus:");
-
 
1221
    if (this.warehouseStatus == null) {
-
 
1222
      sb.append("null");
-
 
1223
    } else {
-
 
1224
      sb.append(this.warehouseStatus);
-
 
1225
    }
-
 
1226
    first = false;
-
 
1227
    if (!first) sb.append(", ");
-
 
1228
    sb.append("addedOn:");
1629
    sb.append("addedOn:");
1229
    sb.append(this.addedOn);
1630
    sb.append(this.addedOn);
1230
    first = false;
1631
    first = false;
1231
    if (!first) sb.append(", ");
1632
    if (!first) sb.append(", ");
1232
    sb.append("lastCheckedOn:");
1633
    sb.append("lastCheckedOn:");
Line 1263... Line 1664...
1263
    } else {
1664
    } else {
1264
      sb.append(this.logisticsLocation);
1665
      sb.append(this.logisticsLocation);
1265
    }
1666
    }
1266
    first = false;
1667
    first = false;
1267
    if (!first) sb.append(", ");
1668
    if (!first) sb.append(", ");
1268
    sb.append("vendor:");
1669
    sb.append("billingType:");
1269
    if (this.vendor == null) {
1670
    if (this.billingType == null) {
1270
      sb.append("null");
1671
      sb.append("null");
1271
    } else {
1672
    } else {
1272
      sb.append(this.vendor);
1673
      sb.append(this.billingType);
1273
    }
1674
    }
1274
    first = false;
1675
    first = false;
1275
    if (!first) sb.append(", ");
1676
    if (!first) sb.append(", ");
1276
    sb.append("billingType:");
1677
    sb.append("warehouseType:");
1277
    if (this.billingType == null) {
1678
    if (this.warehouseType == null) {
1278
      sb.append("null");
1679
      sb.append("null");
1279
    } else {
1680
    } else {
1280
      sb.append(this.billingType);
1681
      sb.append(this.warehouseType);
1281
    }
1682
    }
1282
    first = false;
1683
    first = false;
-
 
1684
    if (!first) sb.append(", ");
-
 
1685
    sb.append("inventoryType:");
-
 
1686
    if (this.inventoryType == null) {
-
 
1687
      sb.append("null");
-
 
1688
    } else {
-
 
1689
      sb.append(this.inventoryType);
-
 
1690
    }
-
 
1691
    first = false;
-
 
1692
    if (!first) sb.append(", ");
-
 
1693
    sb.append("vendor:");
-
 
1694
    if (this.vendor == null) {
-
 
1695
      sb.append("null");
-
 
1696
    } else {
-
 
1697
      sb.append(this.vendor);
-
 
1698
    }
-
 
1699
    first = false;
-
 
1700
    if (!first) sb.append(", ");
-
 
1701
    sb.append("shippingWarehouseId:");
-
 
1702
    sb.append(this.shippingWarehouseId);
-
 
1703
    first = false;
-
 
1704
    if (!first) sb.append(", ");
-
 
1705
    sb.append("billingWarehouseId:");
-
 
1706
    sb.append(this.billingWarehouseId);
-
 
1707
    first = false;
-
 
1708
    if (!first) sb.append(", ");
-
 
1709
    sb.append("isAvailabilityMonitored:");
-
 
1710
    sb.append(this.isAvailabilityMonitored);
-
 
1711
    first = false;
-
 
1712
    if (!first) sb.append(", ");
-
 
1713
    sb.append("transferDelayInHours:");
-
 
1714
    sb.append(this.transferDelayInHours);
-
 
1715
    first = false;
1283
    sb.append(")");
1716
    sb.append(")");
1284
    return sb.toString();
1717
    return sb.toString();
1285
  }
1718
  }
1286
 
1719
 
1287
  public void validate() throws org.apache.thrift.TException {
1720
  public void validate() throws org.apache.thrift.TException {