Subversion Repositories SmartDukaan

Rev

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

Rev 3361 Rev 3430
Line 1... Line 1...
1
/**
1
/**
2
 * Autogenerated by Thrift
2
 * Autogenerated by Thrift Compiler (0.7.0)
3
 *
3
 *
4
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
4
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
 */
5
 */
6
package in.shop2020.model.v1.catalog;
6
package in.shop2020.model.v1.catalog;
7
 
7
 
Line 13... Line 13...
13
import java.util.Set;
13
import java.util.Set;
14
import java.util.HashSet;
14
import java.util.HashSet;
15
import java.util.EnumSet;
15
import java.util.EnumSet;
16
import java.util.Collections;
16
import java.util.Collections;
17
import java.util.BitSet;
17
import java.util.BitSet;
-
 
18
import java.nio.ByteBuffer;
18
import java.util.Arrays;
19
import java.util.Arrays;
19
import org.slf4j.Logger;
20
import org.slf4j.Logger;
20
import org.slf4j.LoggerFactory;
21
import org.slf4j.LoggerFactory;
21
 
22
 
22
import org.apache.thrift.*;
-
 
23
import org.apache.thrift.meta_data.*;
-
 
24
import org.apache.thrift.protocol.*;
-
 
25
 
-
 
26
public class Item implements TBase<Item._Fields>, java.io.Serializable, Cloneable {
23
public class Item implements org.apache.thrift.TBase<Item, Item._Fields>, java.io.Serializable, Cloneable {
27
  private static final TStruct STRUCT_DESC = new TStruct("Item");
24
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Item");
28
 
25
 
29
  private static final TField ID_FIELD_DESC = new TField("id", 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);
30
  private static final TField PRODUCT_GROUP_FIELD_DESC = new TField("productGroup", TType.STRING, (short)2);
27
  private static final org.apache.thrift.protocol.TField PRODUCT_GROUP_FIELD_DESC = new org.apache.thrift.protocol.TField("productGroup", org.apache.thrift.protocol.TType.STRING, (short)2);
31
  private static final TField BRAND_FIELD_DESC = new TField("brand", TType.STRING, (short)3);
28
  private static final org.apache.thrift.protocol.TField BRAND_FIELD_DESC = new org.apache.thrift.protocol.TField("brand", org.apache.thrift.protocol.TType.STRING, (short)3);
32
  private static final TField MODEL_NUMBER_FIELD_DESC = new TField("modelNumber", TType.STRING, (short)4);
29
  private static final org.apache.thrift.protocol.TField MODEL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("modelNumber", org.apache.thrift.protocol.TType.STRING, (short)4);
33
  private static final TField MODEL_NAME_FIELD_DESC = new TField("modelName", TType.STRING, (short)5);
30
  private static final org.apache.thrift.protocol.TField MODEL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("modelName", org.apache.thrift.protocol.TType.STRING, (short)5);
34
  private static final TField COLOR_FIELD_DESC = new TField("color", TType.STRING, (short)6);
31
  private static final org.apache.thrift.protocol.TField COLOR_FIELD_DESC = new org.apache.thrift.protocol.TField("color", org.apache.thrift.protocol.TType.STRING, (short)6);
35
  private static final TField CATEGORY_FIELD_DESC = new TField("category", TType.I64, (short)7);
32
  private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I64, (short)7);
36
  private static final TField COMMENTS_FIELD_DESC = new TField("comments", TType.STRING, (short)8);
33
  private static final org.apache.thrift.protocol.TField COMMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("comments", org.apache.thrift.protocol.TType.STRING, (short)8);
37
  private static final TField CATALOG_ITEM_ID_FIELD_DESC = new TField("catalogItemId", TType.I64, (short)9);
34
  private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)9);
38
  private static final TField FEATURE_ID_FIELD_DESC = new TField("featureId", TType.I64, (short)10);
35
  private static final org.apache.thrift.protocol.TField FEATURE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("featureId", org.apache.thrift.protocol.TType.I64, (short)10);
39
  private static final TField FEATURE_DESCRIPTION_FIELD_DESC = new TField("featureDescription", TType.STRING, (short)11);
36
  private static final org.apache.thrift.protocol.TField FEATURE_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("featureDescription", org.apache.thrift.protocol.TType.STRING, (short)11);
40
  private static final TField ITEM_INVENTORY_FIELD_DESC = new TField("itemInventory", TType.STRUCT, (short)12);
37
  private static final org.apache.thrift.protocol.TField ITEM_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("itemInventory", org.apache.thrift.protocol.TType.STRUCT, (short)12);
41
  private static final TField MRP_FIELD_DESC = new TField("mrp", TType.DOUBLE, (short)13);
38
  private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)13);
42
  private static final TField MOP_FIELD_DESC = new TField("mop", TType.DOUBLE, (short)14);
39
  private static final org.apache.thrift.protocol.TField MOP_FIELD_DESC = new org.apache.thrift.protocol.TField("mop", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
43
  private static final TField SELLING_PRICE_FIELD_DESC = new TField("sellingPrice", TType.DOUBLE, (short)15);
40
  private static final org.apache.thrift.protocol.TField SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("sellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
44
  private static final TField TRANSFER_PRICE_FIELD_DESC = new TField("transferPrice", TType.DOUBLE, (short)16);
41
  private static final org.apache.thrift.protocol.TField TRANSFER_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("transferPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)16);
45
  private static final TField WEIGHT_FIELD_DESC = new TField("weight", TType.DOUBLE, (short)17);
42
  private static final org.apache.thrift.protocol.TField WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("weight", org.apache.thrift.protocol.TType.DOUBLE, (short)17);
46
  private static final TField ADDED_ON_FIELD_DESC = new TField("addedOn", TType.I64, (short)18);
43
  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)18);
47
  private static final TField START_DATE_FIELD_DESC = new TField("startDate", TType.I64, (short)19);
44
  private static final org.apache.thrift.protocol.TField START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("startDate", org.apache.thrift.protocol.TType.I64, (short)19);
48
  private static final TField RETIRE_DATE_FIELD_DESC = new TField("retireDate", TType.I64, (short)20);
45
  private static final org.apache.thrift.protocol.TField RETIRE_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("retireDate", org.apache.thrift.protocol.TType.I64, (short)20);
49
  private static final TField ITEM_STATUS_FIELD_DESC = new TField("itemStatus", TType.I32, (short)21);
46
  private static final org.apache.thrift.protocol.TField ITEM_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemStatus", org.apache.thrift.protocol.TType.I32, (short)21);
50
  private static final TField STATUS_DESCRIPTION_FIELD_DESC = new TField("status_description", TType.STRING, (short)22);
47
  private static final org.apache.thrift.protocol.TField STATUS_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("status_description", org.apache.thrift.protocol.TType.STRING, (short)22);
51
  private static final TField OTHER_INFO_FIELD_DESC = new TField("otherInfo", TType.MAP, (short)23);
48
  private static final org.apache.thrift.protocol.TField OTHER_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("otherInfo", org.apache.thrift.protocol.TType.MAP, (short)23);
52
  private static final TField BEST_DEAL_TEXT_FIELD_DESC = new TField("bestDealText", TType.STRING, (short)24);
49
  private static final org.apache.thrift.protocol.TField BEST_DEAL_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealText", org.apache.thrift.protocol.TType.STRING, (short)24);
53
  private static final TField BEST_DEAL_VALUE_FIELD_DESC = new TField("bestDealValue", TType.DOUBLE, (short)25);
50
  private static final org.apache.thrift.protocol.TField BEST_DEAL_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealValue", org.apache.thrift.protocol.TType.DOUBLE, (short)25);
54
  private static final TField DEALER_PRICE_FIELD_DESC = new TField("dealerPrice", TType.DOUBLE, (short)26);
51
  private static final org.apache.thrift.protocol.TField DEALER_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("dealerPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)26);
55
  private static final TField DEFAULT_FOR_ENTITY_FIELD_DESC = new TField("defaultForEntity", TType.BOOL, (short)27);
52
  private static final org.apache.thrift.protocol.TField DEFAULT_FOR_ENTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultForEntity", org.apache.thrift.protocol.TType.BOOL, (short)27);
56
  private static final TField UPDATED_ON_FIELD_DESC = new TField("updatedOn", TType.I64, (short)28);
53
  private static final org.apache.thrift.protocol.TField UPDATED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("updatedOn", org.apache.thrift.protocol.TType.I64, (short)28);
57
  private static final TField BEST_SELLING_RANK_FIELD_DESC = new TField("bestSellingRank", TType.I64, (short)29);
54
  private static final org.apache.thrift.protocol.TField BEST_SELLING_RANK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestSellingRank", org.apache.thrift.protocol.TType.I64, (short)29);
58
  private static final TField HOTSPOT_CATEGORY_FIELD_DESC = new TField("hotspotCategory", TType.STRING, (short)30);
55
  private static final org.apache.thrift.protocol.TField HOTSPOT_CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("hotspotCategory", org.apache.thrift.protocol.TType.STRING, (short)30);
59
  private static final TField RISKY_FIELD_DESC = new TField("risky", TType.BOOL, (short)31);
56
  private static final org.apache.thrift.protocol.TField RISKY_FIELD_DESC = new org.apache.thrift.protocol.TField("risky", org.apache.thrift.protocol.TType.BOOL, (short)31);
60
  private static final TField EXPECTED_DELAY_FIELD_DESC = new TField("expectedDelay", TType.I32, (short)32);
57
  private static final org.apache.thrift.protocol.TField EXPECTED_DELAY_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedDelay", org.apache.thrift.protocol.TType.I32, (short)32);
61
  private static final TField PREFERRED_WAREHOUSE_FIELD_DESC = new TField("preferredWarehouse", TType.STRING, (short)33);
58
  private static final org.apache.thrift.protocol.TField PREFERRED_WAREHOUSE_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredWarehouse", org.apache.thrift.protocol.TType.STRING, (short)33);
62
 
59
 
63
  private long id;
60
  private long id; // required
64
  private String productGroup;
61
  private String productGroup; // required
65
  private String brand;
62
  private String brand; // required
66
  private String modelNumber;
63
  private String modelNumber; // required
67
  private String modelName;
64
  private String modelName; // required
68
  private String color;
65
  private String color; // required
69
  private long category;
66
  private long category; // required
70
  private String comments;
67
  private String comments; // required
71
  private long catalogItemId;
68
  private long catalogItemId; // required
72
  private long featureId;
69
  private long featureId; // required
73
  private String featureDescription;
70
  private String featureDescription; // required
74
  private ItemInventory itemInventory;
71
  private ItemInventory itemInventory; // required
75
  private double mrp;
72
  private double mrp; // required
76
  private double mop;
73
  private double mop; // required
77
  private double sellingPrice;
74
  private double sellingPrice; // required
78
  private double transferPrice;
75
  private double transferPrice; // required
79
  private double weight;
76
  private double weight; // required
80
  private long addedOn;
77
  private long addedOn; // required
81
  private long startDate;
78
  private long startDate; // required
82
  private long retireDate;
79
  private long retireDate; // required
83
  private status itemStatus;
80
  private status itemStatus; // required
84
  private String status_description;
81
  private String status_description; // required
85
  private Map<String,String> otherInfo;
82
  private Map<String,String> otherInfo; // required
86
  private String bestDealText;
83
  private String bestDealText; // required
87
  private double bestDealValue;
84
  private double bestDealValue; // required
88
  private double dealerPrice;
85
  private double dealerPrice; // required
89
  private boolean defaultForEntity;
86
  private boolean defaultForEntity; // required
90
  private long updatedOn;
87
  private long updatedOn; // required
91
  private long bestSellingRank;
88
  private long bestSellingRank; // required
92
  private String hotspotCategory;
89
  private String hotspotCategory; // required
93
  private boolean risky;
90
  private boolean risky; // required
94
  private int expectedDelay;
91
  private int expectedDelay; // required
95
  private String preferredWarehouse;
92
  private String preferredWarehouse; // required
96
 
93
 
97
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
94
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
98
  public enum _Fields implements TFieldIdEnum {
95
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
99
    ID((short)1, "id"),
96
    ID((short)1, "id"),
100
    PRODUCT_GROUP((short)2, "productGroup"),
97
    PRODUCT_GROUP((short)2, "productGroup"),
101
    BRAND((short)3, "brand"),
98
    BRAND((short)3, "brand"),
102
    MODEL_NUMBER((short)4, "modelNumber"),
99
    MODEL_NUMBER((short)4, "modelNumber"),
103
    MODEL_NAME((short)5, "modelName"),
100
    MODEL_NAME((short)5, "modelName"),
Line 132... Line 129...
132
    HOTSPOT_CATEGORY((short)30, "hotspotCategory"),
129
    HOTSPOT_CATEGORY((short)30, "hotspotCategory"),
133
    RISKY((short)31, "risky"),
130
    RISKY((short)31, "risky"),
134
    EXPECTED_DELAY((short)32, "expectedDelay"),
131
    EXPECTED_DELAY((short)32, "expectedDelay"),
135
    PREFERRED_WAREHOUSE((short)33, "preferredWarehouse");
132
    PREFERRED_WAREHOUSE((short)33, "preferredWarehouse");
136
 
133
 
137
    private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
138
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
134
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
139
 
135
 
140
    static {
136
    static {
141
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
137
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
142
        byId.put((int)field._thriftId, field);
-
 
143
        byName.put(field.getFieldName(), field);
138
        byName.put(field.getFieldName(), field);
144
      }
139
      }
145
    }
140
    }
146
 
141
 
147
    /**
142
    /**
148
     * Find the _Fields constant that matches fieldId, or null if its not found.
143
     * Find the _Fields constant that matches fieldId, or null if its not found.
149
     */
144
     */
150
    public static _Fields findByThriftId(int fieldId) {
145
    public static _Fields findByThriftId(int fieldId) {
151
      return byId.get(fieldId);
146
      switch(fieldId) {
-
 
147
        case 1: // ID
-
 
148
          return ID;
-
 
149
        case 2: // PRODUCT_GROUP
-
 
150
          return PRODUCT_GROUP;
-
 
151
        case 3: // BRAND
-
 
152
          return BRAND;
-
 
153
        case 4: // MODEL_NUMBER
-
 
154
          return MODEL_NUMBER;
-
 
155
        case 5: // MODEL_NAME
-
 
156
          return MODEL_NAME;
-
 
157
        case 6: // COLOR
-
 
158
          return COLOR;
-
 
159
        case 7: // CATEGORY
-
 
160
          return CATEGORY;
-
 
161
        case 8: // COMMENTS
-
 
162
          return COMMENTS;
-
 
163
        case 9: // CATALOG_ITEM_ID
-
 
164
          return CATALOG_ITEM_ID;
-
 
165
        case 10: // FEATURE_ID
-
 
166
          return FEATURE_ID;
-
 
167
        case 11: // FEATURE_DESCRIPTION
-
 
168
          return FEATURE_DESCRIPTION;
-
 
169
        case 12: // ITEM_INVENTORY
-
 
170
          return ITEM_INVENTORY;
-
 
171
        case 13: // MRP
-
 
172
          return MRP;
-
 
173
        case 14: // MOP
-
 
174
          return MOP;
-
 
175
        case 15: // SELLING_PRICE
-
 
176
          return SELLING_PRICE;
-
 
177
        case 16: // TRANSFER_PRICE
-
 
178
          return TRANSFER_PRICE;
-
 
179
        case 17: // WEIGHT
-
 
180
          return WEIGHT;
-
 
181
        case 18: // ADDED_ON
-
 
182
          return ADDED_ON;
-
 
183
        case 19: // START_DATE
-
 
184
          return START_DATE;
-
 
185
        case 20: // RETIRE_DATE
-
 
186
          return RETIRE_DATE;
-
 
187
        case 21: // ITEM_STATUS
-
 
188
          return ITEM_STATUS;
-
 
189
        case 22: // STATUS_DESCRIPTION
-
 
190
          return STATUS_DESCRIPTION;
-
 
191
        case 23: // OTHER_INFO
-
 
192
          return OTHER_INFO;
-
 
193
        case 24: // BEST_DEAL_TEXT
-
 
194
          return BEST_DEAL_TEXT;
-
 
195
        case 25: // BEST_DEAL_VALUE
-
 
196
          return BEST_DEAL_VALUE;
-
 
197
        case 26: // DEALER_PRICE
-
 
198
          return DEALER_PRICE;
-
 
199
        case 27: // DEFAULT_FOR_ENTITY
-
 
200
          return DEFAULT_FOR_ENTITY;
-
 
201
        case 28: // UPDATED_ON
-
 
202
          return UPDATED_ON;
-
 
203
        case 29: // BEST_SELLING_RANK
-
 
204
          return BEST_SELLING_RANK;
-
 
205
        case 30: // HOTSPOT_CATEGORY
-
 
206
          return HOTSPOT_CATEGORY;
-
 
207
        case 31: // RISKY
-
 
208
          return RISKY;
-
 
209
        case 32: // EXPECTED_DELAY
-
 
210
          return EXPECTED_DELAY;
-
 
211
        case 33: // PREFERRED_WAREHOUSE
-
 
212
          return PREFERRED_WAREHOUSE;
-
 
213
        default:
-
 
214
          return null;
-
 
215
      }
152
    }
216
    }
153
 
217
 
154
    /**
218
    /**
155
     * Find the _Fields constant that matches fieldId, throwing an exception
219
     * Find the _Fields constant that matches fieldId, throwing an exception
156
     * if it is not found.
220
     * if it is not found.
Line 205... Line 269...
205
  private static final int __BESTSELLINGRANK_ISSET_ID = 16;
269
  private static final int __BESTSELLINGRANK_ISSET_ID = 16;
206
  private static final int __RISKY_ISSET_ID = 17;
270
  private static final int __RISKY_ISSET_ID = 17;
207
  private static final int __EXPECTEDDELAY_ISSET_ID = 18;
271
  private static final int __EXPECTEDDELAY_ISSET_ID = 18;
208
  private BitSet __isset_bit_vector = new BitSet(19);
272
  private BitSet __isset_bit_vector = new BitSet(19);
209
 
273
 
210
  public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
274
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
211
    put(_Fields.ID, new FieldMetaData("id", TFieldRequirementType.DEFAULT, 
-
 
212
        new FieldValueMetaData(TType.I64)));
-
 
213
    put(_Fields.PRODUCT_GROUP, new FieldMetaData("productGroup", TFieldRequirementType.DEFAULT, 
-
 
214
        new FieldValueMetaData(TType.STRING)));
-
 
215
    put(_Fields.BRAND, new FieldMetaData("brand", TFieldRequirementType.DEFAULT, 
-
 
216
        new FieldValueMetaData(TType.STRING)));
-
 
217
    put(_Fields.MODEL_NUMBER, new FieldMetaData("modelNumber", TFieldRequirementType.DEFAULT, 
-
 
218
        new FieldValueMetaData(TType.STRING)));
-
 
219
    put(_Fields.MODEL_NAME, new FieldMetaData("modelName", TFieldRequirementType.DEFAULT, 
-
 
220
        new FieldValueMetaData(TType.STRING)));
-
 
221
    put(_Fields.COLOR, new FieldMetaData("color", TFieldRequirementType.DEFAULT, 
-
 
222
        new FieldValueMetaData(TType.STRING)));
-
 
223
    put(_Fields.CATEGORY, new FieldMetaData("category", TFieldRequirementType.DEFAULT, 
-
 
224
        new FieldValueMetaData(TType.I64)));
-
 
225
    put(_Fields.COMMENTS, new FieldMetaData("comments", TFieldRequirementType.DEFAULT, 
-
 
226
        new FieldValueMetaData(TType.STRING)));
-
 
227
    put(_Fields.CATALOG_ITEM_ID, new FieldMetaData("catalogItemId", TFieldRequirementType.DEFAULT, 
-
 
228
        new FieldValueMetaData(TType.I64)));
-
 
229
    put(_Fields.FEATURE_ID, new FieldMetaData("featureId", TFieldRequirementType.DEFAULT, 
-
 
230
        new FieldValueMetaData(TType.I64)));
-
 
231
    put(_Fields.FEATURE_DESCRIPTION, new FieldMetaData("featureDescription", TFieldRequirementType.DEFAULT, 
-
 
232
        new FieldValueMetaData(TType.STRING)));
-
 
233
    put(_Fields.ITEM_INVENTORY, new FieldMetaData("itemInventory", TFieldRequirementType.DEFAULT, 
-
 
234
        new StructMetaData(TType.STRUCT, ItemInventory.class)));
-
 
235
    put(_Fields.MRP, new FieldMetaData("mrp", TFieldRequirementType.OPTIONAL, 
-
 
236
        new FieldValueMetaData(TType.DOUBLE)));
-
 
237
    put(_Fields.MOP, new FieldMetaData("mop", TFieldRequirementType.OPTIONAL, 
-
 
238
        new FieldValueMetaData(TType.DOUBLE)));
-
 
239
    put(_Fields.SELLING_PRICE, new FieldMetaData("sellingPrice", TFieldRequirementType.OPTIONAL, 
-
 
240
        new FieldValueMetaData(TType.DOUBLE)));
-
 
241
    put(_Fields.TRANSFER_PRICE, new FieldMetaData("transferPrice", TFieldRequirementType.OPTIONAL, 
-
 
242
        new FieldValueMetaData(TType.DOUBLE)));
-
 
243
    put(_Fields.WEIGHT, new FieldMetaData("weight", TFieldRequirementType.OPTIONAL, 
-
 
244
        new FieldValueMetaData(TType.DOUBLE)));
-
 
245
    put(_Fields.ADDED_ON, new FieldMetaData("addedOn", TFieldRequirementType.DEFAULT, 
-
 
246
        new FieldValueMetaData(TType.I64)));
-
 
247
    put(_Fields.START_DATE, new FieldMetaData("startDate", TFieldRequirementType.OPTIONAL, 
-
 
248
        new FieldValueMetaData(TType.I64)));
-
 
249
    put(_Fields.RETIRE_DATE, new FieldMetaData("retireDate", TFieldRequirementType.OPTIONAL, 
-
 
250
        new FieldValueMetaData(TType.I64)));
-
 
251
    put(_Fields.ITEM_STATUS, new FieldMetaData("itemStatus", TFieldRequirementType.DEFAULT, 
-
 
252
        new EnumMetaData(TType.ENUM, status.class)));
-
 
253
    put(_Fields.STATUS_DESCRIPTION, new FieldMetaData("status_description", TFieldRequirementType.DEFAULT, 
-
 
254
        new FieldValueMetaData(TType.STRING)));
-
 
255
    put(_Fields.OTHER_INFO, new FieldMetaData("otherInfo", TFieldRequirementType.DEFAULT, 
-
 
256
        new MapMetaData(TType.MAP, 
-
 
257
            new FieldValueMetaData(TType.STRING), 
-
 
258
            new FieldValueMetaData(TType.STRING))));
-
 
259
    put(_Fields.BEST_DEAL_TEXT, new FieldMetaData("bestDealText", TFieldRequirementType.DEFAULT, 
-
 
260
        new FieldValueMetaData(TType.STRING)));
-
 
261
    put(_Fields.BEST_DEAL_VALUE, new FieldMetaData("bestDealValue", TFieldRequirementType.OPTIONAL, 
-
 
262
        new FieldValueMetaData(TType.DOUBLE)));
-
 
263
    put(_Fields.DEALER_PRICE, new FieldMetaData("dealerPrice", TFieldRequirementType.OPTIONAL, 
-
 
264
        new FieldValueMetaData(TType.DOUBLE)));
-
 
265
    put(_Fields.DEFAULT_FOR_ENTITY, new FieldMetaData("defaultForEntity", TFieldRequirementType.DEFAULT, 
-
 
266
        new FieldValueMetaData(TType.BOOL)));
-
 
267
    put(_Fields.UPDATED_ON, new FieldMetaData("updatedOn", TFieldRequirementType.DEFAULT, 
-
 
268
        new FieldValueMetaData(TType.I64)));
-
 
269
    put(_Fields.BEST_SELLING_RANK, new FieldMetaData("bestSellingRank", TFieldRequirementType.OPTIONAL, 
-
 
270
        new FieldValueMetaData(TType.I64)));
-
 
271
    put(_Fields.HOTSPOT_CATEGORY, new FieldMetaData("hotspotCategory", TFieldRequirementType.DEFAULT, 
-
 
272
        new FieldValueMetaData(TType.STRING)));
-
 
273
    put(_Fields.RISKY, new FieldMetaData("risky", TFieldRequirementType.DEFAULT, 
-
 
274
        new FieldValueMetaData(TType.BOOL)));
-
 
275
    put(_Fields.EXPECTED_DELAY, new FieldMetaData("expectedDelay", TFieldRequirementType.OPTIONAL, 
-
 
276
        new FieldValueMetaData(TType.I32)));
-
 
277
    put(_Fields.PREFERRED_WAREHOUSE, new FieldMetaData("preferredWarehouse", TFieldRequirementType.OPTIONAL, 
-
 
278
        new FieldValueMetaData(TType.STRING)));
-
 
279
  }});
-
 
280
 
-
 
281
  static {
275
  static {
-
 
276
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
277
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
278
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
279
    tmpMap.put(_Fields.PRODUCT_GROUP, new org.apache.thrift.meta_data.FieldMetaData("productGroup", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
280
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
281
    tmpMap.put(_Fields.BRAND, new org.apache.thrift.meta_data.FieldMetaData("brand", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
282
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
283
    tmpMap.put(_Fields.MODEL_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("modelNumber", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
284
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
285
    tmpMap.put(_Fields.MODEL_NAME, new org.apache.thrift.meta_data.FieldMetaData("modelName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
286
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
287
    tmpMap.put(_Fields.COLOR, new org.apache.thrift.meta_data.FieldMetaData("color", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
288
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
289
    tmpMap.put(_Fields.CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("category", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
290
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
291
    tmpMap.put(_Fields.COMMENTS, new org.apache.thrift.meta_data.FieldMetaData("comments", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
292
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
293
    tmpMap.put(_Fields.CATALOG_ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("catalogItemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
294
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
295
    tmpMap.put(_Fields.FEATURE_ID, new org.apache.thrift.meta_data.FieldMetaData("featureId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
296
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
297
    tmpMap.put(_Fields.FEATURE_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("featureDescription", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
298
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
299
    tmpMap.put(_Fields.ITEM_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("itemInventory", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
300
        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ItemInventory.class)));
-
 
301
    tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
302
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
303
    tmpMap.put(_Fields.MOP, new org.apache.thrift.meta_data.FieldMetaData("mop", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
304
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
305
    tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
306
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
307
    tmpMap.put(_Fields.TRANSFER_PRICE, new org.apache.thrift.meta_data.FieldMetaData("transferPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
308
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
309
    tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
310
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
311
    tmpMap.put(_Fields.ADDED_ON, new org.apache.thrift.meta_data.FieldMetaData("addedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
312
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
313
    tmpMap.put(_Fields.START_DATE, new org.apache.thrift.meta_data.FieldMetaData("startDate", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
314
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
315
    tmpMap.put(_Fields.RETIRE_DATE, new org.apache.thrift.meta_data.FieldMetaData("retireDate", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
316
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
317
    tmpMap.put(_Fields.ITEM_STATUS, new org.apache.thrift.meta_data.FieldMetaData("itemStatus", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
318
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, status.class)));
-
 
319
    tmpMap.put(_Fields.STATUS_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("status_description", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
320
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
321
    tmpMap.put(_Fields.OTHER_INFO, new org.apache.thrift.meta_data.FieldMetaData("otherInfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
322
        new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
323
            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
-
 
324
            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
-
 
325
    tmpMap.put(_Fields.BEST_DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealText", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
326
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
327
    tmpMap.put(_Fields.BEST_DEAL_VALUE, new org.apache.thrift.meta_data.FieldMetaData("bestDealValue", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
328
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
329
    tmpMap.put(_Fields.DEALER_PRICE, new org.apache.thrift.meta_data.FieldMetaData("dealerPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
330
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
331
    tmpMap.put(_Fields.DEFAULT_FOR_ENTITY, new org.apache.thrift.meta_data.FieldMetaData("defaultForEntity", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
332
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
333
    tmpMap.put(_Fields.UPDATED_ON, new org.apache.thrift.meta_data.FieldMetaData("updatedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
334
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
335
    tmpMap.put(_Fields.BEST_SELLING_RANK, new org.apache.thrift.meta_data.FieldMetaData("bestSellingRank", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
336
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
337
    tmpMap.put(_Fields.HOTSPOT_CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("hotspotCategory", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
338
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
339
    tmpMap.put(_Fields.RISKY, new org.apache.thrift.meta_data.FieldMetaData("risky", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
340
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
341
    tmpMap.put(_Fields.EXPECTED_DELAY, new org.apache.thrift.meta_data.FieldMetaData("expectedDelay", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
342
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
-
 
343
    tmpMap.put(_Fields.PREFERRED_WAREHOUSE, new org.apache.thrift.meta_data.FieldMetaData("preferredWarehouse", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
344
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
345
    metaDataMap = Collections.unmodifiableMap(tmpMap);
282
    FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
346
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
283
  }
347
  }
284
 
348
 
285
  public Item() {
349
  public Item() {
286
  }
350
  }
287
 
351
 
Line 423... Line 487...
423
 
487
 
424
  public Item deepCopy() {
488
  public Item deepCopy() {
425
    return new Item(this);
489
    return new Item(this);
426
  }
490
  }
427
 
491
 
428
  @Deprecated
492
  @Override
429
  public Item clone() {
493
  public void clear() {
-
 
494
    setIdIsSet(false);
-
 
495
    this.id = 0;
-
 
496
    this.productGroup = null;
-
 
497
    this.brand = null;
-
 
498
    this.modelNumber = null;
-
 
499
    this.modelName = null;
-
 
500
    this.color = null;
-
 
501
    setCategoryIsSet(false);
-
 
502
    this.category = 0;
-
 
503
    this.comments = null;
-
 
504
    setCatalogItemIdIsSet(false);
-
 
505
    this.catalogItemId = 0;
-
 
506
    setFeatureIdIsSet(false);
-
 
507
    this.featureId = 0;
-
 
508
    this.featureDescription = null;
-
 
509
    this.itemInventory = null;
-
 
510
    setMrpIsSet(false);
-
 
511
    this.mrp = 0.0;
-
 
512
    setMopIsSet(false);
-
 
513
    this.mop = 0.0;
-
 
514
    setSellingPriceIsSet(false);
-
 
515
    this.sellingPrice = 0.0;
-
 
516
    setTransferPriceIsSet(false);
-
 
517
    this.transferPrice = 0.0;
-
 
518
    setWeightIsSet(false);
-
 
519
    this.weight = 0.0;
-
 
520
    setAddedOnIsSet(false);
-
 
521
    this.addedOn = 0;
-
 
522
    setStartDateIsSet(false);
-
 
523
    this.startDate = 0;
-
 
524
    setRetireDateIsSet(false);
-
 
525
    this.retireDate = 0;
-
 
526
    this.itemStatus = null;
-
 
527
    this.status_description = null;
-
 
528
    this.otherInfo = null;
-
 
529
    this.bestDealText = null;
-
 
530
    setBestDealValueIsSet(false);
-
 
531
    this.bestDealValue = 0.0;
-
 
532
    setDealerPriceIsSet(false);
-
 
533
    this.dealerPrice = 0.0;
-
 
534
    setDefaultForEntityIsSet(false);
-
 
535
    this.defaultForEntity = false;
430
    return new Item(this);
536
    setUpdatedOnIsSet(false);
-
 
537
    this.updatedOn = 0;
-
 
538
    setBestSellingRankIsSet(false);
-
 
539
    this.bestSellingRank = 0;
-
 
540
    this.hotspotCategory = null;
-
 
541
    setRiskyIsSet(false);
-
 
542
    this.risky = false;
-
 
543
    setExpectedDelayIsSet(false);
-
 
544
    this.expectedDelay = 0;
-
 
545
    this.preferredWarehouse = null;
431
  }
546
  }
432
 
547
 
433
  public long getId() {
548
  public long getId() {
434
    return this.id;
549
    return this.id;
435
  }
550
  }
436
 
551
 
437
  public Item setId(long id) {
552
  public void setId(long id) {
438
    this.id = id;
553
    this.id = id;
439
    setIdIsSet(true);
554
    setIdIsSet(true);
440
    return this;
-
 
441
  }
555
  }
442
 
556
 
443
  public void unsetId() {
557
  public void unsetId() {
444
    __isset_bit_vector.clear(__ID_ISSET_ID);
558
    __isset_bit_vector.clear(__ID_ISSET_ID);
445
  }
559
  }
446
 
560
 
447
  /** Returns true if field id is set (has been asigned a value) and false otherwise */
561
  /** Returns true if field id is set (has been assigned a value) and false otherwise */
448
  public boolean isSetId() {
562
  public boolean isSetId() {
449
    return __isset_bit_vector.get(__ID_ISSET_ID);
563
    return __isset_bit_vector.get(__ID_ISSET_ID);
450
  }
564
  }
451
 
565
 
452
  public void setIdIsSet(boolean value) {
566
  public void setIdIsSet(boolean value) {
Line 455... Line 569...
455
 
569
 
456
  public String getProductGroup() {
570
  public String getProductGroup() {
457
    return this.productGroup;
571
    return this.productGroup;
458
  }
572
  }
459
 
573
 
460
  public Item setProductGroup(String productGroup) {
574
  public void setProductGroup(String productGroup) {
461
    this.productGroup = productGroup;
575
    this.productGroup = productGroup;
462
    return this;
-
 
463
  }
576
  }
464
 
577
 
465
  public void unsetProductGroup() {
578
  public void unsetProductGroup() {
466
    this.productGroup = null;
579
    this.productGroup = null;
467
  }
580
  }
468
 
581
 
469
  /** Returns true if field productGroup is set (has been asigned a value) and false otherwise */
582
  /** Returns true if field productGroup is set (has been assigned a value) and false otherwise */
470
  public boolean isSetProductGroup() {
583
  public boolean isSetProductGroup() {
471
    return this.productGroup != null;
584
    return this.productGroup != null;
472
  }
585
  }
473
 
586
 
474
  public void setProductGroupIsSet(boolean value) {
587
  public void setProductGroupIsSet(boolean value) {
Line 479... Line 592...
479
 
592
 
480
  public String getBrand() {
593
  public String getBrand() {
481
    return this.brand;
594
    return this.brand;
482
  }
595
  }
483
 
596
 
484
  public Item setBrand(String brand) {
597
  public void setBrand(String brand) {
485
    this.brand = brand;
598
    this.brand = brand;
486
    return this;
-
 
487
  }
599
  }
488
 
600
 
489
  public void unsetBrand() {
601
  public void unsetBrand() {
490
    this.brand = null;
602
    this.brand = null;
491
  }
603
  }
492
 
604
 
493
  /** Returns true if field brand is set (has been asigned a value) and false otherwise */
605
  /** Returns true if field brand is set (has been assigned a value) and false otherwise */
494
  public boolean isSetBrand() {
606
  public boolean isSetBrand() {
495
    return this.brand != null;
607
    return this.brand != null;
496
  }
608
  }
497
 
609
 
498
  public void setBrandIsSet(boolean value) {
610
  public void setBrandIsSet(boolean value) {
Line 503... Line 615...
503
 
615
 
504
  public String getModelNumber() {
616
  public String getModelNumber() {
505
    return this.modelNumber;
617
    return this.modelNumber;
506
  }
618
  }
507
 
619
 
508
  public Item setModelNumber(String modelNumber) {
620
  public void setModelNumber(String modelNumber) {
509
    this.modelNumber = modelNumber;
621
    this.modelNumber = modelNumber;
510
    return this;
-
 
511
  }
622
  }
512
 
623
 
513
  public void unsetModelNumber() {
624
  public void unsetModelNumber() {
514
    this.modelNumber = null;
625
    this.modelNumber = null;
515
  }
626
  }
516
 
627
 
517
  /** Returns true if field modelNumber is set (has been asigned a value) and false otherwise */
628
  /** Returns true if field modelNumber is set (has been assigned a value) and false otherwise */
518
  public boolean isSetModelNumber() {
629
  public boolean isSetModelNumber() {
519
    return this.modelNumber != null;
630
    return this.modelNumber != null;
520
  }
631
  }
521
 
632
 
522
  public void setModelNumberIsSet(boolean value) {
633
  public void setModelNumberIsSet(boolean value) {
Line 527... Line 638...
527
 
638
 
528
  public String getModelName() {
639
  public String getModelName() {
529
    return this.modelName;
640
    return this.modelName;
530
  }
641
  }
531
 
642
 
532
  public Item setModelName(String modelName) {
643
  public void setModelName(String modelName) {
533
    this.modelName = modelName;
644
    this.modelName = modelName;
534
    return this;
-
 
535
  }
645
  }
536
 
646
 
537
  public void unsetModelName() {
647
  public void unsetModelName() {
538
    this.modelName = null;
648
    this.modelName = null;
539
  }
649
  }
540
 
650
 
541
  /** Returns true if field modelName is set (has been asigned a value) and false otherwise */
651
  /** Returns true if field modelName is set (has been assigned a value) and false otherwise */
542
  public boolean isSetModelName() {
652
  public boolean isSetModelName() {
543
    return this.modelName != null;
653
    return this.modelName != null;
544
  }
654
  }
545
 
655
 
546
  public void setModelNameIsSet(boolean value) {
656
  public void setModelNameIsSet(boolean value) {
Line 551... Line 661...
551
 
661
 
552
  public String getColor() {
662
  public String getColor() {
553
    return this.color;
663
    return this.color;
554
  }
664
  }
555
 
665
 
556
  public Item setColor(String color) {
666
  public void setColor(String color) {
557
    this.color = color;
667
    this.color = color;
558
    return this;
-
 
559
  }
668
  }
560
 
669
 
561
  public void unsetColor() {
670
  public void unsetColor() {
562
    this.color = null;
671
    this.color = null;
563
  }
672
  }
564
 
673
 
565
  /** Returns true if field color is set (has been asigned a value) and false otherwise */
674
  /** Returns true if field color is set (has been assigned a value) and false otherwise */
566
  public boolean isSetColor() {
675
  public boolean isSetColor() {
567
    return this.color != null;
676
    return this.color != null;
568
  }
677
  }
569
 
678
 
570
  public void setColorIsSet(boolean value) {
679
  public void setColorIsSet(boolean value) {
Line 575... Line 684...
575
 
684
 
576
  public long getCategory() {
685
  public long getCategory() {
577
    return this.category;
686
    return this.category;
578
  }
687
  }
579
 
688
 
580
  public Item setCategory(long category) {
689
  public void setCategory(long category) {
581
    this.category = category;
690
    this.category = category;
582
    setCategoryIsSet(true);
691
    setCategoryIsSet(true);
583
    return this;
-
 
584
  }
692
  }
585
 
693
 
586
  public void unsetCategory() {
694
  public void unsetCategory() {
587
    __isset_bit_vector.clear(__CATEGORY_ISSET_ID);
695
    __isset_bit_vector.clear(__CATEGORY_ISSET_ID);
588
  }
696
  }
589
 
697
 
590
  /** Returns true if field category is set (has been asigned a value) and false otherwise */
698
  /** Returns true if field category is set (has been assigned a value) and false otherwise */
591
  public boolean isSetCategory() {
699
  public boolean isSetCategory() {
592
    return __isset_bit_vector.get(__CATEGORY_ISSET_ID);
700
    return __isset_bit_vector.get(__CATEGORY_ISSET_ID);
593
  }
701
  }
594
 
702
 
595
  public void setCategoryIsSet(boolean value) {
703
  public void setCategoryIsSet(boolean value) {
Line 598... Line 706...
598
 
706
 
599
  public String getComments() {
707
  public String getComments() {
600
    return this.comments;
708
    return this.comments;
601
  }
709
  }
602
 
710
 
603
  public Item setComments(String comments) {
711
  public void setComments(String comments) {
604
    this.comments = comments;
712
    this.comments = comments;
605
    return this;
-
 
606
  }
713
  }
607
 
714
 
608
  public void unsetComments() {
715
  public void unsetComments() {
609
    this.comments = null;
716
    this.comments = null;
610
  }
717
  }
611
 
718
 
612
  /** Returns true if field comments is set (has been asigned a value) and false otherwise */
719
  /** Returns true if field comments is set (has been assigned a value) and false otherwise */
613
  public boolean isSetComments() {
720
  public boolean isSetComments() {
614
    return this.comments != null;
721
    return this.comments != null;
615
  }
722
  }
616
 
723
 
617
  public void setCommentsIsSet(boolean value) {
724
  public void setCommentsIsSet(boolean value) {
Line 622... Line 729...
622
 
729
 
623
  public long getCatalogItemId() {
730
  public long getCatalogItemId() {
624
    return this.catalogItemId;
731
    return this.catalogItemId;
625
  }
732
  }
626
 
733
 
627
  public Item setCatalogItemId(long catalogItemId) {
734
  public void setCatalogItemId(long catalogItemId) {
628
    this.catalogItemId = catalogItemId;
735
    this.catalogItemId = catalogItemId;
629
    setCatalogItemIdIsSet(true);
736
    setCatalogItemIdIsSet(true);
630
    return this;
-
 
631
  }
737
  }
632
 
738
 
633
  public void unsetCatalogItemId() {
739
  public void unsetCatalogItemId() {
634
    __isset_bit_vector.clear(__CATALOGITEMID_ISSET_ID);
740
    __isset_bit_vector.clear(__CATALOGITEMID_ISSET_ID);
635
  }
741
  }
636
 
742
 
637
  /** Returns true if field catalogItemId is set (has been asigned a value) and false otherwise */
743
  /** Returns true if field catalogItemId is set (has been assigned a value) and false otherwise */
638
  public boolean isSetCatalogItemId() {
744
  public boolean isSetCatalogItemId() {
639
    return __isset_bit_vector.get(__CATALOGITEMID_ISSET_ID);
745
    return __isset_bit_vector.get(__CATALOGITEMID_ISSET_ID);
640
  }
746
  }
641
 
747
 
642
  public void setCatalogItemIdIsSet(boolean value) {
748
  public void setCatalogItemIdIsSet(boolean value) {
Line 645... Line 751...
645
 
751
 
646
  public long getFeatureId() {
752
  public long getFeatureId() {
647
    return this.featureId;
753
    return this.featureId;
648
  }
754
  }
649
 
755
 
650
  public Item setFeatureId(long featureId) {
756
  public void setFeatureId(long featureId) {
651
    this.featureId = featureId;
757
    this.featureId = featureId;
652
    setFeatureIdIsSet(true);
758
    setFeatureIdIsSet(true);
653
    return this;
-
 
654
  }
759
  }
655
 
760
 
656
  public void unsetFeatureId() {
761
  public void unsetFeatureId() {
657
    __isset_bit_vector.clear(__FEATUREID_ISSET_ID);
762
    __isset_bit_vector.clear(__FEATUREID_ISSET_ID);
658
  }
763
  }
659
 
764
 
660
  /** Returns true if field featureId is set (has been asigned a value) and false otherwise */
765
  /** Returns true if field featureId is set (has been assigned a value) and false otherwise */
661
  public boolean isSetFeatureId() {
766
  public boolean isSetFeatureId() {
662
    return __isset_bit_vector.get(__FEATUREID_ISSET_ID);
767
    return __isset_bit_vector.get(__FEATUREID_ISSET_ID);
663
  }
768
  }
664
 
769
 
665
  public void setFeatureIdIsSet(boolean value) {
770
  public void setFeatureIdIsSet(boolean value) {
Line 668... Line 773...
668
 
773
 
669
  public String getFeatureDescription() {
774
  public String getFeatureDescription() {
670
    return this.featureDescription;
775
    return this.featureDescription;
671
  }
776
  }
672
 
777
 
673
  public Item setFeatureDescription(String featureDescription) {
778
  public void setFeatureDescription(String featureDescription) {
674
    this.featureDescription = featureDescription;
779
    this.featureDescription = featureDescription;
675
    return this;
-
 
676
  }
780
  }
677
 
781
 
678
  public void unsetFeatureDescription() {
782
  public void unsetFeatureDescription() {
679
    this.featureDescription = null;
783
    this.featureDescription = null;
680
  }
784
  }
681
 
785
 
682
  /** Returns true if field featureDescription is set (has been asigned a value) and false otherwise */
786
  /** Returns true if field featureDescription is set (has been assigned a value) and false otherwise */
683
  public boolean isSetFeatureDescription() {
787
  public boolean isSetFeatureDescription() {
684
    return this.featureDescription != null;
788
    return this.featureDescription != null;
685
  }
789
  }
686
 
790
 
687
  public void setFeatureDescriptionIsSet(boolean value) {
791
  public void setFeatureDescriptionIsSet(boolean value) {
Line 692... Line 796...
692
 
796
 
693
  public ItemInventory getItemInventory() {
797
  public ItemInventory getItemInventory() {
694
    return this.itemInventory;
798
    return this.itemInventory;
695
  }
799
  }
696
 
800
 
697
  public Item setItemInventory(ItemInventory itemInventory) {
801
  public void setItemInventory(ItemInventory itemInventory) {
698
    this.itemInventory = itemInventory;
802
    this.itemInventory = itemInventory;
699
    return this;
-
 
700
  }
803
  }
701
 
804
 
702
  public void unsetItemInventory() {
805
  public void unsetItemInventory() {
703
    this.itemInventory = null;
806
    this.itemInventory = null;
704
  }
807
  }
705
 
808
 
706
  /** Returns true if field itemInventory is set (has been asigned a value) and false otherwise */
809
  /** Returns true if field itemInventory is set (has been assigned a value) and false otherwise */
707
  public boolean isSetItemInventory() {
810
  public boolean isSetItemInventory() {
708
    return this.itemInventory != null;
811
    return this.itemInventory != null;
709
  }
812
  }
710
 
813
 
711
  public void setItemInventoryIsSet(boolean value) {
814
  public void setItemInventoryIsSet(boolean value) {
Line 716... Line 819...
716
 
819
 
717
  public double getMrp() {
820
  public double getMrp() {
718
    return this.mrp;
821
    return this.mrp;
719
  }
822
  }
720
 
823
 
721
  public Item setMrp(double mrp) {
824
  public void setMrp(double mrp) {
722
    this.mrp = mrp;
825
    this.mrp = mrp;
723
    setMrpIsSet(true);
826
    setMrpIsSet(true);
724
    return this;
-
 
725
  }
827
  }
726
 
828
 
727
  public void unsetMrp() {
829
  public void unsetMrp() {
728
    __isset_bit_vector.clear(__MRP_ISSET_ID);
830
    __isset_bit_vector.clear(__MRP_ISSET_ID);
729
  }
831
  }
730
 
832
 
731
  /** Returns true if field mrp is set (has been asigned a value) and false otherwise */
833
  /** Returns true if field mrp is set (has been assigned a value) and false otherwise */
732
  public boolean isSetMrp() {
834
  public boolean isSetMrp() {
733
    return __isset_bit_vector.get(__MRP_ISSET_ID);
835
    return __isset_bit_vector.get(__MRP_ISSET_ID);
734
  }
836
  }
735
 
837
 
736
  public void setMrpIsSet(boolean value) {
838
  public void setMrpIsSet(boolean value) {
Line 739... Line 841...
739
 
841
 
740
  public double getMop() {
842
  public double getMop() {
741
    return this.mop;
843
    return this.mop;
742
  }
844
  }
743
 
845
 
744
  public Item setMop(double mop) {
846
  public void setMop(double mop) {
745
    this.mop = mop;
847
    this.mop = mop;
746
    setMopIsSet(true);
848
    setMopIsSet(true);
747
    return this;
-
 
748
  }
849
  }
749
 
850
 
750
  public void unsetMop() {
851
  public void unsetMop() {
751
    __isset_bit_vector.clear(__MOP_ISSET_ID);
852
    __isset_bit_vector.clear(__MOP_ISSET_ID);
752
  }
853
  }
753
 
854
 
754
  /** Returns true if field mop is set (has been asigned a value) and false otherwise */
855
  /** Returns true if field mop is set (has been assigned a value) and false otherwise */
755
  public boolean isSetMop() {
856
  public boolean isSetMop() {
756
    return __isset_bit_vector.get(__MOP_ISSET_ID);
857
    return __isset_bit_vector.get(__MOP_ISSET_ID);
757
  }
858
  }
758
 
859
 
759
  public void setMopIsSet(boolean value) {
860
  public void setMopIsSet(boolean value) {
Line 762... Line 863...
762
 
863
 
763
  public double getSellingPrice() {
864
  public double getSellingPrice() {
764
    return this.sellingPrice;
865
    return this.sellingPrice;
765
  }
866
  }
766
 
867
 
767
  public Item setSellingPrice(double sellingPrice) {
868
  public void setSellingPrice(double sellingPrice) {
768
    this.sellingPrice = sellingPrice;
869
    this.sellingPrice = sellingPrice;
769
    setSellingPriceIsSet(true);
870
    setSellingPriceIsSet(true);
770
    return this;
-
 
771
  }
871
  }
772
 
872
 
773
  public void unsetSellingPrice() {
873
  public void unsetSellingPrice() {
774
    __isset_bit_vector.clear(__SELLINGPRICE_ISSET_ID);
874
    __isset_bit_vector.clear(__SELLINGPRICE_ISSET_ID);
775
  }
875
  }
776
 
876
 
777
  /** Returns true if field sellingPrice is set (has been asigned a value) and false otherwise */
877
  /** Returns true if field sellingPrice is set (has been assigned a value) and false otherwise */
778
  public boolean isSetSellingPrice() {
878
  public boolean isSetSellingPrice() {
779
    return __isset_bit_vector.get(__SELLINGPRICE_ISSET_ID);
879
    return __isset_bit_vector.get(__SELLINGPRICE_ISSET_ID);
780
  }
880
  }
781
 
881
 
782
  public void setSellingPriceIsSet(boolean value) {
882
  public void setSellingPriceIsSet(boolean value) {
Line 785... Line 885...
785
 
885
 
786
  public double getTransferPrice() {
886
  public double getTransferPrice() {
787
    return this.transferPrice;
887
    return this.transferPrice;
788
  }
888
  }
789
 
889
 
790
  public Item setTransferPrice(double transferPrice) {
890
  public void setTransferPrice(double transferPrice) {
791
    this.transferPrice = transferPrice;
891
    this.transferPrice = transferPrice;
792
    setTransferPriceIsSet(true);
892
    setTransferPriceIsSet(true);
793
    return this;
-
 
794
  }
893
  }
795
 
894
 
796
  public void unsetTransferPrice() {
895
  public void unsetTransferPrice() {
797
    __isset_bit_vector.clear(__TRANSFERPRICE_ISSET_ID);
896
    __isset_bit_vector.clear(__TRANSFERPRICE_ISSET_ID);
798
  }
897
  }
799
 
898
 
800
  /** Returns true if field transferPrice is set (has been asigned a value) and false otherwise */
899
  /** Returns true if field transferPrice is set (has been assigned a value) and false otherwise */
801
  public boolean isSetTransferPrice() {
900
  public boolean isSetTransferPrice() {
802
    return __isset_bit_vector.get(__TRANSFERPRICE_ISSET_ID);
901
    return __isset_bit_vector.get(__TRANSFERPRICE_ISSET_ID);
803
  }
902
  }
804
 
903
 
805
  public void setTransferPriceIsSet(boolean value) {
904
  public void setTransferPriceIsSet(boolean value) {
Line 808... Line 907...
808
 
907
 
809
  public double getWeight() {
908
  public double getWeight() {
810
    return this.weight;
909
    return this.weight;
811
  }
910
  }
812
 
911
 
813
  public Item setWeight(double weight) {
912
  public void setWeight(double weight) {
814
    this.weight = weight;
913
    this.weight = weight;
815
    setWeightIsSet(true);
914
    setWeightIsSet(true);
816
    return this;
-
 
817
  }
915
  }
818
 
916
 
819
  public void unsetWeight() {
917
  public void unsetWeight() {
820
    __isset_bit_vector.clear(__WEIGHT_ISSET_ID);
918
    __isset_bit_vector.clear(__WEIGHT_ISSET_ID);
821
  }
919
  }
822
 
920
 
823
  /** Returns true if field weight is set (has been asigned a value) and false otherwise */
921
  /** Returns true if field weight is set (has been assigned a value) and false otherwise */
824
  public boolean isSetWeight() {
922
  public boolean isSetWeight() {
825
    return __isset_bit_vector.get(__WEIGHT_ISSET_ID);
923
    return __isset_bit_vector.get(__WEIGHT_ISSET_ID);
826
  }
924
  }
827
 
925
 
828
  public void setWeightIsSet(boolean value) {
926
  public void setWeightIsSet(boolean value) {
Line 831... Line 929...
831
 
929
 
832
  public long getAddedOn() {
930
  public long getAddedOn() {
833
    return this.addedOn;
931
    return this.addedOn;
834
  }
932
  }
835
 
933
 
836
  public Item setAddedOn(long addedOn) {
934
  public void setAddedOn(long addedOn) {
837
    this.addedOn = addedOn;
935
    this.addedOn = addedOn;
838
    setAddedOnIsSet(true);
936
    setAddedOnIsSet(true);
839
    return this;
-
 
840
  }
937
  }
841
 
938
 
842
  public void unsetAddedOn() {
939
  public void unsetAddedOn() {
843
    __isset_bit_vector.clear(__ADDEDON_ISSET_ID);
940
    __isset_bit_vector.clear(__ADDEDON_ISSET_ID);
844
  }
941
  }
845
 
942
 
846
  /** Returns true if field addedOn is set (has been asigned a value) and false otherwise */
943
  /** Returns true if field addedOn is set (has been assigned a value) and false otherwise */
847
  public boolean isSetAddedOn() {
944
  public boolean isSetAddedOn() {
848
    return __isset_bit_vector.get(__ADDEDON_ISSET_ID);
945
    return __isset_bit_vector.get(__ADDEDON_ISSET_ID);
849
  }
946
  }
850
 
947
 
851
  public void setAddedOnIsSet(boolean value) {
948
  public void setAddedOnIsSet(boolean value) {
Line 854... Line 951...
854
 
951
 
855
  public long getStartDate() {
952
  public long getStartDate() {
856
    return this.startDate;
953
    return this.startDate;
857
  }
954
  }
858
 
955
 
859
  public Item setStartDate(long startDate) {
956
  public void setStartDate(long startDate) {
860
    this.startDate = startDate;
957
    this.startDate = startDate;
861
    setStartDateIsSet(true);
958
    setStartDateIsSet(true);
862
    return this;
-
 
863
  }
959
  }
864
 
960
 
865
  public void unsetStartDate() {
961
  public void unsetStartDate() {
866
    __isset_bit_vector.clear(__STARTDATE_ISSET_ID);
962
    __isset_bit_vector.clear(__STARTDATE_ISSET_ID);
867
  }
963
  }
868
 
964
 
869
  /** Returns true if field startDate is set (has been asigned a value) and false otherwise */
965
  /** Returns true if field startDate is set (has been assigned a value) and false otherwise */
870
  public boolean isSetStartDate() {
966
  public boolean isSetStartDate() {
871
    return __isset_bit_vector.get(__STARTDATE_ISSET_ID);
967
    return __isset_bit_vector.get(__STARTDATE_ISSET_ID);
872
  }
968
  }
873
 
969
 
874
  public void setStartDateIsSet(boolean value) {
970
  public void setStartDateIsSet(boolean value) {
Line 877... Line 973...
877
 
973
 
878
  public long getRetireDate() {
974
  public long getRetireDate() {
879
    return this.retireDate;
975
    return this.retireDate;
880
  }
976
  }
881
 
977
 
882
  public Item setRetireDate(long retireDate) {
978
  public void setRetireDate(long retireDate) {
883
    this.retireDate = retireDate;
979
    this.retireDate = retireDate;
884
    setRetireDateIsSet(true);
980
    setRetireDateIsSet(true);
885
    return this;
-
 
886
  }
981
  }
887
 
982
 
888
  public void unsetRetireDate() {
983
  public void unsetRetireDate() {
889
    __isset_bit_vector.clear(__RETIREDATE_ISSET_ID);
984
    __isset_bit_vector.clear(__RETIREDATE_ISSET_ID);
890
  }
985
  }
891
 
986
 
892
  /** Returns true if field retireDate is set (has been asigned a value) and false otherwise */
987
  /** Returns true if field retireDate is set (has been assigned a value) and false otherwise */
893
  public boolean isSetRetireDate() {
988
  public boolean isSetRetireDate() {
894
    return __isset_bit_vector.get(__RETIREDATE_ISSET_ID);
989
    return __isset_bit_vector.get(__RETIREDATE_ISSET_ID);
895
  }
990
  }
896
 
991
 
897
  public void setRetireDateIsSet(boolean value) {
992
  public void setRetireDateIsSet(boolean value) {
Line 908... Line 1003...
908
 
1003
 
909
  /**
1004
  /**
910
   * 
1005
   * 
911
   * @see status
1006
   * @see status
912
   */
1007
   */
913
  public Item setItemStatus(status itemStatus) {
1008
  public void setItemStatus(status itemStatus) {
914
    this.itemStatus = itemStatus;
1009
    this.itemStatus = itemStatus;
915
    return this;
-
 
916
  }
1010
  }
917
 
1011
 
918
  public void unsetItemStatus() {
1012
  public void unsetItemStatus() {
919
    this.itemStatus = null;
1013
    this.itemStatus = null;
920
  }
1014
  }
921
 
1015
 
922
  /** Returns true if field itemStatus is set (has been asigned a value) and false otherwise */
1016
  /** Returns true if field itemStatus is set (has been assigned a value) and false otherwise */
923
  public boolean isSetItemStatus() {
1017
  public boolean isSetItemStatus() {
924
    return this.itemStatus != null;
1018
    return this.itemStatus != null;
925
  }
1019
  }
926
 
1020
 
927
  public void setItemStatusIsSet(boolean value) {
1021
  public void setItemStatusIsSet(boolean value) {
Line 932... Line 1026...
932
 
1026
 
933
  public String getStatus_description() {
1027
  public String getStatus_description() {
934
    return this.status_description;
1028
    return this.status_description;
935
  }
1029
  }
936
 
1030
 
937
  public Item setStatus_description(String status_description) {
1031
  public void setStatus_description(String status_description) {
938
    this.status_description = status_description;
1032
    this.status_description = status_description;
939
    return this;
-
 
940
  }
1033
  }
941
 
1034
 
942
  public void unsetStatus_description() {
1035
  public void unsetStatus_description() {
943
    this.status_description = null;
1036
    this.status_description = null;
944
  }
1037
  }
945
 
1038
 
946
  /** Returns true if field status_description is set (has been asigned a value) and false otherwise */
1039
  /** Returns true if field status_description is set (has been assigned a value) and false otherwise */
947
  public boolean isSetStatus_description() {
1040
  public boolean isSetStatus_description() {
948
    return this.status_description != null;
1041
    return this.status_description != null;
949
  }
1042
  }
950
 
1043
 
951
  public void setStatus_descriptionIsSet(boolean value) {
1044
  public void setStatus_descriptionIsSet(boolean value) {
Line 967... Line 1060...
967
 
1060
 
968
  public Map<String,String> getOtherInfo() {
1061
  public Map<String,String> getOtherInfo() {
969
    return this.otherInfo;
1062
    return this.otherInfo;
970
  }
1063
  }
971
 
1064
 
972
  public Item setOtherInfo(Map<String,String> otherInfo) {
1065
  public void setOtherInfo(Map<String,String> otherInfo) {
973
    this.otherInfo = otherInfo;
1066
    this.otherInfo = otherInfo;
974
    return this;
-
 
975
  }
1067
  }
976
 
1068
 
977
  public void unsetOtherInfo() {
1069
  public void unsetOtherInfo() {
978
    this.otherInfo = null;
1070
    this.otherInfo = null;
979
  }
1071
  }
980
 
1072
 
981
  /** Returns true if field otherInfo is set (has been asigned a value) and false otherwise */
1073
  /** Returns true if field otherInfo is set (has been assigned a value) and false otherwise */
982
  public boolean isSetOtherInfo() {
1074
  public boolean isSetOtherInfo() {
983
    return this.otherInfo != null;
1075
    return this.otherInfo != null;
984
  }
1076
  }
985
 
1077
 
986
  public void setOtherInfoIsSet(boolean value) {
1078
  public void setOtherInfoIsSet(boolean value) {
Line 991... Line 1083...
991
 
1083
 
992
  public String getBestDealText() {
1084
  public String getBestDealText() {
993
    return this.bestDealText;
1085
    return this.bestDealText;
994
  }
1086
  }
995
 
1087
 
996
  public Item setBestDealText(String bestDealText) {
1088
  public void setBestDealText(String bestDealText) {
997
    this.bestDealText = bestDealText;
1089
    this.bestDealText = bestDealText;
998
    return this;
-
 
999
  }
1090
  }
1000
 
1091
 
1001
  public void unsetBestDealText() {
1092
  public void unsetBestDealText() {
1002
    this.bestDealText = null;
1093
    this.bestDealText = null;
1003
  }
1094
  }
1004
 
1095
 
1005
  /** Returns true if field bestDealText is set (has been asigned a value) and false otherwise */
1096
  /** Returns true if field bestDealText is set (has been assigned a value) and false otherwise */
1006
  public boolean isSetBestDealText() {
1097
  public boolean isSetBestDealText() {
1007
    return this.bestDealText != null;
1098
    return this.bestDealText != null;
1008
  }
1099
  }
1009
 
1100
 
1010
  public void setBestDealTextIsSet(boolean value) {
1101
  public void setBestDealTextIsSet(boolean value) {
Line 1015... Line 1106...
1015
 
1106
 
1016
  public double getBestDealValue() {
1107
  public double getBestDealValue() {
1017
    return this.bestDealValue;
1108
    return this.bestDealValue;
1018
  }
1109
  }
1019
 
1110
 
1020
  public Item setBestDealValue(double bestDealValue) {
1111
  public void setBestDealValue(double bestDealValue) {
1021
    this.bestDealValue = bestDealValue;
1112
    this.bestDealValue = bestDealValue;
1022
    setBestDealValueIsSet(true);
1113
    setBestDealValueIsSet(true);
1023
    return this;
-
 
1024
  }
1114
  }
1025
 
1115
 
1026
  public void unsetBestDealValue() {
1116
  public void unsetBestDealValue() {
1027
    __isset_bit_vector.clear(__BESTDEALVALUE_ISSET_ID);
1117
    __isset_bit_vector.clear(__BESTDEALVALUE_ISSET_ID);
1028
  }
1118
  }
1029
 
1119
 
1030
  /** Returns true if field bestDealValue is set (has been asigned a value) and false otherwise */
1120
  /** Returns true if field bestDealValue is set (has been assigned a value) and false otherwise */
1031
  public boolean isSetBestDealValue() {
1121
  public boolean isSetBestDealValue() {
1032
    return __isset_bit_vector.get(__BESTDEALVALUE_ISSET_ID);
1122
    return __isset_bit_vector.get(__BESTDEALVALUE_ISSET_ID);
1033
  }
1123
  }
1034
 
1124
 
1035
  public void setBestDealValueIsSet(boolean value) {
1125
  public void setBestDealValueIsSet(boolean value) {
Line 1038... Line 1128...
1038
 
1128
 
1039
  public double getDealerPrice() {
1129
  public double getDealerPrice() {
1040
    return this.dealerPrice;
1130
    return this.dealerPrice;
1041
  }
1131
  }
1042
 
1132
 
1043
  public Item setDealerPrice(double dealerPrice) {
1133
  public void setDealerPrice(double dealerPrice) {
1044
    this.dealerPrice = dealerPrice;
1134
    this.dealerPrice = dealerPrice;
1045
    setDealerPriceIsSet(true);
1135
    setDealerPriceIsSet(true);
1046
    return this;
-
 
1047
  }
1136
  }
1048
 
1137
 
1049
  public void unsetDealerPrice() {
1138
  public void unsetDealerPrice() {
1050
    __isset_bit_vector.clear(__DEALERPRICE_ISSET_ID);
1139
    __isset_bit_vector.clear(__DEALERPRICE_ISSET_ID);
1051
  }
1140
  }
1052
 
1141
 
1053
  /** Returns true if field dealerPrice is set (has been asigned a value) and false otherwise */
1142
  /** Returns true if field dealerPrice is set (has been assigned a value) and false otherwise */
1054
  public boolean isSetDealerPrice() {
1143
  public boolean isSetDealerPrice() {
1055
    return __isset_bit_vector.get(__DEALERPRICE_ISSET_ID);
1144
    return __isset_bit_vector.get(__DEALERPRICE_ISSET_ID);
1056
  }
1145
  }
1057
 
1146
 
1058
  public void setDealerPriceIsSet(boolean value) {
1147
  public void setDealerPriceIsSet(boolean value) {
Line 1061... Line 1150...
1061
 
1150
 
1062
  public boolean isDefaultForEntity() {
1151
  public boolean isDefaultForEntity() {
1063
    return this.defaultForEntity;
1152
    return this.defaultForEntity;
1064
  }
1153
  }
1065
 
1154
 
1066
  public Item setDefaultForEntity(boolean defaultForEntity) {
1155
  public void setDefaultForEntity(boolean defaultForEntity) {
1067
    this.defaultForEntity = defaultForEntity;
1156
    this.defaultForEntity = defaultForEntity;
1068
    setDefaultForEntityIsSet(true);
1157
    setDefaultForEntityIsSet(true);
1069
    return this;
-
 
1070
  }
1158
  }
1071
 
1159
 
1072
  public void unsetDefaultForEntity() {
1160
  public void unsetDefaultForEntity() {
1073
    __isset_bit_vector.clear(__DEFAULTFORENTITY_ISSET_ID);
1161
    __isset_bit_vector.clear(__DEFAULTFORENTITY_ISSET_ID);
1074
  }
1162
  }
1075
 
1163
 
1076
  /** Returns true if field defaultForEntity is set (has been asigned a value) and false otherwise */
1164
  /** Returns true if field defaultForEntity is set (has been assigned a value) and false otherwise */
1077
  public boolean isSetDefaultForEntity() {
1165
  public boolean isSetDefaultForEntity() {
1078
    return __isset_bit_vector.get(__DEFAULTFORENTITY_ISSET_ID);
1166
    return __isset_bit_vector.get(__DEFAULTFORENTITY_ISSET_ID);
1079
  }
1167
  }
1080
 
1168
 
1081
  public void setDefaultForEntityIsSet(boolean value) {
1169
  public void setDefaultForEntityIsSet(boolean value) {
Line 1084... Line 1172...
1084
 
1172
 
1085
  public long getUpdatedOn() {
1173
  public long getUpdatedOn() {
1086
    return this.updatedOn;
1174
    return this.updatedOn;
1087
  }
1175
  }
1088
 
1176
 
1089
  public Item setUpdatedOn(long updatedOn) {
1177
  public void setUpdatedOn(long updatedOn) {
1090
    this.updatedOn = updatedOn;
1178
    this.updatedOn = updatedOn;
1091
    setUpdatedOnIsSet(true);
1179
    setUpdatedOnIsSet(true);
1092
    return this;
-
 
1093
  }
1180
  }
1094
 
1181
 
1095
  public void unsetUpdatedOn() {
1182
  public void unsetUpdatedOn() {
1096
    __isset_bit_vector.clear(__UPDATEDON_ISSET_ID);
1183
    __isset_bit_vector.clear(__UPDATEDON_ISSET_ID);
1097
  }
1184
  }
1098
 
1185
 
1099
  /** Returns true if field updatedOn is set (has been asigned a value) and false otherwise */
1186
  /** Returns true if field updatedOn is set (has been assigned a value) and false otherwise */
1100
  public boolean isSetUpdatedOn() {
1187
  public boolean isSetUpdatedOn() {
1101
    return __isset_bit_vector.get(__UPDATEDON_ISSET_ID);
1188
    return __isset_bit_vector.get(__UPDATEDON_ISSET_ID);
1102
  }
1189
  }
1103
 
1190
 
1104
  public void setUpdatedOnIsSet(boolean value) {
1191
  public void setUpdatedOnIsSet(boolean value) {
Line 1107... Line 1194...
1107
 
1194
 
1108
  public long getBestSellingRank() {
1195
  public long getBestSellingRank() {
1109
    return this.bestSellingRank;
1196
    return this.bestSellingRank;
1110
  }
1197
  }
1111
 
1198
 
1112
  public Item setBestSellingRank(long bestSellingRank) {
1199
  public void setBestSellingRank(long bestSellingRank) {
1113
    this.bestSellingRank = bestSellingRank;
1200
    this.bestSellingRank = bestSellingRank;
1114
    setBestSellingRankIsSet(true);
1201
    setBestSellingRankIsSet(true);
1115
    return this;
-
 
1116
  }
1202
  }
1117
 
1203
 
1118
  public void unsetBestSellingRank() {
1204
  public void unsetBestSellingRank() {
1119
    __isset_bit_vector.clear(__BESTSELLINGRANK_ISSET_ID);
1205
    __isset_bit_vector.clear(__BESTSELLINGRANK_ISSET_ID);
1120
  }
1206
  }
1121
 
1207
 
1122
  /** Returns true if field bestSellingRank is set (has been asigned a value) and false otherwise */
1208
  /** Returns true if field bestSellingRank is set (has been assigned a value) and false otherwise */
1123
  public boolean isSetBestSellingRank() {
1209
  public boolean isSetBestSellingRank() {
1124
    return __isset_bit_vector.get(__BESTSELLINGRANK_ISSET_ID);
1210
    return __isset_bit_vector.get(__BESTSELLINGRANK_ISSET_ID);
1125
  }
1211
  }
1126
 
1212
 
1127
  public void setBestSellingRankIsSet(boolean value) {
1213
  public void setBestSellingRankIsSet(boolean value) {
Line 1130... Line 1216...
1130
 
1216
 
1131
  public String getHotspotCategory() {
1217
  public String getHotspotCategory() {
1132
    return this.hotspotCategory;
1218
    return this.hotspotCategory;
1133
  }
1219
  }
1134
 
1220
 
1135
  public Item setHotspotCategory(String hotspotCategory) {
1221
  public void setHotspotCategory(String hotspotCategory) {
1136
    this.hotspotCategory = hotspotCategory;
1222
    this.hotspotCategory = hotspotCategory;
1137
    return this;
-
 
1138
  }
1223
  }
1139
 
1224
 
1140
  public void unsetHotspotCategory() {
1225
  public void unsetHotspotCategory() {
1141
    this.hotspotCategory = null;
1226
    this.hotspotCategory = null;
1142
  }
1227
  }
1143
 
1228
 
1144
  /** Returns true if field hotspotCategory is set (has been asigned a value) and false otherwise */
1229
  /** Returns true if field hotspotCategory is set (has been assigned a value) and false otherwise */
1145
  public boolean isSetHotspotCategory() {
1230
  public boolean isSetHotspotCategory() {
1146
    return this.hotspotCategory != null;
1231
    return this.hotspotCategory != null;
1147
  }
1232
  }
1148
 
1233
 
1149
  public void setHotspotCategoryIsSet(boolean value) {
1234
  public void setHotspotCategoryIsSet(boolean value) {
Line 1154... Line 1239...
1154
 
1239
 
1155
  public boolean isRisky() {
1240
  public boolean isRisky() {
1156
    return this.risky;
1241
    return this.risky;
1157
  }
1242
  }
1158
 
1243
 
1159
  public Item setRisky(boolean risky) {
1244
  public void setRisky(boolean risky) {
1160
    this.risky = risky;
1245
    this.risky = risky;
1161
    setRiskyIsSet(true);
1246
    setRiskyIsSet(true);
1162
    return this;
-
 
1163
  }
1247
  }
1164
 
1248
 
1165
  public void unsetRisky() {
1249
  public void unsetRisky() {
1166
    __isset_bit_vector.clear(__RISKY_ISSET_ID);
1250
    __isset_bit_vector.clear(__RISKY_ISSET_ID);
1167
  }
1251
  }
1168
 
1252
 
1169
  /** Returns true if field risky is set (has been asigned a value) and false otherwise */
1253
  /** Returns true if field risky is set (has been assigned a value) and false otherwise */
1170
  public boolean isSetRisky() {
1254
  public boolean isSetRisky() {
1171
    return __isset_bit_vector.get(__RISKY_ISSET_ID);
1255
    return __isset_bit_vector.get(__RISKY_ISSET_ID);
1172
  }
1256
  }
1173
 
1257
 
1174
  public void setRiskyIsSet(boolean value) {
1258
  public void setRiskyIsSet(boolean value) {
Line 1177... Line 1261...
1177
 
1261
 
1178
  public int getExpectedDelay() {
1262
  public int getExpectedDelay() {
1179
    return this.expectedDelay;
1263
    return this.expectedDelay;
1180
  }
1264
  }
1181
 
1265
 
1182
  public Item setExpectedDelay(int expectedDelay) {
1266
  public void setExpectedDelay(int expectedDelay) {
1183
    this.expectedDelay = expectedDelay;
1267
    this.expectedDelay = expectedDelay;
1184
    setExpectedDelayIsSet(true);
1268
    setExpectedDelayIsSet(true);
1185
    return this;
-
 
1186
  }
1269
  }
1187
 
1270
 
1188
  public void unsetExpectedDelay() {
1271
  public void unsetExpectedDelay() {
1189
    __isset_bit_vector.clear(__EXPECTEDDELAY_ISSET_ID);
1272
    __isset_bit_vector.clear(__EXPECTEDDELAY_ISSET_ID);
1190
  }
1273
  }
1191
 
1274
 
1192
  /** Returns true if field expectedDelay is set (has been asigned a value) and false otherwise */
1275
  /** Returns true if field expectedDelay is set (has been assigned a value) and false otherwise */
1193
  public boolean isSetExpectedDelay() {
1276
  public boolean isSetExpectedDelay() {
1194
    return __isset_bit_vector.get(__EXPECTEDDELAY_ISSET_ID);
1277
    return __isset_bit_vector.get(__EXPECTEDDELAY_ISSET_ID);
1195
  }
1278
  }
1196
 
1279
 
1197
  public void setExpectedDelayIsSet(boolean value) {
1280
  public void setExpectedDelayIsSet(boolean value) {
Line 1200... Line 1283...
1200
 
1283
 
1201
  public String getPreferredWarehouse() {
1284
  public String getPreferredWarehouse() {
1202
    return this.preferredWarehouse;
1285
    return this.preferredWarehouse;
1203
  }
1286
  }
1204
 
1287
 
1205
  public Item setPreferredWarehouse(String preferredWarehouse) {
1288
  public void setPreferredWarehouse(String preferredWarehouse) {
1206
    this.preferredWarehouse = preferredWarehouse;
1289
    this.preferredWarehouse = preferredWarehouse;
1207
    return this;
-
 
1208
  }
1290
  }
1209
 
1291
 
1210
  public void unsetPreferredWarehouse() {
1292
  public void unsetPreferredWarehouse() {
1211
    this.preferredWarehouse = null;
1293
    this.preferredWarehouse = null;
1212
  }
1294
  }
1213
 
1295
 
1214
  /** Returns true if field preferredWarehouse is set (has been asigned a value) and false otherwise */
1296
  /** Returns true if field preferredWarehouse is set (has been assigned a value) and false otherwise */
1215
  public boolean isSetPreferredWarehouse() {
1297
  public boolean isSetPreferredWarehouse() {
1216
    return this.preferredWarehouse != null;
1298
    return this.preferredWarehouse != null;
1217
  }
1299
  }
1218
 
1300
 
1219
  public void setPreferredWarehouseIsSet(boolean value) {
1301
  public void setPreferredWarehouseIsSet(boolean value) {
Line 1489... Line 1571...
1489
      break;
1571
      break;
1490
 
1572
 
1491
    }
1573
    }
1492
  }
1574
  }
1493
 
1575
 
1494
  public void setFieldValue(int fieldID, Object value) {
-
 
1495
    setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
1496
  }
-
 
1497
 
-
 
1498
  public Object getFieldValue(_Fields field) {
1576
  public Object getFieldValue(_Fields field) {
1499
    switch (field) {
1577
    switch (field) {
1500
    case ID:
1578
    case ID:
1501
      return new Long(getId());
1579
      return Long.valueOf(getId());
1502
 
1580
 
1503
    case PRODUCT_GROUP:
1581
    case PRODUCT_GROUP:
1504
      return getProductGroup();
1582
      return getProductGroup();
1505
 
1583
 
1506
    case BRAND:
1584
    case BRAND:
Line 1514... Line 1592...
1514
 
1592
 
1515
    case COLOR:
1593
    case COLOR:
1516
      return getColor();
1594
      return getColor();
1517
 
1595
 
1518
    case CATEGORY:
1596
    case CATEGORY:
1519
      return new Long(getCategory());
1597
      return Long.valueOf(getCategory());
1520
 
1598
 
1521
    case COMMENTS:
1599
    case COMMENTS:
1522
      return getComments();
1600
      return getComments();
1523
 
1601
 
1524
    case CATALOG_ITEM_ID:
1602
    case CATALOG_ITEM_ID:
1525
      return new Long(getCatalogItemId());
1603
      return Long.valueOf(getCatalogItemId());
1526
 
1604
 
1527
    case FEATURE_ID:
1605
    case FEATURE_ID:
1528
      return new Long(getFeatureId());
1606
      return Long.valueOf(getFeatureId());
1529
 
1607
 
1530
    case FEATURE_DESCRIPTION:
1608
    case FEATURE_DESCRIPTION:
1531
      return getFeatureDescription();
1609
      return getFeatureDescription();
1532
 
1610
 
1533
    case ITEM_INVENTORY:
1611
    case ITEM_INVENTORY:
1534
      return getItemInventory();
1612
      return getItemInventory();
1535
 
1613
 
1536
    case MRP:
1614
    case MRP:
1537
      return new Double(getMrp());
1615
      return Double.valueOf(getMrp());
1538
 
1616
 
1539
    case MOP:
1617
    case MOP:
1540
      return new Double(getMop());
1618
      return Double.valueOf(getMop());
1541
 
1619
 
1542
    case SELLING_PRICE:
1620
    case SELLING_PRICE:
1543
      return new Double(getSellingPrice());
1621
      return Double.valueOf(getSellingPrice());
1544
 
1622
 
1545
    case TRANSFER_PRICE:
1623
    case TRANSFER_PRICE:
1546
      return new Double(getTransferPrice());
1624
      return Double.valueOf(getTransferPrice());
1547
 
1625
 
1548
    case WEIGHT:
1626
    case WEIGHT:
1549
      return new Double(getWeight());
1627
      return Double.valueOf(getWeight());
1550
 
1628
 
1551
    case ADDED_ON:
1629
    case ADDED_ON:
1552
      return new Long(getAddedOn());
1630
      return Long.valueOf(getAddedOn());
1553
 
1631
 
1554
    case START_DATE:
1632
    case START_DATE:
1555
      return new Long(getStartDate());
1633
      return Long.valueOf(getStartDate());
1556
 
1634
 
1557
    case RETIRE_DATE:
1635
    case RETIRE_DATE:
1558
      return new Long(getRetireDate());
1636
      return Long.valueOf(getRetireDate());
1559
 
1637
 
1560
    case ITEM_STATUS:
1638
    case ITEM_STATUS:
1561
      return getItemStatus();
1639
      return getItemStatus();
1562
 
1640
 
1563
    case STATUS_DESCRIPTION:
1641
    case STATUS_DESCRIPTION:
Line 1568... Line 1646...
1568
 
1646
 
1569
    case BEST_DEAL_TEXT:
1647
    case BEST_DEAL_TEXT:
1570
      return getBestDealText();
1648
      return getBestDealText();
1571
 
1649
 
1572
    case BEST_DEAL_VALUE:
1650
    case BEST_DEAL_VALUE:
1573
      return new Double(getBestDealValue());
1651
      return Double.valueOf(getBestDealValue());
1574
 
1652
 
1575
    case DEALER_PRICE:
1653
    case DEALER_PRICE:
1576
      return new Double(getDealerPrice());
1654
      return Double.valueOf(getDealerPrice());
1577
 
1655
 
1578
    case DEFAULT_FOR_ENTITY:
1656
    case DEFAULT_FOR_ENTITY:
1579
      return new Boolean(isDefaultForEntity());
1657
      return Boolean.valueOf(isDefaultForEntity());
1580
 
1658
 
1581
    case UPDATED_ON:
1659
    case UPDATED_ON:
1582
      return new Long(getUpdatedOn());
1660
      return Long.valueOf(getUpdatedOn());
1583
 
1661
 
1584
    case BEST_SELLING_RANK:
1662
    case BEST_SELLING_RANK:
1585
      return new Long(getBestSellingRank());
1663
      return Long.valueOf(getBestSellingRank());
1586
 
1664
 
1587
    case HOTSPOT_CATEGORY:
1665
    case HOTSPOT_CATEGORY:
1588
      return getHotspotCategory();
1666
      return getHotspotCategory();
1589
 
1667
 
1590
    case RISKY:
1668
    case RISKY:
1591
      return new Boolean(isRisky());
1669
      return Boolean.valueOf(isRisky());
1592
 
1670
 
1593
    case EXPECTED_DELAY:
1671
    case EXPECTED_DELAY:
1594
      return new Integer(getExpectedDelay());
1672
      return Integer.valueOf(getExpectedDelay());
1595
 
1673
 
1596
    case PREFERRED_WAREHOUSE:
1674
    case PREFERRED_WAREHOUSE:
1597
      return getPreferredWarehouse();
1675
      return getPreferredWarehouse();
1598
 
1676
 
1599
    }
1677
    }
1600
    throw new IllegalStateException();
1678
    throw new IllegalStateException();
1601
  }
1679
  }
1602
 
1680
 
1603
  public Object getFieldValue(int fieldId) {
-
 
1604
    return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
1605
  }
-
 
1606
 
-
 
1607
  /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
1681
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
1608
  public boolean isSet(_Fields field) {
1682
  public boolean isSet(_Fields field) {
-
 
1683
    if (field == null) {
-
 
1684
      throw new IllegalArgumentException();
-
 
1685
    }
-
 
1686
 
1609
    switch (field) {
1687
    switch (field) {
1610
    case ID:
1688
    case ID:
1611
      return isSetId();
1689
      return isSetId();
1612
    case PRODUCT_GROUP:
1690
    case PRODUCT_GROUP:
1613
      return isSetProductGroup();
1691
      return isSetProductGroup();
Line 1675... Line 1753...
1675
      return isSetPreferredWarehouse();
1753
      return isSetPreferredWarehouse();
1676
    }
1754
    }
1677
    throw new IllegalStateException();
1755
    throw new IllegalStateException();
1678
  }
1756
  }
1679
 
1757
 
1680
  public boolean isSet(int fieldID) {
-
 
1681
    return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
1682
  }
-
 
1683
 
-
 
1684
  @Override
1758
  @Override
1685
  public boolean equals(Object that) {
1759
  public boolean equals(Object that) {
1686
    if (that == null)
1760
    if (that == null)
1687
      return false;
1761
      return false;
1688
    if (that instanceof Item)
1762
    if (that instanceof Item)
Line 1997... Line 2071...
1997
  @Override
2071
  @Override
1998
  public int hashCode() {
2072
  public int hashCode() {
1999
    return 0;
2073
    return 0;
2000
  }
2074
  }
2001
 
2075
 
-
 
2076
  public int compareTo(Item other) {
-
 
2077
    if (!getClass().equals(other.getClass())) {
-
 
2078
      return getClass().getName().compareTo(other.getClass().getName());
-
 
2079
    }
-
 
2080
 
-
 
2081
    int lastComparison = 0;
-
 
2082
    Item typedOther = (Item)other;
-
 
2083
 
-
 
2084
    lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
-
 
2085
    if (lastComparison != 0) {
-
 
2086
      return lastComparison;
-
 
2087
    }
-
 
2088
    if (isSetId()) {
-
 
2089
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
-
 
2090
      if (lastComparison != 0) {
-
 
2091
        return lastComparison;
-
 
2092
      }
-
 
2093
    }
-
 
2094
    lastComparison = Boolean.valueOf(isSetProductGroup()).compareTo(typedOther.isSetProductGroup());
-
 
2095
    if (lastComparison != 0) {
-
 
2096
      return lastComparison;
-
 
2097
    }
-
 
2098
    if (isSetProductGroup()) {
-
 
2099
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.productGroup, typedOther.productGroup);
-
 
2100
      if (lastComparison != 0) {
-
 
2101
        return lastComparison;
-
 
2102
      }
-
 
2103
    }
-
 
2104
    lastComparison = Boolean.valueOf(isSetBrand()).compareTo(typedOther.isSetBrand());
-
 
2105
    if (lastComparison != 0) {
-
 
2106
      return lastComparison;
-
 
2107
    }
-
 
2108
    if (isSetBrand()) {
-
 
2109
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.brand, typedOther.brand);
-
 
2110
      if (lastComparison != 0) {
-
 
2111
        return lastComparison;
-
 
2112
      }
-
 
2113
    }
-
 
2114
    lastComparison = Boolean.valueOf(isSetModelNumber()).compareTo(typedOther.isSetModelNumber());
-
 
2115
    if (lastComparison != 0) {
-
 
2116
      return lastComparison;
-
 
2117
    }
-
 
2118
    if (isSetModelNumber()) {
-
 
2119
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modelNumber, typedOther.modelNumber);
-
 
2120
      if (lastComparison != 0) {
-
 
2121
        return lastComparison;
-
 
2122
      }
-
 
2123
    }
-
 
2124
    lastComparison = Boolean.valueOf(isSetModelName()).compareTo(typedOther.isSetModelName());
-
 
2125
    if (lastComparison != 0) {
-
 
2126
      return lastComparison;
-
 
2127
    }
-
 
2128
    if (isSetModelName()) {
-
 
2129
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modelName, typedOther.modelName);
-
 
2130
      if (lastComparison != 0) {
-
 
2131
        return lastComparison;
-
 
2132
      }
-
 
2133
    }
-
 
2134
    lastComparison = Boolean.valueOf(isSetColor()).compareTo(typedOther.isSetColor());
-
 
2135
    if (lastComparison != 0) {
-
 
2136
      return lastComparison;
-
 
2137
    }
-
 
2138
    if (isSetColor()) {
-
 
2139
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.color, typedOther.color);
-
 
2140
      if (lastComparison != 0) {
-
 
2141
        return lastComparison;
-
 
2142
      }
-
 
2143
    }
-
 
2144
    lastComparison = Boolean.valueOf(isSetCategory()).compareTo(typedOther.isSetCategory());
-
 
2145
    if (lastComparison != 0) {
-
 
2146
      return lastComparison;
-
 
2147
    }
-
 
2148
    if (isSetCategory()) {
-
 
2149
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.category, typedOther.category);
-
 
2150
      if (lastComparison != 0) {
-
 
2151
        return lastComparison;
-
 
2152
      }
-
 
2153
    }
-
 
2154
    lastComparison = Boolean.valueOf(isSetComments()).compareTo(typedOther.isSetComments());
-
 
2155
    if (lastComparison != 0) {
-
 
2156
      return lastComparison;
-
 
2157
    }
-
 
2158
    if (isSetComments()) {
-
 
2159
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comments, typedOther.comments);
-
 
2160
      if (lastComparison != 0) {
-
 
2161
        return lastComparison;
-
 
2162
      }
-
 
2163
    }
-
 
2164
    lastComparison = Boolean.valueOf(isSetCatalogItemId()).compareTo(typedOther.isSetCatalogItemId());
-
 
2165
    if (lastComparison != 0) {
-
 
2166
      return lastComparison;
-
 
2167
    }
-
 
2168
    if (isSetCatalogItemId()) {
-
 
2169
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogItemId, typedOther.catalogItemId);
-
 
2170
      if (lastComparison != 0) {
-
 
2171
        return lastComparison;
-
 
2172
      }
-
 
2173
    }
-
 
2174
    lastComparison = Boolean.valueOf(isSetFeatureId()).compareTo(typedOther.isSetFeatureId());
-
 
2175
    if (lastComparison != 0) {
-
 
2176
      return lastComparison;
-
 
2177
    }
-
 
2178
    if (isSetFeatureId()) {
-
 
2179
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureId, typedOther.featureId);
-
 
2180
      if (lastComparison != 0) {
-
 
2181
        return lastComparison;
-
 
2182
      }
-
 
2183
    }
-
 
2184
    lastComparison = Boolean.valueOf(isSetFeatureDescription()).compareTo(typedOther.isSetFeatureDescription());
-
 
2185
    if (lastComparison != 0) {
-
 
2186
      return lastComparison;
-
 
2187
    }
-
 
2188
    if (isSetFeatureDescription()) {
-
 
2189
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureDescription, typedOther.featureDescription);
-
 
2190
      if (lastComparison != 0) {
-
 
2191
        return lastComparison;
-
 
2192
      }
-
 
2193
    }
-
 
2194
    lastComparison = Boolean.valueOf(isSetItemInventory()).compareTo(typedOther.isSetItemInventory());
-
 
2195
    if (lastComparison != 0) {
-
 
2196
      return lastComparison;
-
 
2197
    }
-
 
2198
    if (isSetItemInventory()) {
-
 
2199
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemInventory, typedOther.itemInventory);
-
 
2200
      if (lastComparison != 0) {
-
 
2201
        return lastComparison;
-
 
2202
      }
-
 
2203
    }
-
 
2204
    lastComparison = Boolean.valueOf(isSetMrp()).compareTo(typedOther.isSetMrp());
-
 
2205
    if (lastComparison != 0) {
-
 
2206
      return lastComparison;
-
 
2207
    }
-
 
2208
    if (isSetMrp()) {
-
 
2209
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mrp, typedOther.mrp);
-
 
2210
      if (lastComparison != 0) {
-
 
2211
        return lastComparison;
-
 
2212
      }
-
 
2213
    }
-
 
2214
    lastComparison = Boolean.valueOf(isSetMop()).compareTo(typedOther.isSetMop());
-
 
2215
    if (lastComparison != 0) {
-
 
2216
      return lastComparison;
-
 
2217
    }
-
 
2218
    if (isSetMop()) {
-
 
2219
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mop, typedOther.mop);
-
 
2220
      if (lastComparison != 0) {
-
 
2221
        return lastComparison;
-
 
2222
      }
-
 
2223
    }
-
 
2224
    lastComparison = Boolean.valueOf(isSetSellingPrice()).compareTo(typedOther.isSetSellingPrice());
-
 
2225
    if (lastComparison != 0) {
-
 
2226
      return lastComparison;
-
 
2227
    }
-
 
2228
    if (isSetSellingPrice()) {
-
 
2229
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellingPrice, typedOther.sellingPrice);
-
 
2230
      if (lastComparison != 0) {
-
 
2231
        return lastComparison;
-
 
2232
      }
-
 
2233
    }
-
 
2234
    lastComparison = Boolean.valueOf(isSetTransferPrice()).compareTo(typedOther.isSetTransferPrice());
-
 
2235
    if (lastComparison != 0) {
-
 
2236
      return lastComparison;
-
 
2237
    }
-
 
2238
    if (isSetTransferPrice()) {
-
 
2239
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferPrice, typedOther.transferPrice);
-
 
2240
      if (lastComparison != 0) {
-
 
2241
        return lastComparison;
-
 
2242
      }
-
 
2243
    }
-
 
2244
    lastComparison = Boolean.valueOf(isSetWeight()).compareTo(typedOther.isSetWeight());
-
 
2245
    if (lastComparison != 0) {
-
 
2246
      return lastComparison;
-
 
2247
    }
-
 
2248
    if (isSetWeight()) {
-
 
2249
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.weight, typedOther.weight);
-
 
2250
      if (lastComparison != 0) {
-
 
2251
        return lastComparison;
-
 
2252
      }
-
 
2253
    }
-
 
2254
    lastComparison = Boolean.valueOf(isSetAddedOn()).compareTo(typedOther.isSetAddedOn());
-
 
2255
    if (lastComparison != 0) {
-
 
2256
      return lastComparison;
-
 
2257
    }
-
 
2258
    if (isSetAddedOn()) {
-
 
2259
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.addedOn, typedOther.addedOn);
-
 
2260
      if (lastComparison != 0) {
-
 
2261
        return lastComparison;
-
 
2262
      }
-
 
2263
    }
-
 
2264
    lastComparison = Boolean.valueOf(isSetStartDate()).compareTo(typedOther.isSetStartDate());
-
 
2265
    if (lastComparison != 0) {
-
 
2266
      return lastComparison;
-
 
2267
    }
-
 
2268
    if (isSetStartDate()) {
-
 
2269
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startDate, typedOther.startDate);
-
 
2270
      if (lastComparison != 0) {
-
 
2271
        return lastComparison;
-
 
2272
      }
-
 
2273
    }
-
 
2274
    lastComparison = Boolean.valueOf(isSetRetireDate()).compareTo(typedOther.isSetRetireDate());
-
 
2275
    if (lastComparison != 0) {
-
 
2276
      return lastComparison;
-
 
2277
    }
-
 
2278
    if (isSetRetireDate()) {
-
 
2279
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.retireDate, typedOther.retireDate);
-
 
2280
      if (lastComparison != 0) {
-
 
2281
        return lastComparison;
-
 
2282
      }
-
 
2283
    }
-
 
2284
    lastComparison = Boolean.valueOf(isSetItemStatus()).compareTo(typedOther.isSetItemStatus());
-
 
2285
    if (lastComparison != 0) {
-
 
2286
      return lastComparison;
-
 
2287
    }
-
 
2288
    if (isSetItemStatus()) {
-
 
2289
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemStatus, typedOther.itemStatus);
-
 
2290
      if (lastComparison != 0) {
-
 
2291
        return lastComparison;
-
 
2292
      }
-
 
2293
    }
-
 
2294
    lastComparison = Boolean.valueOf(isSetStatus_description()).compareTo(typedOther.isSetStatus_description());
-
 
2295
    if (lastComparison != 0) {
-
 
2296
      return lastComparison;
-
 
2297
    }
-
 
2298
    if (isSetStatus_description()) {
-
 
2299
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status_description, typedOther.status_description);
-
 
2300
      if (lastComparison != 0) {
-
 
2301
        return lastComparison;
-
 
2302
      }
-
 
2303
    }
-
 
2304
    lastComparison = Boolean.valueOf(isSetOtherInfo()).compareTo(typedOther.isSetOtherInfo());
-
 
2305
    if (lastComparison != 0) {
-
 
2306
      return lastComparison;
-
 
2307
    }
-
 
2308
    if (isSetOtherInfo()) {
-
 
2309
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.otherInfo, typedOther.otherInfo);
-
 
2310
      if (lastComparison != 0) {
-
 
2311
        return lastComparison;
-
 
2312
      }
-
 
2313
    }
-
 
2314
    lastComparison = Boolean.valueOf(isSetBestDealText()).compareTo(typedOther.isSetBestDealText());
-
 
2315
    if (lastComparison != 0) {
-
 
2316
      return lastComparison;
-
 
2317
    }
-
 
2318
    if (isSetBestDealText()) {
-
 
2319
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealText, typedOther.bestDealText);
-
 
2320
      if (lastComparison != 0) {
-
 
2321
        return lastComparison;
-
 
2322
      }
-
 
2323
    }
-
 
2324
    lastComparison = Boolean.valueOf(isSetBestDealValue()).compareTo(typedOther.isSetBestDealValue());
-
 
2325
    if (lastComparison != 0) {
-
 
2326
      return lastComparison;
-
 
2327
    }
-
 
2328
    if (isSetBestDealValue()) {
-
 
2329
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealValue, typedOther.bestDealValue);
-
 
2330
      if (lastComparison != 0) {
-
 
2331
        return lastComparison;
-
 
2332
      }
-
 
2333
    }
-
 
2334
    lastComparison = Boolean.valueOf(isSetDealerPrice()).compareTo(typedOther.isSetDealerPrice());
-
 
2335
    if (lastComparison != 0) {
-
 
2336
      return lastComparison;
-
 
2337
    }
-
 
2338
    if (isSetDealerPrice()) {
-
 
2339
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dealerPrice, typedOther.dealerPrice);
-
 
2340
      if (lastComparison != 0) {
-
 
2341
        return lastComparison;
-
 
2342
      }
-
 
2343
    }
-
 
2344
    lastComparison = Boolean.valueOf(isSetDefaultForEntity()).compareTo(typedOther.isSetDefaultForEntity());
-
 
2345
    if (lastComparison != 0) {
-
 
2346
      return lastComparison;
-
 
2347
    }
-
 
2348
    if (isSetDefaultForEntity()) {
-
 
2349
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultForEntity, typedOther.defaultForEntity);
-
 
2350
      if (lastComparison != 0) {
-
 
2351
        return lastComparison;
-
 
2352
      }
-
 
2353
    }
-
 
2354
    lastComparison = Boolean.valueOf(isSetUpdatedOn()).compareTo(typedOther.isSetUpdatedOn());
-
 
2355
    if (lastComparison != 0) {
-
 
2356
      return lastComparison;
-
 
2357
    }
-
 
2358
    if (isSetUpdatedOn()) {
-
 
2359
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.updatedOn, typedOther.updatedOn);
-
 
2360
      if (lastComparison != 0) {
-
 
2361
        return lastComparison;
-
 
2362
      }
-
 
2363
    }
-
 
2364
    lastComparison = Boolean.valueOf(isSetBestSellingRank()).compareTo(typedOther.isSetBestSellingRank());
-
 
2365
    if (lastComparison != 0) {
-
 
2366
      return lastComparison;
-
 
2367
    }
-
 
2368
    if (isSetBestSellingRank()) {
-
 
2369
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestSellingRank, typedOther.bestSellingRank);
-
 
2370
      if (lastComparison != 0) {
-
 
2371
        return lastComparison;
-
 
2372
      }
-
 
2373
    }
-
 
2374
    lastComparison = Boolean.valueOf(isSetHotspotCategory()).compareTo(typedOther.isSetHotspotCategory());
-
 
2375
    if (lastComparison != 0) {
-
 
2376
      return lastComparison;
-
 
2377
    }
-
 
2378
    if (isSetHotspotCategory()) {
-
 
2379
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hotspotCategory, typedOther.hotspotCategory);
-
 
2380
      if (lastComparison != 0) {
-
 
2381
        return lastComparison;
-
 
2382
      }
-
 
2383
    }
-
 
2384
    lastComparison = Boolean.valueOf(isSetRisky()).compareTo(typedOther.isSetRisky());
-
 
2385
    if (lastComparison != 0) {
-
 
2386
      return lastComparison;
-
 
2387
    }
-
 
2388
    if (isSetRisky()) {
-
 
2389
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.risky, typedOther.risky);
-
 
2390
      if (lastComparison != 0) {
-
 
2391
        return lastComparison;
-
 
2392
      }
-
 
2393
    }
-
 
2394
    lastComparison = Boolean.valueOf(isSetExpectedDelay()).compareTo(typedOther.isSetExpectedDelay());
-
 
2395
    if (lastComparison != 0) {
-
 
2396
      return lastComparison;
-
 
2397
    }
-
 
2398
    if (isSetExpectedDelay()) {
-
 
2399
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expectedDelay, typedOther.expectedDelay);
-
 
2400
      if (lastComparison != 0) {
-
 
2401
        return lastComparison;
-
 
2402
      }
-
 
2403
    }
-
 
2404
    lastComparison = Boolean.valueOf(isSetPreferredWarehouse()).compareTo(typedOther.isSetPreferredWarehouse());
-
 
2405
    if (lastComparison != 0) {
-
 
2406
      return lastComparison;
-
 
2407
    }
-
 
2408
    if (isSetPreferredWarehouse()) {
-
 
2409
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.preferredWarehouse, typedOther.preferredWarehouse);
-
 
2410
      if (lastComparison != 0) {
-
 
2411
        return lastComparison;
-
 
2412
      }
-
 
2413
    }
-
 
2414
    return 0;
-
 
2415
  }
-
 
2416
 
-
 
2417
  public _Fields fieldForId(int fieldId) {
-
 
2418
    return _Fields.findByThriftId(fieldId);
-
 
2419
  }
-
 
2420
 
2002
  public void read(TProtocol iprot) throws TException {
2421
  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
2003
    TField field;
2422
    org.apache.thrift.protocol.TField field;
2004
    iprot.readStructBegin();
2423
    iprot.readStructBegin();
2005
    while (true)
2424
    while (true)
2006
    {
2425
    {
2007
      field = iprot.readFieldBegin();
2426
      field = iprot.readFieldBegin();
2008
      if (field.type == TType.STOP) { 
2427
      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
2009
        break;
2428
        break;
2010
      }
2429
      }
2011
      _Fields fieldId = _Fields.findByThriftId(field.id);
2430
      switch (field.id) {
2012
      if (fieldId == null) {
2431
        case 1: // ID
2013
        TProtocolUtil.skip(iprot, field.type);
2432
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2014
      } else {
2433
            this.id = iprot.readI64();
2015
        switch (fieldId) {
2434
            setIdIsSet(true);
2016
          case ID:
2435
          } else { 
2017
            if (field.type == TType.I64) {
2436
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2018
              this.id = iprot.readI64();
2437
          }
2019
              setIdIsSet(true);
2438
          break;
2020
            } else { 
2439
        case 2: // PRODUCT_GROUP
2021
              TProtocolUtil.skip(iprot, field.type);
2440
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2022
            }
2441
            this.productGroup = iprot.readString();
2023
            break;
2442
          } else { 
2024
          case PRODUCT_GROUP:
2443
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2025
            if (field.type == TType.STRING) {
2444
          }
2026
              this.productGroup = iprot.readString();
2445
          break;
2027
            } else { 
2446
        case 3: // BRAND
2028
              TProtocolUtil.skip(iprot, field.type);
2447
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2029
            }
2448
            this.brand = iprot.readString();
2030
            break;
2449
          } else { 
2031
          case BRAND:
2450
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2032
            if (field.type == TType.STRING) {
2451
          }
2033
              this.brand = iprot.readString();
2452
          break;
2034
            } else { 
2453
        case 4: // MODEL_NUMBER
2035
              TProtocolUtil.skip(iprot, field.type);
2454
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2036
            }
2455
            this.modelNumber = iprot.readString();
2037
            break;
2456
          } else { 
2038
          case MODEL_NUMBER:
2457
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2039
            if (field.type == TType.STRING) {
2458
          }
2040
              this.modelNumber = iprot.readString();
2459
          break;
2041
            } else { 
2460
        case 5: // MODEL_NAME
2042
              TProtocolUtil.skip(iprot, field.type);
2461
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2043
            }
2462
            this.modelName = iprot.readString();
2044
            break;
2463
          } else { 
2045
          case MODEL_NAME:
2464
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2046
            if (field.type == TType.STRING) {
2465
          }
2047
              this.modelName = iprot.readString();
2466
          break;
2048
            } else { 
2467
        case 6: // COLOR
2049
              TProtocolUtil.skip(iprot, field.type);
2468
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2050
            }
2469
            this.color = iprot.readString();
2051
            break;
2470
          } else { 
2052
          case COLOR:
2471
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2053
            if (field.type == TType.STRING) {
2472
          }
2054
              this.color = iprot.readString();
2473
          break;
2055
            } else { 
2474
        case 7: // CATEGORY
2056
              TProtocolUtil.skip(iprot, field.type);
2475
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2057
            }
2476
            this.category = iprot.readI64();
2058
            break;
2477
            setCategoryIsSet(true);
2059
          case CATEGORY:
2478
          } else { 
2060
            if (field.type == TType.I64) {
2479
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2061
              this.category = iprot.readI64();
2480
          }
2062
              setCategoryIsSet(true);
2481
          break;
2063
            } else { 
2482
        case 8: // COMMENTS
2064
              TProtocolUtil.skip(iprot, field.type);
2483
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2065
            }
2484
            this.comments = iprot.readString();
2066
            break;
2485
          } else { 
2067
          case COMMENTS:
2486
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2068
            if (field.type == TType.STRING) {
2487
          }
2069
              this.comments = iprot.readString();
2488
          break;
2070
            } else { 
2489
        case 9: // CATALOG_ITEM_ID
2071
              TProtocolUtil.skip(iprot, field.type);
2490
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2072
            }
2491
            this.catalogItemId = iprot.readI64();
2073
            break;
2492
            setCatalogItemIdIsSet(true);
2074
          case CATALOG_ITEM_ID:
2493
          } else { 
2075
            if (field.type == TType.I64) {
2494
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2076
              this.catalogItemId = iprot.readI64();
2495
          }
2077
              setCatalogItemIdIsSet(true);
2496
          break;
2078
            } else { 
2497
        case 10: // FEATURE_ID
2079
              TProtocolUtil.skip(iprot, field.type);
2498
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2080
            }
2499
            this.featureId = iprot.readI64();
2081
            break;
2500
            setFeatureIdIsSet(true);
2082
          case FEATURE_ID:
2501
          } else { 
2083
            if (field.type == TType.I64) {
2502
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2084
              this.featureId = iprot.readI64();
2503
          }
2085
              setFeatureIdIsSet(true);
2504
          break;
2086
            } else { 
2505
        case 11: // FEATURE_DESCRIPTION
2087
              TProtocolUtil.skip(iprot, field.type);
2506
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2088
            }
2507
            this.featureDescription = iprot.readString();
2089
            break;
2508
          } else { 
2090
          case FEATURE_DESCRIPTION:
2509
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2091
            if (field.type == TType.STRING) {
2510
          }
2092
              this.featureDescription = iprot.readString();
2511
          break;
2093
            } else { 
2512
        case 12: // ITEM_INVENTORY
2094
              TProtocolUtil.skip(iprot, field.type);
2513
          if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
2095
            }
2514
            this.itemInventory = new ItemInventory();
2096
            break;
2515
            this.itemInventory.read(iprot);
2097
          case ITEM_INVENTORY:
2516
          } else { 
2098
            if (field.type == TType.STRUCT) {
2517
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2099
              this.itemInventory = new ItemInventory();
2518
          }
2100
              this.itemInventory.read(iprot);
2519
          break;
2101
            } else { 
2520
        case 13: // MRP
2102
              TProtocolUtil.skip(iprot, field.type);
2521
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2103
            }
2522
            this.mrp = iprot.readDouble();
2104
            break;
2523
            setMrpIsSet(true);
2105
          case MRP:
2524
          } else { 
2106
            if (field.type == TType.DOUBLE) {
2525
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2107
              this.mrp = iprot.readDouble();
2526
          }
2108
              setMrpIsSet(true);
2527
          break;
2109
            } else { 
2528
        case 14: // MOP
2110
              TProtocolUtil.skip(iprot, field.type);
2529
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2111
            }
2530
            this.mop = iprot.readDouble();
2112
            break;
2531
            setMopIsSet(true);
2113
          case MOP:
2532
          } else { 
2114
            if (field.type == TType.DOUBLE) {
2533
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2115
              this.mop = iprot.readDouble();
2534
          }
2116
              setMopIsSet(true);
2535
          break;
2117
            } else { 
2536
        case 15: // SELLING_PRICE
2118
              TProtocolUtil.skip(iprot, field.type);
2537
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2119
            }
2538
            this.sellingPrice = iprot.readDouble();
2120
            break;
2539
            setSellingPriceIsSet(true);
2121
          case SELLING_PRICE:
2540
          } else { 
2122
            if (field.type == TType.DOUBLE) {
2541
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2123
              this.sellingPrice = iprot.readDouble();
2542
          }
2124
              setSellingPriceIsSet(true);
2543
          break;
2125
            } else { 
2544
        case 16: // TRANSFER_PRICE
2126
              TProtocolUtil.skip(iprot, field.type);
2545
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2127
            }
2546
            this.transferPrice = iprot.readDouble();
2128
            break;
2547
            setTransferPriceIsSet(true);
2129
          case TRANSFER_PRICE:
2548
          } else { 
2130
            if (field.type == TType.DOUBLE) {
2549
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2131
              this.transferPrice = iprot.readDouble();
2550
          }
2132
              setTransferPriceIsSet(true);
2551
          break;
2133
            } else { 
2552
        case 17: // WEIGHT
2134
              TProtocolUtil.skip(iprot, field.type);
2553
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2135
            }
2554
            this.weight = iprot.readDouble();
2136
            break;
2555
            setWeightIsSet(true);
2137
          case WEIGHT:
2556
          } else { 
2138
            if (field.type == TType.DOUBLE) {
2557
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2139
              this.weight = iprot.readDouble();
2558
          }
2140
              setWeightIsSet(true);
2559
          break;
2141
            } else { 
2560
        case 18: // ADDED_ON
2142
              TProtocolUtil.skip(iprot, field.type);
2561
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2143
            }
2562
            this.addedOn = iprot.readI64();
2144
            break;
2563
            setAddedOnIsSet(true);
2145
          case ADDED_ON:
2564
          } else { 
2146
            if (field.type == TType.I64) {
2565
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2147
              this.addedOn = iprot.readI64();
2566
          }
2148
              setAddedOnIsSet(true);
2567
          break;
2149
            } else { 
2568
        case 19: // START_DATE
2150
              TProtocolUtil.skip(iprot, field.type);
2569
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2151
            }
2570
            this.startDate = iprot.readI64();
2152
            break;
2571
            setStartDateIsSet(true);
2153
          case START_DATE:
2572
          } else { 
2154
            if (field.type == TType.I64) {
2573
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2155
              this.startDate = iprot.readI64();
2574
          }
2156
              setStartDateIsSet(true);
2575
          break;
2157
            } else { 
2576
        case 20: // RETIRE_DATE
2158
              TProtocolUtil.skip(iprot, field.type);
2577
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2159
            }
2578
            this.retireDate = iprot.readI64();
2160
            break;
2579
            setRetireDateIsSet(true);
2161
          case RETIRE_DATE:
2580
          } else { 
2162
            if (field.type == TType.I64) {
2581
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2163
              this.retireDate = iprot.readI64();
2582
          }
2164
              setRetireDateIsSet(true);
2583
          break;
2165
            } else { 
2584
        case 21: // ITEM_STATUS
2166
              TProtocolUtil.skip(iprot, field.type);
2585
          if (field.type == org.apache.thrift.protocol.TType.I32) {
2167
            }
2586
            this.itemStatus = status.findByValue(iprot.readI32());
2168
            break;
2587
          } else { 
2169
          case ITEM_STATUS:
2588
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2170
            if (field.type == TType.I32) {
2589
          }
2171
              this.itemStatus = status.findByValue(iprot.readI32());
2590
          break;
2172
            } else { 
2591
        case 22: // STATUS_DESCRIPTION
2173
              TProtocolUtil.skip(iprot, field.type);
2592
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2174
            }
2593
            this.status_description = iprot.readString();
2175
            break;
2594
          } else { 
2176
          case STATUS_DESCRIPTION:
2595
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2177
            if (field.type == TType.STRING) {
2596
          }
2178
              this.status_description = iprot.readString();
2597
          break;
2179
            } else { 
2598
        case 23: // OTHER_INFO
2180
              TProtocolUtil.skip(iprot, field.type);
2599
          if (field.type == org.apache.thrift.protocol.TType.MAP) {
2181
            }
2600
            {
2182
            break;
2601
              org.apache.thrift.protocol.TMap _map5 = iprot.readMapBegin();
2183
          case OTHER_INFO:
2602
              this.otherInfo = new HashMap<String,String>(2*_map5.size);
2184
            if (field.type == TType.MAP) {
2603
              for (int _i6 = 0; _i6 < _map5.size; ++_i6)
2185
              {
2604
              {
2186
                TMap _map5 = iprot.readMapBegin();
-
 
2187
                this.otherInfo = new HashMap<String,String>(2*_map5.size);
-
 
2188
                for (int _i6 = 0; _i6 < _map5.size; ++_i6)
-
 
2189
                {
-
 
2190
                  String _key7;
2605
                String _key7; // required
2191
                  String _val8;
2606
                String _val8; // required
2192
                  _key7 = iprot.readString();
2607
                _key7 = iprot.readString();
2193
                  _val8 = iprot.readString();
2608
                _val8 = iprot.readString();
2194
                  this.otherInfo.put(_key7, _val8);
2609
                this.otherInfo.put(_key7, _val8);
2195
                }
-
 
2196
                iprot.readMapEnd();
-
 
2197
              }
2610
              }
2198
            } else { 
-
 
2199
              TProtocolUtil.skip(iprot, field.type);
-
 
2200
            }
-
 
2201
            break;
-
 
2202
          case BEST_DEAL_TEXT:
-
 
2203
            if (field.type == TType.STRING) {
-
 
2204
              this.bestDealText = iprot.readString();
-
 
2205
            } else { 
-
 
2206
              TProtocolUtil.skip(iprot, field.type);
-
 
2207
            }
-
 
2208
            break;
-
 
2209
          case BEST_DEAL_VALUE:
-
 
2210
            if (field.type == TType.DOUBLE) {
-
 
2211
              this.bestDealValue = iprot.readDouble();
-
 
2212
              setBestDealValueIsSet(true);
-
 
2213
            } else { 
-
 
2214
              TProtocolUtil.skip(iprot, field.type);
-
 
2215
            }
-
 
2216
            break;
-
 
2217
          case DEALER_PRICE:
-
 
2218
            if (field.type == TType.DOUBLE) {
-
 
2219
              this.dealerPrice = iprot.readDouble();
-
 
2220
              setDealerPriceIsSet(true);
-
 
2221
            } else { 
-
 
2222
              TProtocolUtil.skip(iprot, field.type);
-
 
2223
            }
-
 
2224
            break;
-
 
2225
          case DEFAULT_FOR_ENTITY:
-
 
2226
            if (field.type == TType.BOOL) {
-
 
2227
              this.defaultForEntity = iprot.readBool();
-
 
2228
              setDefaultForEntityIsSet(true);
-
 
2229
            } else { 
-
 
2230
              TProtocolUtil.skip(iprot, field.type);
-
 
2231
            }
-
 
2232
            break;
-
 
2233
          case UPDATED_ON:
-
 
2234
            if (field.type == TType.I64) {
-
 
2235
              this.updatedOn = iprot.readI64();
-
 
2236
              setUpdatedOnIsSet(true);
-
 
2237
            } else { 
-
 
2238
              TProtocolUtil.skip(iprot, field.type);
-
 
2239
            }
-
 
2240
            break;
-
 
2241
          case BEST_SELLING_RANK:
-
 
2242
            if (field.type == TType.I64) {
-
 
2243
              this.bestSellingRank = iprot.readI64();
-
 
2244
              setBestSellingRankIsSet(true);
-
 
2245
            } else { 
-
 
2246
              TProtocolUtil.skip(iprot, field.type);
-
 
2247
            }
-
 
2248
            break;
-
 
2249
          case HOTSPOT_CATEGORY:
-
 
2250
            if (field.type == TType.STRING) {
-
 
2251
              this.hotspotCategory = iprot.readString();
-
 
2252
            } else { 
-
 
2253
              TProtocolUtil.skip(iprot, field.type);
-
 
2254
            }
-
 
2255
            break;
-
 
2256
          case RISKY:
-
 
2257
            if (field.type == TType.BOOL) {
-
 
2258
              this.risky = iprot.readBool();
2611
              iprot.readMapEnd();
2259
              setRiskyIsSet(true);
-
 
2260
            } else { 
-
 
2261
              TProtocolUtil.skip(iprot, field.type);
-
 
2262
            }
2612
            }
-
 
2613
          } else { 
-
 
2614
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2615
          }
-
 
2616
          break;
-
 
2617
        case 24: // BEST_DEAL_TEXT
-
 
2618
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
2619
            this.bestDealText = iprot.readString();
-
 
2620
          } else { 
-
 
2621
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2622
          }
-
 
2623
          break;
-
 
2624
        case 25: // BEST_DEAL_VALUE
-
 
2625
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
2626
            this.bestDealValue = iprot.readDouble();
-
 
2627
            setBestDealValueIsSet(true);
-
 
2628
          } else { 
-
 
2629
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2630
          }
-
 
2631
          break;
-
 
2632
        case 26: // DEALER_PRICE
-
 
2633
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
2634
            this.dealerPrice = iprot.readDouble();
-
 
2635
            setDealerPriceIsSet(true);
-
 
2636
          } else { 
-
 
2637
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2638
          }
-
 
2639
          break;
-
 
2640
        case 27: // DEFAULT_FOR_ENTITY
-
 
2641
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
2642
            this.defaultForEntity = iprot.readBool();
-
 
2643
            setDefaultForEntityIsSet(true);
-
 
2644
          } else { 
-
 
2645
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2646
          }
-
 
2647
          break;
-
 
2648
        case 28: // UPDATED_ON
-
 
2649
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
2650
            this.updatedOn = iprot.readI64();
-
 
2651
            setUpdatedOnIsSet(true);
-
 
2652
          } else { 
-
 
2653
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2654
          }
-
 
2655
          break;
-
 
2656
        case 29: // BEST_SELLING_RANK
-
 
2657
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
2658
            this.bestSellingRank = iprot.readI64();
-
 
2659
            setBestSellingRankIsSet(true);
-
 
2660
          } else { 
-
 
2661
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2662
          }
-
 
2663
          break;
-
 
2664
        case 30: // HOTSPOT_CATEGORY
-
 
2665
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
2666
            this.hotspotCategory = iprot.readString();
-
 
2667
          } else { 
-
 
2668
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2669
          }
-
 
2670
          break;
-
 
2671
        case 31: // RISKY
-
 
2672
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
2673
            this.risky = iprot.readBool();
-
 
2674
            setRiskyIsSet(true);
-
 
2675
          } else { 
-
 
2676
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2677
          }
2263
            break;
2678
          break;
2264
          case EXPECTED_DELAY:
2679
        case 32: // EXPECTED_DELAY
2265
            if (field.type == TType.I32) {
2680
          if (field.type == org.apache.thrift.protocol.TType.I32) {
2266
              this.expectedDelay = iprot.readI32();
2681
            this.expectedDelay = iprot.readI32();
2267
              setExpectedDelayIsSet(true);
2682
            setExpectedDelayIsSet(true);
2268
            } else { 
2683
          } else { 
2269
              TProtocolUtil.skip(iprot, field.type);
2684
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2270
            }
2685
          }
2271
            break;
2686
          break;
2272
          case PREFERRED_WAREHOUSE:
2687
        case 33: // PREFERRED_WAREHOUSE
2273
            if (field.type == TType.STRING) {
2688
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2274
              this.preferredWarehouse = iprot.readString();
2689
            this.preferredWarehouse = iprot.readString();
2275
            } else { 
2690
          } else { 
2276
              TProtocolUtil.skip(iprot, field.type);
2691
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2277
            }
2692
          }
2278
            break;
2693
          break;
2279
        }
2694
        default:
2280
        iprot.readFieldEnd();
2695
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2281
      }
2696
      }
-
 
2697
      iprot.readFieldEnd();
2282
    }
2698
    }
2283
    iprot.readStructEnd();
2699
    iprot.readStructEnd();
2284
    validate();
2700
    validate();
2285
  }
2701
  }
2286
 
2702
 
2287
  public void write(TProtocol oprot) throws TException {
2703
  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
2288
    validate();
2704
    validate();
2289
 
2705
 
2290
    oprot.writeStructBegin(STRUCT_DESC);
2706
    oprot.writeStructBegin(STRUCT_DESC);
2291
    oprot.writeFieldBegin(ID_FIELD_DESC);
2707
    oprot.writeFieldBegin(ID_FIELD_DESC);
2292
    oprot.writeI64(this.id);
2708
    oprot.writeI64(this.id);
Line 2389... Line 2805...
2389
      oprot.writeFieldEnd();
2805
      oprot.writeFieldEnd();
2390
    }
2806
    }
2391
    if (this.otherInfo != null) {
2807
    if (this.otherInfo != null) {
2392
      oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
2808
      oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
2393
      {
2809
      {
2394
        oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.otherInfo.size()));
2810
        oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.otherInfo.size()));
2395
        for (Map.Entry<String, String> _iter9 : this.otherInfo.entrySet())
2811
        for (Map.Entry<String, String> _iter9 : this.otherInfo.entrySet())
2396
        {
2812
        {
2397
          oprot.writeString(_iter9.getKey());
2813
          oprot.writeString(_iter9.getKey());
2398
          oprot.writeString(_iter9.getValue());
2814
          oprot.writeString(_iter9.getValue());
2399
        }
2815
        }
Line 2584... Line 3000...
2584
    if (!first) sb.append(", ");
3000
    if (!first) sb.append(", ");
2585
    sb.append("itemStatus:");
3001
    sb.append("itemStatus:");
2586
    if (this.itemStatus == null) {
3002
    if (this.itemStatus == null) {
2587
      sb.append("null");
3003
      sb.append("null");
2588
    } else {
3004
    } else {
2589
      String itemStatus_name = itemStatus.name();
-
 
2590
      if (itemStatus_name != null) {
-
 
2591
        sb.append(itemStatus_name);
-
 
2592
        sb.append(" (");
-
 
2593
      }
-
 
2594
      sb.append(this.itemStatus);
3005
      sb.append(this.itemStatus);
2595
      if (itemStatus_name != null) {
-
 
2596
        sb.append(")");
-
 
2597
      }
-
 
2598
    }
3006
    }
2599
    first = false;
3007
    first = false;
2600
    if (!first) sb.append(", ");
3008
    if (!first) sb.append(", ");
2601
    sb.append("status_description:");
3009
    sb.append("status_description:");
2602
    if (this.status_description == null) {
3010
    if (this.status_description == null) {
Line 2677... Line 3085...
2677
    }
3085
    }
2678
    sb.append(")");
3086
    sb.append(")");
2679
    return sb.toString();
3087
    return sb.toString();
2680
  }
3088
  }
2681
 
3089
 
2682
  public void validate() throws TException {
3090
  public void validate() throws org.apache.thrift.TException {
2683
    // check for required fields
3091
    // check for required fields
2684
  }
3092
  }
2685
 
3093
 
-
 
3094
  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
3095
    try {
-
 
3096
      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
3097
    } catch (org.apache.thrift.TException te) {
-
 
3098
      throw new java.io.IOException(te);
-
 
3099
    }
-
 
3100
  }
-
 
3101
 
-
 
3102
  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
3103
    try {
-
 
3104
      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
3105
      __isset_bit_vector = new BitSet(1);
-
 
3106
      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
3107
    } catch (org.apache.thrift.TException te) {
-
 
3108
      throw new java.io.IOException(te);
-
 
3109
    }
-
 
3110
  }
-
 
3111
 
2686
}
3112
}
2687
 
3113