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