| 100 |
ashish |
1 |
/**
|
| 3430 |
rajveer |
2 |
* Autogenerated by Thrift Compiler (0.7.0)
|
| 100 |
ashish |
3 |
*
|
|
|
4 |
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
|
5 |
*/
|
|
|
6 |
package in.shop2020.model.v1.catalog;
|
|
|
7 |
|
|
|
8 |
import java.util.List;
|
|
|
9 |
import java.util.ArrayList;
|
|
|
10 |
import java.util.Map;
|
|
|
11 |
import java.util.HashMap;
|
|
|
12 |
import java.util.EnumMap;
|
|
|
13 |
import java.util.Set;
|
|
|
14 |
import java.util.HashSet;
|
|
|
15 |
import java.util.EnumSet;
|
|
|
16 |
import java.util.Collections;
|
|
|
17 |
import java.util.BitSet;
|
| 3430 |
rajveer |
18 |
import java.nio.ByteBuffer;
|
| 100 |
ashish |
19 |
import java.util.Arrays;
|
|
|
20 |
import org.slf4j.Logger;
|
|
|
21 |
import org.slf4j.LoggerFactory;
|
|
|
22 |
|
| 3430 |
rajveer |
23 |
public class Item implements org.apache.thrift.TBase<Item, Item._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Item");
|
| 100 |
ashish |
25 |
|
| 3430 |
rajveer |
26 |
private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
|
|
|
27 |
private static final org.apache.thrift.protocol.TField PRODUCT_GROUP_FIELD_DESC = new org.apache.thrift.protocol.TField("productGroup", org.apache.thrift.protocol.TType.STRING, (short)2);
|
|
|
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);
|
|
|
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);
|
|
|
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);
|
|
|
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);
|
|
|
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);
|
|
|
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);
|
|
|
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);
|
|
|
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);
|
|
|
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);
|
|
|
37 |
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);
|
| 4762 |
phani.kuma |
38 |
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)14);
|
|
|
39 |
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)15);
|
|
|
40 |
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)16);
|
|
|
41 |
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)17);
|
|
|
42 |
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)18);
|
|
|
43 |
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)19);
|
|
|
44 |
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)20);
|
| 5336 |
rajveer |
45 |
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)21);
|
| 4762 |
phani.kuma |
46 |
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)22);
|
|
|
47 |
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)23);
|
|
|
48 |
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)24);
|
|
|
49 |
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)25);
|
|
|
50 |
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)26);
|
|
|
51 |
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)27);
|
|
|
52 |
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)28);
|
| 5440 |
phani.kuma |
53 |
private static final org.apache.thrift.protocol.TField IS_WAREHOUSE_PREFERENCE_STICKY_FIELD_DESC = new org.apache.thrift.protocol.TField("isWarehousePreferenceSticky", org.apache.thrift.protocol.TType.BOOL, (short)29);
|
|
|
54 |
private static final org.apache.thrift.protocol.TField WARRANTY_PERIOD_FIELD_DESC = new org.apache.thrift.protocol.TField("warrantyPeriod", org.apache.thrift.protocol.TType.I32, (short)30);
|
|
|
55 |
private static final org.apache.thrift.protocol.TField PREFERRED_VENDOR_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredVendor", org.apache.thrift.protocol.TType.I64, (short)31);
|
|
|
56 |
private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)32);
|
|
|
57 |
private static final org.apache.thrift.protocol.TField COMING_SOON_START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("comingSoonStartDate", org.apache.thrift.protocol.TType.I64, (short)33);
|
|
|
58 |
private static final org.apache.thrift.protocol.TField EXPECTED_ARRIVAL_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedArrivalDate", org.apache.thrift.protocol.TType.I64, (short)34);
|
|
|
59 |
private static final org.apache.thrift.protocol.TField HAS_ITEM_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("hasItemNo", org.apache.thrift.protocol.TType.BOOL, (short)35);
|
| 7256 |
rajveer |
60 |
private static final org.apache.thrift.protocol.TField ACTIVE_ON_STORE_FIELD_DESC = new org.apache.thrift.protocol.TField("activeOnStore", org.apache.thrift.protocol.TType.BOOL, (short)36);
|
| 6241 |
amit.gupta |
61 |
private static final org.apache.thrift.protocol.TField SHOW_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("showSellingPrice", org.apache.thrift.protocol.TType.BOOL, (short)38);
|
| 6777 |
vikram.rag |
62 |
private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsText", org.apache.thrift.protocol.TType.STRING, (short)39);
|
|
|
63 |
private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_LINK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsLink", org.apache.thrift.protocol.TType.STRING, (short)40);
|
| 6805 |
anupam.sin |
64 |
private static final org.apache.thrift.protocol.TField PREFERRED_INSURER_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredInsurer", org.apache.thrift.protocol.TType.I64, (short)41);
|
| 7291 |
vikram.rag |
65 |
private static final org.apache.thrift.protocol.TField ASIN_FIELD_DESC = new org.apache.thrift.protocol.TField("asin", org.apache.thrift.protocol.TType.STRING, (short)42);
|
|
|
66 |
private static final org.apache.thrift.protocol.TField DEFAULT_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultInventory", org.apache.thrift.protocol.TType.I64, (short)43);
|
|
|
67 |
private static final org.apache.thrift.protocol.TField HOLD_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("holdInventory", org.apache.thrift.protocol.TType.I64, (short)44);
|
| 9841 |
rajveer |
68 |
private static final org.apache.thrift.protocol.TField HOLD_OVERRIDE_FIELD_DESC = new org.apache.thrift.protocol.TField("holdOverride", org.apache.thrift.protocol.TType.BOOL, (short)45);
|
| 100 |
ashish |
69 |
|
| 3430 |
rajveer |
70 |
private long id; // required
|
|
|
71 |
private String productGroup; // required
|
|
|
72 |
private String brand; // required
|
|
|
73 |
private String modelNumber; // required
|
|
|
74 |
private String modelName; // required
|
|
|
75 |
private String color; // required
|
|
|
76 |
private long category; // required
|
|
|
77 |
private String comments; // required
|
|
|
78 |
private long catalogItemId; // required
|
|
|
79 |
private long featureId; // required
|
|
|
80 |
private String featureDescription; // required
|
|
|
81 |
private double mrp; // required
|
|
|
82 |
private double sellingPrice; // required
|
|
|
83 |
private double weight; // required
|
|
|
84 |
private long addedOn; // required
|
|
|
85 |
private long startDate; // required
|
|
|
86 |
private long retireDate; // required
|
|
|
87 |
private status itemStatus; // required
|
|
|
88 |
private String status_description; // required
|
| 5336 |
rajveer |
89 |
private Map<String,String> otherInfo; // required
|
| 3430 |
rajveer |
90 |
private String bestDealText; // required
|
|
|
91 |
private double bestDealValue; // required
|
|
|
92 |
private boolean defaultForEntity; // required
|
|
|
93 |
private long updatedOn; // required
|
|
|
94 |
private long bestSellingRank; // required
|
|
|
95 |
private boolean risky; // required
|
|
|
96 |
private int expectedDelay; // required
|
| 4406 |
anupam.sin |
97 |
private boolean isWarehousePreferenceSticky; // required
|
| 4295 |
varun.gupt |
98 |
private int warrantyPeriod; // required
|
| 4506 |
phani.kuma |
99 |
private long preferredVendor; // required
|
| 5110 |
mandeep.dh |
100 |
private ItemType type; // required
|
| 5217 |
amit.gupta |
101 |
private long comingSoonStartDate; // required
|
|
|
102 |
private long expectedArrivalDate; // required
|
| 5385 |
phani.kuma |
103 |
private boolean hasItemNo; // required
|
| 7256 |
rajveer |
104 |
private boolean activeOnStore; // required
|
| 6241 |
amit.gupta |
105 |
private boolean showSellingPrice; // required
|
| 6777 |
vikram.rag |
106 |
private String bestDealsDetailsText; // required
|
|
|
107 |
private String bestDealsDetailsLink; // required
|
| 6805 |
anupam.sin |
108 |
private long preferredInsurer; // required
|
| 7291 |
vikram.rag |
109 |
private String asin; // required
|
|
|
110 |
private long defaultInventory; // required
|
|
|
111 |
private long holdInventory; // required
|
| 9841 |
rajveer |
112 |
private boolean holdOverride; // required
|
| 100 |
ashish |
113 |
|
|
|
114 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 3430 |
rajveer |
115 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 100 |
ashish |
116 |
ID((short)1, "id"),
|
| 957 |
chandransh |
117 |
PRODUCT_GROUP((short)2, "productGroup"),
|
|
|
118 |
BRAND((short)3, "brand"),
|
|
|
119 |
MODEL_NUMBER((short)4, "modelNumber"),
|
|
|
120 |
MODEL_NAME((short)5, "modelName"),
|
| 1329 |
chandransh |
121 |
COLOR((short)6, "color"),
|
|
|
122 |
CATEGORY((short)7, "category"),
|
|
|
123 |
COMMENTS((short)8, "comments"),
|
|
|
124 |
CATALOG_ITEM_ID((short)9, "catalogItemId"),
|
| 483 |
rajveer |
125 |
FEATURE_ID((short)10, "featureId"),
|
|
|
126 |
FEATURE_DESCRIPTION((short)11, "featureDescription"),
|
|
|
127 |
MRP((short)13, "mrp"),
|
| 4762 |
phani.kuma |
128 |
SELLING_PRICE((short)14, "sellingPrice"),
|
|
|
129 |
WEIGHT((short)15, "weight"),
|
|
|
130 |
ADDED_ON((short)16, "addedOn"),
|
|
|
131 |
START_DATE((short)17, "startDate"),
|
|
|
132 |
RETIRE_DATE((short)18, "retireDate"),
|
| 103 |
ashish |
133 |
/**
|
|
|
134 |
*
|
|
|
135 |
* @see status
|
|
|
136 |
*/
|
| 4762 |
phani.kuma |
137 |
ITEM_STATUS((short)19, "itemStatus"),
|
|
|
138 |
STATUS_DESCRIPTION((short)20, "status_description"),
|
| 5336 |
rajveer |
139 |
OTHER_INFO((short)21, "otherInfo"),
|
| 4762 |
phani.kuma |
140 |
BEST_DEAL_TEXT((short)22, "bestDealText"),
|
|
|
141 |
BEST_DEAL_VALUE((short)23, "bestDealValue"),
|
|
|
142 |
DEFAULT_FOR_ENTITY((short)24, "defaultForEntity"),
|
|
|
143 |
UPDATED_ON((short)25, "updatedOn"),
|
|
|
144 |
BEST_SELLING_RANK((short)26, "bestSellingRank"),
|
|
|
145 |
RISKY((short)27, "risky"),
|
|
|
146 |
EXPECTED_DELAY((short)28, "expectedDelay"),
|
| 5440 |
phani.kuma |
147 |
IS_WAREHOUSE_PREFERENCE_STICKY((short)29, "isWarehousePreferenceSticky"),
|
|
|
148 |
WARRANTY_PERIOD((short)30, "warrantyPeriod"),
|
|
|
149 |
PREFERRED_VENDOR((short)31, "preferredVendor"),
|
| 5110 |
mandeep.dh |
150 |
/**
|
|
|
151 |
*
|
|
|
152 |
* @see ItemType
|
|
|
153 |
*/
|
| 5440 |
phani.kuma |
154 |
TYPE((short)32, "type"),
|
|
|
155 |
COMING_SOON_START_DATE((short)33, "comingSoonStartDate"),
|
|
|
156 |
EXPECTED_ARRIVAL_DATE((short)34, "expectedArrivalDate"),
|
| 5460 |
phani.kuma |
157 |
HAS_ITEM_NO((short)35, "hasItemNo"),
|
| 7256 |
rajveer |
158 |
ACTIVE_ON_STORE((short)36, "activeOnStore"),
|
| 6777 |
vikram.rag |
159 |
SHOW_SELLING_PRICE((short)38, "showSellingPrice"),
|
|
|
160 |
BEST_DEALS_DETAILS_TEXT((short)39, "bestDealsDetailsText"),
|
| 6805 |
anupam.sin |
161 |
BEST_DEALS_DETAILS_LINK((short)40, "bestDealsDetailsLink"),
|
| 7291 |
vikram.rag |
162 |
PREFERRED_INSURER((short)41, "preferredInsurer"),
|
|
|
163 |
ASIN((short)42, "asin"),
|
|
|
164 |
DEFAULT_INVENTORY((short)43, "defaultInventory"),
|
| 9841 |
rajveer |
165 |
HOLD_INVENTORY((short)44, "holdInventory"),
|
|
|
166 |
HOLD_OVERRIDE((short)45, "holdOverride");
|
| 100 |
ashish |
167 |
|
|
|
168 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
169 |
|
|
|
170 |
static {
|
|
|
171 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
172 |
byName.put(field.getFieldName(), field);
|
|
|
173 |
}
|
|
|
174 |
}
|
|
|
175 |
|
|
|
176 |
/**
|
|
|
177 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
178 |
*/
|
|
|
179 |
public static _Fields findByThriftId(int fieldId) {
|
| 3430 |
rajveer |
180 |
switch(fieldId) {
|
|
|
181 |
case 1: // ID
|
|
|
182 |
return ID;
|
|
|
183 |
case 2: // PRODUCT_GROUP
|
|
|
184 |
return PRODUCT_GROUP;
|
|
|
185 |
case 3: // BRAND
|
|
|
186 |
return BRAND;
|
|
|
187 |
case 4: // MODEL_NUMBER
|
|
|
188 |
return MODEL_NUMBER;
|
|
|
189 |
case 5: // MODEL_NAME
|
|
|
190 |
return MODEL_NAME;
|
|
|
191 |
case 6: // COLOR
|
|
|
192 |
return COLOR;
|
|
|
193 |
case 7: // CATEGORY
|
|
|
194 |
return CATEGORY;
|
|
|
195 |
case 8: // COMMENTS
|
|
|
196 |
return COMMENTS;
|
|
|
197 |
case 9: // CATALOG_ITEM_ID
|
|
|
198 |
return CATALOG_ITEM_ID;
|
|
|
199 |
case 10: // FEATURE_ID
|
|
|
200 |
return FEATURE_ID;
|
|
|
201 |
case 11: // FEATURE_DESCRIPTION
|
|
|
202 |
return FEATURE_DESCRIPTION;
|
|
|
203 |
case 13: // MRP
|
|
|
204 |
return MRP;
|
| 4762 |
phani.kuma |
205 |
case 14: // SELLING_PRICE
|
| 3430 |
rajveer |
206 |
return SELLING_PRICE;
|
| 4762 |
phani.kuma |
207 |
case 15: // WEIGHT
|
| 3430 |
rajveer |
208 |
return WEIGHT;
|
| 4762 |
phani.kuma |
209 |
case 16: // ADDED_ON
|
| 3430 |
rajveer |
210 |
return ADDED_ON;
|
| 4762 |
phani.kuma |
211 |
case 17: // START_DATE
|
| 3430 |
rajveer |
212 |
return START_DATE;
|
| 4762 |
phani.kuma |
213 |
case 18: // RETIRE_DATE
|
| 3430 |
rajveer |
214 |
return RETIRE_DATE;
|
| 4762 |
phani.kuma |
215 |
case 19: // ITEM_STATUS
|
| 3430 |
rajveer |
216 |
return ITEM_STATUS;
|
| 4762 |
phani.kuma |
217 |
case 20: // STATUS_DESCRIPTION
|
| 3430 |
rajveer |
218 |
return STATUS_DESCRIPTION;
|
| 5336 |
rajveer |
219 |
case 21: // OTHER_INFO
|
|
|
220 |
return OTHER_INFO;
|
| 4762 |
phani.kuma |
221 |
case 22: // BEST_DEAL_TEXT
|
| 3430 |
rajveer |
222 |
return BEST_DEAL_TEXT;
|
| 4762 |
phani.kuma |
223 |
case 23: // BEST_DEAL_VALUE
|
| 3430 |
rajveer |
224 |
return BEST_DEAL_VALUE;
|
| 4762 |
phani.kuma |
225 |
case 24: // DEFAULT_FOR_ENTITY
|
| 3430 |
rajveer |
226 |
return DEFAULT_FOR_ENTITY;
|
| 4762 |
phani.kuma |
227 |
case 25: // UPDATED_ON
|
| 3430 |
rajveer |
228 |
return UPDATED_ON;
|
| 4762 |
phani.kuma |
229 |
case 26: // BEST_SELLING_RANK
|
| 3430 |
rajveer |
230 |
return BEST_SELLING_RANK;
|
| 4762 |
phani.kuma |
231 |
case 27: // RISKY
|
| 3430 |
rajveer |
232 |
return RISKY;
|
| 4762 |
phani.kuma |
233 |
case 28: // EXPECTED_DELAY
|
| 3430 |
rajveer |
234 |
return EXPECTED_DELAY;
|
| 5440 |
phani.kuma |
235 |
case 29: // IS_WAREHOUSE_PREFERENCE_STICKY
|
| 4406 |
anupam.sin |
236 |
return IS_WAREHOUSE_PREFERENCE_STICKY;
|
| 5440 |
phani.kuma |
237 |
case 30: // WARRANTY_PERIOD
|
| 4295 |
varun.gupt |
238 |
return WARRANTY_PERIOD;
|
| 5440 |
phani.kuma |
239 |
case 31: // PREFERRED_VENDOR
|
| 4506 |
phani.kuma |
240 |
return PREFERRED_VENDOR;
|
| 5440 |
phani.kuma |
241 |
case 32: // TYPE
|
| 5110 |
mandeep.dh |
242 |
return TYPE;
|
| 5440 |
phani.kuma |
243 |
case 33: // COMING_SOON_START_DATE
|
| 5217 |
amit.gupta |
244 |
return COMING_SOON_START_DATE;
|
| 5440 |
phani.kuma |
245 |
case 34: // EXPECTED_ARRIVAL_DATE
|
| 5217 |
amit.gupta |
246 |
return EXPECTED_ARRIVAL_DATE;
|
| 5440 |
phani.kuma |
247 |
case 35: // HAS_ITEM_NO
|
| 5385 |
phani.kuma |
248 |
return HAS_ITEM_NO;
|
| 7256 |
rajveer |
249 |
case 36: // ACTIVE_ON_STORE
|
|
|
250 |
return ACTIVE_ON_STORE;
|
| 6241 |
amit.gupta |
251 |
case 38: // SHOW_SELLING_PRICE
|
|
|
252 |
return SHOW_SELLING_PRICE;
|
| 6777 |
vikram.rag |
253 |
case 39: // BEST_DEALS_DETAILS_TEXT
|
|
|
254 |
return BEST_DEALS_DETAILS_TEXT;
|
|
|
255 |
case 40: // BEST_DEALS_DETAILS_LINK
|
|
|
256 |
return BEST_DEALS_DETAILS_LINK;
|
| 6805 |
anupam.sin |
257 |
case 41: // PREFERRED_INSURER
|
|
|
258 |
return PREFERRED_INSURER;
|
| 7291 |
vikram.rag |
259 |
case 42: // ASIN
|
|
|
260 |
return ASIN;
|
|
|
261 |
case 43: // DEFAULT_INVENTORY
|
|
|
262 |
return DEFAULT_INVENTORY;
|
|
|
263 |
case 44: // HOLD_INVENTORY
|
|
|
264 |
return HOLD_INVENTORY;
|
| 9841 |
rajveer |
265 |
case 45: // HOLD_OVERRIDE
|
|
|
266 |
return HOLD_OVERRIDE;
|
| 3430 |
rajveer |
267 |
default:
|
|
|
268 |
return null;
|
|
|
269 |
}
|
| 100 |
ashish |
270 |
}
|
|
|
271 |
|
|
|
272 |
/**
|
|
|
273 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
274 |
* if it is not found.
|
|
|
275 |
*/
|
|
|
276 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
277 |
_Fields fields = findByThriftId(fieldId);
|
|
|
278 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
279 |
return fields;
|
|
|
280 |
}
|
|
|
281 |
|
|
|
282 |
/**
|
|
|
283 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
284 |
*/
|
|
|
285 |
public static _Fields findByName(String name) {
|
|
|
286 |
return byName.get(name);
|
|
|
287 |
}
|
|
|
288 |
|
|
|
289 |
private final short _thriftId;
|
|
|
290 |
private final String _fieldName;
|
|
|
291 |
|
|
|
292 |
_Fields(short thriftId, String fieldName) {
|
|
|
293 |
_thriftId = thriftId;
|
|
|
294 |
_fieldName = fieldName;
|
|
|
295 |
}
|
|
|
296 |
|
|
|
297 |
public short getThriftFieldId() {
|
|
|
298 |
return _thriftId;
|
|
|
299 |
}
|
|
|
300 |
|
|
|
301 |
public String getFieldName() {
|
|
|
302 |
return _fieldName;
|
|
|
303 |
}
|
|
|
304 |
}
|
|
|
305 |
|
|
|
306 |
// isset id assignments
|
|
|
307 |
private static final int __ID_ISSET_ID = 0;
|
| 622 |
chandransh |
308 |
private static final int __CATEGORY_ISSET_ID = 1;
|
|
|
309 |
private static final int __CATALOGITEMID_ISSET_ID = 2;
|
|
|
310 |
private static final int __FEATUREID_ISSET_ID = 3;
|
|
|
311 |
private static final int __MRP_ISSET_ID = 4;
|
| 4762 |
phani.kuma |
312 |
private static final int __SELLINGPRICE_ISSET_ID = 5;
|
|
|
313 |
private static final int __WEIGHT_ISSET_ID = 6;
|
|
|
314 |
private static final int __ADDEDON_ISSET_ID = 7;
|
|
|
315 |
private static final int __STARTDATE_ISSET_ID = 8;
|
|
|
316 |
private static final int __RETIREDATE_ISSET_ID = 9;
|
|
|
317 |
private static final int __BESTDEALVALUE_ISSET_ID = 10;
|
|
|
318 |
private static final int __DEFAULTFORENTITY_ISSET_ID = 11;
|
|
|
319 |
private static final int __UPDATEDON_ISSET_ID = 12;
|
|
|
320 |
private static final int __BESTSELLINGRANK_ISSET_ID = 13;
|
|
|
321 |
private static final int __RISKY_ISSET_ID = 14;
|
|
|
322 |
private static final int __EXPECTEDDELAY_ISSET_ID = 15;
|
| 5440 |
phani.kuma |
323 |
private static final int __ISWAREHOUSEPREFERENCESTICKY_ISSET_ID = 16;
|
|
|
324 |
private static final int __WARRANTYPERIOD_ISSET_ID = 17;
|
|
|
325 |
private static final int __PREFERREDVENDOR_ISSET_ID = 18;
|
|
|
326 |
private static final int __COMINGSOONSTARTDATE_ISSET_ID = 19;
|
|
|
327 |
private static final int __EXPECTEDARRIVALDATE_ISSET_ID = 20;
|
|
|
328 |
private static final int __HASITEMNO_ISSET_ID = 21;
|
| 7256 |
rajveer |
329 |
private static final int __ACTIVEONSTORE_ISSET_ID = 22;
|
| 7330 |
amit.gupta |
330 |
private static final int __SHOWSELLINGPRICE_ISSET_ID = 23;
|
|
|
331 |
private static final int __PREFERREDINSURER_ISSET_ID = 24;
|
|
|
332 |
private static final int __DEFAULTINVENTORY_ISSET_ID = 25;
|
|
|
333 |
private static final int __HOLDINVENTORY_ISSET_ID = 26;
|
| 9841 |
rajveer |
334 |
private static final int __HOLDOVERRIDE_ISSET_ID = 27;
|
|
|
335 |
private BitSet __isset_bit_vector = new BitSet(28);
|
| 100 |
ashish |
336 |
|
| 3430 |
rajveer |
337 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 100 |
ashish |
338 |
static {
|
| 3430 |
rajveer |
339 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
340 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
341 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
342 |
tmpMap.put(_Fields.PRODUCT_GROUP, new org.apache.thrift.meta_data.FieldMetaData("productGroup", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
343 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
344 |
tmpMap.put(_Fields.BRAND, new org.apache.thrift.meta_data.FieldMetaData("brand", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
345 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
346 |
tmpMap.put(_Fields.MODEL_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("modelNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
347 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
348 |
tmpMap.put(_Fields.MODEL_NAME, new org.apache.thrift.meta_data.FieldMetaData("modelName", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
349 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
350 |
tmpMap.put(_Fields.COLOR, new org.apache.thrift.meta_data.FieldMetaData("color", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
351 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
352 |
tmpMap.put(_Fields.CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("category", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
353 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
354 |
tmpMap.put(_Fields.COMMENTS, new org.apache.thrift.meta_data.FieldMetaData("comments", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
355 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
356 |
tmpMap.put(_Fields.CATALOG_ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("catalogItemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
357 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
358 |
tmpMap.put(_Fields.FEATURE_ID, new org.apache.thrift.meta_data.FieldMetaData("featureId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
359 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
360 |
tmpMap.put(_Fields.FEATURE_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("featureDescription", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
361 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
362 |
tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
363 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
364 |
tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
365 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
366 |
tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
367 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
368 |
tmpMap.put(_Fields.ADDED_ON, new org.apache.thrift.meta_data.FieldMetaData("addedOn", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
369 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
370 |
tmpMap.put(_Fields.START_DATE, new org.apache.thrift.meta_data.FieldMetaData("startDate", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
371 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
372 |
tmpMap.put(_Fields.RETIRE_DATE, new org.apache.thrift.meta_data.FieldMetaData("retireDate", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
373 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
374 |
tmpMap.put(_Fields.ITEM_STATUS, new org.apache.thrift.meta_data.FieldMetaData("itemStatus", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
375 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, status.class)));
|
|
|
376 |
tmpMap.put(_Fields.STATUS_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("status_description", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
377 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 5336 |
rajveer |
378 |
tmpMap.put(_Fields.OTHER_INFO, new org.apache.thrift.meta_data.FieldMetaData("otherInfo", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
379 |
new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
|
|
|
380 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING),
|
|
|
381 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
|
| 3430 |
rajveer |
382 |
tmpMap.put(_Fields.BEST_DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealText", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
383 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
384 |
tmpMap.put(_Fields.BEST_DEAL_VALUE, new org.apache.thrift.meta_data.FieldMetaData("bestDealValue", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
385 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
386 |
tmpMap.put(_Fields.DEFAULT_FOR_ENTITY, new org.apache.thrift.meta_data.FieldMetaData("defaultForEntity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
387 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
388 |
tmpMap.put(_Fields.UPDATED_ON, new org.apache.thrift.meta_data.FieldMetaData("updatedOn", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
389 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
390 |
tmpMap.put(_Fields.BEST_SELLING_RANK, new org.apache.thrift.meta_data.FieldMetaData("bestSellingRank", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
391 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
392 |
tmpMap.put(_Fields.RISKY, new org.apache.thrift.meta_data.FieldMetaData("risky", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
393 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
394 |
tmpMap.put(_Fields.EXPECTED_DELAY, new org.apache.thrift.meta_data.FieldMetaData("expectedDelay", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
395 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
| 4406 |
anupam.sin |
396 |
tmpMap.put(_Fields.IS_WAREHOUSE_PREFERENCE_STICKY, new org.apache.thrift.meta_data.FieldMetaData("isWarehousePreferenceSticky", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
397 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 4295 |
varun.gupt |
398 |
tmpMap.put(_Fields.WARRANTY_PERIOD, new org.apache.thrift.meta_data.FieldMetaData("warrantyPeriod", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
399 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
| 4506 |
phani.kuma |
400 |
tmpMap.put(_Fields.PREFERRED_VENDOR, new org.apache.thrift.meta_data.FieldMetaData("preferredVendor", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
401 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 5110 |
mandeep.dh |
402 |
tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
403 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ItemType.class)));
|
| 5217 |
amit.gupta |
404 |
tmpMap.put(_Fields.COMING_SOON_START_DATE, new org.apache.thrift.meta_data.FieldMetaData("comingSoonStartDate", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
405 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
406 |
tmpMap.put(_Fields.EXPECTED_ARRIVAL_DATE, new org.apache.thrift.meta_data.FieldMetaData("expectedArrivalDate", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
407 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 5385 |
phani.kuma |
408 |
tmpMap.put(_Fields.HAS_ITEM_NO, new org.apache.thrift.meta_data.FieldMetaData("hasItemNo", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
409 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 7256 |
rajveer |
410 |
tmpMap.put(_Fields.ACTIVE_ON_STORE, new org.apache.thrift.meta_data.FieldMetaData("activeOnStore", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 5460 |
phani.kuma |
411 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 6241 |
amit.gupta |
412 |
tmpMap.put(_Fields.SHOW_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("showSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
413 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 6777 |
vikram.rag |
414 |
tmpMap.put(_Fields.BEST_DEALS_DETAILS_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealsDetailsText", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
415 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
416 |
tmpMap.put(_Fields.BEST_DEALS_DETAILS_LINK, new org.apache.thrift.meta_data.FieldMetaData("bestDealsDetailsLink", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
417 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 6805 |
anupam.sin |
418 |
tmpMap.put(_Fields.PREFERRED_INSURER, new org.apache.thrift.meta_data.FieldMetaData("preferredInsurer", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
419 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 7291 |
vikram.rag |
420 |
tmpMap.put(_Fields.ASIN, new org.apache.thrift.meta_data.FieldMetaData("asin", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
421 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
422 |
tmpMap.put(_Fields.DEFAULT_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("defaultInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
423 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
424 |
tmpMap.put(_Fields.HOLD_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("holdInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
425 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 9841 |
rajveer |
426 |
tmpMap.put(_Fields.HOLD_OVERRIDE, new org.apache.thrift.meta_data.FieldMetaData("holdOverride", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
427 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 3430 |
rajveer |
428 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
429 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
|
| 100 |
ashish |
430 |
}
|
|
|
431 |
|
|
|
432 |
public Item() {
|
|
|
433 |
}
|
|
|
434 |
|
|
|
435 |
public Item(
|
|
|
436 |
long id,
|
| 957 |
chandransh |
437 |
String productGroup,
|
|
|
438 |
String brand,
|
| 483 |
rajveer |
439 |
String modelNumber,
|
|
|
440 |
String modelName,
|
| 1329 |
chandransh |
441 |
String color,
|
| 622 |
chandransh |
442 |
long category,
|
| 483 |
rajveer |
443 |
String comments,
|
| 123 |
ashish |
444 |
long catalogItemId,
|
| 483 |
rajveer |
445 |
long featureId,
|
|
|
446 |
String featureDescription,
|
| 103 |
ashish |
447 |
long addedOn,
|
|
|
448 |
status itemStatus,
|
| 2034 |
rajveer |
449 |
String status_description,
|
| 5336 |
rajveer |
450 |
Map<String,String> otherInfo,
|
| 607 |
chandransh |
451 |
String bestDealText,
|
| 1910 |
varun.gupt |
452 |
boolean defaultForEntity,
|
| 2064 |
ankur.sing |
453 |
long updatedOn,
|
| 4295 |
varun.gupt |
454 |
boolean risky,
|
| 5110 |
mandeep.dh |
455 |
int warrantyPeriod,
|
| 5385 |
phani.kuma |
456 |
ItemType type,
|
| 5460 |
phani.kuma |
457 |
boolean hasItemNo,
|
| 7256 |
rajveer |
458 |
boolean activeOnStore,
|
| 6777 |
vikram.rag |
459 |
boolean showSellingPrice,
|
|
|
460 |
String bestDealsDetailsText,
|
| 6805 |
anupam.sin |
461 |
String bestDealsDetailsLink,
|
| 7291 |
vikram.rag |
462 |
long preferredInsurer,
|
|
|
463 |
String asin,
|
|
|
464 |
long defaultInventory,
|
| 9841 |
rajveer |
465 |
long holdInventory,
|
|
|
466 |
boolean holdOverride)
|
| 100 |
ashish |
467 |
{
|
|
|
468 |
this();
|
|
|
469 |
this.id = id;
|
|
|
470 |
setIdIsSet(true);
|
| 957 |
chandransh |
471 |
this.productGroup = productGroup;
|
|
|
472 |
this.brand = brand;
|
| 483 |
rajveer |
473 |
this.modelNumber = modelNumber;
|
|
|
474 |
this.modelName = modelName;
|
| 1329 |
chandransh |
475 |
this.color = color;
|
| 483 |
rajveer |
476 |
this.category = category;
|
| 622 |
chandransh |
477 |
setCategoryIsSet(true);
|
| 483 |
rajveer |
478 |
this.comments = comments;
|
| 123 |
ashish |
479 |
this.catalogItemId = catalogItemId;
|
|
|
480 |
setCatalogItemIdIsSet(true);
|
| 483 |
rajveer |
481 |
this.featureId = featureId;
|
|
|
482 |
setFeatureIdIsSet(true);
|
|
|
483 |
this.featureDescription = featureDescription;
|
| 103 |
ashish |
484 |
this.addedOn = addedOn;
|
|
|
485 |
setAddedOnIsSet(true);
|
|
|
486 |
this.itemStatus = itemStatus;
|
| 2034 |
rajveer |
487 |
this.status_description = status_description;
|
| 5336 |
rajveer |
488 |
this.otherInfo = otherInfo;
|
| 607 |
chandransh |
489 |
this.bestDealText = bestDealText;
|
| 1910 |
varun.gupt |
490 |
this.defaultForEntity = defaultForEntity;
|
|
|
491 |
setDefaultForEntityIsSet(true);
|
| 607 |
chandransh |
492 |
this.updatedOn = updatedOn;
|
|
|
493 |
setUpdatedOnIsSet(true);
|
| 2250 |
ankur.sing |
494 |
this.risky = risky;
|
|
|
495 |
setRiskyIsSet(true);
|
| 4295 |
varun.gupt |
496 |
this.warrantyPeriod = warrantyPeriod;
|
|
|
497 |
setWarrantyPeriodIsSet(true);
|
| 5110 |
mandeep.dh |
498 |
this.type = type;
|
| 5385 |
phani.kuma |
499 |
this.hasItemNo = hasItemNo;
|
|
|
500 |
setHasItemNoIsSet(true);
|
| 7256 |
rajveer |
501 |
this.activeOnStore = activeOnStore;
|
|
|
502 |
setActiveOnStoreIsSet(true);
|
| 6241 |
amit.gupta |
503 |
this.showSellingPrice = showSellingPrice;
|
|
|
504 |
setShowSellingPriceIsSet(true);
|
| 6777 |
vikram.rag |
505 |
this.bestDealsDetailsText = bestDealsDetailsText;
|
|
|
506 |
this.bestDealsDetailsLink = bestDealsDetailsLink;
|
| 6805 |
anupam.sin |
507 |
this.preferredInsurer = preferredInsurer;
|
|
|
508 |
setPreferredInsurerIsSet(true);
|
| 7291 |
vikram.rag |
509 |
this.asin = asin;
|
|
|
510 |
this.defaultInventory = defaultInventory;
|
|
|
511 |
setDefaultInventoryIsSet(true);
|
|
|
512 |
this.holdInventory = holdInventory;
|
|
|
513 |
setHoldInventoryIsSet(true);
|
| 9841 |
rajveer |
514 |
this.holdOverride = holdOverride;
|
|
|
515 |
setHoldOverrideIsSet(true);
|
| 100 |
ashish |
516 |
}
|
|
|
517 |
|
|
|
518 |
/**
|
|
|
519 |
* Performs a deep copy on <i>other</i>.
|
|
|
520 |
*/
|
|
|
521 |
public Item(Item other) {
|
|
|
522 |
__isset_bit_vector.clear();
|
|
|
523 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
|
|
524 |
this.id = other.id;
|
| 957 |
chandransh |
525 |
if (other.isSetProductGroup()) {
|
|
|
526 |
this.productGroup = other.productGroup;
|
| 483 |
rajveer |
527 |
}
|
| 957 |
chandransh |
528 |
if (other.isSetBrand()) {
|
|
|
529 |
this.brand = other.brand;
|
|
|
530 |
}
|
| 483 |
rajveer |
531 |
if (other.isSetModelNumber()) {
|
|
|
532 |
this.modelNumber = other.modelNumber;
|
|
|
533 |
}
|
|
|
534 |
if (other.isSetModelName()) {
|
|
|
535 |
this.modelName = other.modelName;
|
|
|
536 |
}
|
| 1329 |
chandransh |
537 |
if (other.isSetColor()) {
|
|
|
538 |
this.color = other.color;
|
|
|
539 |
}
|
| 622 |
chandransh |
540 |
this.category = other.category;
|
| 483 |
rajveer |
541 |
if (other.isSetComments()) {
|
|
|
542 |
this.comments = other.comments;
|
|
|
543 |
}
|
| 123 |
ashish |
544 |
this.catalogItemId = other.catalogItemId;
|
| 483 |
rajveer |
545 |
this.featureId = other.featureId;
|
|
|
546 |
if (other.isSetFeatureDescription()) {
|
|
|
547 |
this.featureDescription = other.featureDescription;
|
|
|
548 |
}
|
|
|
549 |
this.mrp = other.mrp;
|
|
|
550 |
this.sellingPrice = other.sellingPrice;
|
|
|
551 |
this.weight = other.weight;
|
| 103 |
ashish |
552 |
this.addedOn = other.addedOn;
|
|
|
553 |
this.startDate = other.startDate;
|
| 483 |
rajveer |
554 |
this.retireDate = other.retireDate;
|
| 103 |
ashish |
555 |
if (other.isSetItemStatus()) {
|
|
|
556 |
this.itemStatus = other.itemStatus;
|
|
|
557 |
}
|
| 2034 |
rajveer |
558 |
if (other.isSetStatus_description()) {
|
|
|
559 |
this.status_description = other.status_description;
|
|
|
560 |
}
|
| 5336 |
rajveer |
561 |
if (other.isSetOtherInfo()) {
|
|
|
562 |
Map<String,String> __this__otherInfo = new HashMap<String,String>();
|
|
|
563 |
for (Map.Entry<String, String> other_element : other.otherInfo.entrySet()) {
|
|
|
564 |
|
|
|
565 |
String other_element_key = other_element.getKey();
|
|
|
566 |
String other_element_value = other_element.getValue();
|
|
|
567 |
|
|
|
568 |
String __this__otherInfo_copy_key = other_element_key;
|
|
|
569 |
|
|
|
570 |
String __this__otherInfo_copy_value = other_element_value;
|
|
|
571 |
|
|
|
572 |
__this__otherInfo.put(__this__otherInfo_copy_key, __this__otherInfo_copy_value);
|
|
|
573 |
}
|
|
|
574 |
this.otherInfo = __this__otherInfo;
|
|
|
575 |
}
|
| 607 |
chandransh |
576 |
if (other.isSetBestDealText()) {
|
|
|
577 |
this.bestDealText = other.bestDealText;
|
|
|
578 |
}
|
|
|
579 |
this.bestDealValue = other.bestDealValue;
|
| 1910 |
varun.gupt |
580 |
this.defaultForEntity = other.defaultForEntity;
|
| 607 |
chandransh |
581 |
this.updatedOn = other.updatedOn;
|
| 2064 |
ankur.sing |
582 |
this.bestSellingRank = other.bestSellingRank;
|
| 2250 |
ankur.sing |
583 |
this.risky = other.risky;
|
| 3355 |
chandransh |
584 |
this.expectedDelay = other.expectedDelay;
|
| 4406 |
anupam.sin |
585 |
this.isWarehousePreferenceSticky = other.isWarehousePreferenceSticky;
|
| 4295 |
varun.gupt |
586 |
this.warrantyPeriod = other.warrantyPeriod;
|
| 4506 |
phani.kuma |
587 |
this.preferredVendor = other.preferredVendor;
|
| 5110 |
mandeep.dh |
588 |
if (other.isSetType()) {
|
|
|
589 |
this.type = other.type;
|
|
|
590 |
}
|
| 5217 |
amit.gupta |
591 |
this.comingSoonStartDate = other.comingSoonStartDate;
|
|
|
592 |
this.expectedArrivalDate = other.expectedArrivalDate;
|
| 5385 |
phani.kuma |
593 |
this.hasItemNo = other.hasItemNo;
|
| 7256 |
rajveer |
594 |
this.activeOnStore = other.activeOnStore;
|
| 6241 |
amit.gupta |
595 |
this.showSellingPrice = other.showSellingPrice;
|
| 6777 |
vikram.rag |
596 |
if (other.isSetBestDealsDetailsText()) {
|
|
|
597 |
this.bestDealsDetailsText = other.bestDealsDetailsText;
|
|
|
598 |
}
|
|
|
599 |
if (other.isSetBestDealsDetailsLink()) {
|
|
|
600 |
this.bestDealsDetailsLink = other.bestDealsDetailsLink;
|
|
|
601 |
}
|
| 6805 |
anupam.sin |
602 |
this.preferredInsurer = other.preferredInsurer;
|
| 7291 |
vikram.rag |
603 |
if (other.isSetAsin()) {
|
|
|
604 |
this.asin = other.asin;
|
|
|
605 |
}
|
|
|
606 |
this.defaultInventory = other.defaultInventory;
|
|
|
607 |
this.holdInventory = other.holdInventory;
|
| 9841 |
rajveer |
608 |
this.holdOverride = other.holdOverride;
|
| 100 |
ashish |
609 |
}
|
|
|
610 |
|
|
|
611 |
public Item deepCopy() {
|
|
|
612 |
return new Item(this);
|
|
|
613 |
}
|
|
|
614 |
|
| 3430 |
rajveer |
615 |
@Override
|
|
|
616 |
public void clear() {
|
|
|
617 |
setIdIsSet(false);
|
|
|
618 |
this.id = 0;
|
|
|
619 |
this.productGroup = null;
|
|
|
620 |
this.brand = null;
|
|
|
621 |
this.modelNumber = null;
|
|
|
622 |
this.modelName = null;
|
|
|
623 |
this.color = null;
|
|
|
624 |
setCategoryIsSet(false);
|
|
|
625 |
this.category = 0;
|
|
|
626 |
this.comments = null;
|
|
|
627 |
setCatalogItemIdIsSet(false);
|
|
|
628 |
this.catalogItemId = 0;
|
|
|
629 |
setFeatureIdIsSet(false);
|
|
|
630 |
this.featureId = 0;
|
|
|
631 |
this.featureDescription = null;
|
|
|
632 |
setMrpIsSet(false);
|
|
|
633 |
this.mrp = 0.0;
|
|
|
634 |
setSellingPriceIsSet(false);
|
|
|
635 |
this.sellingPrice = 0.0;
|
|
|
636 |
setWeightIsSet(false);
|
|
|
637 |
this.weight = 0.0;
|
|
|
638 |
setAddedOnIsSet(false);
|
|
|
639 |
this.addedOn = 0;
|
|
|
640 |
setStartDateIsSet(false);
|
|
|
641 |
this.startDate = 0;
|
|
|
642 |
setRetireDateIsSet(false);
|
|
|
643 |
this.retireDate = 0;
|
|
|
644 |
this.itemStatus = null;
|
|
|
645 |
this.status_description = null;
|
| 5336 |
rajveer |
646 |
this.otherInfo = null;
|
| 3430 |
rajveer |
647 |
this.bestDealText = null;
|
|
|
648 |
setBestDealValueIsSet(false);
|
|
|
649 |
this.bestDealValue = 0.0;
|
|
|
650 |
setDefaultForEntityIsSet(false);
|
|
|
651 |
this.defaultForEntity = false;
|
|
|
652 |
setUpdatedOnIsSet(false);
|
|
|
653 |
this.updatedOn = 0;
|
|
|
654 |
setBestSellingRankIsSet(false);
|
|
|
655 |
this.bestSellingRank = 0;
|
|
|
656 |
setRiskyIsSet(false);
|
|
|
657 |
this.risky = false;
|
|
|
658 |
setExpectedDelayIsSet(false);
|
|
|
659 |
this.expectedDelay = 0;
|
| 4406 |
anupam.sin |
660 |
setIsWarehousePreferenceStickyIsSet(false);
|
|
|
661 |
this.isWarehousePreferenceSticky = false;
|
| 4295 |
varun.gupt |
662 |
setWarrantyPeriodIsSet(false);
|
|
|
663 |
this.warrantyPeriod = 0;
|
| 4506 |
phani.kuma |
664 |
setPreferredVendorIsSet(false);
|
|
|
665 |
this.preferredVendor = 0;
|
| 5110 |
mandeep.dh |
666 |
this.type = null;
|
| 5217 |
amit.gupta |
667 |
setComingSoonStartDateIsSet(false);
|
|
|
668 |
this.comingSoonStartDate = 0;
|
|
|
669 |
setExpectedArrivalDateIsSet(false);
|
|
|
670 |
this.expectedArrivalDate = 0;
|
| 5385 |
phani.kuma |
671 |
setHasItemNoIsSet(false);
|
|
|
672 |
this.hasItemNo = false;
|
| 7256 |
rajveer |
673 |
setActiveOnStoreIsSet(false);
|
|
|
674 |
this.activeOnStore = false;
|
| 6241 |
amit.gupta |
675 |
setShowSellingPriceIsSet(false);
|
|
|
676 |
this.showSellingPrice = false;
|
| 6777 |
vikram.rag |
677 |
this.bestDealsDetailsText = null;
|
|
|
678 |
this.bestDealsDetailsLink = null;
|
| 6805 |
anupam.sin |
679 |
setPreferredInsurerIsSet(false);
|
|
|
680 |
this.preferredInsurer = 0;
|
| 7291 |
vikram.rag |
681 |
this.asin = null;
|
|
|
682 |
setDefaultInventoryIsSet(false);
|
|
|
683 |
this.defaultInventory = 0;
|
|
|
684 |
setHoldInventoryIsSet(false);
|
|
|
685 |
this.holdInventory = 0;
|
| 9841 |
rajveer |
686 |
setHoldOverrideIsSet(false);
|
|
|
687 |
this.holdOverride = false;
|
| 100 |
ashish |
688 |
}
|
|
|
689 |
|
|
|
690 |
public long getId() {
|
|
|
691 |
return this.id;
|
|
|
692 |
}
|
|
|
693 |
|
| 3430 |
rajveer |
694 |
public void setId(long id) {
|
| 100 |
ashish |
695 |
this.id = id;
|
|
|
696 |
setIdIsSet(true);
|
|
|
697 |
}
|
|
|
698 |
|
|
|
699 |
public void unsetId() {
|
|
|
700 |
__isset_bit_vector.clear(__ID_ISSET_ID);
|
|
|
701 |
}
|
|
|
702 |
|
| 3430 |
rajveer |
703 |
/** Returns true if field id is set (has been assigned a value) and false otherwise */
|
| 100 |
ashish |
704 |
public boolean isSetId() {
|
|
|
705 |
return __isset_bit_vector.get(__ID_ISSET_ID);
|
|
|
706 |
}
|
|
|
707 |
|
|
|
708 |
public void setIdIsSet(boolean value) {
|
|
|
709 |
__isset_bit_vector.set(__ID_ISSET_ID, value);
|
|
|
710 |
}
|
|
|
711 |
|
| 957 |
chandransh |
712 |
public String getProductGroup() {
|
|
|
713 |
return this.productGroup;
|
| 483 |
rajveer |
714 |
}
|
|
|
715 |
|
| 3430 |
rajveer |
716 |
public void setProductGroup(String productGroup) {
|
| 957 |
chandransh |
717 |
this.productGroup = productGroup;
|
| 483 |
rajveer |
718 |
}
|
|
|
719 |
|
| 957 |
chandransh |
720 |
public void unsetProductGroup() {
|
|
|
721 |
this.productGroup = null;
|
| 483 |
rajveer |
722 |
}
|
|
|
723 |
|
| 3430 |
rajveer |
724 |
/** Returns true if field productGroup is set (has been assigned a value) and false otherwise */
|
| 957 |
chandransh |
725 |
public boolean isSetProductGroup() {
|
|
|
726 |
return this.productGroup != null;
|
| 483 |
rajveer |
727 |
}
|
|
|
728 |
|
| 957 |
chandransh |
729 |
public void setProductGroupIsSet(boolean value) {
|
| 483 |
rajveer |
730 |
if (!value) {
|
| 957 |
chandransh |
731 |
this.productGroup = null;
|
| 483 |
rajveer |
732 |
}
|
|
|
733 |
}
|
|
|
734 |
|
| 957 |
chandransh |
735 |
public String getBrand() {
|
|
|
736 |
return this.brand;
|
|
|
737 |
}
|
|
|
738 |
|
| 3430 |
rajveer |
739 |
public void setBrand(String brand) {
|
| 957 |
chandransh |
740 |
this.brand = brand;
|
|
|
741 |
}
|
|
|
742 |
|
|
|
743 |
public void unsetBrand() {
|
|
|
744 |
this.brand = null;
|
|
|
745 |
}
|
|
|
746 |
|
| 3430 |
rajveer |
747 |
/** Returns true if field brand is set (has been assigned a value) and false otherwise */
|
| 957 |
chandransh |
748 |
public boolean isSetBrand() {
|
|
|
749 |
return this.brand != null;
|
|
|
750 |
}
|
|
|
751 |
|
|
|
752 |
public void setBrandIsSet(boolean value) {
|
|
|
753 |
if (!value) {
|
|
|
754 |
this.brand = null;
|
|
|
755 |
}
|
|
|
756 |
}
|
|
|
757 |
|
| 483 |
rajveer |
758 |
public String getModelNumber() {
|
|
|
759 |
return this.modelNumber;
|
|
|
760 |
}
|
|
|
761 |
|
| 3430 |
rajveer |
762 |
public void setModelNumber(String modelNumber) {
|
| 483 |
rajveer |
763 |
this.modelNumber = modelNumber;
|
|
|
764 |
}
|
|
|
765 |
|
|
|
766 |
public void unsetModelNumber() {
|
|
|
767 |
this.modelNumber = null;
|
|
|
768 |
}
|
|
|
769 |
|
| 3430 |
rajveer |
770 |
/** Returns true if field modelNumber is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
771 |
public boolean isSetModelNumber() {
|
|
|
772 |
return this.modelNumber != null;
|
|
|
773 |
}
|
|
|
774 |
|
|
|
775 |
public void setModelNumberIsSet(boolean value) {
|
|
|
776 |
if (!value) {
|
|
|
777 |
this.modelNumber = null;
|
|
|
778 |
}
|
|
|
779 |
}
|
|
|
780 |
|
|
|
781 |
public String getModelName() {
|
|
|
782 |
return this.modelName;
|
|
|
783 |
}
|
|
|
784 |
|
| 3430 |
rajveer |
785 |
public void setModelName(String modelName) {
|
| 483 |
rajveer |
786 |
this.modelName = modelName;
|
|
|
787 |
}
|
|
|
788 |
|
|
|
789 |
public void unsetModelName() {
|
|
|
790 |
this.modelName = null;
|
|
|
791 |
}
|
|
|
792 |
|
| 3430 |
rajveer |
793 |
/** Returns true if field modelName is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
794 |
public boolean isSetModelName() {
|
|
|
795 |
return this.modelName != null;
|
|
|
796 |
}
|
|
|
797 |
|
|
|
798 |
public void setModelNameIsSet(boolean value) {
|
|
|
799 |
if (!value) {
|
|
|
800 |
this.modelName = null;
|
|
|
801 |
}
|
|
|
802 |
}
|
|
|
803 |
|
| 1329 |
chandransh |
804 |
public String getColor() {
|
|
|
805 |
return this.color;
|
|
|
806 |
}
|
|
|
807 |
|
| 3430 |
rajveer |
808 |
public void setColor(String color) {
|
| 1329 |
chandransh |
809 |
this.color = color;
|
|
|
810 |
}
|
|
|
811 |
|
|
|
812 |
public void unsetColor() {
|
|
|
813 |
this.color = null;
|
|
|
814 |
}
|
|
|
815 |
|
| 3430 |
rajveer |
816 |
/** Returns true if field color is set (has been assigned a value) and false otherwise */
|
| 1329 |
chandransh |
817 |
public boolean isSetColor() {
|
|
|
818 |
return this.color != null;
|
|
|
819 |
}
|
|
|
820 |
|
|
|
821 |
public void setColorIsSet(boolean value) {
|
|
|
822 |
if (!value) {
|
|
|
823 |
this.color = null;
|
|
|
824 |
}
|
|
|
825 |
}
|
|
|
826 |
|
| 622 |
chandransh |
827 |
public long getCategory() {
|
| 483 |
rajveer |
828 |
return this.category;
|
|
|
829 |
}
|
|
|
830 |
|
| 3430 |
rajveer |
831 |
public void setCategory(long category) {
|
| 483 |
rajveer |
832 |
this.category = category;
|
| 622 |
chandransh |
833 |
setCategoryIsSet(true);
|
| 483 |
rajveer |
834 |
}
|
|
|
835 |
|
|
|
836 |
public void unsetCategory() {
|
| 622 |
chandransh |
837 |
__isset_bit_vector.clear(__CATEGORY_ISSET_ID);
|
| 483 |
rajveer |
838 |
}
|
|
|
839 |
|
| 3430 |
rajveer |
840 |
/** Returns true if field category is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
841 |
public boolean isSetCategory() {
|
| 622 |
chandransh |
842 |
return __isset_bit_vector.get(__CATEGORY_ISSET_ID);
|
| 483 |
rajveer |
843 |
}
|
|
|
844 |
|
|
|
845 |
public void setCategoryIsSet(boolean value) {
|
| 622 |
chandransh |
846 |
__isset_bit_vector.set(__CATEGORY_ISSET_ID, value);
|
| 483 |
rajveer |
847 |
}
|
|
|
848 |
|
|
|
849 |
public String getComments() {
|
|
|
850 |
return this.comments;
|
|
|
851 |
}
|
|
|
852 |
|
| 3430 |
rajveer |
853 |
public void setComments(String comments) {
|
| 483 |
rajveer |
854 |
this.comments = comments;
|
|
|
855 |
}
|
|
|
856 |
|
|
|
857 |
public void unsetComments() {
|
|
|
858 |
this.comments = null;
|
|
|
859 |
}
|
|
|
860 |
|
| 3430 |
rajveer |
861 |
/** Returns true if field comments is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
862 |
public boolean isSetComments() {
|
|
|
863 |
return this.comments != null;
|
|
|
864 |
}
|
|
|
865 |
|
|
|
866 |
public void setCommentsIsSet(boolean value) {
|
|
|
867 |
if (!value) {
|
|
|
868 |
this.comments = null;
|
|
|
869 |
}
|
|
|
870 |
}
|
|
|
871 |
|
| 123 |
ashish |
872 |
public long getCatalogItemId() {
|
|
|
873 |
return this.catalogItemId;
|
| 100 |
ashish |
874 |
}
|
|
|
875 |
|
| 3430 |
rajveer |
876 |
public void setCatalogItemId(long catalogItemId) {
|
| 123 |
ashish |
877 |
this.catalogItemId = catalogItemId;
|
|
|
878 |
setCatalogItemIdIsSet(true);
|
| 100 |
ashish |
879 |
}
|
|
|
880 |
|
| 123 |
ashish |
881 |
public void unsetCatalogItemId() {
|
|
|
882 |
__isset_bit_vector.clear(__CATALOGITEMID_ISSET_ID);
|
| 100 |
ashish |
883 |
}
|
|
|
884 |
|
| 3430 |
rajveer |
885 |
/** Returns true if field catalogItemId is set (has been assigned a value) and false otherwise */
|
| 123 |
ashish |
886 |
public boolean isSetCatalogItemId() {
|
|
|
887 |
return __isset_bit_vector.get(__CATALOGITEMID_ISSET_ID);
|
| 100 |
ashish |
888 |
}
|
|
|
889 |
|
| 123 |
ashish |
890 |
public void setCatalogItemIdIsSet(boolean value) {
|
|
|
891 |
__isset_bit_vector.set(__CATALOGITEMID_ISSET_ID, value);
|
| 100 |
ashish |
892 |
}
|
|
|
893 |
|
| 483 |
rajveer |
894 |
public long getFeatureId() {
|
|
|
895 |
return this.featureId;
|
|
|
896 |
}
|
|
|
897 |
|
| 3430 |
rajveer |
898 |
public void setFeatureId(long featureId) {
|
| 483 |
rajveer |
899 |
this.featureId = featureId;
|
|
|
900 |
setFeatureIdIsSet(true);
|
|
|
901 |
}
|
|
|
902 |
|
|
|
903 |
public void unsetFeatureId() {
|
|
|
904 |
__isset_bit_vector.clear(__FEATUREID_ISSET_ID);
|
|
|
905 |
}
|
|
|
906 |
|
| 3430 |
rajveer |
907 |
/** Returns true if field featureId is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
908 |
public boolean isSetFeatureId() {
|
|
|
909 |
return __isset_bit_vector.get(__FEATUREID_ISSET_ID);
|
|
|
910 |
}
|
|
|
911 |
|
|
|
912 |
public void setFeatureIdIsSet(boolean value) {
|
|
|
913 |
__isset_bit_vector.set(__FEATUREID_ISSET_ID, value);
|
|
|
914 |
}
|
|
|
915 |
|
|
|
916 |
public String getFeatureDescription() {
|
|
|
917 |
return this.featureDescription;
|
|
|
918 |
}
|
|
|
919 |
|
| 3430 |
rajveer |
920 |
public void setFeatureDescription(String featureDescription) {
|
| 483 |
rajveer |
921 |
this.featureDescription = featureDescription;
|
|
|
922 |
}
|
|
|
923 |
|
|
|
924 |
public void unsetFeatureDescription() {
|
|
|
925 |
this.featureDescription = null;
|
|
|
926 |
}
|
|
|
927 |
|
| 3430 |
rajveer |
928 |
/** Returns true if field featureDescription is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
929 |
public boolean isSetFeatureDescription() {
|
|
|
930 |
return this.featureDescription != null;
|
|
|
931 |
}
|
|
|
932 |
|
|
|
933 |
public void setFeatureDescriptionIsSet(boolean value) {
|
|
|
934 |
if (!value) {
|
|
|
935 |
this.featureDescription = null;
|
|
|
936 |
}
|
|
|
937 |
}
|
|
|
938 |
|
|
|
939 |
public double getMrp() {
|
|
|
940 |
return this.mrp;
|
|
|
941 |
}
|
|
|
942 |
|
| 3430 |
rajveer |
943 |
public void setMrp(double mrp) {
|
| 483 |
rajveer |
944 |
this.mrp = mrp;
|
|
|
945 |
setMrpIsSet(true);
|
|
|
946 |
}
|
|
|
947 |
|
|
|
948 |
public void unsetMrp() {
|
|
|
949 |
__isset_bit_vector.clear(__MRP_ISSET_ID);
|
|
|
950 |
}
|
|
|
951 |
|
| 3430 |
rajveer |
952 |
/** Returns true if field mrp is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
953 |
public boolean isSetMrp() {
|
|
|
954 |
return __isset_bit_vector.get(__MRP_ISSET_ID);
|
|
|
955 |
}
|
|
|
956 |
|
|
|
957 |
public void setMrpIsSet(boolean value) {
|
|
|
958 |
__isset_bit_vector.set(__MRP_ISSET_ID, value);
|
|
|
959 |
}
|
|
|
960 |
|
|
|
961 |
public double getSellingPrice() {
|
|
|
962 |
return this.sellingPrice;
|
|
|
963 |
}
|
|
|
964 |
|
| 3430 |
rajveer |
965 |
public void setSellingPrice(double sellingPrice) {
|
| 483 |
rajveer |
966 |
this.sellingPrice = sellingPrice;
|
|
|
967 |
setSellingPriceIsSet(true);
|
|
|
968 |
}
|
|
|
969 |
|
|
|
970 |
public void unsetSellingPrice() {
|
|
|
971 |
__isset_bit_vector.clear(__SELLINGPRICE_ISSET_ID);
|
|
|
972 |
}
|
|
|
973 |
|
| 3430 |
rajveer |
974 |
/** Returns true if field sellingPrice is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
975 |
public boolean isSetSellingPrice() {
|
|
|
976 |
return __isset_bit_vector.get(__SELLINGPRICE_ISSET_ID);
|
|
|
977 |
}
|
|
|
978 |
|
|
|
979 |
public void setSellingPriceIsSet(boolean value) {
|
|
|
980 |
__isset_bit_vector.set(__SELLINGPRICE_ISSET_ID, value);
|
|
|
981 |
}
|
|
|
982 |
|
|
|
983 |
public double getWeight() {
|
|
|
984 |
return this.weight;
|
|
|
985 |
}
|
|
|
986 |
|
| 3430 |
rajveer |
987 |
public void setWeight(double weight) {
|
| 483 |
rajveer |
988 |
this.weight = weight;
|
|
|
989 |
setWeightIsSet(true);
|
|
|
990 |
}
|
|
|
991 |
|
|
|
992 |
public void unsetWeight() {
|
|
|
993 |
__isset_bit_vector.clear(__WEIGHT_ISSET_ID);
|
|
|
994 |
}
|
|
|
995 |
|
| 3430 |
rajveer |
996 |
/** Returns true if field weight is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
997 |
public boolean isSetWeight() {
|
|
|
998 |
return __isset_bit_vector.get(__WEIGHT_ISSET_ID);
|
|
|
999 |
}
|
|
|
1000 |
|
|
|
1001 |
public void setWeightIsSet(boolean value) {
|
|
|
1002 |
__isset_bit_vector.set(__WEIGHT_ISSET_ID, value);
|
|
|
1003 |
}
|
|
|
1004 |
|
| 103 |
ashish |
1005 |
public long getAddedOn() {
|
|
|
1006 |
return this.addedOn;
|
|
|
1007 |
}
|
|
|
1008 |
|
| 3430 |
rajveer |
1009 |
public void setAddedOn(long addedOn) {
|
| 103 |
ashish |
1010 |
this.addedOn = addedOn;
|
|
|
1011 |
setAddedOnIsSet(true);
|
|
|
1012 |
}
|
|
|
1013 |
|
|
|
1014 |
public void unsetAddedOn() {
|
|
|
1015 |
__isset_bit_vector.clear(__ADDEDON_ISSET_ID);
|
|
|
1016 |
}
|
|
|
1017 |
|
| 3430 |
rajveer |
1018 |
/** Returns true if field addedOn is set (has been assigned a value) and false otherwise */
|
| 103 |
ashish |
1019 |
public boolean isSetAddedOn() {
|
|
|
1020 |
return __isset_bit_vector.get(__ADDEDON_ISSET_ID);
|
|
|
1021 |
}
|
|
|
1022 |
|
|
|
1023 |
public void setAddedOnIsSet(boolean value) {
|
|
|
1024 |
__isset_bit_vector.set(__ADDEDON_ISSET_ID, value);
|
|
|
1025 |
}
|
|
|
1026 |
|
|
|
1027 |
public long getStartDate() {
|
|
|
1028 |
return this.startDate;
|
|
|
1029 |
}
|
|
|
1030 |
|
| 3430 |
rajveer |
1031 |
public void setStartDate(long startDate) {
|
| 103 |
ashish |
1032 |
this.startDate = startDate;
|
|
|
1033 |
setStartDateIsSet(true);
|
|
|
1034 |
}
|
|
|
1035 |
|
|
|
1036 |
public void unsetStartDate() {
|
|
|
1037 |
__isset_bit_vector.clear(__STARTDATE_ISSET_ID);
|
|
|
1038 |
}
|
|
|
1039 |
|
| 3430 |
rajveer |
1040 |
/** Returns true if field startDate is set (has been assigned a value) and false otherwise */
|
| 103 |
ashish |
1041 |
public boolean isSetStartDate() {
|
|
|
1042 |
return __isset_bit_vector.get(__STARTDATE_ISSET_ID);
|
|
|
1043 |
}
|
|
|
1044 |
|
|
|
1045 |
public void setStartDateIsSet(boolean value) {
|
|
|
1046 |
__isset_bit_vector.set(__STARTDATE_ISSET_ID, value);
|
|
|
1047 |
}
|
|
|
1048 |
|
| 483 |
rajveer |
1049 |
public long getRetireDate() {
|
|
|
1050 |
return this.retireDate;
|
|
|
1051 |
}
|
|
|
1052 |
|
| 3430 |
rajveer |
1053 |
public void setRetireDate(long retireDate) {
|
| 483 |
rajveer |
1054 |
this.retireDate = retireDate;
|
|
|
1055 |
setRetireDateIsSet(true);
|
|
|
1056 |
}
|
|
|
1057 |
|
|
|
1058 |
public void unsetRetireDate() {
|
|
|
1059 |
__isset_bit_vector.clear(__RETIREDATE_ISSET_ID);
|
|
|
1060 |
}
|
|
|
1061 |
|
| 3430 |
rajveer |
1062 |
/** Returns true if field retireDate is set (has been assigned a value) and false otherwise */
|
| 483 |
rajveer |
1063 |
public boolean isSetRetireDate() {
|
|
|
1064 |
return __isset_bit_vector.get(__RETIREDATE_ISSET_ID);
|
|
|
1065 |
}
|
|
|
1066 |
|
|
|
1067 |
public void setRetireDateIsSet(boolean value) {
|
|
|
1068 |
__isset_bit_vector.set(__RETIREDATE_ISSET_ID, value);
|
|
|
1069 |
}
|
|
|
1070 |
|
| 103 |
ashish |
1071 |
/**
|
|
|
1072 |
*
|
|
|
1073 |
* @see status
|
|
|
1074 |
*/
|
|
|
1075 |
public status getItemStatus() {
|
|
|
1076 |
return this.itemStatus;
|
|
|
1077 |
}
|
|
|
1078 |
|
|
|
1079 |
/**
|
|
|
1080 |
*
|
|
|
1081 |
* @see status
|
|
|
1082 |
*/
|
| 3430 |
rajveer |
1083 |
public void setItemStatus(status itemStatus) {
|
| 103 |
ashish |
1084 |
this.itemStatus = itemStatus;
|
|
|
1085 |
}
|
|
|
1086 |
|
|
|
1087 |
public void unsetItemStatus() {
|
|
|
1088 |
this.itemStatus = null;
|
|
|
1089 |
}
|
|
|
1090 |
|
| 3430 |
rajveer |
1091 |
/** Returns true if field itemStatus is set (has been assigned a value) and false otherwise */
|
| 103 |
ashish |
1092 |
public boolean isSetItemStatus() {
|
|
|
1093 |
return this.itemStatus != null;
|
|
|
1094 |
}
|
|
|
1095 |
|
|
|
1096 |
public void setItemStatusIsSet(boolean value) {
|
|
|
1097 |
if (!value) {
|
|
|
1098 |
this.itemStatus = null;
|
|
|
1099 |
}
|
|
|
1100 |
}
|
|
|
1101 |
|
| 2034 |
rajveer |
1102 |
public String getStatus_description() {
|
|
|
1103 |
return this.status_description;
|
|
|
1104 |
}
|
|
|
1105 |
|
| 3430 |
rajveer |
1106 |
public void setStatus_description(String status_description) {
|
| 2034 |
rajveer |
1107 |
this.status_description = status_description;
|
|
|
1108 |
}
|
|
|
1109 |
|
|
|
1110 |
public void unsetStatus_description() {
|
|
|
1111 |
this.status_description = null;
|
|
|
1112 |
}
|
|
|
1113 |
|
| 3430 |
rajveer |
1114 |
/** Returns true if field status_description is set (has been assigned a value) and false otherwise */
|
| 2034 |
rajveer |
1115 |
public boolean isSetStatus_description() {
|
|
|
1116 |
return this.status_description != null;
|
|
|
1117 |
}
|
|
|
1118 |
|
|
|
1119 |
public void setStatus_descriptionIsSet(boolean value) {
|
|
|
1120 |
if (!value) {
|
|
|
1121 |
this.status_description = null;
|
|
|
1122 |
}
|
|
|
1123 |
}
|
|
|
1124 |
|
| 5336 |
rajveer |
1125 |
public int getOtherInfoSize() {
|
|
|
1126 |
return (this.otherInfo == null) ? 0 : this.otherInfo.size();
|
|
|
1127 |
}
|
|
|
1128 |
|
|
|
1129 |
public void putToOtherInfo(String key, String val) {
|
|
|
1130 |
if (this.otherInfo == null) {
|
|
|
1131 |
this.otherInfo = new HashMap<String,String>();
|
|
|
1132 |
}
|
|
|
1133 |
this.otherInfo.put(key, val);
|
|
|
1134 |
}
|
|
|
1135 |
|
|
|
1136 |
public Map<String,String> getOtherInfo() {
|
|
|
1137 |
return this.otherInfo;
|
|
|
1138 |
}
|
|
|
1139 |
|
|
|
1140 |
public void setOtherInfo(Map<String,String> otherInfo) {
|
|
|
1141 |
this.otherInfo = otherInfo;
|
|
|
1142 |
}
|
|
|
1143 |
|
|
|
1144 |
public void unsetOtherInfo() {
|
|
|
1145 |
this.otherInfo = null;
|
|
|
1146 |
}
|
|
|
1147 |
|
|
|
1148 |
/** Returns true if field otherInfo is set (has been assigned a value) and false otherwise */
|
|
|
1149 |
public boolean isSetOtherInfo() {
|
|
|
1150 |
return this.otherInfo != null;
|
|
|
1151 |
}
|
|
|
1152 |
|
|
|
1153 |
public void setOtherInfoIsSet(boolean value) {
|
|
|
1154 |
if (!value) {
|
|
|
1155 |
this.otherInfo = null;
|
|
|
1156 |
}
|
|
|
1157 |
}
|
|
|
1158 |
|
| 607 |
chandransh |
1159 |
public String getBestDealText() {
|
|
|
1160 |
return this.bestDealText;
|
|
|
1161 |
}
|
|
|
1162 |
|
| 3430 |
rajveer |
1163 |
public void setBestDealText(String bestDealText) {
|
| 607 |
chandransh |
1164 |
this.bestDealText = bestDealText;
|
|
|
1165 |
}
|
|
|
1166 |
|
|
|
1167 |
public void unsetBestDealText() {
|
|
|
1168 |
this.bestDealText = null;
|
|
|
1169 |
}
|
|
|
1170 |
|
| 3430 |
rajveer |
1171 |
/** Returns true if field bestDealText is set (has been assigned a value) and false otherwise */
|
| 607 |
chandransh |
1172 |
public boolean isSetBestDealText() {
|
|
|
1173 |
return this.bestDealText != null;
|
|
|
1174 |
}
|
|
|
1175 |
|
|
|
1176 |
public void setBestDealTextIsSet(boolean value) {
|
|
|
1177 |
if (!value) {
|
|
|
1178 |
this.bestDealText = null;
|
|
|
1179 |
}
|
|
|
1180 |
}
|
|
|
1181 |
|
|
|
1182 |
public double getBestDealValue() {
|
|
|
1183 |
return this.bestDealValue;
|
|
|
1184 |
}
|
|
|
1185 |
|
| 3430 |
rajveer |
1186 |
public void setBestDealValue(double bestDealValue) {
|
| 607 |
chandransh |
1187 |
this.bestDealValue = bestDealValue;
|
|
|
1188 |
setBestDealValueIsSet(true);
|
|
|
1189 |
}
|
|
|
1190 |
|
|
|
1191 |
public void unsetBestDealValue() {
|
|
|
1192 |
__isset_bit_vector.clear(__BESTDEALVALUE_ISSET_ID);
|
|
|
1193 |
}
|
|
|
1194 |
|
| 3430 |
rajveer |
1195 |
/** Returns true if field bestDealValue is set (has been assigned a value) and false otherwise */
|
| 607 |
chandransh |
1196 |
public boolean isSetBestDealValue() {
|
|
|
1197 |
return __isset_bit_vector.get(__BESTDEALVALUE_ISSET_ID);
|
|
|
1198 |
}
|
|
|
1199 |
|
|
|
1200 |
public void setBestDealValueIsSet(boolean value) {
|
|
|
1201 |
__isset_bit_vector.set(__BESTDEALVALUE_ISSET_ID, value);
|
|
|
1202 |
}
|
|
|
1203 |
|
| 1910 |
varun.gupt |
1204 |
public boolean isDefaultForEntity() {
|
|
|
1205 |
return this.defaultForEntity;
|
|
|
1206 |
}
|
|
|
1207 |
|
| 3430 |
rajveer |
1208 |
public void setDefaultForEntity(boolean defaultForEntity) {
|
| 1910 |
varun.gupt |
1209 |
this.defaultForEntity = defaultForEntity;
|
|
|
1210 |
setDefaultForEntityIsSet(true);
|
|
|
1211 |
}
|
|
|
1212 |
|
|
|
1213 |
public void unsetDefaultForEntity() {
|
|
|
1214 |
__isset_bit_vector.clear(__DEFAULTFORENTITY_ISSET_ID);
|
|
|
1215 |
}
|
|
|
1216 |
|
| 3430 |
rajveer |
1217 |
/** Returns true if field defaultForEntity is set (has been assigned a value) and false otherwise */
|
| 1910 |
varun.gupt |
1218 |
public boolean isSetDefaultForEntity() {
|
|
|
1219 |
return __isset_bit_vector.get(__DEFAULTFORENTITY_ISSET_ID);
|
|
|
1220 |
}
|
|
|
1221 |
|
|
|
1222 |
public void setDefaultForEntityIsSet(boolean value) {
|
|
|
1223 |
__isset_bit_vector.set(__DEFAULTFORENTITY_ISSET_ID, value);
|
|
|
1224 |
}
|
|
|
1225 |
|
| 607 |
chandransh |
1226 |
public long getUpdatedOn() {
|
|
|
1227 |
return this.updatedOn;
|
|
|
1228 |
}
|
|
|
1229 |
|
| 3430 |
rajveer |
1230 |
public void setUpdatedOn(long updatedOn) {
|
| 607 |
chandransh |
1231 |
this.updatedOn = updatedOn;
|
|
|
1232 |
setUpdatedOnIsSet(true);
|
|
|
1233 |
}
|
|
|
1234 |
|
|
|
1235 |
public void unsetUpdatedOn() {
|
|
|
1236 |
__isset_bit_vector.clear(__UPDATEDON_ISSET_ID);
|
|
|
1237 |
}
|
|
|
1238 |
|
| 3430 |
rajveer |
1239 |
/** Returns true if field updatedOn is set (has been assigned a value) and false otherwise */
|
| 607 |
chandransh |
1240 |
public boolean isSetUpdatedOn() {
|
|
|
1241 |
return __isset_bit_vector.get(__UPDATEDON_ISSET_ID);
|
|
|
1242 |
}
|
|
|
1243 |
|
|
|
1244 |
public void setUpdatedOnIsSet(boolean value) {
|
|
|
1245 |
__isset_bit_vector.set(__UPDATEDON_ISSET_ID, value);
|
|
|
1246 |
}
|
|
|
1247 |
|
| 2064 |
ankur.sing |
1248 |
public long getBestSellingRank() {
|
|
|
1249 |
return this.bestSellingRank;
|
|
|
1250 |
}
|
|
|
1251 |
|
| 3430 |
rajveer |
1252 |
public void setBestSellingRank(long bestSellingRank) {
|
| 2064 |
ankur.sing |
1253 |
this.bestSellingRank = bestSellingRank;
|
|
|
1254 |
setBestSellingRankIsSet(true);
|
|
|
1255 |
}
|
|
|
1256 |
|
|
|
1257 |
public void unsetBestSellingRank() {
|
|
|
1258 |
__isset_bit_vector.clear(__BESTSELLINGRANK_ISSET_ID);
|
|
|
1259 |
}
|
|
|
1260 |
|
| 3430 |
rajveer |
1261 |
/** Returns true if field bestSellingRank is set (has been assigned a value) and false otherwise */
|
| 2064 |
ankur.sing |
1262 |
public boolean isSetBestSellingRank() {
|
|
|
1263 |
return __isset_bit_vector.get(__BESTSELLINGRANK_ISSET_ID);
|
|
|
1264 |
}
|
|
|
1265 |
|
|
|
1266 |
public void setBestSellingRankIsSet(boolean value) {
|
|
|
1267 |
__isset_bit_vector.set(__BESTSELLINGRANK_ISSET_ID, value);
|
|
|
1268 |
}
|
|
|
1269 |
|
| 2250 |
ankur.sing |
1270 |
public boolean isRisky() {
|
|
|
1271 |
return this.risky;
|
|
|
1272 |
}
|
|
|
1273 |
|
| 3430 |
rajveer |
1274 |
public void setRisky(boolean risky) {
|
| 2250 |
ankur.sing |
1275 |
this.risky = risky;
|
|
|
1276 |
setRiskyIsSet(true);
|
|
|
1277 |
}
|
|
|
1278 |
|
|
|
1279 |
public void unsetRisky() {
|
|
|
1280 |
__isset_bit_vector.clear(__RISKY_ISSET_ID);
|
|
|
1281 |
}
|
|
|
1282 |
|
| 3430 |
rajveer |
1283 |
/** Returns true if field risky is set (has been assigned a value) and false otherwise */
|
| 2250 |
ankur.sing |
1284 |
public boolean isSetRisky() {
|
|
|
1285 |
return __isset_bit_vector.get(__RISKY_ISSET_ID);
|
|
|
1286 |
}
|
|
|
1287 |
|
|
|
1288 |
public void setRiskyIsSet(boolean value) {
|
|
|
1289 |
__isset_bit_vector.set(__RISKY_ISSET_ID, value);
|
|
|
1290 |
}
|
|
|
1291 |
|
| 3355 |
chandransh |
1292 |
public int getExpectedDelay() {
|
|
|
1293 |
return this.expectedDelay;
|
|
|
1294 |
}
|
|
|
1295 |
|
| 3430 |
rajveer |
1296 |
public void setExpectedDelay(int expectedDelay) {
|
| 3355 |
chandransh |
1297 |
this.expectedDelay = expectedDelay;
|
|
|
1298 |
setExpectedDelayIsSet(true);
|
|
|
1299 |
}
|
|
|
1300 |
|
|
|
1301 |
public void unsetExpectedDelay() {
|
|
|
1302 |
__isset_bit_vector.clear(__EXPECTEDDELAY_ISSET_ID);
|
|
|
1303 |
}
|
|
|
1304 |
|
| 3430 |
rajveer |
1305 |
/** Returns true if field expectedDelay is set (has been assigned a value) and false otherwise */
|
| 3355 |
chandransh |
1306 |
public boolean isSetExpectedDelay() {
|
|
|
1307 |
return __isset_bit_vector.get(__EXPECTEDDELAY_ISSET_ID);
|
|
|
1308 |
}
|
|
|
1309 |
|
|
|
1310 |
public void setExpectedDelayIsSet(boolean value) {
|
|
|
1311 |
__isset_bit_vector.set(__EXPECTEDDELAY_ISSET_ID, value);
|
|
|
1312 |
}
|
|
|
1313 |
|
| 4406 |
anupam.sin |
1314 |
public boolean isIsWarehousePreferenceSticky() {
|
|
|
1315 |
return this.isWarehousePreferenceSticky;
|
|
|
1316 |
}
|
|
|
1317 |
|
|
|
1318 |
public void setIsWarehousePreferenceSticky(boolean isWarehousePreferenceSticky) {
|
|
|
1319 |
this.isWarehousePreferenceSticky = isWarehousePreferenceSticky;
|
|
|
1320 |
setIsWarehousePreferenceStickyIsSet(true);
|
|
|
1321 |
}
|
|
|
1322 |
|
|
|
1323 |
public void unsetIsWarehousePreferenceSticky() {
|
|
|
1324 |
__isset_bit_vector.clear(__ISWAREHOUSEPREFERENCESTICKY_ISSET_ID);
|
|
|
1325 |
}
|
|
|
1326 |
|
|
|
1327 |
/** Returns true if field isWarehousePreferenceSticky is set (has been assigned a value) and false otherwise */
|
|
|
1328 |
public boolean isSetIsWarehousePreferenceSticky() {
|
|
|
1329 |
return __isset_bit_vector.get(__ISWAREHOUSEPREFERENCESTICKY_ISSET_ID);
|
|
|
1330 |
}
|
|
|
1331 |
|
|
|
1332 |
public void setIsWarehousePreferenceStickyIsSet(boolean value) {
|
|
|
1333 |
__isset_bit_vector.set(__ISWAREHOUSEPREFERENCESTICKY_ISSET_ID, value);
|
|
|
1334 |
}
|
|
|
1335 |
|
| 4295 |
varun.gupt |
1336 |
public int getWarrantyPeriod() {
|
|
|
1337 |
return this.warrantyPeriod;
|
|
|
1338 |
}
|
|
|
1339 |
|
|
|
1340 |
public void setWarrantyPeriod(int warrantyPeriod) {
|
|
|
1341 |
this.warrantyPeriod = warrantyPeriod;
|
|
|
1342 |
setWarrantyPeriodIsSet(true);
|
|
|
1343 |
}
|
|
|
1344 |
|
|
|
1345 |
public void unsetWarrantyPeriod() {
|
|
|
1346 |
__isset_bit_vector.clear(__WARRANTYPERIOD_ISSET_ID);
|
|
|
1347 |
}
|
|
|
1348 |
|
|
|
1349 |
/** Returns true if field warrantyPeriod is set (has been assigned a value) and false otherwise */
|
|
|
1350 |
public boolean isSetWarrantyPeriod() {
|
|
|
1351 |
return __isset_bit_vector.get(__WARRANTYPERIOD_ISSET_ID);
|
|
|
1352 |
}
|
|
|
1353 |
|
|
|
1354 |
public void setWarrantyPeriodIsSet(boolean value) {
|
|
|
1355 |
__isset_bit_vector.set(__WARRANTYPERIOD_ISSET_ID, value);
|
|
|
1356 |
}
|
|
|
1357 |
|
| 4506 |
phani.kuma |
1358 |
public long getPreferredVendor() {
|
|
|
1359 |
return this.preferredVendor;
|
|
|
1360 |
}
|
|
|
1361 |
|
|
|
1362 |
public void setPreferredVendor(long preferredVendor) {
|
|
|
1363 |
this.preferredVendor = preferredVendor;
|
|
|
1364 |
setPreferredVendorIsSet(true);
|
|
|
1365 |
}
|
|
|
1366 |
|
|
|
1367 |
public void unsetPreferredVendor() {
|
|
|
1368 |
__isset_bit_vector.clear(__PREFERREDVENDOR_ISSET_ID);
|
|
|
1369 |
}
|
|
|
1370 |
|
|
|
1371 |
/** Returns true if field preferredVendor is set (has been assigned a value) and false otherwise */
|
|
|
1372 |
public boolean isSetPreferredVendor() {
|
|
|
1373 |
return __isset_bit_vector.get(__PREFERREDVENDOR_ISSET_ID);
|
|
|
1374 |
}
|
|
|
1375 |
|
|
|
1376 |
public void setPreferredVendorIsSet(boolean value) {
|
|
|
1377 |
__isset_bit_vector.set(__PREFERREDVENDOR_ISSET_ID, value);
|
|
|
1378 |
}
|
|
|
1379 |
|
| 5110 |
mandeep.dh |
1380 |
/**
|
|
|
1381 |
*
|
|
|
1382 |
* @see ItemType
|
|
|
1383 |
*/
|
|
|
1384 |
public ItemType getType() {
|
|
|
1385 |
return this.type;
|
|
|
1386 |
}
|
|
|
1387 |
|
|
|
1388 |
/**
|
|
|
1389 |
*
|
|
|
1390 |
* @see ItemType
|
|
|
1391 |
*/
|
|
|
1392 |
public void setType(ItemType type) {
|
|
|
1393 |
this.type = type;
|
|
|
1394 |
}
|
|
|
1395 |
|
|
|
1396 |
public void unsetType() {
|
|
|
1397 |
this.type = null;
|
|
|
1398 |
}
|
|
|
1399 |
|
|
|
1400 |
/** Returns true if field type is set (has been assigned a value) and false otherwise */
|
|
|
1401 |
public boolean isSetType() {
|
|
|
1402 |
return this.type != null;
|
|
|
1403 |
}
|
|
|
1404 |
|
|
|
1405 |
public void setTypeIsSet(boolean value) {
|
|
|
1406 |
if (!value) {
|
|
|
1407 |
this.type = null;
|
|
|
1408 |
}
|
|
|
1409 |
}
|
|
|
1410 |
|
| 5217 |
amit.gupta |
1411 |
public long getComingSoonStartDate() {
|
|
|
1412 |
return this.comingSoonStartDate;
|
|
|
1413 |
}
|
|
|
1414 |
|
|
|
1415 |
public void setComingSoonStartDate(long comingSoonStartDate) {
|
|
|
1416 |
this.comingSoonStartDate = comingSoonStartDate;
|
|
|
1417 |
setComingSoonStartDateIsSet(true);
|
|
|
1418 |
}
|
|
|
1419 |
|
|
|
1420 |
public void unsetComingSoonStartDate() {
|
|
|
1421 |
__isset_bit_vector.clear(__COMINGSOONSTARTDATE_ISSET_ID);
|
|
|
1422 |
}
|
|
|
1423 |
|
|
|
1424 |
/** Returns true if field comingSoonStartDate is set (has been assigned a value) and false otherwise */
|
|
|
1425 |
public boolean isSetComingSoonStartDate() {
|
|
|
1426 |
return __isset_bit_vector.get(__COMINGSOONSTARTDATE_ISSET_ID);
|
|
|
1427 |
}
|
|
|
1428 |
|
|
|
1429 |
public void setComingSoonStartDateIsSet(boolean value) {
|
|
|
1430 |
__isset_bit_vector.set(__COMINGSOONSTARTDATE_ISSET_ID, value);
|
|
|
1431 |
}
|
|
|
1432 |
|
|
|
1433 |
public long getExpectedArrivalDate() {
|
|
|
1434 |
return this.expectedArrivalDate;
|
|
|
1435 |
}
|
|
|
1436 |
|
|
|
1437 |
public void setExpectedArrivalDate(long expectedArrivalDate) {
|
|
|
1438 |
this.expectedArrivalDate = expectedArrivalDate;
|
|
|
1439 |
setExpectedArrivalDateIsSet(true);
|
|
|
1440 |
}
|
|
|
1441 |
|
|
|
1442 |
public void unsetExpectedArrivalDate() {
|
|
|
1443 |
__isset_bit_vector.clear(__EXPECTEDARRIVALDATE_ISSET_ID);
|
|
|
1444 |
}
|
|
|
1445 |
|
|
|
1446 |
/** Returns true if field expectedArrivalDate is set (has been assigned a value) and false otherwise */
|
|
|
1447 |
public boolean isSetExpectedArrivalDate() {
|
|
|
1448 |
return __isset_bit_vector.get(__EXPECTEDARRIVALDATE_ISSET_ID);
|
|
|
1449 |
}
|
|
|
1450 |
|
|
|
1451 |
public void setExpectedArrivalDateIsSet(boolean value) {
|
|
|
1452 |
__isset_bit_vector.set(__EXPECTEDARRIVALDATE_ISSET_ID, value);
|
|
|
1453 |
}
|
|
|
1454 |
|
| 5385 |
phani.kuma |
1455 |
public boolean isHasItemNo() {
|
|
|
1456 |
return this.hasItemNo;
|
|
|
1457 |
}
|
|
|
1458 |
|
|
|
1459 |
public void setHasItemNo(boolean hasItemNo) {
|
|
|
1460 |
this.hasItemNo = hasItemNo;
|
|
|
1461 |
setHasItemNoIsSet(true);
|
|
|
1462 |
}
|
|
|
1463 |
|
|
|
1464 |
public void unsetHasItemNo() {
|
|
|
1465 |
__isset_bit_vector.clear(__HASITEMNO_ISSET_ID);
|
|
|
1466 |
}
|
|
|
1467 |
|
|
|
1468 |
/** Returns true if field hasItemNo is set (has been assigned a value) and false otherwise */
|
|
|
1469 |
public boolean isSetHasItemNo() {
|
|
|
1470 |
return __isset_bit_vector.get(__HASITEMNO_ISSET_ID);
|
|
|
1471 |
}
|
|
|
1472 |
|
|
|
1473 |
public void setHasItemNoIsSet(boolean value) {
|
|
|
1474 |
__isset_bit_vector.set(__HASITEMNO_ISSET_ID, value);
|
|
|
1475 |
}
|
|
|
1476 |
|
| 7256 |
rajveer |
1477 |
public boolean isActiveOnStore() {
|
|
|
1478 |
return this.activeOnStore;
|
| 5460 |
phani.kuma |
1479 |
}
|
|
|
1480 |
|
| 7256 |
rajveer |
1481 |
public void setActiveOnStore(boolean activeOnStore) {
|
|
|
1482 |
this.activeOnStore = activeOnStore;
|
|
|
1483 |
setActiveOnStoreIsSet(true);
|
| 5460 |
phani.kuma |
1484 |
}
|
|
|
1485 |
|
| 7256 |
rajveer |
1486 |
public void unsetActiveOnStore() {
|
|
|
1487 |
__isset_bit_vector.clear(__ACTIVEONSTORE_ISSET_ID);
|
| 5460 |
phani.kuma |
1488 |
}
|
|
|
1489 |
|
| 7256 |
rajveer |
1490 |
/** Returns true if field activeOnStore is set (has been assigned a value) and false otherwise */
|
|
|
1491 |
public boolean isSetActiveOnStore() {
|
|
|
1492 |
return __isset_bit_vector.get(__ACTIVEONSTORE_ISSET_ID);
|
| 5460 |
phani.kuma |
1493 |
}
|
|
|
1494 |
|
| 7256 |
rajveer |
1495 |
public void setActiveOnStoreIsSet(boolean value) {
|
|
|
1496 |
__isset_bit_vector.set(__ACTIVEONSTORE_ISSET_ID, value);
|
| 5460 |
phani.kuma |
1497 |
}
|
|
|
1498 |
|
| 6241 |
amit.gupta |
1499 |
public boolean isShowSellingPrice() {
|
|
|
1500 |
return this.showSellingPrice;
|
|
|
1501 |
}
|
|
|
1502 |
|
|
|
1503 |
public void setShowSellingPrice(boolean showSellingPrice) {
|
|
|
1504 |
this.showSellingPrice = showSellingPrice;
|
|
|
1505 |
setShowSellingPriceIsSet(true);
|
|
|
1506 |
}
|
|
|
1507 |
|
|
|
1508 |
public void unsetShowSellingPrice() {
|
|
|
1509 |
__isset_bit_vector.clear(__SHOWSELLINGPRICE_ISSET_ID);
|
|
|
1510 |
}
|
|
|
1511 |
|
|
|
1512 |
/** Returns true if field showSellingPrice is set (has been assigned a value) and false otherwise */
|
|
|
1513 |
public boolean isSetShowSellingPrice() {
|
|
|
1514 |
return __isset_bit_vector.get(__SHOWSELLINGPRICE_ISSET_ID);
|
|
|
1515 |
}
|
|
|
1516 |
|
|
|
1517 |
public void setShowSellingPriceIsSet(boolean value) {
|
|
|
1518 |
__isset_bit_vector.set(__SHOWSELLINGPRICE_ISSET_ID, value);
|
|
|
1519 |
}
|
|
|
1520 |
|
| 6777 |
vikram.rag |
1521 |
public String getBestDealsDetailsText() {
|
|
|
1522 |
return this.bestDealsDetailsText;
|
|
|
1523 |
}
|
|
|
1524 |
|
|
|
1525 |
public void setBestDealsDetailsText(String bestDealsDetailsText) {
|
|
|
1526 |
this.bestDealsDetailsText = bestDealsDetailsText;
|
|
|
1527 |
}
|
|
|
1528 |
|
|
|
1529 |
public void unsetBestDealsDetailsText() {
|
|
|
1530 |
this.bestDealsDetailsText = null;
|
|
|
1531 |
}
|
|
|
1532 |
|
|
|
1533 |
/** Returns true if field bestDealsDetailsText is set (has been assigned a value) and false otherwise */
|
|
|
1534 |
public boolean isSetBestDealsDetailsText() {
|
|
|
1535 |
return this.bestDealsDetailsText != null;
|
|
|
1536 |
}
|
|
|
1537 |
|
|
|
1538 |
public void setBestDealsDetailsTextIsSet(boolean value) {
|
|
|
1539 |
if (!value) {
|
|
|
1540 |
this.bestDealsDetailsText = null;
|
|
|
1541 |
}
|
|
|
1542 |
}
|
|
|
1543 |
|
|
|
1544 |
public String getBestDealsDetailsLink() {
|
|
|
1545 |
return this.bestDealsDetailsLink;
|
|
|
1546 |
}
|
|
|
1547 |
|
|
|
1548 |
public void setBestDealsDetailsLink(String bestDealsDetailsLink) {
|
|
|
1549 |
this.bestDealsDetailsLink = bestDealsDetailsLink;
|
|
|
1550 |
}
|
|
|
1551 |
|
|
|
1552 |
public void unsetBestDealsDetailsLink() {
|
|
|
1553 |
this.bestDealsDetailsLink = null;
|
|
|
1554 |
}
|
|
|
1555 |
|
|
|
1556 |
/** Returns true if field bestDealsDetailsLink is set (has been assigned a value) and false otherwise */
|
|
|
1557 |
public boolean isSetBestDealsDetailsLink() {
|
|
|
1558 |
return this.bestDealsDetailsLink != null;
|
|
|
1559 |
}
|
|
|
1560 |
|
|
|
1561 |
public void setBestDealsDetailsLinkIsSet(boolean value) {
|
|
|
1562 |
if (!value) {
|
|
|
1563 |
this.bestDealsDetailsLink = null;
|
|
|
1564 |
}
|
|
|
1565 |
}
|
|
|
1566 |
|
| 6805 |
anupam.sin |
1567 |
public long getPreferredInsurer() {
|
|
|
1568 |
return this.preferredInsurer;
|
|
|
1569 |
}
|
|
|
1570 |
|
|
|
1571 |
public void setPreferredInsurer(long preferredInsurer) {
|
|
|
1572 |
this.preferredInsurer = preferredInsurer;
|
|
|
1573 |
setPreferredInsurerIsSet(true);
|
|
|
1574 |
}
|
|
|
1575 |
|
|
|
1576 |
public void unsetPreferredInsurer() {
|
|
|
1577 |
__isset_bit_vector.clear(__PREFERREDINSURER_ISSET_ID);
|
|
|
1578 |
}
|
|
|
1579 |
|
|
|
1580 |
/** Returns true if field preferredInsurer is set (has been assigned a value) and false otherwise */
|
|
|
1581 |
public boolean isSetPreferredInsurer() {
|
|
|
1582 |
return __isset_bit_vector.get(__PREFERREDINSURER_ISSET_ID);
|
|
|
1583 |
}
|
|
|
1584 |
|
|
|
1585 |
public void setPreferredInsurerIsSet(boolean value) {
|
|
|
1586 |
__isset_bit_vector.set(__PREFERREDINSURER_ISSET_ID, value);
|
|
|
1587 |
}
|
|
|
1588 |
|
| 7291 |
vikram.rag |
1589 |
public String getAsin() {
|
|
|
1590 |
return this.asin;
|
|
|
1591 |
}
|
|
|
1592 |
|
|
|
1593 |
public void setAsin(String asin) {
|
|
|
1594 |
this.asin = asin;
|
|
|
1595 |
}
|
|
|
1596 |
|
|
|
1597 |
public void unsetAsin() {
|
|
|
1598 |
this.asin = null;
|
|
|
1599 |
}
|
|
|
1600 |
|
|
|
1601 |
/** Returns true if field asin is set (has been assigned a value) and false otherwise */
|
|
|
1602 |
public boolean isSetAsin() {
|
|
|
1603 |
return this.asin != null;
|
|
|
1604 |
}
|
|
|
1605 |
|
|
|
1606 |
public void setAsinIsSet(boolean value) {
|
|
|
1607 |
if (!value) {
|
|
|
1608 |
this.asin = null;
|
|
|
1609 |
}
|
|
|
1610 |
}
|
|
|
1611 |
|
|
|
1612 |
public long getDefaultInventory() {
|
|
|
1613 |
return this.defaultInventory;
|
|
|
1614 |
}
|
|
|
1615 |
|
|
|
1616 |
public void setDefaultInventory(long defaultInventory) {
|
|
|
1617 |
this.defaultInventory = defaultInventory;
|
|
|
1618 |
setDefaultInventoryIsSet(true);
|
|
|
1619 |
}
|
|
|
1620 |
|
|
|
1621 |
public void unsetDefaultInventory() {
|
|
|
1622 |
__isset_bit_vector.clear(__DEFAULTINVENTORY_ISSET_ID);
|
|
|
1623 |
}
|
|
|
1624 |
|
|
|
1625 |
/** Returns true if field defaultInventory is set (has been assigned a value) and false otherwise */
|
|
|
1626 |
public boolean isSetDefaultInventory() {
|
|
|
1627 |
return __isset_bit_vector.get(__DEFAULTINVENTORY_ISSET_ID);
|
|
|
1628 |
}
|
|
|
1629 |
|
|
|
1630 |
public void setDefaultInventoryIsSet(boolean value) {
|
|
|
1631 |
__isset_bit_vector.set(__DEFAULTINVENTORY_ISSET_ID, value);
|
|
|
1632 |
}
|
|
|
1633 |
|
|
|
1634 |
public long getHoldInventory() {
|
|
|
1635 |
return this.holdInventory;
|
|
|
1636 |
}
|
|
|
1637 |
|
|
|
1638 |
public void setHoldInventory(long holdInventory) {
|
|
|
1639 |
this.holdInventory = holdInventory;
|
|
|
1640 |
setHoldInventoryIsSet(true);
|
|
|
1641 |
}
|
|
|
1642 |
|
|
|
1643 |
public void unsetHoldInventory() {
|
|
|
1644 |
__isset_bit_vector.clear(__HOLDINVENTORY_ISSET_ID);
|
|
|
1645 |
}
|
|
|
1646 |
|
|
|
1647 |
/** Returns true if field holdInventory is set (has been assigned a value) and false otherwise */
|
|
|
1648 |
public boolean isSetHoldInventory() {
|
|
|
1649 |
return __isset_bit_vector.get(__HOLDINVENTORY_ISSET_ID);
|
|
|
1650 |
}
|
|
|
1651 |
|
|
|
1652 |
public void setHoldInventoryIsSet(boolean value) {
|
|
|
1653 |
__isset_bit_vector.set(__HOLDINVENTORY_ISSET_ID, value);
|
|
|
1654 |
}
|
|
|
1655 |
|
| 9841 |
rajveer |
1656 |
public boolean isHoldOverride() {
|
|
|
1657 |
return this.holdOverride;
|
|
|
1658 |
}
|
|
|
1659 |
|
|
|
1660 |
public void setHoldOverride(boolean holdOverride) {
|
|
|
1661 |
this.holdOverride = holdOverride;
|
|
|
1662 |
setHoldOverrideIsSet(true);
|
|
|
1663 |
}
|
|
|
1664 |
|
|
|
1665 |
public void unsetHoldOverride() {
|
|
|
1666 |
__isset_bit_vector.clear(__HOLDOVERRIDE_ISSET_ID);
|
|
|
1667 |
}
|
|
|
1668 |
|
|
|
1669 |
/** Returns true if field holdOverride is set (has been assigned a value) and false otherwise */
|
|
|
1670 |
public boolean isSetHoldOverride() {
|
|
|
1671 |
return __isset_bit_vector.get(__HOLDOVERRIDE_ISSET_ID);
|
|
|
1672 |
}
|
|
|
1673 |
|
|
|
1674 |
public void setHoldOverrideIsSet(boolean value) {
|
|
|
1675 |
__isset_bit_vector.set(__HOLDOVERRIDE_ISSET_ID, value);
|
|
|
1676 |
}
|
|
|
1677 |
|
| 100 |
ashish |
1678 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
1679 |
switch (field) {
|
|
|
1680 |
case ID:
|
|
|
1681 |
if (value == null) {
|
|
|
1682 |
unsetId();
|
|
|
1683 |
} else {
|
|
|
1684 |
setId((Long)value);
|
|
|
1685 |
}
|
|
|
1686 |
break;
|
|
|
1687 |
|
| 957 |
chandransh |
1688 |
case PRODUCT_GROUP:
|
| 483 |
rajveer |
1689 |
if (value == null) {
|
| 957 |
chandransh |
1690 |
unsetProductGroup();
|
| 483 |
rajveer |
1691 |
} else {
|
| 957 |
chandransh |
1692 |
setProductGroup((String)value);
|
| 483 |
rajveer |
1693 |
}
|
|
|
1694 |
break;
|
|
|
1695 |
|
| 957 |
chandransh |
1696 |
case BRAND:
|
|
|
1697 |
if (value == null) {
|
|
|
1698 |
unsetBrand();
|
|
|
1699 |
} else {
|
|
|
1700 |
setBrand((String)value);
|
|
|
1701 |
}
|
|
|
1702 |
break;
|
|
|
1703 |
|
| 483 |
rajveer |
1704 |
case MODEL_NUMBER:
|
|
|
1705 |
if (value == null) {
|
|
|
1706 |
unsetModelNumber();
|
|
|
1707 |
} else {
|
|
|
1708 |
setModelNumber((String)value);
|
|
|
1709 |
}
|
|
|
1710 |
break;
|
|
|
1711 |
|
|
|
1712 |
case MODEL_NAME:
|
|
|
1713 |
if (value == null) {
|
|
|
1714 |
unsetModelName();
|
|
|
1715 |
} else {
|
|
|
1716 |
setModelName((String)value);
|
|
|
1717 |
}
|
|
|
1718 |
break;
|
|
|
1719 |
|
| 1329 |
chandransh |
1720 |
case COLOR:
|
|
|
1721 |
if (value == null) {
|
|
|
1722 |
unsetColor();
|
|
|
1723 |
} else {
|
|
|
1724 |
setColor((String)value);
|
|
|
1725 |
}
|
|
|
1726 |
break;
|
|
|
1727 |
|
| 483 |
rajveer |
1728 |
case CATEGORY:
|
|
|
1729 |
if (value == null) {
|
|
|
1730 |
unsetCategory();
|
|
|
1731 |
} else {
|
| 622 |
chandransh |
1732 |
setCategory((Long)value);
|
| 483 |
rajveer |
1733 |
}
|
|
|
1734 |
break;
|
|
|
1735 |
|
|
|
1736 |
case COMMENTS:
|
|
|
1737 |
if (value == null) {
|
|
|
1738 |
unsetComments();
|
|
|
1739 |
} else {
|
|
|
1740 |
setComments((String)value);
|
|
|
1741 |
}
|
|
|
1742 |
break;
|
|
|
1743 |
|
| 123 |
ashish |
1744 |
case CATALOG_ITEM_ID:
|
| 100 |
ashish |
1745 |
if (value == null) {
|
| 123 |
ashish |
1746 |
unsetCatalogItemId();
|
| 100 |
ashish |
1747 |
} else {
|
| 123 |
ashish |
1748 |
setCatalogItemId((Long)value);
|
| 100 |
ashish |
1749 |
}
|
|
|
1750 |
break;
|
|
|
1751 |
|
| 483 |
rajveer |
1752 |
case FEATURE_ID:
|
| 100 |
ashish |
1753 |
if (value == null) {
|
| 483 |
rajveer |
1754 |
unsetFeatureId();
|
| 100 |
ashish |
1755 |
} else {
|
| 483 |
rajveer |
1756 |
setFeatureId((Long)value);
|
| 100 |
ashish |
1757 |
}
|
|
|
1758 |
break;
|
|
|
1759 |
|
| 483 |
rajveer |
1760 |
case FEATURE_DESCRIPTION:
|
| 103 |
ashish |
1761 |
if (value == null) {
|
| 483 |
rajveer |
1762 |
unsetFeatureDescription();
|
| 103 |
ashish |
1763 |
} else {
|
| 483 |
rajveer |
1764 |
setFeatureDescription((String)value);
|
| 103 |
ashish |
1765 |
}
|
|
|
1766 |
break;
|
|
|
1767 |
|
| 483 |
rajveer |
1768 |
case MRP:
|
| 103 |
ashish |
1769 |
if (value == null) {
|
| 483 |
rajveer |
1770 |
unsetMrp();
|
| 103 |
ashish |
1771 |
} else {
|
| 483 |
rajveer |
1772 |
setMrp((Double)value);
|
| 103 |
ashish |
1773 |
}
|
|
|
1774 |
break;
|
|
|
1775 |
|
| 483 |
rajveer |
1776 |
case SELLING_PRICE:
|
|
|
1777 |
if (value == null) {
|
|
|
1778 |
unsetSellingPrice();
|
|
|
1779 |
} else {
|
|
|
1780 |
setSellingPrice((Double)value);
|
|
|
1781 |
}
|
|
|
1782 |
break;
|
|
|
1783 |
|
| 123 |
ashish |
1784 |
case WEIGHT:
|
|
|
1785 |
if (value == null) {
|
|
|
1786 |
unsetWeight();
|
|
|
1787 |
} else {
|
|
|
1788 |
setWeight((Double)value);
|
|
|
1789 |
}
|
|
|
1790 |
break;
|
|
|
1791 |
|
| 483 |
rajveer |
1792 |
case ADDED_ON:
|
| 123 |
ashish |
1793 |
if (value == null) {
|
| 483 |
rajveer |
1794 |
unsetAddedOn();
|
| 123 |
ashish |
1795 |
} else {
|
| 483 |
rajveer |
1796 |
setAddedOn((Long)value);
|
| 123 |
ashish |
1797 |
}
|
|
|
1798 |
break;
|
|
|
1799 |
|
| 483 |
rajveer |
1800 |
case START_DATE:
|
| 123 |
ashish |
1801 |
if (value == null) {
|
| 483 |
rajveer |
1802 |
unsetStartDate();
|
| 123 |
ashish |
1803 |
} else {
|
| 483 |
rajveer |
1804 |
setStartDate((Long)value);
|
| 123 |
ashish |
1805 |
}
|
|
|
1806 |
break;
|
|
|
1807 |
|
| 483 |
rajveer |
1808 |
case RETIRE_DATE:
|
| 123 |
ashish |
1809 |
if (value == null) {
|
| 483 |
rajveer |
1810 |
unsetRetireDate();
|
| 123 |
ashish |
1811 |
} else {
|
| 483 |
rajveer |
1812 |
setRetireDate((Long)value);
|
| 123 |
ashish |
1813 |
}
|
|
|
1814 |
break;
|
|
|
1815 |
|
| 483 |
rajveer |
1816 |
case ITEM_STATUS:
|
|
|
1817 |
if (value == null) {
|
|
|
1818 |
unsetItemStatus();
|
|
|
1819 |
} else {
|
|
|
1820 |
setItemStatus((status)value);
|
|
|
1821 |
}
|
|
|
1822 |
break;
|
|
|
1823 |
|
| 2034 |
rajveer |
1824 |
case STATUS_DESCRIPTION:
|
|
|
1825 |
if (value == null) {
|
|
|
1826 |
unsetStatus_description();
|
|
|
1827 |
} else {
|
|
|
1828 |
setStatus_description((String)value);
|
|
|
1829 |
}
|
|
|
1830 |
break;
|
|
|
1831 |
|
| 5336 |
rajveer |
1832 |
case OTHER_INFO:
|
|
|
1833 |
if (value == null) {
|
|
|
1834 |
unsetOtherInfo();
|
|
|
1835 |
} else {
|
|
|
1836 |
setOtherInfo((Map<String,String>)value);
|
|
|
1837 |
}
|
|
|
1838 |
break;
|
|
|
1839 |
|
| 607 |
chandransh |
1840 |
case BEST_DEAL_TEXT:
|
|
|
1841 |
if (value == null) {
|
|
|
1842 |
unsetBestDealText();
|
|
|
1843 |
} else {
|
|
|
1844 |
setBestDealText((String)value);
|
|
|
1845 |
}
|
|
|
1846 |
break;
|
|
|
1847 |
|
|
|
1848 |
case BEST_DEAL_VALUE:
|
|
|
1849 |
if (value == null) {
|
|
|
1850 |
unsetBestDealValue();
|
|
|
1851 |
} else {
|
|
|
1852 |
setBestDealValue((Double)value);
|
|
|
1853 |
}
|
|
|
1854 |
break;
|
|
|
1855 |
|
| 1910 |
varun.gupt |
1856 |
case DEFAULT_FOR_ENTITY:
|
|
|
1857 |
if (value == null) {
|
|
|
1858 |
unsetDefaultForEntity();
|
|
|
1859 |
} else {
|
|
|
1860 |
setDefaultForEntity((Boolean)value);
|
|
|
1861 |
}
|
|
|
1862 |
break;
|
|
|
1863 |
|
| 607 |
chandransh |
1864 |
case UPDATED_ON:
|
|
|
1865 |
if (value == null) {
|
|
|
1866 |
unsetUpdatedOn();
|
|
|
1867 |
} else {
|
|
|
1868 |
setUpdatedOn((Long)value);
|
|
|
1869 |
}
|
|
|
1870 |
break;
|
|
|
1871 |
|
| 2064 |
ankur.sing |
1872 |
case BEST_SELLING_RANK:
|
|
|
1873 |
if (value == null) {
|
|
|
1874 |
unsetBestSellingRank();
|
|
|
1875 |
} else {
|
|
|
1876 |
setBestSellingRank((Long)value);
|
|
|
1877 |
}
|
|
|
1878 |
break;
|
|
|
1879 |
|
| 2250 |
ankur.sing |
1880 |
case RISKY:
|
|
|
1881 |
if (value == null) {
|
|
|
1882 |
unsetRisky();
|
|
|
1883 |
} else {
|
|
|
1884 |
setRisky((Boolean)value);
|
|
|
1885 |
}
|
|
|
1886 |
break;
|
|
|
1887 |
|
| 3355 |
chandransh |
1888 |
case EXPECTED_DELAY:
|
|
|
1889 |
if (value == null) {
|
|
|
1890 |
unsetExpectedDelay();
|
|
|
1891 |
} else {
|
|
|
1892 |
setExpectedDelay((Integer)value);
|
|
|
1893 |
}
|
|
|
1894 |
break;
|
|
|
1895 |
|
| 4406 |
anupam.sin |
1896 |
case IS_WAREHOUSE_PREFERENCE_STICKY:
|
|
|
1897 |
if (value == null) {
|
|
|
1898 |
unsetIsWarehousePreferenceSticky();
|
|
|
1899 |
} else {
|
|
|
1900 |
setIsWarehousePreferenceSticky((Boolean)value);
|
|
|
1901 |
}
|
|
|
1902 |
break;
|
|
|
1903 |
|
| 4295 |
varun.gupt |
1904 |
case WARRANTY_PERIOD:
|
|
|
1905 |
if (value == null) {
|
|
|
1906 |
unsetWarrantyPeriod();
|
|
|
1907 |
} else {
|
|
|
1908 |
setWarrantyPeriod((Integer)value);
|
|
|
1909 |
}
|
|
|
1910 |
break;
|
|
|
1911 |
|
| 4506 |
phani.kuma |
1912 |
case PREFERRED_VENDOR:
|
|
|
1913 |
if (value == null) {
|
|
|
1914 |
unsetPreferredVendor();
|
|
|
1915 |
} else {
|
|
|
1916 |
setPreferredVendor((Long)value);
|
|
|
1917 |
}
|
|
|
1918 |
break;
|
|
|
1919 |
|
| 5110 |
mandeep.dh |
1920 |
case TYPE:
|
|
|
1921 |
if (value == null) {
|
|
|
1922 |
unsetType();
|
|
|
1923 |
} else {
|
|
|
1924 |
setType((ItemType)value);
|
|
|
1925 |
}
|
|
|
1926 |
break;
|
|
|
1927 |
|
| 5217 |
amit.gupta |
1928 |
case COMING_SOON_START_DATE:
|
|
|
1929 |
if (value == null) {
|
|
|
1930 |
unsetComingSoonStartDate();
|
|
|
1931 |
} else {
|
|
|
1932 |
setComingSoonStartDate((Long)value);
|
|
|
1933 |
}
|
|
|
1934 |
break;
|
|
|
1935 |
|
|
|
1936 |
case EXPECTED_ARRIVAL_DATE:
|
|
|
1937 |
if (value == null) {
|
|
|
1938 |
unsetExpectedArrivalDate();
|
|
|
1939 |
} else {
|
|
|
1940 |
setExpectedArrivalDate((Long)value);
|
|
|
1941 |
}
|
|
|
1942 |
break;
|
|
|
1943 |
|
| 5385 |
phani.kuma |
1944 |
case HAS_ITEM_NO:
|
|
|
1945 |
if (value == null) {
|
|
|
1946 |
unsetHasItemNo();
|
|
|
1947 |
} else {
|
|
|
1948 |
setHasItemNo((Boolean)value);
|
|
|
1949 |
}
|
|
|
1950 |
break;
|
|
|
1951 |
|
| 7256 |
rajveer |
1952 |
case ACTIVE_ON_STORE:
|
| 5460 |
phani.kuma |
1953 |
if (value == null) {
|
| 7256 |
rajveer |
1954 |
unsetActiveOnStore();
|
| 5460 |
phani.kuma |
1955 |
} else {
|
| 7256 |
rajveer |
1956 |
setActiveOnStore((Boolean)value);
|
| 5460 |
phani.kuma |
1957 |
}
|
|
|
1958 |
break;
|
|
|
1959 |
|
| 6241 |
amit.gupta |
1960 |
case SHOW_SELLING_PRICE:
|
|
|
1961 |
if (value == null) {
|
|
|
1962 |
unsetShowSellingPrice();
|
|
|
1963 |
} else {
|
|
|
1964 |
setShowSellingPrice((Boolean)value);
|
|
|
1965 |
}
|
|
|
1966 |
break;
|
|
|
1967 |
|
| 6777 |
vikram.rag |
1968 |
case BEST_DEALS_DETAILS_TEXT:
|
|
|
1969 |
if (value == null) {
|
|
|
1970 |
unsetBestDealsDetailsText();
|
|
|
1971 |
} else {
|
|
|
1972 |
setBestDealsDetailsText((String)value);
|
|
|
1973 |
}
|
|
|
1974 |
break;
|
|
|
1975 |
|
|
|
1976 |
case BEST_DEALS_DETAILS_LINK:
|
|
|
1977 |
if (value == null) {
|
|
|
1978 |
unsetBestDealsDetailsLink();
|
|
|
1979 |
} else {
|
|
|
1980 |
setBestDealsDetailsLink((String)value);
|
|
|
1981 |
}
|
|
|
1982 |
break;
|
|
|
1983 |
|
| 6805 |
anupam.sin |
1984 |
case PREFERRED_INSURER:
|
|
|
1985 |
if (value == null) {
|
|
|
1986 |
unsetPreferredInsurer();
|
|
|
1987 |
} else {
|
|
|
1988 |
setPreferredInsurer((Long)value);
|
|
|
1989 |
}
|
|
|
1990 |
break;
|
|
|
1991 |
|
| 7291 |
vikram.rag |
1992 |
case ASIN:
|
|
|
1993 |
if (value == null) {
|
|
|
1994 |
unsetAsin();
|
|
|
1995 |
} else {
|
|
|
1996 |
setAsin((String)value);
|
|
|
1997 |
}
|
|
|
1998 |
break;
|
|
|
1999 |
|
|
|
2000 |
case DEFAULT_INVENTORY:
|
|
|
2001 |
if (value == null) {
|
|
|
2002 |
unsetDefaultInventory();
|
|
|
2003 |
} else {
|
|
|
2004 |
setDefaultInventory((Long)value);
|
|
|
2005 |
}
|
|
|
2006 |
break;
|
|
|
2007 |
|
|
|
2008 |
case HOLD_INVENTORY:
|
|
|
2009 |
if (value == null) {
|
|
|
2010 |
unsetHoldInventory();
|
|
|
2011 |
} else {
|
|
|
2012 |
setHoldInventory((Long)value);
|
|
|
2013 |
}
|
|
|
2014 |
break;
|
|
|
2015 |
|
| 9841 |
rajveer |
2016 |
case HOLD_OVERRIDE:
|
|
|
2017 |
if (value == null) {
|
|
|
2018 |
unsetHoldOverride();
|
|
|
2019 |
} else {
|
|
|
2020 |
setHoldOverride((Boolean)value);
|
|
|
2021 |
}
|
|
|
2022 |
break;
|
|
|
2023 |
|
| 100 |
ashish |
2024 |
}
|
|
|
2025 |
}
|
|
|
2026 |
|
|
|
2027 |
public Object getFieldValue(_Fields field) {
|
|
|
2028 |
switch (field) {
|
|
|
2029 |
case ID:
|
| 3430 |
rajveer |
2030 |
return Long.valueOf(getId());
|
| 100 |
ashish |
2031 |
|
| 957 |
chandransh |
2032 |
case PRODUCT_GROUP:
|
|
|
2033 |
return getProductGroup();
|
| 483 |
rajveer |
2034 |
|
| 957 |
chandransh |
2035 |
case BRAND:
|
|
|
2036 |
return getBrand();
|
|
|
2037 |
|
| 483 |
rajveer |
2038 |
case MODEL_NUMBER:
|
|
|
2039 |
return getModelNumber();
|
|
|
2040 |
|
|
|
2041 |
case MODEL_NAME:
|
|
|
2042 |
return getModelName();
|
|
|
2043 |
|
| 1329 |
chandransh |
2044 |
case COLOR:
|
|
|
2045 |
return getColor();
|
|
|
2046 |
|
| 483 |
rajveer |
2047 |
case CATEGORY:
|
| 3430 |
rajveer |
2048 |
return Long.valueOf(getCategory());
|
| 483 |
rajveer |
2049 |
|
|
|
2050 |
case COMMENTS:
|
|
|
2051 |
return getComments();
|
|
|
2052 |
|
| 123 |
ashish |
2053 |
case CATALOG_ITEM_ID:
|
| 3430 |
rajveer |
2054 |
return Long.valueOf(getCatalogItemId());
|
| 100 |
ashish |
2055 |
|
| 483 |
rajveer |
2056 |
case FEATURE_ID:
|
| 3430 |
rajveer |
2057 |
return Long.valueOf(getFeatureId());
|
| 483 |
rajveer |
2058 |
|
|
|
2059 |
case FEATURE_DESCRIPTION:
|
|
|
2060 |
return getFeatureDescription();
|
|
|
2061 |
|
|
|
2062 |
case MRP:
|
| 3430 |
rajveer |
2063 |
return Double.valueOf(getMrp());
|
| 483 |
rajveer |
2064 |
|
|
|
2065 |
case SELLING_PRICE:
|
| 3430 |
rajveer |
2066 |
return Double.valueOf(getSellingPrice());
|
| 483 |
rajveer |
2067 |
|
|
|
2068 |
case WEIGHT:
|
| 3430 |
rajveer |
2069 |
return Double.valueOf(getWeight());
|
| 483 |
rajveer |
2070 |
|
| 103 |
ashish |
2071 |
case ADDED_ON:
|
| 3430 |
rajveer |
2072 |
return Long.valueOf(getAddedOn());
|
| 103 |
ashish |
2073 |
|
|
|
2074 |
case START_DATE:
|
| 3430 |
rajveer |
2075 |
return Long.valueOf(getStartDate());
|
| 103 |
ashish |
2076 |
|
| 483 |
rajveer |
2077 |
case RETIRE_DATE:
|
| 3430 |
rajveer |
2078 |
return Long.valueOf(getRetireDate());
|
| 483 |
rajveer |
2079 |
|
| 103 |
ashish |
2080 |
case ITEM_STATUS:
|
|
|
2081 |
return getItemStatus();
|
|
|
2082 |
|
| 2034 |
rajveer |
2083 |
case STATUS_DESCRIPTION:
|
|
|
2084 |
return getStatus_description();
|
|
|
2085 |
|
| 5336 |
rajveer |
2086 |
case OTHER_INFO:
|
|
|
2087 |
return getOtherInfo();
|
|
|
2088 |
|
| 607 |
chandransh |
2089 |
case BEST_DEAL_TEXT:
|
|
|
2090 |
return getBestDealText();
|
|
|
2091 |
|
|
|
2092 |
case BEST_DEAL_VALUE:
|
| 3430 |
rajveer |
2093 |
return Double.valueOf(getBestDealValue());
|
| 607 |
chandransh |
2094 |
|
| 1910 |
varun.gupt |
2095 |
case DEFAULT_FOR_ENTITY:
|
| 3430 |
rajveer |
2096 |
return Boolean.valueOf(isDefaultForEntity());
|
| 1910 |
varun.gupt |
2097 |
|
| 607 |
chandransh |
2098 |
case UPDATED_ON:
|
| 3430 |
rajveer |
2099 |
return Long.valueOf(getUpdatedOn());
|
| 607 |
chandransh |
2100 |
|
| 2064 |
ankur.sing |
2101 |
case BEST_SELLING_RANK:
|
| 3430 |
rajveer |
2102 |
return Long.valueOf(getBestSellingRank());
|
| 2064 |
ankur.sing |
2103 |
|
| 2250 |
ankur.sing |
2104 |
case RISKY:
|
| 3430 |
rajveer |
2105 |
return Boolean.valueOf(isRisky());
|
| 2250 |
ankur.sing |
2106 |
|
| 3355 |
chandransh |
2107 |
case EXPECTED_DELAY:
|
| 3430 |
rajveer |
2108 |
return Integer.valueOf(getExpectedDelay());
|
| 3355 |
chandransh |
2109 |
|
| 4406 |
anupam.sin |
2110 |
case IS_WAREHOUSE_PREFERENCE_STICKY:
|
|
|
2111 |
return Boolean.valueOf(isIsWarehousePreferenceSticky());
|
|
|
2112 |
|
| 4295 |
varun.gupt |
2113 |
case WARRANTY_PERIOD:
|
|
|
2114 |
return Integer.valueOf(getWarrantyPeriod());
|
|
|
2115 |
|
| 4506 |
phani.kuma |
2116 |
case PREFERRED_VENDOR:
|
|
|
2117 |
return Long.valueOf(getPreferredVendor());
|
|
|
2118 |
|
| 5110 |
mandeep.dh |
2119 |
case TYPE:
|
|
|
2120 |
return getType();
|
|
|
2121 |
|
| 5217 |
amit.gupta |
2122 |
case COMING_SOON_START_DATE:
|
|
|
2123 |
return Long.valueOf(getComingSoonStartDate());
|
|
|
2124 |
|
|
|
2125 |
case EXPECTED_ARRIVAL_DATE:
|
|
|
2126 |
return Long.valueOf(getExpectedArrivalDate());
|
|
|
2127 |
|
| 5385 |
phani.kuma |
2128 |
case HAS_ITEM_NO:
|
|
|
2129 |
return Boolean.valueOf(isHasItemNo());
|
|
|
2130 |
|
| 7256 |
rajveer |
2131 |
case ACTIVE_ON_STORE:
|
|
|
2132 |
return Boolean.valueOf(isActiveOnStore());
|
| 5460 |
phani.kuma |
2133 |
|
| 6241 |
amit.gupta |
2134 |
case SHOW_SELLING_PRICE:
|
|
|
2135 |
return Boolean.valueOf(isShowSellingPrice());
|
|
|
2136 |
|
| 6777 |
vikram.rag |
2137 |
case BEST_DEALS_DETAILS_TEXT:
|
|
|
2138 |
return getBestDealsDetailsText();
|
|
|
2139 |
|
|
|
2140 |
case BEST_DEALS_DETAILS_LINK:
|
|
|
2141 |
return getBestDealsDetailsLink();
|
|
|
2142 |
|
| 6805 |
anupam.sin |
2143 |
case PREFERRED_INSURER:
|
|
|
2144 |
return Long.valueOf(getPreferredInsurer());
|
|
|
2145 |
|
| 7291 |
vikram.rag |
2146 |
case ASIN:
|
|
|
2147 |
return getAsin();
|
|
|
2148 |
|
|
|
2149 |
case DEFAULT_INVENTORY:
|
|
|
2150 |
return Long.valueOf(getDefaultInventory());
|
|
|
2151 |
|
|
|
2152 |
case HOLD_INVENTORY:
|
|
|
2153 |
return Long.valueOf(getHoldInventory());
|
|
|
2154 |
|
| 9841 |
rajveer |
2155 |
case HOLD_OVERRIDE:
|
|
|
2156 |
return Boolean.valueOf(isHoldOverride());
|
|
|
2157 |
|
| 100 |
ashish |
2158 |
}
|
|
|
2159 |
throw new IllegalStateException();
|
|
|
2160 |
}
|
|
|
2161 |
|
| 3430 |
rajveer |
2162 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
2163 |
public boolean isSet(_Fields field) {
|
|
|
2164 |
if (field == null) {
|
|
|
2165 |
throw new IllegalArgumentException();
|
|
|
2166 |
}
|
| 100 |
ashish |
2167 |
|
|
|
2168 |
switch (field) {
|
|
|
2169 |
case ID:
|
|
|
2170 |
return isSetId();
|
| 957 |
chandransh |
2171 |
case PRODUCT_GROUP:
|
|
|
2172 |
return isSetProductGroup();
|
|
|
2173 |
case BRAND:
|
|
|
2174 |
return isSetBrand();
|
| 483 |
rajveer |
2175 |
case MODEL_NUMBER:
|
|
|
2176 |
return isSetModelNumber();
|
|
|
2177 |
case MODEL_NAME:
|
|
|
2178 |
return isSetModelName();
|
| 1329 |
chandransh |
2179 |
case COLOR:
|
|
|
2180 |
return isSetColor();
|
| 483 |
rajveer |
2181 |
case CATEGORY:
|
|
|
2182 |
return isSetCategory();
|
|
|
2183 |
case COMMENTS:
|
|
|
2184 |
return isSetComments();
|
| 123 |
ashish |
2185 |
case CATALOG_ITEM_ID:
|
|
|
2186 |
return isSetCatalogItemId();
|
| 483 |
rajveer |
2187 |
case FEATURE_ID:
|
|
|
2188 |
return isSetFeatureId();
|
|
|
2189 |
case FEATURE_DESCRIPTION:
|
|
|
2190 |
return isSetFeatureDescription();
|
|
|
2191 |
case MRP:
|
|
|
2192 |
return isSetMrp();
|
|
|
2193 |
case SELLING_PRICE:
|
|
|
2194 |
return isSetSellingPrice();
|
|
|
2195 |
case WEIGHT:
|
|
|
2196 |
return isSetWeight();
|
| 103 |
ashish |
2197 |
case ADDED_ON:
|
|
|
2198 |
return isSetAddedOn();
|
|
|
2199 |
case START_DATE:
|
|
|
2200 |
return isSetStartDate();
|
| 483 |
rajveer |
2201 |
case RETIRE_DATE:
|
|
|
2202 |
return isSetRetireDate();
|
| 103 |
ashish |
2203 |
case ITEM_STATUS:
|
|
|
2204 |
return isSetItemStatus();
|
| 2034 |
rajveer |
2205 |
case STATUS_DESCRIPTION:
|
|
|
2206 |
return isSetStatus_description();
|
| 5336 |
rajveer |
2207 |
case OTHER_INFO:
|
|
|
2208 |
return isSetOtherInfo();
|
| 607 |
chandransh |
2209 |
case BEST_DEAL_TEXT:
|
|
|
2210 |
return isSetBestDealText();
|
|
|
2211 |
case BEST_DEAL_VALUE:
|
|
|
2212 |
return isSetBestDealValue();
|
| 1910 |
varun.gupt |
2213 |
case DEFAULT_FOR_ENTITY:
|
|
|
2214 |
return isSetDefaultForEntity();
|
| 607 |
chandransh |
2215 |
case UPDATED_ON:
|
|
|
2216 |
return isSetUpdatedOn();
|
| 2064 |
ankur.sing |
2217 |
case BEST_SELLING_RANK:
|
|
|
2218 |
return isSetBestSellingRank();
|
| 2250 |
ankur.sing |
2219 |
case RISKY:
|
|
|
2220 |
return isSetRisky();
|
| 3355 |
chandransh |
2221 |
case EXPECTED_DELAY:
|
|
|
2222 |
return isSetExpectedDelay();
|
| 4406 |
anupam.sin |
2223 |
case IS_WAREHOUSE_PREFERENCE_STICKY:
|
|
|
2224 |
return isSetIsWarehousePreferenceSticky();
|
| 4295 |
varun.gupt |
2225 |
case WARRANTY_PERIOD:
|
|
|
2226 |
return isSetWarrantyPeriod();
|
| 4506 |
phani.kuma |
2227 |
case PREFERRED_VENDOR:
|
|
|
2228 |
return isSetPreferredVendor();
|
| 5110 |
mandeep.dh |
2229 |
case TYPE:
|
|
|
2230 |
return isSetType();
|
| 5217 |
amit.gupta |
2231 |
case COMING_SOON_START_DATE:
|
|
|
2232 |
return isSetComingSoonStartDate();
|
|
|
2233 |
case EXPECTED_ARRIVAL_DATE:
|
|
|
2234 |
return isSetExpectedArrivalDate();
|
| 5385 |
phani.kuma |
2235 |
case HAS_ITEM_NO:
|
|
|
2236 |
return isSetHasItemNo();
|
| 7256 |
rajveer |
2237 |
case ACTIVE_ON_STORE:
|
|
|
2238 |
return isSetActiveOnStore();
|
| 6241 |
amit.gupta |
2239 |
case SHOW_SELLING_PRICE:
|
|
|
2240 |
return isSetShowSellingPrice();
|
| 6777 |
vikram.rag |
2241 |
case BEST_DEALS_DETAILS_TEXT:
|
|
|
2242 |
return isSetBestDealsDetailsText();
|
|
|
2243 |
case BEST_DEALS_DETAILS_LINK:
|
|
|
2244 |
return isSetBestDealsDetailsLink();
|
| 6805 |
anupam.sin |
2245 |
case PREFERRED_INSURER:
|
|
|
2246 |
return isSetPreferredInsurer();
|
| 7291 |
vikram.rag |
2247 |
case ASIN:
|
|
|
2248 |
return isSetAsin();
|
|
|
2249 |
case DEFAULT_INVENTORY:
|
|
|
2250 |
return isSetDefaultInventory();
|
|
|
2251 |
case HOLD_INVENTORY:
|
|
|
2252 |
return isSetHoldInventory();
|
| 9841 |
rajveer |
2253 |
case HOLD_OVERRIDE:
|
|
|
2254 |
return isSetHoldOverride();
|
| 100 |
ashish |
2255 |
}
|
|
|
2256 |
throw new IllegalStateException();
|
|
|
2257 |
}
|
|
|
2258 |
|
|
|
2259 |
@Override
|
|
|
2260 |
public boolean equals(Object that) {
|
|
|
2261 |
if (that == null)
|
|
|
2262 |
return false;
|
|
|
2263 |
if (that instanceof Item)
|
|
|
2264 |
return this.equals((Item)that);
|
|
|
2265 |
return false;
|
|
|
2266 |
}
|
|
|
2267 |
|
|
|
2268 |
public boolean equals(Item that) {
|
|
|
2269 |
if (that == null)
|
|
|
2270 |
return false;
|
|
|
2271 |
|
|
|
2272 |
boolean this_present_id = true;
|
|
|
2273 |
boolean that_present_id = true;
|
|
|
2274 |
if (this_present_id || that_present_id) {
|
|
|
2275 |
if (!(this_present_id && that_present_id))
|
|
|
2276 |
return false;
|
|
|
2277 |
if (this.id != that.id)
|
|
|
2278 |
return false;
|
|
|
2279 |
}
|
|
|
2280 |
|
| 957 |
chandransh |
2281 |
boolean this_present_productGroup = true && this.isSetProductGroup();
|
|
|
2282 |
boolean that_present_productGroup = true && that.isSetProductGroup();
|
|
|
2283 |
if (this_present_productGroup || that_present_productGroup) {
|
|
|
2284 |
if (!(this_present_productGroup && that_present_productGroup))
|
| 483 |
rajveer |
2285 |
return false;
|
| 957 |
chandransh |
2286 |
if (!this.productGroup.equals(that.productGroup))
|
| 483 |
rajveer |
2287 |
return false;
|
|
|
2288 |
}
|
|
|
2289 |
|
| 957 |
chandransh |
2290 |
boolean this_present_brand = true && this.isSetBrand();
|
|
|
2291 |
boolean that_present_brand = true && that.isSetBrand();
|
|
|
2292 |
if (this_present_brand || that_present_brand) {
|
|
|
2293 |
if (!(this_present_brand && that_present_brand))
|
|
|
2294 |
return false;
|
|
|
2295 |
if (!this.brand.equals(that.brand))
|
|
|
2296 |
return false;
|
|
|
2297 |
}
|
|
|
2298 |
|
| 483 |
rajveer |
2299 |
boolean this_present_modelNumber = true && this.isSetModelNumber();
|
|
|
2300 |
boolean that_present_modelNumber = true && that.isSetModelNumber();
|
|
|
2301 |
if (this_present_modelNumber || that_present_modelNumber) {
|
|
|
2302 |
if (!(this_present_modelNumber && that_present_modelNumber))
|
|
|
2303 |
return false;
|
|
|
2304 |
if (!this.modelNumber.equals(that.modelNumber))
|
|
|
2305 |
return false;
|
|
|
2306 |
}
|
|
|
2307 |
|
|
|
2308 |
boolean this_present_modelName = true && this.isSetModelName();
|
|
|
2309 |
boolean that_present_modelName = true && that.isSetModelName();
|
|
|
2310 |
if (this_present_modelName || that_present_modelName) {
|
|
|
2311 |
if (!(this_present_modelName && that_present_modelName))
|
|
|
2312 |
return false;
|
|
|
2313 |
if (!this.modelName.equals(that.modelName))
|
|
|
2314 |
return false;
|
|
|
2315 |
}
|
|
|
2316 |
|
| 1329 |
chandransh |
2317 |
boolean this_present_color = true && this.isSetColor();
|
|
|
2318 |
boolean that_present_color = true && that.isSetColor();
|
|
|
2319 |
if (this_present_color || that_present_color) {
|
|
|
2320 |
if (!(this_present_color && that_present_color))
|
|
|
2321 |
return false;
|
|
|
2322 |
if (!this.color.equals(that.color))
|
|
|
2323 |
return false;
|
|
|
2324 |
}
|
|
|
2325 |
|
| 622 |
chandransh |
2326 |
boolean this_present_category = true;
|
|
|
2327 |
boolean that_present_category = true;
|
| 483 |
rajveer |
2328 |
if (this_present_category || that_present_category) {
|
|
|
2329 |
if (!(this_present_category && that_present_category))
|
|
|
2330 |
return false;
|
| 622 |
chandransh |
2331 |
if (this.category != that.category)
|
| 483 |
rajveer |
2332 |
return false;
|
|
|
2333 |
}
|
|
|
2334 |
|
|
|
2335 |
boolean this_present_comments = true && this.isSetComments();
|
|
|
2336 |
boolean that_present_comments = true && that.isSetComments();
|
|
|
2337 |
if (this_present_comments || that_present_comments) {
|
|
|
2338 |
if (!(this_present_comments && that_present_comments))
|
|
|
2339 |
return false;
|
|
|
2340 |
if (!this.comments.equals(that.comments))
|
|
|
2341 |
return false;
|
|
|
2342 |
}
|
|
|
2343 |
|
| 123 |
ashish |
2344 |
boolean this_present_catalogItemId = true;
|
|
|
2345 |
boolean that_present_catalogItemId = true;
|
|
|
2346 |
if (this_present_catalogItemId || that_present_catalogItemId) {
|
|
|
2347 |
if (!(this_present_catalogItemId && that_present_catalogItemId))
|
| 100 |
ashish |
2348 |
return false;
|
| 123 |
ashish |
2349 |
if (this.catalogItemId != that.catalogItemId)
|
| 100 |
ashish |
2350 |
return false;
|
|
|
2351 |
}
|
|
|
2352 |
|
| 483 |
rajveer |
2353 |
boolean this_present_featureId = true;
|
|
|
2354 |
boolean that_present_featureId = true;
|
|
|
2355 |
if (this_present_featureId || that_present_featureId) {
|
|
|
2356 |
if (!(this_present_featureId && that_present_featureId))
|
|
|
2357 |
return false;
|
|
|
2358 |
if (this.featureId != that.featureId)
|
|
|
2359 |
return false;
|
|
|
2360 |
}
|
|
|
2361 |
|
|
|
2362 |
boolean this_present_featureDescription = true && this.isSetFeatureDescription();
|
|
|
2363 |
boolean that_present_featureDescription = true && that.isSetFeatureDescription();
|
|
|
2364 |
if (this_present_featureDescription || that_present_featureDescription) {
|
|
|
2365 |
if (!(this_present_featureDescription && that_present_featureDescription))
|
|
|
2366 |
return false;
|
|
|
2367 |
if (!this.featureDescription.equals(that.featureDescription))
|
|
|
2368 |
return false;
|
|
|
2369 |
}
|
|
|
2370 |
|
| 2128 |
ankur.sing |
2371 |
boolean this_present_mrp = true && this.isSetMrp();
|
|
|
2372 |
boolean that_present_mrp = true && that.isSetMrp();
|
| 483 |
rajveer |
2373 |
if (this_present_mrp || that_present_mrp) {
|
|
|
2374 |
if (!(this_present_mrp && that_present_mrp))
|
|
|
2375 |
return false;
|
|
|
2376 |
if (this.mrp != that.mrp)
|
|
|
2377 |
return false;
|
|
|
2378 |
}
|
|
|
2379 |
|
| 2128 |
ankur.sing |
2380 |
boolean this_present_sellingPrice = true && this.isSetSellingPrice();
|
|
|
2381 |
boolean that_present_sellingPrice = true && that.isSetSellingPrice();
|
| 483 |
rajveer |
2382 |
if (this_present_sellingPrice || that_present_sellingPrice) {
|
|
|
2383 |
if (!(this_present_sellingPrice && that_present_sellingPrice))
|
|
|
2384 |
return false;
|
|
|
2385 |
if (this.sellingPrice != that.sellingPrice)
|
|
|
2386 |
return false;
|
|
|
2387 |
}
|
|
|
2388 |
|
| 2128 |
ankur.sing |
2389 |
boolean this_present_weight = true && this.isSetWeight();
|
|
|
2390 |
boolean that_present_weight = true && that.isSetWeight();
|
| 483 |
rajveer |
2391 |
if (this_present_weight || that_present_weight) {
|
|
|
2392 |
if (!(this_present_weight && that_present_weight))
|
|
|
2393 |
return false;
|
|
|
2394 |
if (this.weight != that.weight)
|
|
|
2395 |
return false;
|
|
|
2396 |
}
|
|
|
2397 |
|
| 103 |
ashish |
2398 |
boolean this_present_addedOn = true;
|
|
|
2399 |
boolean that_present_addedOn = true;
|
|
|
2400 |
if (this_present_addedOn || that_present_addedOn) {
|
|
|
2401 |
if (!(this_present_addedOn && that_present_addedOn))
|
|
|
2402 |
return false;
|
|
|
2403 |
if (this.addedOn != that.addedOn)
|
|
|
2404 |
return false;
|
|
|
2405 |
}
|
|
|
2406 |
|
| 2491 |
ankur.sing |
2407 |
boolean this_present_startDate = true && this.isSetStartDate();
|
|
|
2408 |
boolean that_present_startDate = true && that.isSetStartDate();
|
| 103 |
ashish |
2409 |
if (this_present_startDate || that_present_startDate) {
|
|
|
2410 |
if (!(this_present_startDate && that_present_startDate))
|
|
|
2411 |
return false;
|
|
|
2412 |
if (this.startDate != that.startDate)
|
|
|
2413 |
return false;
|
|
|
2414 |
}
|
|
|
2415 |
|
| 2491 |
ankur.sing |
2416 |
boolean this_present_retireDate = true && this.isSetRetireDate();
|
|
|
2417 |
boolean that_present_retireDate = true && that.isSetRetireDate();
|
| 483 |
rajveer |
2418 |
if (this_present_retireDate || that_present_retireDate) {
|
|
|
2419 |
if (!(this_present_retireDate && that_present_retireDate))
|
|
|
2420 |
return false;
|
|
|
2421 |
if (this.retireDate != that.retireDate)
|
|
|
2422 |
return false;
|
|
|
2423 |
}
|
|
|
2424 |
|
| 103 |
ashish |
2425 |
boolean this_present_itemStatus = true && this.isSetItemStatus();
|
|
|
2426 |
boolean that_present_itemStatus = true && that.isSetItemStatus();
|
|
|
2427 |
if (this_present_itemStatus || that_present_itemStatus) {
|
|
|
2428 |
if (!(this_present_itemStatus && that_present_itemStatus))
|
|
|
2429 |
return false;
|
|
|
2430 |
if (!this.itemStatus.equals(that.itemStatus))
|
|
|
2431 |
return false;
|
|
|
2432 |
}
|
|
|
2433 |
|
| 2034 |
rajveer |
2434 |
boolean this_present_status_description = true && this.isSetStatus_description();
|
|
|
2435 |
boolean that_present_status_description = true && that.isSetStatus_description();
|
|
|
2436 |
if (this_present_status_description || that_present_status_description) {
|
|
|
2437 |
if (!(this_present_status_description && that_present_status_description))
|
|
|
2438 |
return false;
|
|
|
2439 |
if (!this.status_description.equals(that.status_description))
|
|
|
2440 |
return false;
|
|
|
2441 |
}
|
|
|
2442 |
|
| 5336 |
rajveer |
2443 |
boolean this_present_otherInfo = true && this.isSetOtherInfo();
|
|
|
2444 |
boolean that_present_otherInfo = true && that.isSetOtherInfo();
|
|
|
2445 |
if (this_present_otherInfo || that_present_otherInfo) {
|
|
|
2446 |
if (!(this_present_otherInfo && that_present_otherInfo))
|
|
|
2447 |
return false;
|
|
|
2448 |
if (!this.otherInfo.equals(that.otherInfo))
|
|
|
2449 |
return false;
|
|
|
2450 |
}
|
|
|
2451 |
|
| 607 |
chandransh |
2452 |
boolean this_present_bestDealText = true && this.isSetBestDealText();
|
|
|
2453 |
boolean that_present_bestDealText = true && that.isSetBestDealText();
|
|
|
2454 |
if (this_present_bestDealText || that_present_bestDealText) {
|
|
|
2455 |
if (!(this_present_bestDealText && that_present_bestDealText))
|
|
|
2456 |
return false;
|
|
|
2457 |
if (!this.bestDealText.equals(that.bestDealText))
|
|
|
2458 |
return false;
|
|
|
2459 |
}
|
|
|
2460 |
|
| 2128 |
ankur.sing |
2461 |
boolean this_present_bestDealValue = true && this.isSetBestDealValue();
|
|
|
2462 |
boolean that_present_bestDealValue = true && that.isSetBestDealValue();
|
| 607 |
chandransh |
2463 |
if (this_present_bestDealValue || that_present_bestDealValue) {
|
|
|
2464 |
if (!(this_present_bestDealValue && that_present_bestDealValue))
|
|
|
2465 |
return false;
|
|
|
2466 |
if (this.bestDealValue != that.bestDealValue)
|
|
|
2467 |
return false;
|
|
|
2468 |
}
|
|
|
2469 |
|
| 1910 |
varun.gupt |
2470 |
boolean this_present_defaultForEntity = true;
|
|
|
2471 |
boolean that_present_defaultForEntity = true;
|
|
|
2472 |
if (this_present_defaultForEntity || that_present_defaultForEntity) {
|
|
|
2473 |
if (!(this_present_defaultForEntity && that_present_defaultForEntity))
|
|
|
2474 |
return false;
|
|
|
2475 |
if (this.defaultForEntity != that.defaultForEntity)
|
|
|
2476 |
return false;
|
|
|
2477 |
}
|
|
|
2478 |
|
| 607 |
chandransh |
2479 |
boolean this_present_updatedOn = true;
|
|
|
2480 |
boolean that_present_updatedOn = true;
|
|
|
2481 |
if (this_present_updatedOn || that_present_updatedOn) {
|
|
|
2482 |
if (!(this_present_updatedOn && that_present_updatedOn))
|
|
|
2483 |
return false;
|
|
|
2484 |
if (this.updatedOn != that.updatedOn)
|
|
|
2485 |
return false;
|
|
|
2486 |
}
|
|
|
2487 |
|
| 2128 |
ankur.sing |
2488 |
boolean this_present_bestSellingRank = true && this.isSetBestSellingRank();
|
|
|
2489 |
boolean that_present_bestSellingRank = true && that.isSetBestSellingRank();
|
| 2064 |
ankur.sing |
2490 |
if (this_present_bestSellingRank || that_present_bestSellingRank) {
|
|
|
2491 |
if (!(this_present_bestSellingRank && that_present_bestSellingRank))
|
|
|
2492 |
return false;
|
|
|
2493 |
if (this.bestSellingRank != that.bestSellingRank)
|
|
|
2494 |
return false;
|
|
|
2495 |
}
|
|
|
2496 |
|
| 2250 |
ankur.sing |
2497 |
boolean this_present_risky = true;
|
|
|
2498 |
boolean that_present_risky = true;
|
|
|
2499 |
if (this_present_risky || that_present_risky) {
|
|
|
2500 |
if (!(this_present_risky && that_present_risky))
|
|
|
2501 |
return false;
|
|
|
2502 |
if (this.risky != that.risky)
|
|
|
2503 |
return false;
|
|
|
2504 |
}
|
|
|
2505 |
|
| 3355 |
chandransh |
2506 |
boolean this_present_expectedDelay = true && this.isSetExpectedDelay();
|
|
|
2507 |
boolean that_present_expectedDelay = true && that.isSetExpectedDelay();
|
|
|
2508 |
if (this_present_expectedDelay || that_present_expectedDelay) {
|
|
|
2509 |
if (!(this_present_expectedDelay && that_present_expectedDelay))
|
|
|
2510 |
return false;
|
|
|
2511 |
if (this.expectedDelay != that.expectedDelay)
|
|
|
2512 |
return false;
|
|
|
2513 |
}
|
|
|
2514 |
|
| 4406 |
anupam.sin |
2515 |
boolean this_present_isWarehousePreferenceSticky = true && this.isSetIsWarehousePreferenceSticky();
|
|
|
2516 |
boolean that_present_isWarehousePreferenceSticky = true && that.isSetIsWarehousePreferenceSticky();
|
|
|
2517 |
if (this_present_isWarehousePreferenceSticky || that_present_isWarehousePreferenceSticky) {
|
|
|
2518 |
if (!(this_present_isWarehousePreferenceSticky && that_present_isWarehousePreferenceSticky))
|
|
|
2519 |
return false;
|
|
|
2520 |
if (this.isWarehousePreferenceSticky != that.isWarehousePreferenceSticky)
|
|
|
2521 |
return false;
|
|
|
2522 |
}
|
|
|
2523 |
|
| 4295 |
varun.gupt |
2524 |
boolean this_present_warrantyPeriod = true;
|
|
|
2525 |
boolean that_present_warrantyPeriod = true;
|
|
|
2526 |
if (this_present_warrantyPeriod || that_present_warrantyPeriod) {
|
|
|
2527 |
if (!(this_present_warrantyPeriod && that_present_warrantyPeriod))
|
|
|
2528 |
return false;
|
|
|
2529 |
if (this.warrantyPeriod != that.warrantyPeriod)
|
|
|
2530 |
return false;
|
|
|
2531 |
}
|
|
|
2532 |
|
| 4506 |
phani.kuma |
2533 |
boolean this_present_preferredVendor = true && this.isSetPreferredVendor();
|
|
|
2534 |
boolean that_present_preferredVendor = true && that.isSetPreferredVendor();
|
|
|
2535 |
if (this_present_preferredVendor || that_present_preferredVendor) {
|
|
|
2536 |
if (!(this_present_preferredVendor && that_present_preferredVendor))
|
|
|
2537 |
return false;
|
|
|
2538 |
if (this.preferredVendor != that.preferredVendor)
|
|
|
2539 |
return false;
|
|
|
2540 |
}
|
|
|
2541 |
|
| 5110 |
mandeep.dh |
2542 |
boolean this_present_type = true && this.isSetType();
|
|
|
2543 |
boolean that_present_type = true && that.isSetType();
|
|
|
2544 |
if (this_present_type || that_present_type) {
|
|
|
2545 |
if (!(this_present_type && that_present_type))
|
|
|
2546 |
return false;
|
|
|
2547 |
if (!this.type.equals(that.type))
|
|
|
2548 |
return false;
|
|
|
2549 |
}
|
|
|
2550 |
|
| 5217 |
amit.gupta |
2551 |
boolean this_present_comingSoonStartDate = true && this.isSetComingSoonStartDate();
|
|
|
2552 |
boolean that_present_comingSoonStartDate = true && that.isSetComingSoonStartDate();
|
|
|
2553 |
if (this_present_comingSoonStartDate || that_present_comingSoonStartDate) {
|
|
|
2554 |
if (!(this_present_comingSoonStartDate && that_present_comingSoonStartDate))
|
|
|
2555 |
return false;
|
|
|
2556 |
if (this.comingSoonStartDate != that.comingSoonStartDate)
|
|
|
2557 |
return false;
|
|
|
2558 |
}
|
|
|
2559 |
|
|
|
2560 |
boolean this_present_expectedArrivalDate = true && this.isSetExpectedArrivalDate();
|
|
|
2561 |
boolean that_present_expectedArrivalDate = true && that.isSetExpectedArrivalDate();
|
|
|
2562 |
if (this_present_expectedArrivalDate || that_present_expectedArrivalDate) {
|
|
|
2563 |
if (!(this_present_expectedArrivalDate && that_present_expectedArrivalDate))
|
|
|
2564 |
return false;
|
|
|
2565 |
if (this.expectedArrivalDate != that.expectedArrivalDate)
|
|
|
2566 |
return false;
|
|
|
2567 |
}
|
|
|
2568 |
|
| 5385 |
phani.kuma |
2569 |
boolean this_present_hasItemNo = true;
|
|
|
2570 |
boolean that_present_hasItemNo = true;
|
|
|
2571 |
if (this_present_hasItemNo || that_present_hasItemNo) {
|
|
|
2572 |
if (!(this_present_hasItemNo && that_present_hasItemNo))
|
|
|
2573 |
return false;
|
|
|
2574 |
if (this.hasItemNo != that.hasItemNo)
|
|
|
2575 |
return false;
|
|
|
2576 |
}
|
|
|
2577 |
|
| 7256 |
rajveer |
2578 |
boolean this_present_activeOnStore = true;
|
|
|
2579 |
boolean that_present_activeOnStore = true;
|
|
|
2580 |
if (this_present_activeOnStore || that_present_activeOnStore) {
|
|
|
2581 |
if (!(this_present_activeOnStore && that_present_activeOnStore))
|
| 5460 |
phani.kuma |
2582 |
return false;
|
| 7256 |
rajveer |
2583 |
if (this.activeOnStore != that.activeOnStore)
|
| 5460 |
phani.kuma |
2584 |
return false;
|
|
|
2585 |
}
|
|
|
2586 |
|
| 6241 |
amit.gupta |
2587 |
boolean this_present_showSellingPrice = true;
|
|
|
2588 |
boolean that_present_showSellingPrice = true;
|
|
|
2589 |
if (this_present_showSellingPrice || that_present_showSellingPrice) {
|
|
|
2590 |
if (!(this_present_showSellingPrice && that_present_showSellingPrice))
|
|
|
2591 |
return false;
|
|
|
2592 |
if (this.showSellingPrice != that.showSellingPrice)
|
|
|
2593 |
return false;
|
|
|
2594 |
}
|
|
|
2595 |
|
| 6777 |
vikram.rag |
2596 |
boolean this_present_bestDealsDetailsText = true && this.isSetBestDealsDetailsText();
|
|
|
2597 |
boolean that_present_bestDealsDetailsText = true && that.isSetBestDealsDetailsText();
|
|
|
2598 |
if (this_present_bestDealsDetailsText || that_present_bestDealsDetailsText) {
|
|
|
2599 |
if (!(this_present_bestDealsDetailsText && that_present_bestDealsDetailsText))
|
|
|
2600 |
return false;
|
|
|
2601 |
if (!this.bestDealsDetailsText.equals(that.bestDealsDetailsText))
|
|
|
2602 |
return false;
|
|
|
2603 |
}
|
|
|
2604 |
|
|
|
2605 |
boolean this_present_bestDealsDetailsLink = true && this.isSetBestDealsDetailsLink();
|
|
|
2606 |
boolean that_present_bestDealsDetailsLink = true && that.isSetBestDealsDetailsLink();
|
|
|
2607 |
if (this_present_bestDealsDetailsLink || that_present_bestDealsDetailsLink) {
|
|
|
2608 |
if (!(this_present_bestDealsDetailsLink && that_present_bestDealsDetailsLink))
|
|
|
2609 |
return false;
|
|
|
2610 |
if (!this.bestDealsDetailsLink.equals(that.bestDealsDetailsLink))
|
|
|
2611 |
return false;
|
|
|
2612 |
}
|
|
|
2613 |
|
| 6805 |
anupam.sin |
2614 |
boolean this_present_preferredInsurer = true;
|
|
|
2615 |
boolean that_present_preferredInsurer = true;
|
|
|
2616 |
if (this_present_preferredInsurer || that_present_preferredInsurer) {
|
|
|
2617 |
if (!(this_present_preferredInsurer && that_present_preferredInsurer))
|
|
|
2618 |
return false;
|
|
|
2619 |
if (this.preferredInsurer != that.preferredInsurer)
|
|
|
2620 |
return false;
|
|
|
2621 |
}
|
|
|
2622 |
|
| 7291 |
vikram.rag |
2623 |
boolean this_present_asin = true && this.isSetAsin();
|
|
|
2624 |
boolean that_present_asin = true && that.isSetAsin();
|
|
|
2625 |
if (this_present_asin || that_present_asin) {
|
|
|
2626 |
if (!(this_present_asin && that_present_asin))
|
|
|
2627 |
return false;
|
|
|
2628 |
if (!this.asin.equals(that.asin))
|
|
|
2629 |
return false;
|
|
|
2630 |
}
|
|
|
2631 |
|
|
|
2632 |
boolean this_present_defaultInventory = true;
|
|
|
2633 |
boolean that_present_defaultInventory = true;
|
|
|
2634 |
if (this_present_defaultInventory || that_present_defaultInventory) {
|
|
|
2635 |
if (!(this_present_defaultInventory && that_present_defaultInventory))
|
|
|
2636 |
return false;
|
|
|
2637 |
if (this.defaultInventory != that.defaultInventory)
|
|
|
2638 |
return false;
|
|
|
2639 |
}
|
|
|
2640 |
|
|
|
2641 |
boolean this_present_holdInventory = true;
|
|
|
2642 |
boolean that_present_holdInventory = true;
|
|
|
2643 |
if (this_present_holdInventory || that_present_holdInventory) {
|
|
|
2644 |
if (!(this_present_holdInventory && that_present_holdInventory))
|
|
|
2645 |
return false;
|
|
|
2646 |
if (this.holdInventory != that.holdInventory)
|
|
|
2647 |
return false;
|
|
|
2648 |
}
|
|
|
2649 |
|
| 9841 |
rajveer |
2650 |
boolean this_present_holdOverride = true;
|
|
|
2651 |
boolean that_present_holdOverride = true;
|
|
|
2652 |
if (this_present_holdOverride || that_present_holdOverride) {
|
|
|
2653 |
if (!(this_present_holdOverride && that_present_holdOverride))
|
|
|
2654 |
return false;
|
|
|
2655 |
if (this.holdOverride != that.holdOverride)
|
|
|
2656 |
return false;
|
|
|
2657 |
}
|
|
|
2658 |
|
| 100 |
ashish |
2659 |
return true;
|
|
|
2660 |
}
|
|
|
2661 |
|
|
|
2662 |
@Override
|
|
|
2663 |
public int hashCode() {
|
|
|
2664 |
return 0;
|
|
|
2665 |
}
|
|
|
2666 |
|
| 3430 |
rajveer |
2667 |
public int compareTo(Item other) {
|
|
|
2668 |
if (!getClass().equals(other.getClass())) {
|
|
|
2669 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
2670 |
}
|
|
|
2671 |
|
|
|
2672 |
int lastComparison = 0;
|
|
|
2673 |
Item typedOther = (Item)other;
|
|
|
2674 |
|
|
|
2675 |
lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
|
|
|
2676 |
if (lastComparison != 0) {
|
|
|
2677 |
return lastComparison;
|
|
|
2678 |
}
|
|
|
2679 |
if (isSetId()) {
|
|
|
2680 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
|
|
|
2681 |
if (lastComparison != 0) {
|
|
|
2682 |
return lastComparison;
|
|
|
2683 |
}
|
|
|
2684 |
}
|
|
|
2685 |
lastComparison = Boolean.valueOf(isSetProductGroup()).compareTo(typedOther.isSetProductGroup());
|
|
|
2686 |
if (lastComparison != 0) {
|
|
|
2687 |
return lastComparison;
|
|
|
2688 |
}
|
|
|
2689 |
if (isSetProductGroup()) {
|
|
|
2690 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.productGroup, typedOther.productGroup);
|
|
|
2691 |
if (lastComparison != 0) {
|
|
|
2692 |
return lastComparison;
|
|
|
2693 |
}
|
|
|
2694 |
}
|
|
|
2695 |
lastComparison = Boolean.valueOf(isSetBrand()).compareTo(typedOther.isSetBrand());
|
|
|
2696 |
if (lastComparison != 0) {
|
|
|
2697 |
return lastComparison;
|
|
|
2698 |
}
|
|
|
2699 |
if (isSetBrand()) {
|
|
|
2700 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.brand, typedOther.brand);
|
|
|
2701 |
if (lastComparison != 0) {
|
|
|
2702 |
return lastComparison;
|
|
|
2703 |
}
|
|
|
2704 |
}
|
|
|
2705 |
lastComparison = Boolean.valueOf(isSetModelNumber()).compareTo(typedOther.isSetModelNumber());
|
|
|
2706 |
if (lastComparison != 0) {
|
|
|
2707 |
return lastComparison;
|
|
|
2708 |
}
|
|
|
2709 |
if (isSetModelNumber()) {
|
|
|
2710 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modelNumber, typedOther.modelNumber);
|
|
|
2711 |
if (lastComparison != 0) {
|
|
|
2712 |
return lastComparison;
|
|
|
2713 |
}
|
|
|
2714 |
}
|
|
|
2715 |
lastComparison = Boolean.valueOf(isSetModelName()).compareTo(typedOther.isSetModelName());
|
|
|
2716 |
if (lastComparison != 0) {
|
|
|
2717 |
return lastComparison;
|
|
|
2718 |
}
|
|
|
2719 |
if (isSetModelName()) {
|
|
|
2720 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modelName, typedOther.modelName);
|
|
|
2721 |
if (lastComparison != 0) {
|
|
|
2722 |
return lastComparison;
|
|
|
2723 |
}
|
|
|
2724 |
}
|
|
|
2725 |
lastComparison = Boolean.valueOf(isSetColor()).compareTo(typedOther.isSetColor());
|
|
|
2726 |
if (lastComparison != 0) {
|
|
|
2727 |
return lastComparison;
|
|
|
2728 |
}
|
|
|
2729 |
if (isSetColor()) {
|
|
|
2730 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.color, typedOther.color);
|
|
|
2731 |
if (lastComparison != 0) {
|
|
|
2732 |
return lastComparison;
|
|
|
2733 |
}
|
|
|
2734 |
}
|
|
|
2735 |
lastComparison = Boolean.valueOf(isSetCategory()).compareTo(typedOther.isSetCategory());
|
|
|
2736 |
if (lastComparison != 0) {
|
|
|
2737 |
return lastComparison;
|
|
|
2738 |
}
|
|
|
2739 |
if (isSetCategory()) {
|
|
|
2740 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.category, typedOther.category);
|
|
|
2741 |
if (lastComparison != 0) {
|
|
|
2742 |
return lastComparison;
|
|
|
2743 |
}
|
|
|
2744 |
}
|
|
|
2745 |
lastComparison = Boolean.valueOf(isSetComments()).compareTo(typedOther.isSetComments());
|
|
|
2746 |
if (lastComparison != 0) {
|
|
|
2747 |
return lastComparison;
|
|
|
2748 |
}
|
|
|
2749 |
if (isSetComments()) {
|
|
|
2750 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comments, typedOther.comments);
|
|
|
2751 |
if (lastComparison != 0) {
|
|
|
2752 |
return lastComparison;
|
|
|
2753 |
}
|
|
|
2754 |
}
|
|
|
2755 |
lastComparison = Boolean.valueOf(isSetCatalogItemId()).compareTo(typedOther.isSetCatalogItemId());
|
|
|
2756 |
if (lastComparison != 0) {
|
|
|
2757 |
return lastComparison;
|
|
|
2758 |
}
|
|
|
2759 |
if (isSetCatalogItemId()) {
|
|
|
2760 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogItemId, typedOther.catalogItemId);
|
|
|
2761 |
if (lastComparison != 0) {
|
|
|
2762 |
return lastComparison;
|
|
|
2763 |
}
|
|
|
2764 |
}
|
|
|
2765 |
lastComparison = Boolean.valueOf(isSetFeatureId()).compareTo(typedOther.isSetFeatureId());
|
|
|
2766 |
if (lastComparison != 0) {
|
|
|
2767 |
return lastComparison;
|
|
|
2768 |
}
|
|
|
2769 |
if (isSetFeatureId()) {
|
|
|
2770 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureId, typedOther.featureId);
|
|
|
2771 |
if (lastComparison != 0) {
|
|
|
2772 |
return lastComparison;
|
|
|
2773 |
}
|
|
|
2774 |
}
|
|
|
2775 |
lastComparison = Boolean.valueOf(isSetFeatureDescription()).compareTo(typedOther.isSetFeatureDescription());
|
|
|
2776 |
if (lastComparison != 0) {
|
|
|
2777 |
return lastComparison;
|
|
|
2778 |
}
|
|
|
2779 |
if (isSetFeatureDescription()) {
|
|
|
2780 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureDescription, typedOther.featureDescription);
|
|
|
2781 |
if (lastComparison != 0) {
|
|
|
2782 |
return lastComparison;
|
|
|
2783 |
}
|
|
|
2784 |
}
|
|
|
2785 |
lastComparison = Boolean.valueOf(isSetMrp()).compareTo(typedOther.isSetMrp());
|
|
|
2786 |
if (lastComparison != 0) {
|
|
|
2787 |
return lastComparison;
|
|
|
2788 |
}
|
|
|
2789 |
if (isSetMrp()) {
|
|
|
2790 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mrp, typedOther.mrp);
|
|
|
2791 |
if (lastComparison != 0) {
|
|
|
2792 |
return lastComparison;
|
|
|
2793 |
}
|
|
|
2794 |
}
|
|
|
2795 |
lastComparison = Boolean.valueOf(isSetSellingPrice()).compareTo(typedOther.isSetSellingPrice());
|
|
|
2796 |
if (lastComparison != 0) {
|
|
|
2797 |
return lastComparison;
|
|
|
2798 |
}
|
|
|
2799 |
if (isSetSellingPrice()) {
|
|
|
2800 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellingPrice, typedOther.sellingPrice);
|
|
|
2801 |
if (lastComparison != 0) {
|
|
|
2802 |
return lastComparison;
|
|
|
2803 |
}
|
|
|
2804 |
}
|
|
|
2805 |
lastComparison = Boolean.valueOf(isSetWeight()).compareTo(typedOther.isSetWeight());
|
|
|
2806 |
if (lastComparison != 0) {
|
|
|
2807 |
return lastComparison;
|
|
|
2808 |
}
|
|
|
2809 |
if (isSetWeight()) {
|
|
|
2810 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.weight, typedOther.weight);
|
|
|
2811 |
if (lastComparison != 0) {
|
|
|
2812 |
return lastComparison;
|
|
|
2813 |
}
|
|
|
2814 |
}
|
|
|
2815 |
lastComparison = Boolean.valueOf(isSetAddedOn()).compareTo(typedOther.isSetAddedOn());
|
|
|
2816 |
if (lastComparison != 0) {
|
|
|
2817 |
return lastComparison;
|
|
|
2818 |
}
|
|
|
2819 |
if (isSetAddedOn()) {
|
|
|
2820 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.addedOn, typedOther.addedOn);
|
|
|
2821 |
if (lastComparison != 0) {
|
|
|
2822 |
return lastComparison;
|
|
|
2823 |
}
|
|
|
2824 |
}
|
|
|
2825 |
lastComparison = Boolean.valueOf(isSetStartDate()).compareTo(typedOther.isSetStartDate());
|
|
|
2826 |
if (lastComparison != 0) {
|
|
|
2827 |
return lastComparison;
|
|
|
2828 |
}
|
|
|
2829 |
if (isSetStartDate()) {
|
|
|
2830 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startDate, typedOther.startDate);
|
|
|
2831 |
if (lastComparison != 0) {
|
|
|
2832 |
return lastComparison;
|
|
|
2833 |
}
|
|
|
2834 |
}
|
|
|
2835 |
lastComparison = Boolean.valueOf(isSetRetireDate()).compareTo(typedOther.isSetRetireDate());
|
|
|
2836 |
if (lastComparison != 0) {
|
|
|
2837 |
return lastComparison;
|
|
|
2838 |
}
|
|
|
2839 |
if (isSetRetireDate()) {
|
|
|
2840 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.retireDate, typedOther.retireDate);
|
|
|
2841 |
if (lastComparison != 0) {
|
|
|
2842 |
return lastComparison;
|
|
|
2843 |
}
|
|
|
2844 |
}
|
|
|
2845 |
lastComparison = Boolean.valueOf(isSetItemStatus()).compareTo(typedOther.isSetItemStatus());
|
|
|
2846 |
if (lastComparison != 0) {
|
|
|
2847 |
return lastComparison;
|
|
|
2848 |
}
|
|
|
2849 |
if (isSetItemStatus()) {
|
|
|
2850 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemStatus, typedOther.itemStatus);
|
|
|
2851 |
if (lastComparison != 0) {
|
|
|
2852 |
return lastComparison;
|
|
|
2853 |
}
|
|
|
2854 |
}
|
|
|
2855 |
lastComparison = Boolean.valueOf(isSetStatus_description()).compareTo(typedOther.isSetStatus_description());
|
|
|
2856 |
if (lastComparison != 0) {
|
|
|
2857 |
return lastComparison;
|
|
|
2858 |
}
|
|
|
2859 |
if (isSetStatus_description()) {
|
|
|
2860 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status_description, typedOther.status_description);
|
|
|
2861 |
if (lastComparison != 0) {
|
|
|
2862 |
return lastComparison;
|
|
|
2863 |
}
|
|
|
2864 |
}
|
| 5336 |
rajveer |
2865 |
lastComparison = Boolean.valueOf(isSetOtherInfo()).compareTo(typedOther.isSetOtherInfo());
|
|
|
2866 |
if (lastComparison != 0) {
|
|
|
2867 |
return lastComparison;
|
|
|
2868 |
}
|
|
|
2869 |
if (isSetOtherInfo()) {
|
|
|
2870 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.otherInfo, typedOther.otherInfo);
|
|
|
2871 |
if (lastComparison != 0) {
|
|
|
2872 |
return lastComparison;
|
|
|
2873 |
}
|
|
|
2874 |
}
|
| 3430 |
rajveer |
2875 |
lastComparison = Boolean.valueOf(isSetBestDealText()).compareTo(typedOther.isSetBestDealText());
|
|
|
2876 |
if (lastComparison != 0) {
|
|
|
2877 |
return lastComparison;
|
|
|
2878 |
}
|
|
|
2879 |
if (isSetBestDealText()) {
|
|
|
2880 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealText, typedOther.bestDealText);
|
|
|
2881 |
if (lastComparison != 0) {
|
|
|
2882 |
return lastComparison;
|
|
|
2883 |
}
|
|
|
2884 |
}
|
|
|
2885 |
lastComparison = Boolean.valueOf(isSetBestDealValue()).compareTo(typedOther.isSetBestDealValue());
|
|
|
2886 |
if (lastComparison != 0) {
|
|
|
2887 |
return lastComparison;
|
|
|
2888 |
}
|
|
|
2889 |
if (isSetBestDealValue()) {
|
|
|
2890 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealValue, typedOther.bestDealValue);
|
|
|
2891 |
if (lastComparison != 0) {
|
|
|
2892 |
return lastComparison;
|
|
|
2893 |
}
|
|
|
2894 |
}
|
|
|
2895 |
lastComparison = Boolean.valueOf(isSetDefaultForEntity()).compareTo(typedOther.isSetDefaultForEntity());
|
|
|
2896 |
if (lastComparison != 0) {
|
|
|
2897 |
return lastComparison;
|
|
|
2898 |
}
|
|
|
2899 |
if (isSetDefaultForEntity()) {
|
|
|
2900 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultForEntity, typedOther.defaultForEntity);
|
|
|
2901 |
if (lastComparison != 0) {
|
|
|
2902 |
return lastComparison;
|
|
|
2903 |
}
|
|
|
2904 |
}
|
|
|
2905 |
lastComparison = Boolean.valueOf(isSetUpdatedOn()).compareTo(typedOther.isSetUpdatedOn());
|
|
|
2906 |
if (lastComparison != 0) {
|
|
|
2907 |
return lastComparison;
|
|
|
2908 |
}
|
|
|
2909 |
if (isSetUpdatedOn()) {
|
|
|
2910 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.updatedOn, typedOther.updatedOn);
|
|
|
2911 |
if (lastComparison != 0) {
|
|
|
2912 |
return lastComparison;
|
|
|
2913 |
}
|
|
|
2914 |
}
|
|
|
2915 |
lastComparison = Boolean.valueOf(isSetBestSellingRank()).compareTo(typedOther.isSetBestSellingRank());
|
|
|
2916 |
if (lastComparison != 0) {
|
|
|
2917 |
return lastComparison;
|
|
|
2918 |
}
|
|
|
2919 |
if (isSetBestSellingRank()) {
|
|
|
2920 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestSellingRank, typedOther.bestSellingRank);
|
|
|
2921 |
if (lastComparison != 0) {
|
|
|
2922 |
return lastComparison;
|
|
|
2923 |
}
|
|
|
2924 |
}
|
|
|
2925 |
lastComparison = Boolean.valueOf(isSetRisky()).compareTo(typedOther.isSetRisky());
|
|
|
2926 |
if (lastComparison != 0) {
|
|
|
2927 |
return lastComparison;
|
|
|
2928 |
}
|
|
|
2929 |
if (isSetRisky()) {
|
|
|
2930 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.risky, typedOther.risky);
|
|
|
2931 |
if (lastComparison != 0) {
|
|
|
2932 |
return lastComparison;
|
|
|
2933 |
}
|
|
|
2934 |
}
|
|
|
2935 |
lastComparison = Boolean.valueOf(isSetExpectedDelay()).compareTo(typedOther.isSetExpectedDelay());
|
|
|
2936 |
if (lastComparison != 0) {
|
|
|
2937 |
return lastComparison;
|
|
|
2938 |
}
|
|
|
2939 |
if (isSetExpectedDelay()) {
|
|
|
2940 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expectedDelay, typedOther.expectedDelay);
|
|
|
2941 |
if (lastComparison != 0) {
|
|
|
2942 |
return lastComparison;
|
|
|
2943 |
}
|
|
|
2944 |
}
|
| 4406 |
anupam.sin |
2945 |
lastComparison = Boolean.valueOf(isSetIsWarehousePreferenceSticky()).compareTo(typedOther.isSetIsWarehousePreferenceSticky());
|
|
|
2946 |
if (lastComparison != 0) {
|
|
|
2947 |
return lastComparison;
|
|
|
2948 |
}
|
|
|
2949 |
if (isSetIsWarehousePreferenceSticky()) {
|
|
|
2950 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isWarehousePreferenceSticky, typedOther.isWarehousePreferenceSticky);
|
|
|
2951 |
if (lastComparison != 0) {
|
|
|
2952 |
return lastComparison;
|
|
|
2953 |
}
|
|
|
2954 |
}
|
| 4295 |
varun.gupt |
2955 |
lastComparison = Boolean.valueOf(isSetWarrantyPeriod()).compareTo(typedOther.isSetWarrantyPeriod());
|
|
|
2956 |
if (lastComparison != 0) {
|
|
|
2957 |
return lastComparison;
|
|
|
2958 |
}
|
|
|
2959 |
if (isSetWarrantyPeriod()) {
|
|
|
2960 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warrantyPeriod, typedOther.warrantyPeriod);
|
|
|
2961 |
if (lastComparison != 0) {
|
|
|
2962 |
return lastComparison;
|
|
|
2963 |
}
|
|
|
2964 |
}
|
| 4506 |
phani.kuma |
2965 |
lastComparison = Boolean.valueOf(isSetPreferredVendor()).compareTo(typedOther.isSetPreferredVendor());
|
|
|
2966 |
if (lastComparison != 0) {
|
|
|
2967 |
return lastComparison;
|
|
|
2968 |
}
|
|
|
2969 |
if (isSetPreferredVendor()) {
|
|
|
2970 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.preferredVendor, typedOther.preferredVendor);
|
|
|
2971 |
if (lastComparison != 0) {
|
|
|
2972 |
return lastComparison;
|
|
|
2973 |
}
|
|
|
2974 |
}
|
| 5110 |
mandeep.dh |
2975 |
lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType());
|
|
|
2976 |
if (lastComparison != 0) {
|
|
|
2977 |
return lastComparison;
|
|
|
2978 |
}
|
|
|
2979 |
if (isSetType()) {
|
|
|
2980 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type);
|
|
|
2981 |
if (lastComparison != 0) {
|
|
|
2982 |
return lastComparison;
|
|
|
2983 |
}
|
|
|
2984 |
}
|
| 5217 |
amit.gupta |
2985 |
lastComparison = Boolean.valueOf(isSetComingSoonStartDate()).compareTo(typedOther.isSetComingSoonStartDate());
|
|
|
2986 |
if (lastComparison != 0) {
|
|
|
2987 |
return lastComparison;
|
|
|
2988 |
}
|
|
|
2989 |
if (isSetComingSoonStartDate()) {
|
|
|
2990 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comingSoonStartDate, typedOther.comingSoonStartDate);
|
|
|
2991 |
if (lastComparison != 0) {
|
|
|
2992 |
return lastComparison;
|
|
|
2993 |
}
|
|
|
2994 |
}
|
|
|
2995 |
lastComparison = Boolean.valueOf(isSetExpectedArrivalDate()).compareTo(typedOther.isSetExpectedArrivalDate());
|
|
|
2996 |
if (lastComparison != 0) {
|
|
|
2997 |
return lastComparison;
|
|
|
2998 |
}
|
|
|
2999 |
if (isSetExpectedArrivalDate()) {
|
|
|
3000 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expectedArrivalDate, typedOther.expectedArrivalDate);
|
|
|
3001 |
if (lastComparison != 0) {
|
|
|
3002 |
return lastComparison;
|
|
|
3003 |
}
|
|
|
3004 |
}
|
| 5385 |
phani.kuma |
3005 |
lastComparison = Boolean.valueOf(isSetHasItemNo()).compareTo(typedOther.isSetHasItemNo());
|
|
|
3006 |
if (lastComparison != 0) {
|
|
|
3007 |
return lastComparison;
|
|
|
3008 |
}
|
|
|
3009 |
if (isSetHasItemNo()) {
|
|
|
3010 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasItemNo, typedOther.hasItemNo);
|
|
|
3011 |
if (lastComparison != 0) {
|
|
|
3012 |
return lastComparison;
|
|
|
3013 |
}
|
|
|
3014 |
}
|
| 7256 |
rajveer |
3015 |
lastComparison = Boolean.valueOf(isSetActiveOnStore()).compareTo(typedOther.isSetActiveOnStore());
|
| 5460 |
phani.kuma |
3016 |
if (lastComparison != 0) {
|
|
|
3017 |
return lastComparison;
|
|
|
3018 |
}
|
| 7256 |
rajveer |
3019 |
if (isSetActiveOnStore()) {
|
|
|
3020 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.activeOnStore, typedOther.activeOnStore);
|
| 5460 |
phani.kuma |
3021 |
if (lastComparison != 0) {
|
|
|
3022 |
return lastComparison;
|
|
|
3023 |
}
|
|
|
3024 |
}
|
| 6241 |
amit.gupta |
3025 |
lastComparison = Boolean.valueOf(isSetShowSellingPrice()).compareTo(typedOther.isSetShowSellingPrice());
|
|
|
3026 |
if (lastComparison != 0) {
|
|
|
3027 |
return lastComparison;
|
|
|
3028 |
}
|
|
|
3029 |
if (isSetShowSellingPrice()) {
|
|
|
3030 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.showSellingPrice, typedOther.showSellingPrice);
|
|
|
3031 |
if (lastComparison != 0) {
|
|
|
3032 |
return lastComparison;
|
|
|
3033 |
}
|
|
|
3034 |
}
|
| 6777 |
vikram.rag |
3035 |
lastComparison = Boolean.valueOf(isSetBestDealsDetailsText()).compareTo(typedOther.isSetBestDealsDetailsText());
|
|
|
3036 |
if (lastComparison != 0) {
|
|
|
3037 |
return lastComparison;
|
|
|
3038 |
}
|
|
|
3039 |
if (isSetBestDealsDetailsText()) {
|
|
|
3040 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealsDetailsText, typedOther.bestDealsDetailsText);
|
|
|
3041 |
if (lastComparison != 0) {
|
|
|
3042 |
return lastComparison;
|
|
|
3043 |
}
|
|
|
3044 |
}
|
|
|
3045 |
lastComparison = Boolean.valueOf(isSetBestDealsDetailsLink()).compareTo(typedOther.isSetBestDealsDetailsLink());
|
|
|
3046 |
if (lastComparison != 0) {
|
|
|
3047 |
return lastComparison;
|
|
|
3048 |
}
|
|
|
3049 |
if (isSetBestDealsDetailsLink()) {
|
|
|
3050 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealsDetailsLink, typedOther.bestDealsDetailsLink);
|
|
|
3051 |
if (lastComparison != 0) {
|
|
|
3052 |
return lastComparison;
|
|
|
3053 |
}
|
|
|
3054 |
}
|
| 6805 |
anupam.sin |
3055 |
lastComparison = Boolean.valueOf(isSetPreferredInsurer()).compareTo(typedOther.isSetPreferredInsurer());
|
|
|
3056 |
if (lastComparison != 0) {
|
|
|
3057 |
return lastComparison;
|
|
|
3058 |
}
|
|
|
3059 |
if (isSetPreferredInsurer()) {
|
|
|
3060 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.preferredInsurer, typedOther.preferredInsurer);
|
|
|
3061 |
if (lastComparison != 0) {
|
|
|
3062 |
return lastComparison;
|
|
|
3063 |
}
|
|
|
3064 |
}
|
| 7291 |
vikram.rag |
3065 |
lastComparison = Boolean.valueOf(isSetAsin()).compareTo(typedOther.isSetAsin());
|
|
|
3066 |
if (lastComparison != 0) {
|
|
|
3067 |
return lastComparison;
|
|
|
3068 |
}
|
|
|
3069 |
if (isSetAsin()) {
|
|
|
3070 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.asin, typedOther.asin);
|
|
|
3071 |
if (lastComparison != 0) {
|
|
|
3072 |
return lastComparison;
|
|
|
3073 |
}
|
|
|
3074 |
}
|
|
|
3075 |
lastComparison = Boolean.valueOf(isSetDefaultInventory()).compareTo(typedOther.isSetDefaultInventory());
|
|
|
3076 |
if (lastComparison != 0) {
|
|
|
3077 |
return lastComparison;
|
|
|
3078 |
}
|
|
|
3079 |
if (isSetDefaultInventory()) {
|
|
|
3080 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultInventory, typedOther.defaultInventory);
|
|
|
3081 |
if (lastComparison != 0) {
|
|
|
3082 |
return lastComparison;
|
|
|
3083 |
}
|
|
|
3084 |
}
|
|
|
3085 |
lastComparison = Boolean.valueOf(isSetHoldInventory()).compareTo(typedOther.isSetHoldInventory());
|
|
|
3086 |
if (lastComparison != 0) {
|
|
|
3087 |
return lastComparison;
|
|
|
3088 |
}
|
|
|
3089 |
if (isSetHoldInventory()) {
|
|
|
3090 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.holdInventory, typedOther.holdInventory);
|
|
|
3091 |
if (lastComparison != 0) {
|
|
|
3092 |
return lastComparison;
|
|
|
3093 |
}
|
|
|
3094 |
}
|
| 9841 |
rajveer |
3095 |
lastComparison = Boolean.valueOf(isSetHoldOverride()).compareTo(typedOther.isSetHoldOverride());
|
|
|
3096 |
if (lastComparison != 0) {
|
|
|
3097 |
return lastComparison;
|
|
|
3098 |
}
|
|
|
3099 |
if (isSetHoldOverride()) {
|
|
|
3100 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.holdOverride, typedOther.holdOverride);
|
|
|
3101 |
if (lastComparison != 0) {
|
|
|
3102 |
return lastComparison;
|
|
|
3103 |
}
|
|
|
3104 |
}
|
| 3430 |
rajveer |
3105 |
return 0;
|
|
|
3106 |
}
|
|
|
3107 |
|
|
|
3108 |
public _Fields fieldForId(int fieldId) {
|
|
|
3109 |
return _Fields.findByThriftId(fieldId);
|
|
|
3110 |
}
|
|
|
3111 |
|
|
|
3112 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
3113 |
org.apache.thrift.protocol.TField field;
|
| 100 |
ashish |
3114 |
iprot.readStructBegin();
|
|
|
3115 |
while (true)
|
|
|
3116 |
{
|
|
|
3117 |
field = iprot.readFieldBegin();
|
| 3430 |
rajveer |
3118 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| 100 |
ashish |
3119 |
break;
|
|
|
3120 |
}
|
| 3430 |
rajveer |
3121 |
switch (field.id) {
|
|
|
3122 |
case 1: // ID
|
|
|
3123 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3124 |
this.id = iprot.readI64();
|
|
|
3125 |
setIdIsSet(true);
|
|
|
3126 |
} else {
|
|
|
3127 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3128 |
}
|
|
|
3129 |
break;
|
|
|
3130 |
case 2: // PRODUCT_GROUP
|
|
|
3131 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3132 |
this.productGroup = iprot.readString();
|
|
|
3133 |
} else {
|
|
|
3134 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3135 |
}
|
|
|
3136 |
break;
|
|
|
3137 |
case 3: // BRAND
|
|
|
3138 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3139 |
this.brand = iprot.readString();
|
|
|
3140 |
} else {
|
|
|
3141 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3142 |
}
|
|
|
3143 |
break;
|
|
|
3144 |
case 4: // MODEL_NUMBER
|
|
|
3145 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3146 |
this.modelNumber = iprot.readString();
|
|
|
3147 |
} else {
|
|
|
3148 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3149 |
}
|
|
|
3150 |
break;
|
|
|
3151 |
case 5: // MODEL_NAME
|
|
|
3152 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3153 |
this.modelName = iprot.readString();
|
|
|
3154 |
} else {
|
|
|
3155 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3156 |
}
|
|
|
3157 |
break;
|
|
|
3158 |
case 6: // COLOR
|
|
|
3159 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3160 |
this.color = iprot.readString();
|
|
|
3161 |
} else {
|
|
|
3162 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3163 |
}
|
|
|
3164 |
break;
|
|
|
3165 |
case 7: // CATEGORY
|
|
|
3166 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3167 |
this.category = iprot.readI64();
|
|
|
3168 |
setCategoryIsSet(true);
|
|
|
3169 |
} else {
|
|
|
3170 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3171 |
}
|
|
|
3172 |
break;
|
|
|
3173 |
case 8: // COMMENTS
|
|
|
3174 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3175 |
this.comments = iprot.readString();
|
|
|
3176 |
} else {
|
|
|
3177 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3178 |
}
|
|
|
3179 |
break;
|
|
|
3180 |
case 9: // CATALOG_ITEM_ID
|
|
|
3181 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3182 |
this.catalogItemId = iprot.readI64();
|
|
|
3183 |
setCatalogItemIdIsSet(true);
|
|
|
3184 |
} else {
|
|
|
3185 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3186 |
}
|
|
|
3187 |
break;
|
|
|
3188 |
case 10: // FEATURE_ID
|
|
|
3189 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3190 |
this.featureId = iprot.readI64();
|
|
|
3191 |
setFeatureIdIsSet(true);
|
|
|
3192 |
} else {
|
|
|
3193 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3194 |
}
|
|
|
3195 |
break;
|
|
|
3196 |
case 11: // FEATURE_DESCRIPTION
|
|
|
3197 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3198 |
this.featureDescription = iprot.readString();
|
|
|
3199 |
} else {
|
|
|
3200 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3201 |
}
|
|
|
3202 |
break;
|
|
|
3203 |
case 13: // MRP
|
|
|
3204 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
3205 |
this.mrp = iprot.readDouble();
|
|
|
3206 |
setMrpIsSet(true);
|
|
|
3207 |
} else {
|
|
|
3208 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3209 |
}
|
|
|
3210 |
break;
|
| 4762 |
phani.kuma |
3211 |
case 14: // SELLING_PRICE
|
| 3430 |
rajveer |
3212 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
3213 |
this.sellingPrice = iprot.readDouble();
|
|
|
3214 |
setSellingPriceIsSet(true);
|
|
|
3215 |
} else {
|
|
|
3216 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3217 |
}
|
|
|
3218 |
break;
|
| 4762 |
phani.kuma |
3219 |
case 15: // WEIGHT
|
| 3430 |
rajveer |
3220 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
3221 |
this.weight = iprot.readDouble();
|
|
|
3222 |
setWeightIsSet(true);
|
|
|
3223 |
} else {
|
|
|
3224 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3225 |
}
|
|
|
3226 |
break;
|
| 4762 |
phani.kuma |
3227 |
case 16: // ADDED_ON
|
| 3430 |
rajveer |
3228 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3229 |
this.addedOn = iprot.readI64();
|
|
|
3230 |
setAddedOnIsSet(true);
|
|
|
3231 |
} else {
|
|
|
3232 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3233 |
}
|
|
|
3234 |
break;
|
| 4762 |
phani.kuma |
3235 |
case 17: // START_DATE
|
| 3430 |
rajveer |
3236 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3237 |
this.startDate = iprot.readI64();
|
|
|
3238 |
setStartDateIsSet(true);
|
|
|
3239 |
} else {
|
|
|
3240 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3241 |
}
|
|
|
3242 |
break;
|
| 4762 |
phani.kuma |
3243 |
case 18: // RETIRE_DATE
|
| 3430 |
rajveer |
3244 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3245 |
this.retireDate = iprot.readI64();
|
|
|
3246 |
setRetireDateIsSet(true);
|
|
|
3247 |
} else {
|
|
|
3248 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3249 |
}
|
|
|
3250 |
break;
|
| 4762 |
phani.kuma |
3251 |
case 19: // ITEM_STATUS
|
| 3430 |
rajveer |
3252 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
3253 |
this.itemStatus = status.findByValue(iprot.readI32());
|
|
|
3254 |
} else {
|
|
|
3255 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3256 |
}
|
|
|
3257 |
break;
|
| 4762 |
phani.kuma |
3258 |
case 20: // STATUS_DESCRIPTION
|
| 3430 |
rajveer |
3259 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3260 |
this.status_description = iprot.readString();
|
|
|
3261 |
} else {
|
|
|
3262 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3263 |
}
|
|
|
3264 |
break;
|
| 5336 |
rajveer |
3265 |
case 21: // OTHER_INFO
|
|
|
3266 |
if (field.type == org.apache.thrift.protocol.TType.MAP) {
|
|
|
3267 |
{
|
| 5945 |
mandeep.dh |
3268 |
org.apache.thrift.protocol.TMap _map0 = iprot.readMapBegin();
|
|
|
3269 |
this.otherInfo = new HashMap<String,String>(2*_map0.size);
|
|
|
3270 |
for (int _i1 = 0; _i1 < _map0.size; ++_i1)
|
| 5336 |
rajveer |
3271 |
{
|
| 5945 |
mandeep.dh |
3272 |
String _key2; // required
|
|
|
3273 |
String _val3; // required
|
|
|
3274 |
_key2 = iprot.readString();
|
|
|
3275 |
_val3 = iprot.readString();
|
|
|
3276 |
this.otherInfo.put(_key2, _val3);
|
| 5336 |
rajveer |
3277 |
}
|
|
|
3278 |
iprot.readMapEnd();
|
|
|
3279 |
}
|
|
|
3280 |
} else {
|
|
|
3281 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3282 |
}
|
|
|
3283 |
break;
|
| 4762 |
phani.kuma |
3284 |
case 22: // BEST_DEAL_TEXT
|
| 3430 |
rajveer |
3285 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3286 |
this.bestDealText = iprot.readString();
|
|
|
3287 |
} else {
|
|
|
3288 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3289 |
}
|
|
|
3290 |
break;
|
| 4762 |
phani.kuma |
3291 |
case 23: // BEST_DEAL_VALUE
|
| 3430 |
rajveer |
3292 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
3293 |
this.bestDealValue = iprot.readDouble();
|
|
|
3294 |
setBestDealValueIsSet(true);
|
|
|
3295 |
} else {
|
|
|
3296 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3297 |
}
|
|
|
3298 |
break;
|
| 4762 |
phani.kuma |
3299 |
case 24: // DEFAULT_FOR_ENTITY
|
| 3430 |
rajveer |
3300 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
3301 |
this.defaultForEntity = iprot.readBool();
|
|
|
3302 |
setDefaultForEntityIsSet(true);
|
|
|
3303 |
} else {
|
|
|
3304 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3305 |
}
|
|
|
3306 |
break;
|
| 4762 |
phani.kuma |
3307 |
case 25: // UPDATED_ON
|
| 3430 |
rajveer |
3308 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3309 |
this.updatedOn = iprot.readI64();
|
|
|
3310 |
setUpdatedOnIsSet(true);
|
|
|
3311 |
} else {
|
|
|
3312 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3313 |
}
|
|
|
3314 |
break;
|
| 4762 |
phani.kuma |
3315 |
case 26: // BEST_SELLING_RANK
|
| 3430 |
rajveer |
3316 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3317 |
this.bestSellingRank = iprot.readI64();
|
|
|
3318 |
setBestSellingRankIsSet(true);
|
|
|
3319 |
} else {
|
|
|
3320 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3321 |
}
|
|
|
3322 |
break;
|
| 4762 |
phani.kuma |
3323 |
case 27: // RISKY
|
| 3430 |
rajveer |
3324 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
3325 |
this.risky = iprot.readBool();
|
|
|
3326 |
setRiskyIsSet(true);
|
|
|
3327 |
} else {
|
|
|
3328 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3329 |
}
|
|
|
3330 |
break;
|
| 4762 |
phani.kuma |
3331 |
case 28: // EXPECTED_DELAY
|
| 3430 |
rajveer |
3332 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
3333 |
this.expectedDelay = iprot.readI32();
|
|
|
3334 |
setExpectedDelayIsSet(true);
|
|
|
3335 |
} else {
|
|
|
3336 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3337 |
}
|
|
|
3338 |
break;
|
| 5440 |
phani.kuma |
3339 |
case 29: // IS_WAREHOUSE_PREFERENCE_STICKY
|
| 4406 |
anupam.sin |
3340 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
3341 |
this.isWarehousePreferenceSticky = iprot.readBool();
|
|
|
3342 |
setIsWarehousePreferenceStickyIsSet(true);
|
|
|
3343 |
} else {
|
|
|
3344 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3345 |
}
|
|
|
3346 |
break;
|
| 5440 |
phani.kuma |
3347 |
case 30: // WARRANTY_PERIOD
|
| 4295 |
varun.gupt |
3348 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
3349 |
this.warrantyPeriod = iprot.readI32();
|
|
|
3350 |
setWarrantyPeriodIsSet(true);
|
|
|
3351 |
} else {
|
|
|
3352 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3353 |
}
|
|
|
3354 |
break;
|
| 5440 |
phani.kuma |
3355 |
case 31: // PREFERRED_VENDOR
|
| 4506 |
phani.kuma |
3356 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3357 |
this.preferredVendor = iprot.readI64();
|
|
|
3358 |
setPreferredVendorIsSet(true);
|
|
|
3359 |
} else {
|
|
|
3360 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3361 |
}
|
|
|
3362 |
break;
|
| 5440 |
phani.kuma |
3363 |
case 32: // TYPE
|
| 5110 |
mandeep.dh |
3364 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
3365 |
this.type = ItemType.findByValue(iprot.readI32());
|
|
|
3366 |
} else {
|
|
|
3367 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3368 |
}
|
|
|
3369 |
break;
|
| 5440 |
phani.kuma |
3370 |
case 33: // COMING_SOON_START_DATE
|
| 5217 |
amit.gupta |
3371 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3372 |
this.comingSoonStartDate = iprot.readI64();
|
|
|
3373 |
setComingSoonStartDateIsSet(true);
|
|
|
3374 |
} else {
|
|
|
3375 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3376 |
}
|
|
|
3377 |
break;
|
| 5440 |
phani.kuma |
3378 |
case 34: // EXPECTED_ARRIVAL_DATE
|
| 5217 |
amit.gupta |
3379 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3380 |
this.expectedArrivalDate = iprot.readI64();
|
|
|
3381 |
setExpectedArrivalDateIsSet(true);
|
|
|
3382 |
} else {
|
|
|
3383 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3384 |
}
|
|
|
3385 |
break;
|
| 5440 |
phani.kuma |
3386 |
case 35: // HAS_ITEM_NO
|
| 5385 |
phani.kuma |
3387 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
3388 |
this.hasItemNo = iprot.readBool();
|
|
|
3389 |
setHasItemNoIsSet(true);
|
|
|
3390 |
} else {
|
|
|
3391 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3392 |
}
|
|
|
3393 |
break;
|
| 7256 |
rajveer |
3394 |
case 36: // ACTIVE_ON_STORE
|
| 5460 |
phani.kuma |
3395 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| 7256 |
rajveer |
3396 |
this.activeOnStore = iprot.readBool();
|
|
|
3397 |
setActiveOnStoreIsSet(true);
|
| 5460 |
phani.kuma |
3398 |
} else {
|
|
|
3399 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3400 |
}
|
|
|
3401 |
break;
|
| 6241 |
amit.gupta |
3402 |
case 38: // SHOW_SELLING_PRICE
|
|
|
3403 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
3404 |
this.showSellingPrice = iprot.readBool();
|
|
|
3405 |
setShowSellingPriceIsSet(true);
|
|
|
3406 |
} else {
|
|
|
3407 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3408 |
}
|
|
|
3409 |
break;
|
| 6777 |
vikram.rag |
3410 |
case 39: // BEST_DEALS_DETAILS_TEXT
|
|
|
3411 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3412 |
this.bestDealsDetailsText = iprot.readString();
|
|
|
3413 |
} else {
|
|
|
3414 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3415 |
}
|
|
|
3416 |
break;
|
|
|
3417 |
case 40: // BEST_DEALS_DETAILS_LINK
|
|
|
3418 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3419 |
this.bestDealsDetailsLink = iprot.readString();
|
|
|
3420 |
} else {
|
|
|
3421 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3422 |
}
|
|
|
3423 |
break;
|
| 6805 |
anupam.sin |
3424 |
case 41: // PREFERRED_INSURER
|
|
|
3425 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3426 |
this.preferredInsurer = iprot.readI64();
|
|
|
3427 |
setPreferredInsurerIsSet(true);
|
|
|
3428 |
} else {
|
|
|
3429 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3430 |
}
|
|
|
3431 |
break;
|
| 7291 |
vikram.rag |
3432 |
case 42: // ASIN
|
|
|
3433 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
3434 |
this.asin = iprot.readString();
|
|
|
3435 |
} else {
|
|
|
3436 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3437 |
}
|
|
|
3438 |
break;
|
|
|
3439 |
case 43: // DEFAULT_INVENTORY
|
|
|
3440 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3441 |
this.defaultInventory = iprot.readI64();
|
|
|
3442 |
setDefaultInventoryIsSet(true);
|
|
|
3443 |
} else {
|
|
|
3444 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3445 |
}
|
|
|
3446 |
break;
|
|
|
3447 |
case 44: // HOLD_INVENTORY
|
|
|
3448 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
3449 |
this.holdInventory = iprot.readI64();
|
|
|
3450 |
setHoldInventoryIsSet(true);
|
|
|
3451 |
} else {
|
|
|
3452 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3453 |
}
|
|
|
3454 |
break;
|
| 9841 |
rajveer |
3455 |
case 45: // HOLD_OVERRIDE
|
|
|
3456 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
3457 |
this.holdOverride = iprot.readBool();
|
|
|
3458 |
setHoldOverrideIsSet(true);
|
|
|
3459 |
} else {
|
|
|
3460 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
3461 |
}
|
|
|
3462 |
break;
|
| 3430 |
rajveer |
3463 |
default:
|
|
|
3464 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 100 |
ashish |
3465 |
}
|
| 3430 |
rajveer |
3466 |
iprot.readFieldEnd();
|
| 100 |
ashish |
3467 |
}
|
|
|
3468 |
iprot.readStructEnd();
|
|
|
3469 |
validate();
|
|
|
3470 |
}
|
|
|
3471 |
|
| 3430 |
rajveer |
3472 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| 100 |
ashish |
3473 |
validate();
|
|
|
3474 |
|
|
|
3475 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
3476 |
oprot.writeFieldBegin(ID_FIELD_DESC);
|
|
|
3477 |
oprot.writeI64(this.id);
|
|
|
3478 |
oprot.writeFieldEnd();
|
| 957 |
chandransh |
3479 |
if (this.productGroup != null) {
|
|
|
3480 |
oprot.writeFieldBegin(PRODUCT_GROUP_FIELD_DESC);
|
|
|
3481 |
oprot.writeString(this.productGroup);
|
| 483 |
rajveer |
3482 |
oprot.writeFieldEnd();
|
|
|
3483 |
}
|
| 957 |
chandransh |
3484 |
if (this.brand != null) {
|
|
|
3485 |
oprot.writeFieldBegin(BRAND_FIELD_DESC);
|
|
|
3486 |
oprot.writeString(this.brand);
|
|
|
3487 |
oprot.writeFieldEnd();
|
|
|
3488 |
}
|
| 483 |
rajveer |
3489 |
if (this.modelNumber != null) {
|
|
|
3490 |
oprot.writeFieldBegin(MODEL_NUMBER_FIELD_DESC);
|
|
|
3491 |
oprot.writeString(this.modelNumber);
|
|
|
3492 |
oprot.writeFieldEnd();
|
|
|
3493 |
}
|
|
|
3494 |
if (this.modelName != null) {
|
|
|
3495 |
oprot.writeFieldBegin(MODEL_NAME_FIELD_DESC);
|
|
|
3496 |
oprot.writeString(this.modelName);
|
|
|
3497 |
oprot.writeFieldEnd();
|
|
|
3498 |
}
|
| 1329 |
chandransh |
3499 |
if (this.color != null) {
|
|
|
3500 |
oprot.writeFieldBegin(COLOR_FIELD_DESC);
|
|
|
3501 |
oprot.writeString(this.color);
|
|
|
3502 |
oprot.writeFieldEnd();
|
|
|
3503 |
}
|
| 622 |
chandransh |
3504 |
oprot.writeFieldBegin(CATEGORY_FIELD_DESC);
|
|
|
3505 |
oprot.writeI64(this.category);
|
|
|
3506 |
oprot.writeFieldEnd();
|
| 483 |
rajveer |
3507 |
if (this.comments != null) {
|
|
|
3508 |
oprot.writeFieldBegin(COMMENTS_FIELD_DESC);
|
|
|
3509 |
oprot.writeString(this.comments);
|
|
|
3510 |
oprot.writeFieldEnd();
|
|
|
3511 |
}
|
| 123 |
ashish |
3512 |
oprot.writeFieldBegin(CATALOG_ITEM_ID_FIELD_DESC);
|
|
|
3513 |
oprot.writeI64(this.catalogItemId);
|
|
|
3514 |
oprot.writeFieldEnd();
|
| 483 |
rajveer |
3515 |
oprot.writeFieldBegin(FEATURE_ID_FIELD_DESC);
|
|
|
3516 |
oprot.writeI64(this.featureId);
|
|
|
3517 |
oprot.writeFieldEnd();
|
|
|
3518 |
if (this.featureDescription != null) {
|
|
|
3519 |
oprot.writeFieldBegin(FEATURE_DESCRIPTION_FIELD_DESC);
|
|
|
3520 |
oprot.writeString(this.featureDescription);
|
|
|
3521 |
oprot.writeFieldEnd();
|
|
|
3522 |
}
|
| 2128 |
ankur.sing |
3523 |
if (isSetMrp()) {
|
|
|
3524 |
oprot.writeFieldBegin(MRP_FIELD_DESC);
|
|
|
3525 |
oprot.writeDouble(this.mrp);
|
|
|
3526 |
oprot.writeFieldEnd();
|
|
|
3527 |
}
|
|
|
3528 |
if (isSetSellingPrice()) {
|
|
|
3529 |
oprot.writeFieldBegin(SELLING_PRICE_FIELD_DESC);
|
|
|
3530 |
oprot.writeDouble(this.sellingPrice);
|
|
|
3531 |
oprot.writeFieldEnd();
|
|
|
3532 |
}
|
|
|
3533 |
if (isSetWeight()) {
|
|
|
3534 |
oprot.writeFieldBegin(WEIGHT_FIELD_DESC);
|
|
|
3535 |
oprot.writeDouble(this.weight);
|
|
|
3536 |
oprot.writeFieldEnd();
|
|
|
3537 |
}
|
| 103 |
ashish |
3538 |
oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
|
|
|
3539 |
oprot.writeI64(this.addedOn);
|
|
|
3540 |
oprot.writeFieldEnd();
|
| 2491 |
ankur.sing |
3541 |
if (isSetStartDate()) {
|
|
|
3542 |
oprot.writeFieldBegin(START_DATE_FIELD_DESC);
|
|
|
3543 |
oprot.writeI64(this.startDate);
|
|
|
3544 |
oprot.writeFieldEnd();
|
|
|
3545 |
}
|
|
|
3546 |
if (isSetRetireDate()) {
|
|
|
3547 |
oprot.writeFieldBegin(RETIRE_DATE_FIELD_DESC);
|
|
|
3548 |
oprot.writeI64(this.retireDate);
|
|
|
3549 |
oprot.writeFieldEnd();
|
|
|
3550 |
}
|
| 103 |
ashish |
3551 |
if (this.itemStatus != null) {
|
|
|
3552 |
oprot.writeFieldBegin(ITEM_STATUS_FIELD_DESC);
|
|
|
3553 |
oprot.writeI32(this.itemStatus.getValue());
|
|
|
3554 |
oprot.writeFieldEnd();
|
|
|
3555 |
}
|
| 2034 |
rajveer |
3556 |
if (this.status_description != null) {
|
|
|
3557 |
oprot.writeFieldBegin(STATUS_DESCRIPTION_FIELD_DESC);
|
|
|
3558 |
oprot.writeString(this.status_description);
|
|
|
3559 |
oprot.writeFieldEnd();
|
|
|
3560 |
}
|
| 5336 |
rajveer |
3561 |
if (this.otherInfo != null) {
|
|
|
3562 |
oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
|
|
|
3563 |
{
|
|
|
3564 |
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.otherInfo.size()));
|
| 5945 |
mandeep.dh |
3565 |
for (Map.Entry<String, String> _iter4 : this.otherInfo.entrySet())
|
| 5336 |
rajveer |
3566 |
{
|
| 5945 |
mandeep.dh |
3567 |
oprot.writeString(_iter4.getKey());
|
|
|
3568 |
oprot.writeString(_iter4.getValue());
|
| 5336 |
rajveer |
3569 |
}
|
|
|
3570 |
oprot.writeMapEnd();
|
|
|
3571 |
}
|
|
|
3572 |
oprot.writeFieldEnd();
|
|
|
3573 |
}
|
| 607 |
chandransh |
3574 |
if (this.bestDealText != null) {
|
|
|
3575 |
oprot.writeFieldBegin(BEST_DEAL_TEXT_FIELD_DESC);
|
|
|
3576 |
oprot.writeString(this.bestDealText);
|
|
|
3577 |
oprot.writeFieldEnd();
|
|
|
3578 |
}
|
| 2128 |
ankur.sing |
3579 |
if (isSetBestDealValue()) {
|
|
|
3580 |
oprot.writeFieldBegin(BEST_DEAL_VALUE_FIELD_DESC);
|
|
|
3581 |
oprot.writeDouble(this.bestDealValue);
|
|
|
3582 |
oprot.writeFieldEnd();
|
|
|
3583 |
}
|
| 1910 |
varun.gupt |
3584 |
oprot.writeFieldBegin(DEFAULT_FOR_ENTITY_FIELD_DESC);
|
|
|
3585 |
oprot.writeBool(this.defaultForEntity);
|
|
|
3586 |
oprot.writeFieldEnd();
|
| 607 |
chandransh |
3587 |
oprot.writeFieldBegin(UPDATED_ON_FIELD_DESC);
|
|
|
3588 |
oprot.writeI64(this.updatedOn);
|
|
|
3589 |
oprot.writeFieldEnd();
|
| 2128 |
ankur.sing |
3590 |
if (isSetBestSellingRank()) {
|
|
|
3591 |
oprot.writeFieldBegin(BEST_SELLING_RANK_FIELD_DESC);
|
|
|
3592 |
oprot.writeI64(this.bestSellingRank);
|
|
|
3593 |
oprot.writeFieldEnd();
|
|
|
3594 |
}
|
| 2250 |
ankur.sing |
3595 |
oprot.writeFieldBegin(RISKY_FIELD_DESC);
|
|
|
3596 |
oprot.writeBool(this.risky);
|
|
|
3597 |
oprot.writeFieldEnd();
|
| 3355 |
chandransh |
3598 |
if (isSetExpectedDelay()) {
|
|
|
3599 |
oprot.writeFieldBegin(EXPECTED_DELAY_FIELD_DESC);
|
|
|
3600 |
oprot.writeI32(this.expectedDelay);
|
|
|
3601 |
oprot.writeFieldEnd();
|
|
|
3602 |
}
|
| 4406 |
anupam.sin |
3603 |
if (isSetIsWarehousePreferenceSticky()) {
|
|
|
3604 |
oprot.writeFieldBegin(IS_WAREHOUSE_PREFERENCE_STICKY_FIELD_DESC);
|
|
|
3605 |
oprot.writeBool(this.isWarehousePreferenceSticky);
|
|
|
3606 |
oprot.writeFieldEnd();
|
|
|
3607 |
}
|
| 4295 |
varun.gupt |
3608 |
oprot.writeFieldBegin(WARRANTY_PERIOD_FIELD_DESC);
|
|
|
3609 |
oprot.writeI32(this.warrantyPeriod);
|
|
|
3610 |
oprot.writeFieldEnd();
|
| 4506 |
phani.kuma |
3611 |
if (isSetPreferredVendor()) {
|
|
|
3612 |
oprot.writeFieldBegin(PREFERRED_VENDOR_FIELD_DESC);
|
|
|
3613 |
oprot.writeI64(this.preferredVendor);
|
|
|
3614 |
oprot.writeFieldEnd();
|
|
|
3615 |
}
|
| 5110 |
mandeep.dh |
3616 |
if (this.type != null) {
|
|
|
3617 |
oprot.writeFieldBegin(TYPE_FIELD_DESC);
|
|
|
3618 |
oprot.writeI32(this.type.getValue());
|
|
|
3619 |
oprot.writeFieldEnd();
|
|
|
3620 |
}
|
| 5217 |
amit.gupta |
3621 |
if (isSetComingSoonStartDate()) {
|
|
|
3622 |
oprot.writeFieldBegin(COMING_SOON_START_DATE_FIELD_DESC);
|
|
|
3623 |
oprot.writeI64(this.comingSoonStartDate);
|
|
|
3624 |
oprot.writeFieldEnd();
|
|
|
3625 |
}
|
|
|
3626 |
if (isSetExpectedArrivalDate()) {
|
|
|
3627 |
oprot.writeFieldBegin(EXPECTED_ARRIVAL_DATE_FIELD_DESC);
|
|
|
3628 |
oprot.writeI64(this.expectedArrivalDate);
|
|
|
3629 |
oprot.writeFieldEnd();
|
|
|
3630 |
}
|
| 5385 |
phani.kuma |
3631 |
oprot.writeFieldBegin(HAS_ITEM_NO_FIELD_DESC);
|
|
|
3632 |
oprot.writeBool(this.hasItemNo);
|
|
|
3633 |
oprot.writeFieldEnd();
|
| 7256 |
rajveer |
3634 |
oprot.writeFieldBegin(ACTIVE_ON_STORE_FIELD_DESC);
|
|
|
3635 |
oprot.writeBool(this.activeOnStore);
|
| 5460 |
phani.kuma |
3636 |
oprot.writeFieldEnd();
|
| 6241 |
amit.gupta |
3637 |
oprot.writeFieldBegin(SHOW_SELLING_PRICE_FIELD_DESC);
|
|
|
3638 |
oprot.writeBool(this.showSellingPrice);
|
|
|
3639 |
oprot.writeFieldEnd();
|
| 6777 |
vikram.rag |
3640 |
if (this.bestDealsDetailsText != null) {
|
|
|
3641 |
oprot.writeFieldBegin(BEST_DEALS_DETAILS_TEXT_FIELD_DESC);
|
|
|
3642 |
oprot.writeString(this.bestDealsDetailsText);
|
|
|
3643 |
oprot.writeFieldEnd();
|
|
|
3644 |
}
|
|
|
3645 |
if (this.bestDealsDetailsLink != null) {
|
|
|
3646 |
oprot.writeFieldBegin(BEST_DEALS_DETAILS_LINK_FIELD_DESC);
|
|
|
3647 |
oprot.writeString(this.bestDealsDetailsLink);
|
|
|
3648 |
oprot.writeFieldEnd();
|
|
|
3649 |
}
|
| 6805 |
anupam.sin |
3650 |
oprot.writeFieldBegin(PREFERRED_INSURER_FIELD_DESC);
|
|
|
3651 |
oprot.writeI64(this.preferredInsurer);
|
|
|
3652 |
oprot.writeFieldEnd();
|
| 7291 |
vikram.rag |
3653 |
if (this.asin != null) {
|
|
|
3654 |
oprot.writeFieldBegin(ASIN_FIELD_DESC);
|
|
|
3655 |
oprot.writeString(this.asin);
|
|
|
3656 |
oprot.writeFieldEnd();
|
|
|
3657 |
}
|
|
|
3658 |
oprot.writeFieldBegin(DEFAULT_INVENTORY_FIELD_DESC);
|
|
|
3659 |
oprot.writeI64(this.defaultInventory);
|
|
|
3660 |
oprot.writeFieldEnd();
|
|
|
3661 |
oprot.writeFieldBegin(HOLD_INVENTORY_FIELD_DESC);
|
|
|
3662 |
oprot.writeI64(this.holdInventory);
|
|
|
3663 |
oprot.writeFieldEnd();
|
| 9841 |
rajveer |
3664 |
oprot.writeFieldBegin(HOLD_OVERRIDE_FIELD_DESC);
|
|
|
3665 |
oprot.writeBool(this.holdOverride);
|
|
|
3666 |
oprot.writeFieldEnd();
|
| 100 |
ashish |
3667 |
oprot.writeFieldStop();
|
|
|
3668 |
oprot.writeStructEnd();
|
|
|
3669 |
}
|
|
|
3670 |
|
|
|
3671 |
@Override
|
|
|
3672 |
public String toString() {
|
|
|
3673 |
StringBuilder sb = new StringBuilder("Item(");
|
|
|
3674 |
boolean first = true;
|
|
|
3675 |
|
|
|
3676 |
sb.append("id:");
|
|
|
3677 |
sb.append(this.id);
|
|
|
3678 |
first = false;
|
|
|
3679 |
if (!first) sb.append(", ");
|
| 957 |
chandransh |
3680 |
sb.append("productGroup:");
|
|
|
3681 |
if (this.productGroup == null) {
|
| 483 |
rajveer |
3682 |
sb.append("null");
|
|
|
3683 |
} else {
|
| 957 |
chandransh |
3684 |
sb.append(this.productGroup);
|
| 483 |
rajveer |
3685 |
}
|
|
|
3686 |
first = false;
|
|
|
3687 |
if (!first) sb.append(", ");
|
| 957 |
chandransh |
3688 |
sb.append("brand:");
|
|
|
3689 |
if (this.brand == null) {
|
|
|
3690 |
sb.append("null");
|
|
|
3691 |
} else {
|
|
|
3692 |
sb.append(this.brand);
|
|
|
3693 |
}
|
|
|
3694 |
first = false;
|
|
|
3695 |
if (!first) sb.append(", ");
|
| 483 |
rajveer |
3696 |
sb.append("modelNumber:");
|
|
|
3697 |
if (this.modelNumber == null) {
|
|
|
3698 |
sb.append("null");
|
|
|
3699 |
} else {
|
|
|
3700 |
sb.append(this.modelNumber);
|
|
|
3701 |
}
|
|
|
3702 |
first = false;
|
|
|
3703 |
if (!first) sb.append(", ");
|
|
|
3704 |
sb.append("modelName:");
|
|
|
3705 |
if (this.modelName == null) {
|
|
|
3706 |
sb.append("null");
|
|
|
3707 |
} else {
|
|
|
3708 |
sb.append(this.modelName);
|
|
|
3709 |
}
|
|
|
3710 |
first = false;
|
|
|
3711 |
if (!first) sb.append(", ");
|
| 1329 |
chandransh |
3712 |
sb.append("color:");
|
|
|
3713 |
if (this.color == null) {
|
|
|
3714 |
sb.append("null");
|
|
|
3715 |
} else {
|
|
|
3716 |
sb.append(this.color);
|
|
|
3717 |
}
|
|
|
3718 |
first = false;
|
|
|
3719 |
if (!first) sb.append(", ");
|
| 483 |
rajveer |
3720 |
sb.append("category:");
|
| 622 |
chandransh |
3721 |
sb.append(this.category);
|
| 483 |
rajveer |
3722 |
first = false;
|
|
|
3723 |
if (!first) sb.append(", ");
|
|
|
3724 |
sb.append("comments:");
|
|
|
3725 |
if (this.comments == null) {
|
|
|
3726 |
sb.append("null");
|
|
|
3727 |
} else {
|
|
|
3728 |
sb.append(this.comments);
|
|
|
3729 |
}
|
|
|
3730 |
first = false;
|
|
|
3731 |
if (!first) sb.append(", ");
|
| 123 |
ashish |
3732 |
sb.append("catalogItemId:");
|
|
|
3733 |
sb.append(this.catalogItemId);
|
| 100 |
ashish |
3734 |
first = false;
|
|
|
3735 |
if (!first) sb.append(", ");
|
| 483 |
rajveer |
3736 |
sb.append("featureId:");
|
|
|
3737 |
sb.append(this.featureId);
|
|
|
3738 |
first = false;
|
|
|
3739 |
if (!first) sb.append(", ");
|
|
|
3740 |
sb.append("featureDescription:");
|
|
|
3741 |
if (this.featureDescription == null) {
|
|
|
3742 |
sb.append("null");
|
|
|
3743 |
} else {
|
|
|
3744 |
sb.append(this.featureDescription);
|
|
|
3745 |
}
|
|
|
3746 |
first = false;
|
| 2128 |
ankur.sing |
3747 |
if (isSetMrp()) {
|
|
|
3748 |
if (!first) sb.append(", ");
|
|
|
3749 |
sb.append("mrp:");
|
|
|
3750 |
sb.append(this.mrp);
|
|
|
3751 |
first = false;
|
|
|
3752 |
}
|
|
|
3753 |
if (isSetSellingPrice()) {
|
|
|
3754 |
if (!first) sb.append(", ");
|
|
|
3755 |
sb.append("sellingPrice:");
|
|
|
3756 |
sb.append(this.sellingPrice);
|
|
|
3757 |
first = false;
|
|
|
3758 |
}
|
|
|
3759 |
if (isSetWeight()) {
|
|
|
3760 |
if (!first) sb.append(", ");
|
|
|
3761 |
sb.append("weight:");
|
|
|
3762 |
sb.append(this.weight);
|
|
|
3763 |
first = false;
|
|
|
3764 |
}
|
| 721 |
chandransh |
3765 |
if (!first) sb.append(", ");
|
| 103 |
ashish |
3766 |
sb.append("addedOn:");
|
|
|
3767 |
sb.append(this.addedOn);
|
|
|
3768 |
first = false;
|
| 2491 |
ankur.sing |
3769 |
if (isSetStartDate()) {
|
|
|
3770 |
if (!first) sb.append(", ");
|
|
|
3771 |
sb.append("startDate:");
|
|
|
3772 |
sb.append(this.startDate);
|
|
|
3773 |
first = false;
|
|
|
3774 |
}
|
|
|
3775 |
if (isSetRetireDate()) {
|
|
|
3776 |
if (!first) sb.append(", ");
|
|
|
3777 |
sb.append("retireDate:");
|
|
|
3778 |
sb.append(this.retireDate);
|
|
|
3779 |
first = false;
|
|
|
3780 |
}
|
| 103 |
ashish |
3781 |
if (!first) sb.append(", ");
|
|
|
3782 |
sb.append("itemStatus:");
|
|
|
3783 |
if (this.itemStatus == null) {
|
|
|
3784 |
sb.append("null");
|
|
|
3785 |
} else {
|
|
|
3786 |
sb.append(this.itemStatus);
|
|
|
3787 |
}
|
|
|
3788 |
first = false;
|
|
|
3789 |
if (!first) sb.append(", ");
|
| 2034 |
rajveer |
3790 |
sb.append("status_description:");
|
|
|
3791 |
if (this.status_description == null) {
|
|
|
3792 |
sb.append("null");
|
|
|
3793 |
} else {
|
|
|
3794 |
sb.append(this.status_description);
|
|
|
3795 |
}
|
|
|
3796 |
first = false;
|
|
|
3797 |
if (!first) sb.append(", ");
|
| 5336 |
rajveer |
3798 |
sb.append("otherInfo:");
|
|
|
3799 |
if (this.otherInfo == null) {
|
|
|
3800 |
sb.append("null");
|
|
|
3801 |
} else {
|
|
|
3802 |
sb.append(this.otherInfo);
|
|
|
3803 |
}
|
|
|
3804 |
first = false;
|
|
|
3805 |
if (!first) sb.append(", ");
|
| 607 |
chandransh |
3806 |
sb.append("bestDealText:");
|
|
|
3807 |
if (this.bestDealText == null) {
|
|
|
3808 |
sb.append("null");
|
|
|
3809 |
} else {
|
|
|
3810 |
sb.append(this.bestDealText);
|
|
|
3811 |
}
|
|
|
3812 |
first = false;
|
| 2128 |
ankur.sing |
3813 |
if (isSetBestDealValue()) {
|
|
|
3814 |
if (!first) sb.append(", ");
|
|
|
3815 |
sb.append("bestDealValue:");
|
|
|
3816 |
sb.append(this.bestDealValue);
|
|
|
3817 |
first = false;
|
|
|
3818 |
}
|
| 607 |
chandransh |
3819 |
if (!first) sb.append(", ");
|
| 1910 |
varun.gupt |
3820 |
sb.append("defaultForEntity:");
|
|
|
3821 |
sb.append(this.defaultForEntity);
|
|
|
3822 |
first = false;
|
|
|
3823 |
if (!first) sb.append(", ");
|
| 607 |
chandransh |
3824 |
sb.append("updatedOn:");
|
|
|
3825 |
sb.append(this.updatedOn);
|
|
|
3826 |
first = false;
|
| 2128 |
ankur.sing |
3827 |
if (isSetBestSellingRank()) {
|
|
|
3828 |
if (!first) sb.append(", ");
|
|
|
3829 |
sb.append("bestSellingRank:");
|
|
|
3830 |
sb.append(this.bestSellingRank);
|
|
|
3831 |
first = false;
|
|
|
3832 |
}
|
| 2064 |
ankur.sing |
3833 |
if (!first) sb.append(", ");
|
| 2250 |
ankur.sing |
3834 |
sb.append("risky:");
|
|
|
3835 |
sb.append(this.risky);
|
|
|
3836 |
first = false;
|
| 3355 |
chandransh |
3837 |
if (isSetExpectedDelay()) {
|
|
|
3838 |
if (!first) sb.append(", ");
|
|
|
3839 |
sb.append("expectedDelay:");
|
|
|
3840 |
sb.append(this.expectedDelay);
|
|
|
3841 |
first = false;
|
|
|
3842 |
}
|
| 4406 |
anupam.sin |
3843 |
if (isSetIsWarehousePreferenceSticky()) {
|
|
|
3844 |
if (!first) sb.append(", ");
|
|
|
3845 |
sb.append("isWarehousePreferenceSticky:");
|
|
|
3846 |
sb.append(this.isWarehousePreferenceSticky);
|
|
|
3847 |
first = false;
|
|
|
3848 |
}
|
| 4295 |
varun.gupt |
3849 |
if (!first) sb.append(", ");
|
|
|
3850 |
sb.append("warrantyPeriod:");
|
|
|
3851 |
sb.append(this.warrantyPeriod);
|
|
|
3852 |
first = false;
|
| 4506 |
phani.kuma |
3853 |
if (isSetPreferredVendor()) {
|
|
|
3854 |
if (!first) sb.append(", ");
|
|
|
3855 |
sb.append("preferredVendor:");
|
|
|
3856 |
sb.append(this.preferredVendor);
|
|
|
3857 |
first = false;
|
|
|
3858 |
}
|
| 5110 |
mandeep.dh |
3859 |
if (!first) sb.append(", ");
|
|
|
3860 |
sb.append("type:");
|
|
|
3861 |
if (this.type == null) {
|
|
|
3862 |
sb.append("null");
|
|
|
3863 |
} else {
|
|
|
3864 |
sb.append(this.type);
|
|
|
3865 |
}
|
|
|
3866 |
first = false;
|
| 5217 |
amit.gupta |
3867 |
if (isSetComingSoonStartDate()) {
|
|
|
3868 |
if (!first) sb.append(", ");
|
|
|
3869 |
sb.append("comingSoonStartDate:");
|
|
|
3870 |
sb.append(this.comingSoonStartDate);
|
|
|
3871 |
first = false;
|
|
|
3872 |
}
|
|
|
3873 |
if (isSetExpectedArrivalDate()) {
|
|
|
3874 |
if (!first) sb.append(", ");
|
|
|
3875 |
sb.append("expectedArrivalDate:");
|
|
|
3876 |
sb.append(this.expectedArrivalDate);
|
|
|
3877 |
first = false;
|
|
|
3878 |
}
|
| 5385 |
phani.kuma |
3879 |
if (!first) sb.append(", ");
|
|
|
3880 |
sb.append("hasItemNo:");
|
|
|
3881 |
sb.append(this.hasItemNo);
|
|
|
3882 |
first = false;
|
| 5460 |
phani.kuma |
3883 |
if (!first) sb.append(", ");
|
| 7256 |
rajveer |
3884 |
sb.append("activeOnStore:");
|
|
|
3885 |
sb.append(this.activeOnStore);
|
| 5460 |
phani.kuma |
3886 |
first = false;
|
| 6039 |
amit.gupta |
3887 |
if (!first) sb.append(", ");
|
| 6241 |
amit.gupta |
3888 |
sb.append("showSellingPrice:");
|
|
|
3889 |
sb.append(this.showSellingPrice);
|
|
|
3890 |
first = false;
|
| 6777 |
vikram.rag |
3891 |
if (!first) sb.append(", ");
|
|
|
3892 |
sb.append("bestDealsDetailsText:");
|
|
|
3893 |
if (this.bestDealsDetailsText == null) {
|
|
|
3894 |
sb.append("null");
|
|
|
3895 |
} else {
|
|
|
3896 |
sb.append(this.bestDealsDetailsText);
|
|
|
3897 |
}
|
|
|
3898 |
first = false;
|
|
|
3899 |
if (!first) sb.append(", ");
|
|
|
3900 |
sb.append("bestDealsDetailsLink:");
|
|
|
3901 |
if (this.bestDealsDetailsLink == null) {
|
|
|
3902 |
sb.append("null");
|
|
|
3903 |
} else {
|
|
|
3904 |
sb.append(this.bestDealsDetailsLink);
|
|
|
3905 |
}
|
|
|
3906 |
first = false;
|
| 6805 |
anupam.sin |
3907 |
if (!first) sb.append(", ");
|
|
|
3908 |
sb.append("preferredInsurer:");
|
|
|
3909 |
sb.append(this.preferredInsurer);
|
|
|
3910 |
first = false;
|
| 7291 |
vikram.rag |
3911 |
if (!first) sb.append(", ");
|
|
|
3912 |
sb.append("asin:");
|
|
|
3913 |
if (this.asin == null) {
|
|
|
3914 |
sb.append("null");
|
|
|
3915 |
} else {
|
|
|
3916 |
sb.append(this.asin);
|
|
|
3917 |
}
|
|
|
3918 |
first = false;
|
|
|
3919 |
if (!first) sb.append(", ");
|
|
|
3920 |
sb.append("defaultInventory:");
|
|
|
3921 |
sb.append(this.defaultInventory);
|
|
|
3922 |
first = false;
|
|
|
3923 |
if (!first) sb.append(", ");
|
|
|
3924 |
sb.append("holdInventory:");
|
|
|
3925 |
sb.append(this.holdInventory);
|
|
|
3926 |
first = false;
|
| 9841 |
rajveer |
3927 |
if (!first) sb.append(", ");
|
|
|
3928 |
sb.append("holdOverride:");
|
|
|
3929 |
sb.append(this.holdOverride);
|
|
|
3930 |
first = false;
|
| 100 |
ashish |
3931 |
sb.append(")");
|
|
|
3932 |
return sb.toString();
|
|
|
3933 |
}
|
|
|
3934 |
|
| 3430 |
rajveer |
3935 |
public void validate() throws org.apache.thrift.TException {
|
| 100 |
ashish |
3936 |
// check for required fields
|
|
|
3937 |
}
|
|
|
3938 |
|
| 3430 |
rajveer |
3939 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
3940 |
try {
|
|
|
3941 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
3942 |
} catch (org.apache.thrift.TException te) {
|
|
|
3943 |
throw new java.io.IOException(te);
|
|
|
3944 |
}
|
|
|
3945 |
}
|
|
|
3946 |
|
|
|
3947 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
3948 |
try {
|
|
|
3949 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
|
|
3950 |
__isset_bit_vector = new BitSet(1);
|
|
|
3951 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
3952 |
} catch (org.apache.thrift.TException te) {
|
|
|
3953 |
throw new java.io.IOException(te);
|
|
|
3954 |
}
|
|
|
3955 |
}
|
|
|
3956 |
|
| 100 |
ashish |
3957 |
}
|
|
|
3958 |
|